]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
[glibc.git] / ChangeLog
CommitLineData
449282f2
AZ
12014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5
046651c1
JM
62014-03-25 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #16357]
9 [BZ #16599]
10 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11 min_plus_half.
12 (fp_formats): Update initializers.
13 (init_fp_formats): Initialize new field.
14 (output_for_one_input_case): Allow underflow for results up to
15 min_plus_half.
16 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17 * math/auto-libm-test-in: Don't mark some underflows from asin and
18 atanh as spurious.
19 * math/auto-libm-test-out: Regenerated.
20 * sysdeps/i386/fpu/libm-test-ulps: Update.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22
003e49ed
AS
232014-03-25 Andreas Schwab <schwab@suse.de>
24
25 * libio/Makefile (tst-ftell-partial-wide-ENV)
26 (tst-ftell-active-handler-ENV): Define.
27
de031874
SL
282014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29
30 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31
55a81e3b
PP
322014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
33
34 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35
f3426898
JM
362014-03-24 Joseph Myers <joseph@codesourcery.com>
37
38 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39 * sysdeps/x86_64/fpu/multiarch/e_exp.c
40 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41
a42faf59
PP
422014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43
44 [BZ #16634]
a42faf59
PP
45 * elf/dl-load.c (open_verify): Add mode parameter.
46 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47 (open_path): Change from boolean 'secure' to complete flag 'mode'
48 (_dl_map_object): Adjust.
49 * elf/Makefile (tests): Add tst-dlopen-aout.
50 * elf/tst-dlopen-aout.c: New test.
51
50936127
SL
522014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53
54 [BZ #16714]
55 * sysdeps/unix/sysv/linux/s390/bits/stat.h
56 (struct stat): Rename member pad0 to __glibc_reserved0.
57
26011b5c
SL
582014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
59
60 [BZ #16712]
61 * sysdeps/s390/s390-32/bits/wordsize.h
62 (__WORDSIZE32_SIZE_ULONG): New define.
63 * sysdeps/s390/s390-64/bits/wordsize.h
64 (__WORDSIZE32_SIZE_ULONG): Likewise.
65 * sysdeps/generic/stdint.h (SIZE_MAX):
66 Define as UL if __WORDSIZE32_SIZE_ULONG.
67
a2d86bf1
SL
682014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
69
70 [BZ #16713]
71 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
72 (__glibc_reserved0): New variable.
73 (sa_flags): Change type to int.
74
78b6eebc
SL
752014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
76
77 * posix/Makefile (before-compile): Use += before-compile instead
78 of a :=.
79
f1399b5a
SL
802014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
81
82 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
83 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
84
a071766e
AS
852014-03-20 Andreas Schwab <schwab@suse.de>
86
87 [BZ #16743]
88 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
89 non-matching result from nscd.
90
27c673b8
SP
912014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
92
93 * scripts/bench.py: Moved to ...
94 * benchtests/scripts/bench.py: ... here.
95 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
96
44152e4b
AS
972014-03-24 Andreas Schwab <schwab@suse.de>
98
99 [BZ #16002]
100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
101 alloca_account and account alloca use for struct in6ailist.
102
b376a11a
JM
1032014-03-24 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #16284]
106 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
107 rounding mode to recompute results that overflow to infinity or
108 underflow to zero.
109 * math/auto-libm-test-in: Don't mark tests as expected to fail for
110 bug 16284.
111 * math/auto-libm-test-out: Regenerated.
112 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
113 (ccosh_test): Likewise.
114 (csin_test_data): Use plus_oflow.
115 (csin_test): Use ALL_RM_TEST.
116 (csinh_test_data): Use plus_oflow.
117 (csinh_test): Use ALL_RM_TEST.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120
f7be7376
JM
1212014-03-21 Joseph Myers <joseph@codesourcery.com>
122
1ca2d03e
JM
123 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
124 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
125 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
126
f7be7376
JM
127 [BZ #16731]
128 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
129 when x - 1 is zero.
130 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
131 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
132 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
134 argument is 1.
135 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
136 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
137 zero.
138 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
139 * sysdeps/i386/fpu/libm-test-ulps: Update.
140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
141
fdf4534d
SP
1422014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
143
df26ea53
SP
144 * scripts/bench.pl: Remove file.
145 * scripts/bench.py: New benchmark script.
146 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
147 * benchtests/README: Mention python dependency.
148 * scripts/pylintrc: New file.
149 * scripts/pylint: New file.
150
fdf4534d
SP
151 * bits/mathdef.h: Use #ifdef instead of #if.
152 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
153 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
154 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
155 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
156 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
157 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
158
6f23d093
AZ
1592014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
161
162 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
164 and strpbrk-ppc64 objects.
165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
166 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
167 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
168 multiarch strpbrk for POWER7.
169 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
170 multiarch strpbrk for PPC64.
171 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
172 ifunc selector.
173 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
174 strpbrk for POWER7.
175
8c92dfff
JM
1762014-03-20 Joseph Myers <joseph@codesourcery.com>
177
178 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
179 (atan_test): Likewise.
180 (atanh_test_data): Use NO_TEST_INLINE for two tests.
181 (atanh_test): Use ALL_RM_TEST.
182 (atan2_test_data): Likewise.
183 (cabs_test): Likewise.
184 (cacosh_test): Likewise.
185 (carg_test): Likewise.
186 (casin_test): Likewise.
187 (casinh_test): Likewise.
188 (cbrt_test): Likewise.
189 (csqrt_test): Likewise.
190 (erf_test): Likewise.
191 (erfc_test): Likewise.
192 (pow10_test): Likewise.
193 (exp2_test): Likewise.
194 (hypot_test): Likewise.
195 (j0_test): Likewise.
196 (j1_test): Likewise.
197 (lgamma_test): Likewise.
198 (gamma_test): Likewise.
199 (sincos_test): Likewise.
200 (tanh_test): Likewise.
201 (y0_test): Likewise.
202 (y1_test): Likewise.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
205
6eaf95cb
AZ
2062014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
207
a387428c
SP
208 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
210 and strcspn-ppc64 objects.
211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
212 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
213 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
214 multiarch strcspn for POWER7.
215 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
216 multiarch strcspn for PPC64.
217 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
218 ifunc selector.
219 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
220 strcspn for POWER7.
221
ae3a5dff
JM
2222014-03-20 Joseph Myers <joseph@codesourcery.com>
223
224 * math/gen-libm-test.pl (generate_testfile): Expect only function
225 name as argument to AUTO_TESTS_* and pass results for all rounding
226 modes to parse_args.
227 (parse_auto_input): Separate inputs of automatic tests from
228 outputs before storing in %auto_tests.
229 * math/libm-test.inc (acos_test_data): Update call to
230 AUTO_TESTS_f_f.
231 (acos_test): Use ALL_RM_TEST.
232 (acos_tonearest_test_data): Remove.
233 (acos_test_tonearest): Likewise.
234 (acos_towardzero_test_data): Likewise.
235 (acos_test_towardzero): Likewise.
236 (acos_downward_test_data): Likewise.
237 (acos_test_downward): Likewise.
238 (acos_upward_test_data): Likewise.
239 (acos_test_upward): Likewise.
240 (acosh_test_data): Update call to AUTO_TESTS_f_f.
241 (asin_test_data): Likewise.
242 (asin_test): Use ALL_RM_TEST.
243 (asin_tonearest_test_data): Remove.
244 (asin_test_tonearest): Likewise.
245 (asin_towardzero_test_data): Likewise.
246 (asin_test_towardzero): Likewise.
247 (asin_downward_test_data): Likewise.
248 (asin_test_downward): Likewise.
249 (asin_upward_test_data): Likewise.
250 (asin_test_upward): Likewise.
251 (asinh_test_data): Update call to AUTO_TESTS_f_f.
252 (atan_test_data): Likewise.
253 (atanh_test_data): Likewise.
254 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
255 (cabs_test_data): Update call to AUTO_TESTS_c_f.
256 (carg_test_data): Likewise.
257 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
258 (ccos_test_data): Update call to AUTO_TESTS_c_c.
259 (ccosh_test_data): Likewise.
260 (cexp_test_data): Likewise.
261 (clog_test_data): Likewise.
262 (clog10_test_data): Likewise.
263 (cos_test_data): Update call to AUTO_TESTS_f_f.
264 (cos_test): Use ALL_RM_TEST.
265 (cos_tonearest_test_data): Remove.
266 (cos_test_tonearest): Likewise.
267 (cos_towardzero_test_data): Likewise.
268 (cos_test_towardzero): Likewise.
269 (cos_downward_test_data): Likewise.
270 (cos_test_downward): Likewise.
271 (cos_upward_test_data): Likewise.
272 (cos_test_upward): Likewise.
273 (cosh_test_data): Update call to AUTO_TESTS_f_f.
274 (cosh_test): Use ALL_RM_TEST.
275 (cosh_tonearest_test_data): Remove.
276 (cosh_test_tonearest): Likewise.
277 (cosh_towardzero_test_data): Likewise.
278 (cosh_test_towardzero): Likewise.
279 (cosh_downward_test_data): Likewise.
280 (cosh_test_downward): Likewise.
281 (cosh_upward_test_data): Likewise.
282 (cosh_test_upward): Likewise.
283 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
284 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
285 (ctan_test_data): Likewise.
286 (ctan_test): Use ALL_RM_TEST.
287 (ctan_tonearest_test_data): Remove.
288 (ctan_test_tonearest): Likewise.
289 (ctan_towardzero_test_data): Likewise.
290 (ctan_test_towardzero): Likewise.
291 (ctan_downward_test_data): Likewise.
292 (ctan_test_downward): Likewise.
293 (ctan_upward_test_data): Likewise.
294 (ctan_test_upward): Likewise.
295 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
296 (ctanh_test): Use ALL_RM_TEST.
297 (ctanh_tonearest_test_data): Remove.
298 (ctanh_test_tonearest): Likewise.
299 (ctanh_towardzero_test_data): Likewise.
300 (ctanh_test_towardzero): Likewise.
301 (ctanh_downward_test_data): Likewise.
302 (ctanh_test_downward): Likewise.
303 (ctanh_upward_test_data): Likewise.
304 (ctanh_test_upward): Likewise.
305 (erf_test_data): Update call to AUTO_TESTS_f_f.
306 (erfc_test_data): Likewise.
307 (exp_test_data): Likewise.
308 (exp_test): Use ALL_RM_TEST.
309 (exp_tonearest_test_data): Remove.
310 (exp_test_tonearest): Likewise.
311 (exp_towardzero_test_data): Likewise.
312 (exp_test_towardzero): Likewise.
313 (exp_downward_test_data): Likewise.
314 (exp_test_downward): Likewise.
315 (exp_upward_test_data): Likewise.
316 (exp_test_upward): Likewise.
317 (exp10_test_data): Update call to AUTO_TESTS_f_f.
318 (exp10_test): Use ALL_RM_TEST.
319 (exp10_tonearest_test_data): Remove.
320 (exp10_test_tonearest): Likewise.
321 (exp10_towardzero_test_data): Likewise.
322 (exp10_test_towardzero): Likewise.
323 (exp10_downward_test_data): Likewise.
324 (exp10_test_downward): Likewise.
325 (exp10_upward_test_data): Likewise.
326 (exp10_test_upward): Likewise.
327 (exp2_test_data): Update call to AUTO_TESTS_f_f.
328 (expm1_test_data): Likewise.
329 (expm1_test): Use ALL_RM_TEST.
330 (expm1_tonearest_test_data): Remove.
331 (expm1_test_tonearest): Likewise.
332 (expm1_towardzero_test_data): Likewise.
333 (expm1_test_towardzero): Likewise.
334 (expm1_downward_test_data): Likewise.
335 (expm1_test_downward): Likewise.
336 (expm1_upward_test_data): Likewise.
337 (expm1_test_upward): Likewise.
338 (fma_test_data): Update call to AUTO_TESTS_fff_f.
339 (fma_test): Use ALL_RM_TEST.
340 (fma_towardzero_test_data): Remove.
341 (fma_test_towardzero): Likewise.
342 (fma_downward_test_data): Likewise.
343 (fma_test_downward): Likewise.
344 (fma_upward_test_data): Likewise.
345 (fma_test_upward): Likewise.
346 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
347 (j0_test_data): Update call to AUTO_TESTS_f_f.
348 (j1_test_data): Likewise.
349 (jn_test_data): Update call to AUTO_TESTS_if_f.
350 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
351 (log_test_data): Update call to AUTO_TESTS_f_f.
352 (log10_test_data): Likewise.
353 (log1p_test_data): Likewise.
354 (log2_test_data): Likewise.
355 (pow_test_data): Update call to AUTO_TESTS_ff_f.
356 (pow_tonearest_test_data): Likewise.
357 (sin_test_data): Update call to AUTO_TESTS_f_f.
358 (sin_test): Use ALL_RM_TEST.
359 (sin_tonearest_test_data): Remove.
360 (sin_test_tonearest): Likewise.
361 (sin_towardzero_test_data): Likewise.
362 (sin_test_towardzero): Likewise.
363 (sin_downward_test_data): Likewise.
364 (sin_test_downward): Likewise.
365 (sin_upward_test_data): Likewise.
366 (sin_test_upward): Likewise.
367 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
368 (sinh_test_data): Update call to AUTO_TESTS_f_f.
369 (sinh_test): Use ALL_RM_TEST.
370 (sinh_tonearest_test_data): Remove.
371 (sinh_test_tonearest): Likewise.
372 (sinh_towardzero_test_data): Likewise.
373 (sinh_test_towardzero): Likewise.
374 (sinh_downward_test_data): Likewise.
375 (sinh_test_downward): Likewise.
376 (sinh_upward_test_data): Likewise.
377 (sinh_test_upward): Likewise.
378 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
379 (sqrt_test): Use ALL_RM_TEST.
380 (sqrt_tonearest_test_data): Remove.
381 (sqrt_test_tonearest): Likewise.
382 (sqrt_towardzero_test_data): Likewise.
383 (sqrt_test_towardzero): Likewise.
384 (sqrt_downward_test_data): Likewise.
385 (sqrt_test_downward): Likewise.
386 (sqrt_upward_test_data): Likewise.
387 (sqrt_test_upward): Likewise.
388 (tan_test_data): Update call to AUTO_TESTS_f_f.
389 (tan_test): Use ALL_RM_TEST.
390 (tan_tonearest_test_data): Remove.
391 (tan_test_tonearest): Likewise.
392 (tan_towardzero_test_data): Likewise.
393 (tan_test_towardzero): Likewise.
394 (tan_downward_test_data): Likewise.
395 (tan_test_downward): Likewise.
396 (tan_upward_test_data): Likewise.
397 (tan_test_upward): Likewise.
398 (tanh_test_data): Update call to AUTO_TESTS_f_f.
399 (tgamma_test_data): Likewise.
400 (y0_test_data): Likewise.
401 (y1_test_data): Likewise.
402 (yn_test_data): Update call to AUTO_TESTS_if_f.
403 (main): Do not call removed functions.
404
d71aeee8
JM
4052014-03-19 Joseph Myers <joseph@codesourcery.com>
406
407 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
408 (ldexp_test_data): Remove.
409 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
410 scalbn_test_data.
411 (scalb_test): Use ALL_RM_TEST.
412
baaf1ded
AS
4132014-03-19 Andreas Schwab <schwab@suse.de>
414
415 * nscd/nscd.service: Also invalidate netgroup cache on reload.
416
b1115e91
JM
4172014-03-19 Joseph Myers <joseph@codesourcery.com>
418
419 [BZ #16649]
420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
421 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
422 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
424 (__ASSUME_PREADV): Undefine.
425 (__ASSUME_PWRITEV): Likewise.
426
0283ecca
RM
4272014-03-18 Roland McGrath <roland@hack.frob.com>
428
7d375303
RM
429 * bits/mman-linux.h: Add comment about non-Linux use.
430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
431 bits/mman-linux.h resting place.
432
0283ecca
RM
433 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
434 * bits/mman-linux.h: ... here.
435
aebe1003
AZ
4362014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437
438 * conform/conformtest.pl: Add standard definition when calling C
439 preprocessor on data files.
440 (checknamespace): Remove unused variable.
441
b29b6bb8
JM
4422014-03-18 Joseph Myers <joseph@codesourcery.com>
443
444 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
445 minus_oflow, plus_uflow and minus_uflow in expected results.
446 * math/libm-test.inc (scalbn_test_data): Add more tests of
447 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
448 minus_uflow.
449 (scalbn_test): Use ALL_RM_TEST.
450 (scalbln_test_data): Add more tests of negative arguments. Use
451 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
452 (scalbln_test): Use ALL_RM_TEST.
453
c8f8fa15
RM
4542014-03-18 Roland McGrath <roland@hack.frob.com>
455
456 * scripts/abilist.awk: Ignore symbols marked with .hidden.
457
fede7a5f
WN
4582014-03-18 Will Newton <will.newton@linaro.org>
459
460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
461 inaccurate comment.
462
80cf0a58
JM
4632014-03-18 Joseph Myers <joseph@codesourcery.com>
464
465 * Makerules [!subdir] (check-abi): Exit with error status if a
466 test failed.
467
b3620862
JM
4682014-03-17 Joseph Myers <joseph@codesourcery.com>
469
470 * math/libm-test.inc (nearbyint_test_data): Include all tests used
471 for rint. Include results for all rounding modes.
472 (nearbyint_test): Use ALL_RM_TEST.
473 (rint_test_data): Include all tests used for nearbyint.
474
788bba36
WN
4752014-03-17 Will Newton <will.newton@linaro.org>
476
04ec140a
WN
477 * nptl/sysdeps/pthread/pthread.h: Revert previous
478 change.
479
7579d8d5
WN
480 * sysdeps/generic/ldsodefs.h: Revert previous
481 change.
482
c15cf13a
WN
483 * libio/genops.c: Revert previous change.
484 * libio/libioP.h: Likewise.
485 * stdio-common/vfprintf.c: Likewise.
486
d0ac1324
WN
487 * sysdeps/generic/math_private.h: Revert previous
488 change.
489
9290130a
WN
490 * sysdeps/generic/math_private.h: Check whether
491 HAVE_RM_CTX is defined with #ifdef rather
492 than #if.
493
afb466fc
WN
494 * argp/argp-fmtstream.h: Check whether
495 __STRICT_ANSI__ is defined with #ifdef rather
496 than #if.
497 * argp/argp.h: Likewise.
498
f7efd7c3
WN
499 * libio/genops.c: Check whether
500 _IO_JUMPS_OFFSET is defined with #ifdef rather
501 than #if.
502 * libio/libioP.h: Likewise.
503 * stdio-common/vfprintf.c: Likewise.
504
53f1bed3
WN
505 * sysdeps/generic/ldsodefs.h: Check whether
506 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
507 than #if.
508
788bba36
WN
509 * nptl/sysdeps/pthread/pthread.h: Check
510 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
511 its value.
512
fcd89ebe
SP
5132014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
514
ae42bbc5
SP
515 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
516 setting O_APPEND.
517 * libio/tst-ftell-active-handler.c (do_append_test): Add a
518 test case.
519
ea33158c
SP
520 [BZ #16680]
521 * libio/fileops.c (_IO_file_open): Seek to end of file but
522 don't cache the offset.
523 (get_file_offset): Remove function.
524 (do_ftell): Use cached offset when available.
525 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
526 don't cache the offset.
527 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
528 case.
529 (do_one_test): Call it.
530 (do_ftell_test): Fix up expected old offset for a+ mode.
531 * libio/wfileops.c (do_ftell_wide): Used cached offset when
532 available.
533
b1dbb426
SP
534 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
535 up test status with function return status.
536 (do_write_test): Likewise.
537 (do_append_test): Likewise.
538
fcd89ebe
SP
539 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
540 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
541 Remove.
542
9962a2d3
JM
5432014-03-17 Joseph Myers <joseph@codesourcery.com>
544
545 * math/gen-libm-test.pl (parse_args): Handle results specified for
546 each rounding mode separately.
547 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
548 tests and results from lrint_tonearest_test_data,
549 lrint_towardzero_test_data, lrint_downward_test_data and
550 lrint_upward_test_data.
551 (lrint_test): Use ALL_RM_TEST.
552 (lrint_tonearest_test_data): Remove.
553 (lrint_test_tonearest): Likewise.
554 (lrint_towardzero_test_data): Likewise.
555 (lrint_test_towardzero): Likewise.
556 (lrint_downward_test_data): Likewise.
557 (lrint_test_downward): Likewise.
558 (lrint_upward_test_data): Likewise.
559 (lrint_test_upward): Likewise.
560 (llrint_test_data): Merge in per-rounding-mode tests and results
561 from llrint_tonearest_test_data, llrint_towardzero_test_data,
562 llrint_downward_test_data and llrint_upward_test_data.
563 (llrint_test): Use ALL_RM_TEST.
564 (llrint_tonearest_test_data): Remove.
565 (llrint_test_tonearest): Likewise.
566 (llrint_towardzero_test_data): Likewise.
567 (llrint_test_towardzero): Likewise.
568 (llrint_downward_test_data): Likewise.
569 (llrint_test_downward): Likewise.
570 (llrint_upward_test_data): Likewise.
571 (llrint_test_upward): Likewise.
572 (rint_test_data): Merge in per-rounding-mode tests and results
573 from rint_tonearest_test_data, rint_towardzero_test_data,
574 rint_downward_test_data and rint_upward_test_data. Add
575 per-rounding-mode results for tests not in those arrays.
576 (rint_test): Use ALL_RM_TEST.
577 (rint_tonearest_test_data): Remove.
578 (rint_test_tonearest): Likewise.
579 (rint_towardzero_test_data): Likewise.
580 (rint_test_towardzero): Likewise.
581 (rint_downward_test_data): Likewise.
582 (rint_test_downward): Likewise.
583 (rint_upward_test_data): Likewise.
584 (rint_test_upward): Likewise.
585 (main): Don't call removed functions.
586
5006148e
RM
5872014-03-14 Roland McGrath <roland@hack.frob.com>
588
589 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
590 "Compiled on ..." crapola. It is anti-useful.
591
d6fe5e58
JM
5922014-03-14 Joseph Myers <joseph@codesourcery.com>
593
594 * scripts/evaluate-test.sh: Handle fourth argument to determine
595 whether test run should stop on failure.
596 * Makeconfig (stop-on-test-failure): New variable.
597 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
598 $(stop-on-test-failure).
599 * Makefile (tests): Give a summary of results from testing and
600 exit with failure status if they include an ERROR or FAIL.
601 (xtests): Likewise.
602 * manual/install.texi (Configuring and compiling): Mention
603 stop-on-test-failure=y.
604 * INSTALL: Regenerated.
605
498a2233
RM
6062014-03-14 Roland McGrath <roland@hack.frob.com>
607
22dbc19d
RM
608 * scripts/versionlist.awk: New file.
609 * Makerules [$(build-shared) = yes]
610 (postclean-generated): Add Versions.def, not Versions.def.v and
611 Versions.def.v.i.
612 ($(common-objpfx)Versions.def.v.i): Target removed.
613 ($(common-objpfx)Versions.def): New target.
614 ($(common-objpfx)Versions.all): Depend on that rather that
615 $(common-objpfx)Versions.def.v.
616 * Versions.def: File removed.
617
498a2233
RM
618 * Makeconfig (+gccwarn): Add -Wundef.
619 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
620 a dl-sysdep.h breaking its contract.
621 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
622 * include/stackinfo.h: New file.
623 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
624 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
625 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
626 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
627 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
628 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
629 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
630 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
631 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
632 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
633 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
634 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
635 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
636 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
637 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
638
c7de5025
AZ
6392014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
640
641 [BZ #16707]
642 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
643 implementation.
644 * math/libm-test.inc (round_test_data): Add more tests.
645
98fb27a3
AZ
6462014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
647
648 [BZ #16706]
649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
650 implementation.
651 * math/libm-test.inc (nearbyint_test_data): Add more tests.
652
374f7f61
AZ
6532014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654
655 [BZ #16701]
656 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
657 implementation.
658 * math/libm-test.inc (ceil_test_data): Add more tests.
659
4655c291
AZ
6602014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661
662 * math/libm-test.inc (trunc_test_data): Add more tests related to
663 BZ#16414.
664
d7329d4b
RM
6652014-03-14 Roland McGrath <roland@hack.frob.com>
666
667 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
668 with #if rather than #ifdef.
669 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
670
aa4de9ce
L
6712014-03-14 H.J. Lu <hongjiu.lu@intel.com>
672
673 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
674 first. Disable AVX-512 GCC support if assembler doesn't support
675 it.
676 * sysdeps/x86_64/configure: Regenerated.
677
2e03fae7
CD
6782014-03-13 Carlos O'Donell <carlos@redhat.com>
679
680 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
681 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
682 (__old_pthread_attr_setstack): Likewise.
683 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
684 [!_STACK_GROWS_DOWN]: Likewise.
685
43ca83ec
MF
6862014-03-13 Mike Frysinger <vapier@gentoo.org>
687
688 * config.make.in (have-bash2): Delete.
689 * configure.ac (libc_cv_have_bash2): Delete.
690 * configure: Regenerate.
691 * elf/Makefile (common-ldd-rewrite): Rename to ...
692 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
693 (sh-ldd-rewrite): Delete.
694 (bash-ldd-rewrite): Delete.
695 (have-bash2): Delete checks.
696 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
697
c66e48b4
MF
6982014-03-13 Mike Frysinger <vapier@gentoo.org>
699
700 * config.make.in (have-ksh): Delete.
701 (KSH): Delete.
702 * configure.ac (libc_cv_have_ksh): Delete.
703 * configure: Regenerate.
704
b93834ef
MF
7052014-03-13 Mike Frysinger <vapier@gentoo.org>
706
707 * elf/Makefile: Delete $(have-ksh) check.
708 ($(objpfx)sotruss): Change KSH to BASH.
709 * elf/sotruss.ksh: Rename to ...
710 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
711 function style to match POSIX. Drop ksh vim mode setting.
712
f3a4632a
MF
7132014-03-13 Mike Frysinger <vapier@gentoo.org>
714
715 * manual/time.texi (Specifying the Time Zone with TZ): Change
716 Tuesday to Thursday.
717
5896c8bd
MF
7182014-03-13 Mike Frysinger <vapier@gentoo.org>
719
720 * debug/tst-longjmp_chk2.c: Update header comment.
721 (stackoverflow_handler): Add comment. Call assert on pass value.
722
2d63a517
IZ
7232014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
724
725 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
726 (HAVE_AVX512_ASM_SUPPORT): Likewise.
727 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
728 (La_x86_64_vector): Add zmm.
729 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
730 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
731 ($(objpfx)tst-audit10): New target.
732 ($(objpfx)tst-audit10.out): Likewise.
733 (tst-audit10-ENV): New.
734 (AVX512-CFLAGS): Likewise.
735 (CFLAGS-tst-audit10.c): Likewise.
736 (CFLAGS-tst-auditmod10a.c): Likewise.
737 (CFLAGS-tst-auditmod10b.c): Likewise.
738 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
739 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
740 * sysdeps/x86_64/configure: Regenerated.
741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
742 AVX-512 zmm register support.
743 (_dl_x86_64_save_sse): Likewise.
744 (_dl_x86_64_restore_sse): Likewise.
745 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
746 size vector registers.
747 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
748 (ZMM_SIZE): Likewise.
749 * sysdeps/x86_64/tst-audit10.c: New file.
750 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
751 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
752
44c4e5d5
RM
7532014-03-13 Roland McGrath <roland@hack.frob.com>
754
755 * configure.ac (HAVE_EHDR_START): New check.
756 * configure: Regenerated.
757 * config.h.in (HAVE_EHDR_START): New #undef.
758 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
759 assuming the lowest-addressed segment maps the start of the file.
760
acd6e389
JM
7612014-03-13 Joseph Myers <joseph@codesourcery.com>
762
763 * INSTALL: Regenerated.
764
6f918f36
WN
7652014-03-13 Will Newton <will.newton@linaro.org>
766
767 * manual/setjmp.texi (System V contexts): Improve
768 clarity and grammar of documentation.
769
798212a0
PP
7702014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
771
772 [BZ #16381]
798212a0 773 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 774 (tests-pie): Add tst-pie2.
798212a0
PP
775 * elf/tst-pie2.c: New file.
776 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
777 for ET_EXEC.
778 * elf/rtld.c (map_doit): Load executable as lt_executable.
779 (dl_main): Likewise.
780
abe6d90c
JM
7812014-03-12 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #16642]
784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
785 (__ASSUME_PSELECT): Undefine.
786
dd3946c6
AZ
7872014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
788
789 [BZ #16689]
790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
791 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
792 static build.
793 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
794 selector for static builds.
795
c44496df
SP
7962014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
797
798 [BZ #16695]
799 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
800 key in the buffer.
801
27c7220a
AZ
8022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
804 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
805 selector for static builds.
806
600fa361
JM
8072014-03-11 Joseph Myers <joseph@codesourcery.com>
808
76c96cf7
JM
809 * sysdeps/mips/math_private.h [__mips_hard_float]
810 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
811 libc_feresetround_mips_ctx.
812 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
813 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
814 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
815
600fa361
JM
816 [BZ #16677]
817 * math/s_nextafter.c (__nextafter): Do not return value from
818 overflowing computation.
819 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
820 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
822 Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
824 Likewise.
825 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
826 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
827
d7706c32
RM
8282014-03-11 Roland McGrath <roland@hack.frob.com>
829
830 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
831 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
832 Move sfi_sp use from the load-multiple (that no longer sets sp) to
833 the new mov targetting sp.
834
4facea47
AZ
8352014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 [BZ #16683]
838 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
839 Define it for static builds as well.
840 (NO_BZERO_IMPL): Likewise.
841
e65caf1f
VR
8422014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
843
844 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
845 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
846 multiarch strspn for PPC64.
847 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
848 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
850 (__libc_ifunc_impl_list): Likewise.
851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
852 multiarch optimizations
853 * string/strspn.c (strspn): Using macro to redefine symbol name.
854
ba9cc071
AZ
8552014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857
858 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
859 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
860 multiarch strncat for PPC64.
861 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
862 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
864 (__libc_ifunc_impl_list): Likewise.
865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
866 multiarch optimizations
867
8b4ff974
SP
8682014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
869
870 [BZ #16639]
871 * nscd/nscd.service: Make service type forking.
872
54b46a4b
AZ
8732014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874
875 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
876 sign in non default rounding modes.
877 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
878
e9996ef7
JM
8792014-03-08 Joseph Myers <joseph@codesourcery.com>
880
881 * math/libm-test.inc (ALL_RM_TEST): New macro.
882 (ceil_test): Use ALL_RM_TEST.
883 (cimag_test): Likewise.
884 (conj_test): Likewise.
885 (copysign_test): Likewise.
886 (cproj_test): Likewise.
887 (creal_test): Likewise.
888 (fabs_test): Likewise.
889 (floor_test): Likewise.
890 (fmax_test): Likewise.
891 (fmin_test): Likewise.
892 (fmod_test): Likewise.
893 (fpclassify_test): Likewise.
894 (frexp_test): Likewise.
895 (ilogb_test): Likewise.
896 (isfinite_test): Likewise.
897 (finite_test): Likewise.
898 (isgreater_test): Likewise.
899 (isgreaterequal_test): Likewise.
900 (isinf_test): Likewise.
901 (isless_test): Likewise.
902 (islessequal_test): Likewise.
903 (islessgreater_test): Likewise.
904 (isnan_test): Likewise.
905 (isnormal_test): Likewise.
906 (issignaling_test): Likewise.
907 (isunordered_test): Likewise.
908 (logb_test): Likewise.
909 (logb_downward_test_data): Remove.
910 (logb_test_downward): Likewise.
911 (lround_test): Use ALL_RM_TEST.
912 (llround_test): Likewise.
913 (modf_test): Likewise.
914 (nexttoward_test): Likewise.
915 (remainder_test): Likewise.
916 (drem_test): Likewise.
917 (remainder_tonearest_test_data): Likewise.
918 (remainder_test_tonearest): Likewise.
919 (drem_test_tonearest): Likewise.
920 (remainder_towardzero_test_data): Likewise.
921 (remainder_test_towardzero): Likewise.
922 (drem_test_towardzero): Likewise.
923 (remainder_downward_test_data): Likewise.
924 (remainder_test_downward): Likewise.
925 (drem_test_downward): Likewise.
926 (remainder_upward_test_data): Likewise.
927 (remainder_test_upward): Likewise.
928 (drem_test_upward): Likewise.
929 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
930 (round_test): Use ALL_RM_TEST.
931 (signbit_test): Likewise.
932 (trunc_test): Likewise.
933 (significand_test): Likewise.
934 (main): Don't call removed functions.
935
bc61d27c
JM
9362014-03-07 Joseph Myers <joseph@codesourcery.com>
937
5c780849
JM
938 [BZ #16674]
939 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
940 || __USE_XOPEN2K8].
941 (ILL_ILLOPN): Likewise.
942 (ILL_ILLADR): Likewise.
943 (ILL_ILLTRP): Likewise.
944 (ILL_PRVOPC): Likewise.
945 (ILL_PRVREG): Likewise.
946 (ILL_COPROC): Likewise.
947 (ILL_BADSTK): Likewise.
948 (FPE_INTDIV): Likewise.
949 (FPE_INTOVF): Likewise.
950 (FPE_FLTDIV): Likewise.
951 (FPE_FLTOVF): Likewise.
952 (FPE_FLTUND): Likewise.
953 (FPE_FLTRES): Likewise.
954 (FPE_FLTINV): Likewise.
955 (FPE_FLTSUB): Likewise.
956 (SEGV_MAPERR): Likewise.
957 (SEGV_ACCERR): Likewise.
958 (BUS_ADRALN): Likewise.
959 (BUS_ADRERR): Likewise.
960 (BUS_OBJERR): Likewise.
961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
962 (TRAP_TRACE): Likewise.
963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
964 __USE_XOPEN2K8].
965 (CLD_KILLED): Likewise.
966 (CLD_DUMPED): Likewise.
967 (CLD_TRAPPED): Likewise.
968 (CLD_STOPPED): Likewise.
969 (CLD_CONTINUED): Likewise.
970 (POLL_IN): Likewise.
971 (POLL_OUT): Likewise.
972 (POLL_MSG): Likewise.
973 (POLL_ERR): Likewise.
974 (POLL_PRI): Likewise.
975 (POLL_HUP): Likewise.
976 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
977 Likewise.
978 (ILL_ILLOPN): Likewise.
979 (ILL_ILLADR): Likewise.
980 (ILL_ILLTRP): Likewise.
981 (ILL_PRVOPC): Likewise.
982 (ILL_PRVREG): Likewise.
983 (ILL_COPROC): Likewise.
984 (ILL_BADSTK): Likewise.
985 (FPE_INTDIV): Likewise.
986 (FPE_INTOVF): Likewise.
987 (FPE_FLTDIV): Likewise.
988 (FPE_FLTOVF): Likewise.
989 (FPE_FLTUND): Likewise.
990 (FPE_FLTRES): Likewise.
991 (FPE_FLTINV): Likewise.
992 (FPE_FLTSUB): Likewise.
993 (SEGV_MAPERR): Likewise.
994 (SEGV_ACCERR): Likewise.
995 (BUS_ADRALN): Likewise.
996 (BUS_ADRERR): Likewise.
997 (BUS_OBJERR): Likewise.
998 (BUS_MCEERR_AR): Likewise.
999 (BUS_MCEERR_AO): Likewise.
1000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1001 (TRAP_TRACE): Likewise.
1002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1003 __USE_XOPEN2K8].
1004 (CLD_KILLED): Likewise.
1005 (CLD_DUMPED): Likewise.
1006 (CLD_TRAPPED): Likewise.
1007 (CLD_STOPPED): Likewise.
1008 (CLD_CONTINUED): Likewise.
1009 (POLL_IN): Likewise.
1010 (POLL_OUT): Likewise.
1011 (POLL_MSG): Likewise.
1012 (POLL_ERR): Likewise.
1013 (POLL_PRI): Likewise.
1014 (POLL_HUP): Likewise.
1015 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1016 (ILL_ILLOPN): Likewise.
1017 (ILL_ILLADR): Likewise.
1018 (ILL_ILLTRP): Likewise.
1019 (ILL_PRVOPC): Likewise.
1020 (ILL_PRVREG): Likewise.
1021 (ILL_COPROC): Likewise.
1022 (ILL_BADSTK): Likewise.
1023 (FPE_INTDIV): Likewise.
1024 (FPE_INTOVF): Likewise.
1025 (FPE_FLTDIV): Likewise.
1026 (FPE_FLTOVF): Likewise.
1027 (FPE_FLTUND): Likewise.
1028 (FPE_FLTRES): Likewise.
1029 (FPE_FLTINV): Likewise.
1030 (FPE_FLTSUB): Likewise.
1031 (SEGV_MAPERR): Likewise.
1032 (SEGV_ACCERR): Likewise.
1033 (BUS_ADRALN): Likewise.
1034 (BUS_ADRERR): Likewise.
1035 (BUS_OBJERR): Likewise.
1036 (BUS_MCEERR_AR): Likewise.
1037 (BUS_MCEERR_AO): Likewise.
1038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1039 (TRAP_TRACE): Likewise.
1040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1041 __USE_XOPEN2K8].
1042 (CLD_KILLED): Likewise.
1043 (CLD_DUMPED): Likewise.
1044 (CLD_TRAPPED): Likewise.
1045 (CLD_STOPPED): Likewise.
1046 (CLD_CONTINUED): Likewise.
1047 (POLL_IN): Likewise.
1048 (POLL_OUT): Likewise.
1049 (POLL_MSG): Likewise.
1050 (POLL_ERR): Likewise.
1051 (POLL_PRI): Likewise.
1052 (POLL_HUP): Likewise.
1053 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1054 Likewise.
1055 (ILL_ILLOPN): Likewise.
1056 (ILL_ILLADR): Likewise.
1057 (ILL_ILLTRP): Likewise.
1058 (ILL_PRVOPC): Likewise.
1059 (ILL_PRVREG): Likewise.
1060 (ILL_COPROC): Likewise.
1061 (ILL_BADSTK): Likewise.
1062 (ILL_BADIADDR): Likewise.
1063 (ILL_BREAK): Likewise.
1064 (FPE_INTDIV): Likewise.
1065 (FPE_INTOVF): Likewise.
1066 (FPE_FLTDIV): Likewise.
1067 (FPE_FLTOVF): Likewise.
1068 (FPE_FLTUND): Likewise.
1069 (FPE_FLTRES): Likewise.
1070 (FPE_FLTINV): Likewise.
1071 (FPE_FLTSUB): Likewise.
1072 (FPE_DECOVF): Likewise.
1073 (FPE_DECDIV): Likewise.
1074 (FPE_DECERR): Likewise.
1075 (FPE_INVASC): Likewise.
1076 (FPE_INVDEC): Likewise.
1077 (SEGV_MAPERR): Likewise.
1078 (SEGV_ACCERR): Likewise.
1079 (SEGV_PSTKOVF): Likewise.
1080 (BUS_ADRALN): Likewise.
1081 (BUS_ADRERR): Likewise.
1082 (BUS_OBJERR): Likewise.
1083 (BUS_MCEERR_AR): Likewise.
1084 (BUS_MCEERR_AO): Likewise.
1085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1086 (TRAP_TRACE): Likewise.
1087 (TRAP_BRANCH): Likewise.
1088 (TRAP_HWBKPT): Likewise.
1089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1090 __USE_XOPEN2K8].
1091 (CLD_KILLED): Likewise.
1092 (CLD_DUMPED): Likewise.
1093 (CLD_TRAPPED): Likewise.
1094 (CLD_STOPPED): Likewise.
1095 (CLD_CONTINUED): Likewise.
1096 (POLL_IN): Likewise.
1097 (POLL_OUT): Likewise.
1098 (POLL_MSG): Likewise.
1099 (POLL_ERR): Likewise.
1100 (POLL_PRI): Likewise.
1101 (POLL_HUP): Likewise.
1102 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1103 (ILL_ILLOPN): Likewise.
1104 (ILL_ILLADR): Likewise.
1105 (ILL_ILLTRP): Likewise.
1106 (ILL_PRVOPC): Likewise.
1107 (ILL_PRVREG): Likewise.
1108 (ILL_COPROC): Likewise.
1109 (ILL_BADSTK): Likewise.
1110 (FPE_INTDIV): Likewise.
1111 (FPE_INTOVF): Likewise.
1112 (FPE_FLTDIV): Likewise.
1113 (FPE_FLTOVF): Likewise.
1114 (FPE_FLTUND): Likewise.
1115 (FPE_FLTRES): Likewise.
1116 (FPE_FLTINV): Likewise.
1117 (FPE_FLTSUB): Likewise.
1118 (SEGV_MAPERR): Likewise.
1119 (SEGV_ACCERR): Likewise.
1120 (BUS_ADRALN): Likewise.
1121 (BUS_ADRERR): Likewise.
1122 (BUS_OBJERR): Likewise.
1123 (BUS_MCEERR_AR): Likewise.
1124 (BUS_MCEERR_AO): Likewise.
1125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1126 (TRAP_TRACE): Likewise.
1127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1128 __USE_XOPEN2K8].
1129 (CLD_KILLED): Likewise.
1130 (CLD_DUMPED): Likewise.
1131 (CLD_TRAPPED): Likewise.
1132 (CLD_STOPPED): Likewise.
1133 (CLD_CONTINUED): Likewise.
1134 (POLL_IN): Likewise.
1135 (POLL_OUT): Likewise.
1136 (POLL_MSG): Likewise.
1137 (POLL_ERR): Likewise.
1138 (POLL_PRI): Likewise.
1139 (POLL_HUP): Likewise.
1140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1141 (ILL_ILLOPN): Likewise.
1142 (ILL_ILLADR): Likewise.
1143 (ILL_ILLTRP): Likewise.
1144 (ILL_PRVOPC): Likewise.
1145 (ILL_PRVREG): Likewise.
1146 (ILL_COPROC): Likewise.
1147 (ILL_BADSTK): Likewise.
1148 (FPE_INTDIV): Likewise.
1149 (FPE_INTOVF): Likewise.
1150 (FPE_FLTDIV): Likewise.
1151 (FPE_FLTOVF): Likewise.
1152 (FPE_FLTUND): Likewise.
1153 (FPE_FLTRES): Likewise.
1154 (FPE_FLTINV): Likewise.
1155 (FPE_FLTSUB): Likewise.
1156 (SEGV_MAPERR): Likewise.
1157 (SEGV_ACCERR): Likewise.
1158 (BUS_ADRALN): Likewise.
1159 (BUS_ADRERR): Likewise.
1160 (BUS_OBJERR): Likewise.
1161 (BUS_MCEERR_AR): Likewise.
1162 (BUS_MCEERR_AO): Likewise.
1163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1164 (TRAP_TRACE): Likewise.
1165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1166 __USE_XOPEN2K8].
1167 (CLD_KILLED): Likewise.
1168 (CLD_DUMPED): Likewise.
1169 (CLD_TRAPPED): Likewise.
1170 (CLD_STOPPED): Likewise.
1171 (CLD_CONTINUED): Likewise.
1172 (POLL_IN): Likewise.
1173 (POLL_OUT): Likewise.
1174 (POLL_MSG): Likewise.
1175 (POLL_ERR): Likewise.
1176 (POLL_PRI): Likewise.
1177 (POLL_HUP): Likewise.
1178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1179 (ILL_ILLOPN): Likewise.
1180 (ILL_ILLADR): Likewise.
1181 (ILL_ILLTRP): Likewise.
1182 (ILL_PRVOPC): Likewise.
1183 (ILL_PRVREG): Likewise.
1184 (ILL_COPROC): Likewise.
1185 (ILL_BADSTK): Likewise.
1186 (FPE_INTDIV): Likewise.
1187 (FPE_INTOVF): Likewise.
1188 (FPE_FLTDIV): Likewise.
1189 (FPE_FLTOVF): Likewise.
1190 (FPE_FLTUND): Likewise.
1191 (FPE_FLTRES): Likewise.
1192 (FPE_FLTINV): Likewise.
1193 (FPE_FLTSUB): Likewise.
1194 (SEGV_MAPERR): Likewise.
1195 (SEGV_ACCERR): Likewise.
1196 (BUS_ADRALN): Likewise.
1197 (BUS_ADRERR): Likewise.
1198 (BUS_OBJERR): Likewise.
1199 (BUS_MCEERR_AR): Likewise.
1200 (BUS_MCEERR_AO): Likewise.
1201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1202 (TRAP_TRACE): Likewise.
1203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1204 __USE_XOPEN2K8].
1205 (CLD_KILLED): Likewise.
1206 (CLD_DUMPED): Likewise.
1207 (CLD_TRAPPED): Likewise.
1208 (CLD_STOPPED): Likewise.
1209 (CLD_CONTINUED): Likewise.
1210 (POLL_IN): Likewise.
1211 (POLL_OUT): Likewise.
1212 (POLL_MSG): Likewise.
1213 (POLL_ERR): Likewise.
1214 (POLL_PRI): Likewise.
1215 (POLL_HUP): Likewise.
1216 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1217 (ILL_ILLOPN): Likewise.
1218 (ILL_ILLADR): Likewise.
1219 (ILL_ILLTRP): Likewise.
1220 (ILL_PRVOPC): Likewise.
1221 (ILL_PRVREG): Likewise.
1222 (ILL_COPROC): Likewise.
1223 (ILL_BADSTK): Likewise.
1224 (ILL_DBLFLT): Likewise.
1225 (ILL_HARDWALL): Likewise.
1226 (FPE_INTDIV): Likewise.
1227 (FPE_INTOVF): Likewise.
1228 (FPE_FLTDIV): Likewise.
1229 (FPE_FLTOVF): Likewise.
1230 (FPE_FLTUND): Likewise.
1231 (FPE_FLTRES): Likewise.
1232 (FPE_FLTINV): Likewise.
1233 (FPE_FLTSUB): Likewise.
1234 (SEGV_MAPERR): Likewise.
1235 (SEGV_ACCERR): Likewise.
1236 (BUS_ADRALN): Likewise.
1237 (BUS_ADRERR): Likewise.
1238 (BUS_OBJERR): Likewise.
1239 (BUS_MCEERR_AR): Likewise.
1240 (BUS_MCEERR_AO): Likewise.
1241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1242 (TRAP_TRACE): Likewise.
1243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1244 __USE_XOPEN2K8].
1245 (CLD_KILLED): Likewise.
1246 (CLD_DUMPED): Likewise.
1247 (CLD_TRAPPED): Likewise.
1248 (CLD_STOPPED): Likewise.
1249 (CLD_CONTINUED): Likewise.
1250 (POLL_IN): Likewise.
1251 (POLL_OUT): Likewise.
1252 (POLL_MSG): Likewise.
1253 (POLL_ERR): Likewise.
1254 (POLL_PRI): Likewise.
1255 (POLL_HUP): Likewise.
1256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1257 (ILL_ILLOPN): Likewise.
1258 (ILL_ILLADR): Likewise.
1259 (ILL_ILLTRP): Likewise.
1260 (ILL_PRVOPC): Likewise.
1261 (ILL_PRVREG): Likewise.
1262 (ILL_COPROC): Likewise.
1263 (ILL_BADSTK): Likewise.
1264 (FPE_INTDIV): Likewise.
1265 (FPE_INTOVF): Likewise.
1266 (FPE_FLTDIV): Likewise.
1267 (FPE_FLTOVF): Likewise.
1268 (FPE_FLTUND): Likewise.
1269 (FPE_FLTRES): Likewise.
1270 (FPE_FLTINV): Likewise.
1271 (FPE_FLTSUB): Likewise.
1272 (SEGV_MAPERR): Likewise.
1273 (SEGV_ACCERR): Likewise.
1274 (BUS_ADRALN): Likewise.
1275 (BUS_ADRERR): Likewise.
1276 (BUS_OBJERR): Likewise.
1277 (BUS_MCEERR_AR): Likewise.
1278 (BUS_MCEERR_AO): Likewise.
1279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1280 (TRAP_TRACE): Likewise.
1281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1282 __USE_XOPEN2K8].
1283 (CLD_KILLED): Likewise.
1284 (CLD_DUMPED): Likewise.
1285 (CLD_TRAPPED): Likewise.
1286 (CLD_STOPPED): Likewise.
1287 (CLD_CONTINUED): Likewise.
1288 (POLL_IN): Likewise.
1289 (POLL_OUT): Likewise.
1290 (POLL_MSG): Likewise.
1291 (POLL_ERR): Likewise.
1292 (POLL_PRI): Likewise.
1293 (POLL_HUP): Likewise.
1294 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1296
bc61d27c
JM
1297 [BZ #16670]
1298 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1299 before #include of <time.h>.
1300 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1301 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1302 (test-xfail-UNIX98/sched.h/conform): Likewise.
1303
302949e2
MS
13042014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1305
1306 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1307 error absence of trapping exception support.
1308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1309
a00f522a
JM
13102014-03-07 Joseph Myers <joseph@codesourcery.com>
1311
6f99f280
JM
1312 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1313 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1314 * timezone/Makefile (testdata): Move definition above include of
1315 Rules.
1316 (test-zones): New variable.
1317 (tests-special): Add zone files.
1318 (build-testdata): Use $(evaluate-test).
1319
0b20a9e8
JM
1320 * elf/Makefile (tests-special): Rename tests to end with .out.
1321 ($(objpfx)noload-mem): Likewise.
1322 ($(objpfx)tst-leaks1-mem): Likewise.
1323 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1324 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1325 $(objpfx)test-iconvconfig.out.
1326 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1327 set -e inside subshell and redirect output to file.
1328 * iconvdata/Makefile (generated): Rename tests to end with .out.
1329 Correct type.
1330 (tests-special): Rename tests to end with .out.
1331 ($(objpfx)mtrace-tst-loading): Likewise.
1332 * intl/Makefile (generated): Likewise.
1333 (tests-special): Likewise.
1334 ($(objpfx)mtrace-tst-gettext): Likewise.
1335 * misc/Makefile (generated): Likewise.
1336 (tests-special): Likewise.
1337 ($(objpfx)tst-error1-mem): Likewise.
1338 * nptl/Makefile (tests-special): Likewise.
1339 ($(objpfx)tst-stack3-mem): Likewise.
1340 (generated): Likewise.
1341 * posix/Makefile (generated): Likewise.
1342 (tests-special): Likewise.
1343 (xtests-special): Likewise.
1344 ($(objpfx)tst-fnmatch-mem): Likewise.
1345 ($(objpfx)bug-regex2-mem): Likewise.
1346 ($(objpfx)bug-regex14-mem): Likewise.
1347 ($(objpfx)bug-regex21-mem): Likewise.
1348 ($(objpfx)bug-regex31-mem): Likewise.
1349 ($(objpfx)tst-vfork3-mem): Likewise.
1350 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1351 ($(objpfx)tst-pcre-mem): Likewise.
1352 ($(objpfx)tst-boost-mem): Likewise.
1353 ($(objpfx)bug-ga2-mem): Likewise.
1354 ($(objpfx)bug-glob2-mem): Likewise.
1355 * resolv/Makefile (generate): Likewise.
1356 (tests-special): Likewise.
1357 (xtests-special): Likewise.
1358 (generated): Likewise.
1359 ($(objpfx)mtrace-tst-leaks): Likewise.
1360 ($(objpfx)mtrace-tst-leaks2): Likewise.
1361
265d52ab
JM
1362 * scripts/merge-test-results.sh: New file.
1363 * Makefile (tests-special-notdir): New variable.
1364 (tests): Run merge-test-results.sh.
1365 (xtests): Likewise.
1366 * Rules (tests-special-notdir): New variable.
1367 (xtests-special-notdir): Likewise.
1368 (tests): Run merge-test-results.sh
1369 (xtests): Likewise.
1370
54ee292d
JM
1371 * Makeconfig (test-xfail-name): New variable.
1372 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1373 compute variable name for expected failures.
1374 * conform/Makefile (conformtest-headers-data): New variable.
1375 (conformtest-standards): Likewise.
1376 (conformtest-headers-ISO): Likewise.
1377 (conformtest-headers-ISO99): Likewise.
1378 (conformtest-headers-ISO11): Likewise.
1379 (conformtest-headers-POSIX): Likewise.
1380 (conformtest-headers-XPG3): Likewise.
1381 (conformtest-headers-XPG4): Likewise.
1382 (conformtest-headers-UNIX98): Likewise.
1383 (conformtest-headers-XOPEN2K): Likewise.
1384 (conformtest-headers-POSIX2008): Likewise.
1385 (conformtest-headers-XOPEN2K8): Likewise.
1386 (conformtest-header-list-base): Likewise.
1387 (conformtest-header-list-tests): Likewise.
1388 (conformtest-header-base): Likewise.
1389 (conformtest-header-tests): Likewise.
1390 (tests-special): Add $(conformtest-header-list-tests). If
1391 [$(fast-check) && !$(cross-compiling)], add
1392 $(conformtest-header-tests) instead of
1393 $(objpfx)run-conformtest.out.
1394 (generated): Add $(conformtest-header-list-base). If
1395 [$(fast-check) && !$(cross-compiling)], add
1396 $(conformtest-header-base). Remove previous setting.
1397 ($(conformtest-header-list-tests)): New target.
1398 (test-xfail-run-conformtest): Remove variable.
1399 ($(objpfx)run-conformtest.out): Remove target.
1400 (test-xfail-ISO11/complex.h/conform): New variable.
1401 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1402 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1403 (test-xfail-XPG3/varargs.h/conform): Likewise.
1404 (test-xfail-XPG4/varargs.h/conform): Likewise.
1405 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1406 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1407 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1408 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1409 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1410 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1411 (test-xfail-XPG3/ftw.h/conform): Likewise.
1412 (test-xfail-XPG3/grp.h/conform): Likewise.
1413 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1414 (test-xfail-XPG3/limits.h/conform): Likewise.
1415 (test-xfail-XPG3/pwd.h/conform): Likewise.
1416 (test-xfail-XPG3/search.h/conform): Likewise.
1417 (test-xfail-XPG3/signal.h/conform): Likewise.
1418 (test-xfail-XPG3/stdio.h/conform): Likewise.
1419 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1420 (test-xfail-XPG3/string.h/conform): Likewise.
1421 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1422 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1423 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1424 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1425 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1426 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1427 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1428 (test-xfail-XPG3/termios.h/conform): Likewise.
1429 (test-xfail-XPG3/time.h/conform): Likewise.
1430 (test-xfail-XPG3/unistd.h/conform): Likewise.
1431 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1432 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1433 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1434 (test-xfail-XPG4/netdb.h/conform): Likewise.
1435 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1436 (test-xfail-XPG4/signal.h/conform): Likewise.
1437 (test-xfail-XPG4/stdio.h/conform): Likewise.
1438 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1439 (test-xfail-XPG4/stropts.h/conform): Likewise.
1440 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1441 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1442 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1443 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1444 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1445 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1446 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1447 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1448 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1449 (test-xfail-XPG4/termios.h/conform): Likewise.
1450 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1451 (test-xfail-XPG4/unistd.h/conform): Likewise.
1452 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1453 (test-xfail-POSIX/sched.h/conform): Likewise.
1454 (test-xfail-POSIX/signal.h/conform): Likewise.
1455 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1456 (test-xfail-POSIX/tar.h/conform): Likewise.
1457 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1458 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1459 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1460 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1461 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1462 (test-xfail-UNIX98/sched.h/conform): Likewise.
1463 (test-xfail-UNIX98/signal.h/conform): Likewise.
1464 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1465 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1466 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1467 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1468 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1469 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1470 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1471 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1472 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1473 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1474 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1475 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1476 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1477 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1478 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1479 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1480 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1481 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1482 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1483 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1484 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1485 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1486 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1487 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1488 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1489 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1490 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1491 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1492 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1493 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1494 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1495 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1496 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1497 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1498 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1499 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1500 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1501 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1502 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1503 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1504 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1505 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1506 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1507 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1508 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1509 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1510 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1511 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1512 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1513 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1514 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1515 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1516 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1517 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1518 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1519 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1520 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1521 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1522 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1523 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1524 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1525 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1526 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1527 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1528 (conformtest-cc-flags): Likewise.
1529 ($(conformtest-header-tests): New target.
1530 * conform/check-header-lists.sh: New file.
1531 * conform/run-conformtest.sh: Remove.
1532
a00f522a
JM
1533 * conform/conformtest.pl: Allow ' and \ in values given for
1534 constants.
1535 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1536 inclusion.
1537 [POSIX] (sys/types.h): Likewise.
1538 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1539 inclusion.
1540 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1541 inclusion.
1542 * conform/data/signal.h-data (SIGIO): Remove expectation.
1543 [XPG3] (SIGBUS): Do not expect.
1544 [POSIX || XPG3] (SIGPOLL): Likewise.
1545 [POSIX || XPG3] (SIGPROF): Likewise.
1546 [POSIX || XPG3] (SIGSYS): Likewise.
1547 [XPG3] (SIGTRAP): Likewise.
1548 [POSIX || XPG3] (SIGURG): Likewise.
1549 [POSIX || XPG3] (SIGVTALRM): Likewise.
1550 [POSIX || XPG3] (SIGXCPU): Likewise.
1551 [POSIX || XPG3] (SIGXFSZ): Likewise.
1552 [POSIX] (SA_SIGINFO): Expect.
1553 [XPG3] (siginfo_t): Do not expect type or contents.
1554 [POSIX] (si_pid): Do not expect element.
1555 [POSIX] (si_uid): Likewise.
1556 [POSIX] (si_addr): Likewise.
1557 [POSIX] (si_status): Likewise.
1558 [POSIX] (si_band): Likewise.
1559 [XPG4] (si_value): Likewise.
1560 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1561 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1562 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1563 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1564 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1565 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1566 [POSIX || XPG3] (ILL_COPROC): Likewise.
1567 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1568 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1569 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1570 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1571 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1572 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1573 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1574 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1575 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1576 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1577 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1578 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1579 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1580 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1581 [POSIX || XPG3] (CLD_EXITED): Likewise.
1582 [POSIX || XPG3] (CLD_KILLED): Likewise.
1583 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1584 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1585 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1586 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1587 [POSIX || XPG3] (POLL_IN): Likewise.
1588 [POSIX || XPG3] (POLL_OUT): Likewise.
1589 [POSIX || XPG3] (POLL_MSG): Likewise.
1590 [POSIX || XPG3] (POLL_ERR): Likewise.
1591 [POSIX || XPG3] (POLL_PRI): Likewise.
1592 [POSIX || XPG3] (POLL_HUP): Likewise.
1593 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1594 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1595 (SIG*): Do not allow.
1596 [XPG3] (si_*): Likewise.
1597 [XPG3] (SI_*): Likewise.
1598 [XPG3 || XPG4] (sigev_*): Likewise.
1599 [XPG3 || XPG4] (SIGEV_*): Likewise.
1600 [XPG3 || XPG4] (sival_*): Likewise.
1601 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1602 [POSIX || XPG3] (BUS_*): Likewise.
1603 [POSIX || XPG3] (CLD_*): Likewise.
1604 [POSIX || XPG3] (FPE_*): Likewise.
1605 [POSIX || XPG3] (ILL_*): Likewise.
1606 [POSIX || XPG3] (POLL_*): Likewise.
1607 [POSIX || XPG3] (SEGV_*): Likewise.
1608 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1609 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1610 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1611 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1612 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1613 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1614 Specify type and value.
1615 (TVERSLEN): Likewise.
1616 (REGTYPE): Likewise.
1617 (AREGTYPE): Likewise.
1618 (LNKTYPE): Likewise.
1619 (SYMTYPE): Likewise.
1620 (CHRTYPE): Likewise.
1621 (BLKTYPE): Likewise.
1622 (DIRTYPE): Likewise.
1623 (FIFOTYPE): Likewise.
1624 (CONTTYPE): Likewise.
1625 (TSUID): Likewise.
1626 (TSGID): Likewise.
1627 (TSVTX): Likewise.
1628 (TUREAD): Likewise.
1629 (TUWRITE): Likewise.
1630 (TUEXEC): Likewise.
1631 (TGREAD): Likewise.
1632 (TGWRITE): Likewise.
1633 (TGEXEC): Likewise.
1634 (TOREAD): Likewise.
1635 (TOWRITE): Likewise.
1636 (TOEXEC): Likewise.
1637 [POSIX] (TSVTX): Expect constant.
1638
aa97dee1
JM
16392014-03-06 Joseph Myers <joseph@codesourcery.com>
1640
f214606a
JM
1641 * Makefile (tests): Change dependencies to ....
1642 (tests-special): ... additions to this variable.
1643 (tests): Depend on $(tests-special).
1644 * Makerules (check-abi-list): New variable.
1645 (check-abi): Depend on $(check-abi-list).
1646 [$(subdir) = elf] (tests-special): Add
1647 $(objpfx)check-abi-libc.out.
1648 [$(build-shared) = yes && subdir] (tests-special): Add
1649 $(check-abi-list).
1650 [$(build-shared) = yes && subdir] (tests): Do not depend on
1651 check-abi.
1652 * Rules (tests): Depend on $(tests-special).
1653 (xtests): Depend on $(xtests-special).
1654 * catgets/Makefile (tests): Change dependencies to ....
1655 (tests-special): ... additions to this variable.
1656 * conform/Makefile (tests): Change dependencies to ....
1657 (tests-special): ... additions to this variable.
1658 * elf/Makefile (tests): Change dependencies to ....
1659 (tests-special): ... additions to this variable.
1660 * grp/Makefile (tests): Change dependencies to ....
1661 (tests-special): ... additions to this variable.
1662 * iconv/Makefile (xtests): Change dependencies to ....
1663 (xtests-special): ... additions to this variable.
1664 * iconvdata/Makefile (tests): Change dependencies to ....
1665 (tests-special): ... additions to this variable.
1666 * intl/Makefile (tests): Change dependencies to ....
1667 (tests-special): ... additions to this variable. Also add
1668 $(objpfx)tst-gettext.out.
1669 * io/Makefile (tests): Change dependencies to ....
1670 (tests-special): ... additions to this variable.
1671 * libio/Makefile (tests): Change dependencies to ....
1672 (tests-special): ... additions to this variable.
1673 * malloc/Makefile (tests): Change dependencies to ....
1674 (tests-special): ... additions to this variable.
1675 * misc/Makefile (tests): Change dependencies to ....
1676 (tests-special): ... additions to this variable.
1677 * nptl/Makefile (tests): Change dependencies to ....
1678 (tests-special): ... additions to this variable.
1679 * nptl_db/Makefile (tests): Change dependencies to ....
1680 (tests-special): ... additions to this variable.
1681 * posix/Makefile (tests): Change dependencies to ....
1682 (tests-special): ... additions to this variable.
1683 (xtests): Change dependencies to ....
1684 (xtests-special): ... additions to this variable.
1685 * resolv/Makefile (tests): Change dependencies to ....
1686 (tests-special): ... additions to this variable.
1687 (xtests): Change dependencies to ....
1688 (xtests-special): ... additions to this variable.
1689 * stdio-common/Makefile (tests): Change dependencies to ....
1690 (tests-special): ... additions to this variable.
1691 (do-tst-unbputc): Remove target.
1692 (do-tst-printf): Likewise.
1693 * stdlib/Makefile (tests): Change dependencies to ....
1694 (tests-special): ... additions to this variable.
1695 * string/Makefile (tests): Change dependencies to ....
1696 (tests-special): ... additions to this variable.
1697 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1698 (tests-special): ... additions to this variable.
1699
81700b53
JM
1700 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1701 whole file.
1702 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1703 whole file.
1704 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1705 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1706
2ea18461
JM
1707 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1708 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1709 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1710 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1711 * conform/data/libgen.h-data [XPG3]: Likewise.
1712 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1713 * conform/data/ndbm.h-data [XPG3]: Likewise.
1714 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1715 * conform/data/netdb.h-data [XPG3]: Likewise.
1716 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1717 * conform/data/poll.h-data [XPG3]: Likewise.
1718 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1719 * conform/data/strings.h-data [XPG3]: Likewise.
1720 * conform/data/stropts.h-data [XPG3]: Likewise.
1721 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1722 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1723 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1724 Likewise.
1725 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1726 * conform/data/sys/time.h-data [XPG3]: Likewise.
1727 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1728 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1729 * conform/data/sys/un.h-data [XPG3]: Likewise.
1730 * conform/data/syslog.h-data [XPG3]: Likewise.
1731 * conform/data/ucontext.h-data [XPG3]: Likewise.
1732 * conform/data/utmpx.h-data [XPG3]: Likewise.
1733 * conform/data/varargs.h-data [UNIX98]: Enable file.
1734
355bc986
JM
1735 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1736
215db402
JM
1737 * math/libm-test.inc (struct test_f_f_data): Move expected results
1738 into structure for each rounding mode.
1739 (struct test_ff_f_data): Likewise.
1740 (struct test_ff_f_data_nexttoward): Likewise.
1741 (struct test_fi_f_data): Likewise.
1742 (struct test_fl_f_data): Likewise.
1743 (struct test_if_f_data): Likewise.
1744 (struct test_fff_f_data): Likewise.
1745 (struct test_c_f_data): Likewise.
1746 (struct test_f_f1_data): Likewise.
1747 (struct test_fF_f1_data): Likewise.
1748 (struct test_ffI_f1_data): Likewise.
1749 (struct test_c_c_data): Likewise.
1750 (struct test_cc_c_data): Likewise.
1751 (struct test_f_i_data): Likewise.
1752 (struct test_ff_i_data): Likewise.
1753 (struct test_f_l_data): Likewise.
1754 (struct test_f_L_data): Likewise.
1755 (struct test_fFF_11_data): Likewise.
1756 (RM_): New macro.
1757 (RM_FE_DOWNWARD): Likewise.
1758 (RM_FE_TONEAREST): Likewise.
1759 (RM_FE_TOWARDZERO): Likewise.
1760 (RM_FE_UPWARD): Likewise.
1761 (RUN_TEST_LOOP_f_f): Update references to expected results.
1762 (RUN_TEST_LOOP_2_f): Likewise.
1763 (RUN_TEST_LOOP_fff_f): Likewise.
1764 (RUN_TEST_LOOP_c_f): Likewise.
1765 (RUN_TEST_LOOP_f_f1): Likewise.
1766 (RUN_TEST_LOOP_fF_f1): Likewise.
1767 (RUN_TEST_LOOP_fI_f1): Likewise.
1768 (RUN_TEST_LOOP_ffI_f1): Likewise.
1769 (RUN_TEST_LOOP_c_c): Likewise.
1770 (RUN_TEST_LOOP_cc_c): Likewise.
1771 (RUN_TEST_LOOP_f_i): Likewise.
1772 (RUN_TEST_LOOP_f_i_tg): Likewise.
1773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1774 (RUN_TEST_LOOP_f_b): Likewise.
1775 (RUN_TEST_LOOP_f_b_tg): Likewise.
1776 (RUN_TEST_LOOP_f_l): Likewise.
1777 (RUN_TEST_LOOP_f_L): Likewise.
1778 (RUN_TEST_LOOP_fFF_11): Likewise.
1779 * math/gen-libm-test.pl (parse_args): Output four copies of
1780 expected results for each test.
1781
67737b8f
JM
1782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1783 (__ASSUME_UTIMES): Remove.
1784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1785 (__ASSUME_UTIMES): Likewise.
1786
aa97dee1
JM
1787 * math/gen-auto-libm-tests.c: Update comment on output format.
1788 (output_for_one_input_case): Generate before-rounding and
1789 after-rounding information as conditions on output flags not
1790 floating-point format.
1791 * math/auto-libm-test-out: Regenerated.
1792 * math/gen-libm-test.pl (cond_value): New function.
1793 (or_cond_value): Use cond_value.
1794 (generate_testfile): Handle conditional exceptions.
1795
e6b6a857
JM
17962014-03-05 Joseph Myers <joseph@codesourcery.com>
1797
2f0a0f44
JM
1798 * math/libm-test.inc (max_valid_error): New variable.
1799 (init_max_error): Take new argument specifying whether function
1800 results are exactly determined. Set max_valid_error and bound
1801 other variables for errors based on this argument.
1802 (set_max_error): Do not record results above max_valid_error.
1803 (check_float_internal): Only accept errors of up to 0.5ulps if
1804 also at most max_valid_error.
1805 (START): Take new argument EXACT and pass it to init_max_error.
1806 (acos_test): Update call to START.
1807 (acos_test_tonearest): Likewise.
1808 (acos_test_towardzero): Likewise.
1809 (acos_test_downward): Likewise.
1810 (acos_test_upward): Likewise.
1811 (acosh_test): Likewise.
1812 (asin_test): Likewise.
1813 (asin_test_tonearest): Likewise.
1814 (asin_test_towardzero): Likewise.
1815 (asin_test_downward): Likewise.
1816 (asin_test_upward): Likewise.
1817 (asinh_test): Likewise.
1818 (atan_test): Likewise.
1819 (atanh_test): Likewise.
1820 (atan2_test): Likewise.
1821 (cabs_test): Likewise.
1822 (cacos_test): Likewise.
1823 (cacosh_test): Likewise.
1824 (carg_test): Likewise.
1825 (casin_test): Likewise.
1826 (casinh_test): Likewise.
1827 (catan_test): Likewise.
1828 (catanh_test): Likewise.
1829 (cbrt_test): Likewise.
1830 (ccos_test): Likewise.
1831 (ccosh_test): Likewise.
1832 (ceil_test): Likewise.
1833 (cexp_test): Likewise.
1834 (cimag_test): Likewise.
1835 (clog_test): Likewise.
1836 (clog10_test): Likewise.
1837 (conj_test): Likewise.
1838 (copysign_test): Likewise.
1839 (cos_test): Likewise.
1840 (cos_test_tonearest): Likewise.
1841 (cos_test_towardzero): Likewise.
1842 (cos_test_downward): Likewise.
1843 (cos_test_upward): Likewise.
1844 (cosh_test): Likewise.
1845 (cosh_test_tonearest): Likewise.
1846 (cosh_test_towardzero): Likewise.
1847 (cosh_test_downward): Likewise.
1848 (cosh_test_upward): Likewise.
1849 (cpow_test): Likewise.
1850 (cproj_test): Likewise.
1851 (creal_test): Likewise.
1852 (csin_test): Likewise.
1853 (csinh_test): Likewise.
1854 (csqrt_test): Likewise.
1855 (ctan_test): Likewise.
1856 (ctan_test_tonearest): Likewise.
1857 (ctan_test_towardzero): Likewise.
1858 (ctan_test_downward): Likewise.
1859 (ctan_test_upward): Likewise.
1860 (ctanh_test): Likewise.
1861 (ctanh_test_tonearest): Likewise.
1862 (ctanh_test_towardzero): Likewise.
1863 (ctanh_test_downward): Likewise.
1864 (ctanh_test_upward): Likewise.
1865 (erf_test): Likewise.
1866 (erfc_test): Likewise.
1867 (exp_test): Likewise.
1868 (exp_test_tonearest): Likewise.
1869 (exp_test_towardzero): Likewise.
1870 (exp_test_downward): Likewise.
1871 (exp_test_upward): Likewise.
1872 (exp10_test): Likewise.
1873 (exp10_test_tonearest): Likewise.
1874 (exp10_test_towardzero): Likewise.
1875 (exp10_test_downward): Likewise.
1876 (exp10_test_upward): Likewise.
1877 (pow10_test): Likewise.
1878 (exp2_test): Likewise.
1879 (expm1_test): Likewise.
1880 (expm1_test_tonearest): Likewise.
1881 (expm1_test_towardzero): Likewise.
1882 (expm1_test_downward): Likewise.
1883 (expm1_test_upward): Likewise.
1884 (fabs_test): Likewise.
1885 (fdim_test): Likewise.
1886 (floor_test): Likewise.
1887 (fma_test): Likewise.
1888 (fma_test_towardzero): Likewise.
1889 (fma_test_downward): Likewise.
1890 (fma_test_upward): Likewise.
1891 (fmax_test): Likewise.
1892 (fmin_test): Likewise.
1893 (fmod_test): Likewise.
1894 (fpclassify_test): Likewise.
1895 (frexp_test): Likewise.
1896 (hypot_test): Likewise.
1897 (ilogb_test): Likewise.
1898 (isfinite_test): Likewise.
1899 (finite_test): Likewise.
1900 (isgreater_test): Likewise.
1901 (isgreaterequal_test): Likewise.
1902 (isinf_test): Likewise.
1903 (isless_test): Likewise.
1904 (islessequal_test): Likewise.
1905 (islessgreater_test): Likewise.
1906 (isnan_test): Likewise.
1907 (isnormal_test): Likewise.
1908 (issignaling_test): Likewise.
1909 (isunordered_test): Likewise.
1910 (j0_test): Likewise.
1911 (j1_test): Likewise.
1912 (jn_test): Likewise.
1913 (ldexp_test): Likewise.
1914 (lgamma_test): Likewise.
1915 (gamma_test): Likewise.
1916 (lrint_test): Likewise.
1917 (lrint_test_tonearest): Likewise.
1918 (lrint_test_towardzero): Likewise.
1919 (lrint_test_downward): Likewise.
1920 (lrint_test_upward): Likewise.
1921 (llrint_test): Likewise.
1922 (llrint_test_tonearest): Likewise.
1923 (llrint_test_towardzero): Likewise.
1924 (llrint_test_downward): Likewise.
1925 (llrint_test_upward): Likewise.
1926 (log_test): Likewise.
1927 (log10_test): Likewise.
1928 (log1p_test): Likewise.
1929 (log2_test): Likewise.
1930 (logb_test): Likewise.
1931 (logb_test_downward): Likewise.
1932 (lround_test): Likewise.
1933 (llround_test): Likewise.
1934 (modf_test): Likewise.
1935 (nearbyint_test): Likewise.
1936 (nextafter_test): Likewise.
1937 (nexttoward_test): Likewise.
1938 (pow_test): Likewise.
1939 (pow_test_tonearest): Likewise.
1940 (pow_test_towardzero): Likewise.
1941 (pow_test_downward): Likewise.
1942 (pow_test_upward): Likewise.
1943 (remainder_test): Likewise.
1944 (drem_test): Likewise.
1945 (remainder_test_tonearest): Likewise.
1946 (drem_test_tonearest): Likewise.
1947 (remainder_test_towardzero): Likewise.
1948 (drem_test_towardzero): Likewise.
1949 (remainder_test_downward): Likewise.
1950 (drem_test_downward): Likewise.
1951 (remainder_test_upward): Likewise.
1952 (drem_test_upward): Likewise.
1953 (remquo_test): Likewise.
1954 (rint_test): Likewise.
1955 (rint_test_tonearest): Likewise.
1956 (rint_test_towardzero): Likewise.
1957 (rint_test_downward): Likewise.
1958 (rint_test_upward): Likewise.
1959 (round_test): Likewise.
1960 (scalb_test): Likewise.
1961 (scalbn_test): Likewise.
1962 (scalbln_test): Likewise.
1963 (signbit_test): Likewise.
1964 (sin_test): Likewise.
1965 (sin_test_tonearest): Likewise.
1966 (sin_test_towardzero): Likewise.
1967 (sin_test_downward): Likewise.
1968 (sin_test_upward): Likewise.
1969 (sincos_test): Likewise.
1970 (sinh_test): Likewise.
1971 (sinh_test_tonearest): Likewise.
1972 (sinh_test_towardzero): Likewise.
1973 (sinh_test_downward): Likewise.
1974 (sinh_test_upward): Likewise.
1975 (sqrt_test): Likewise.
1976 (sqrt_test_tonearest): Likewise.
1977 (sqrt_test_towardzero): Likewise.
1978 (sqrt_test_downward): Likewise.
1979 (sqrt_test_upward): Likewise.
1980 (tan_test): Likewise.
1981 (tan_test_tonearest): Likewise.
1982 (tan_test_towardzero): Likewise.
1983 (tan_test_downward): Likewise.
1984 (tan_test_upward): Likewise.
1985 (tanh_test): Likewise.
1986 (tgamma_test): Likewise.
1987 (trunc_test): Likewise.
1988 (y0_test): Likewise.
1989 (y1_test): Likewise.
1990 (yn_test): Likewise.
1991 (significand_test): Likewise.
1992
e6b6a857
JM
1993 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1994 individual tests in comment.
1995 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1996 (prev_max_error): New variable.
1997 (prev_real_max_error): Likewise.
1998 (prev_imag_max_error): Likewise.
1999 (compare_ulp_data): Don't refer to test names in comment.
2000 (find_test_ulps): Remove function.
2001 (find_function_ulps): Likewise.
2002 (find_complex_function_ulps): Likewise.
2003 (init_max_error): Take function name as argument. Look up ulps
2004 for that function.
2005 (print_ulps): Remove function.
2006 (print_max_error): Use prev_max_error instead of calling
2007 find_function_ulps.
2008 (print_complex_max_error): Use prev_real_max_error and
2009 prev_imag_max_error instead of calling find_complex_function_ulps.
2010 (check_float_internal): Take max_ulp parameter instead of calling
2011 find_test_ulps. Don't call print_ulps.
2012 (check_float): Update call to check_float_internal.
2013 (check_complex): Update calls to check_float_internal.
2014 (START): Pass argument to init_max_error.
2015 * math/gen-libm-test.pl (%results): Don't include "kind"
2016 information.
2017 (parse_ulps): Don't handle ulps of individual tests.
2018 (print_ulps_file): Likewise.
2019 (output_ulps): Likewise.
2020 * math/README.libm-test: Update.
2021 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2022 individual tests.
2023 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2024 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2025 * sysdeps/arm/libm-test-ulps: Likewise.
2026 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2027 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2028 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2029 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2030 * sysdeps/microblaze/libm-test-ulps: Likewise.
2031 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2032 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2034 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2035 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2036 * sysdeps/sh/libm-test-ulps: Likewise.
2037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2038 * sysdeps/tile/libm-test-ulps: Likewise.
2039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2040
45adef3c
JM
20412014-03-04 Joseph Myers <joseph@codesourcery.com>
2042
2043 * math/libm-test.inc (print_complex_max_error): Check separately
2044 whether real and imaginary errors are within allowed range and
2045 pass 0 to print_complex_function_ulps instead of value within
2046 allowed range.
2047
000232b9
SP
20482014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
d4b17258
SP
2050 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2051 formatting.
2052 (get_handles_fopen): Likewise.
2053 (do_write_test): Likewise.
2054
091eff71
SP
2055 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2056
fa3cd248
SP
2057 * libio/fileops.c (do_ftell): Use cached offset when
2058 available.
2059 * libio/iofwide.c (do_ftell_wide): Likewise.
2060 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2061 _IO_file_attach.
2062 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2063
000232b9
SP
2064 [BZ #16532]
2065 * libio/libioP.h (get_file_offset): New function.
2066 * libio/fileops.c (get_file_offset): Likewise.
2067 (do_ftell): Likewise.
2068 (_IO_new_file_seekoff): Split out ftell logic.
2069 * libio/wfileops.c (do_ftell_wide): Likewise.
2070 (_IO_wfile_seekoff): Split out ftell logic.
2071 * libio/tst-ftell-active-handler.c: New test case.
2072 * libio/Makefile (tests): Add it.
2073
116f4d1a
RM
20742014-03-03 Roland McGrath <roland@hack.frob.com>
2075
2076 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2077 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2078
532a6035
SP
20792014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2080
2081 [BZ #16639]
2082 * nscd/connections.c (nscd_init): Call do_exit.
2083 (start_threads): Call do_exit and notify_parent.
2084 (begin_drop_privileges): Call do_exit.
2085 (finish_drop_privileges): Likewise.
2086 * nscd/selinux.c (preserve_capabilities): Likewise.
2087 (install_real_capabilities): Likewise.
2088 (nscd_selinux_enabled): Likewise.
2089 (avc_create_thread): Likewise.
2090 (avc_alloc_lock): Likewise.
2091 (nscd_avc_init): Likewise.
2092 * nscd/nscd.c (parent_fd): New static variable.
2093 (main): Create a pipe between parent and child processes.
2094 Skip closing parent_fd.
2095 (monitor_child): New function.
2096 (do_exit): Likewise.
2097 (notify_parent): Likewise.
2098 * nscd/nscd.h (notify_parent): Likewise.
2099 (do_exit): Likewise.
2100
d6285c9f
CD
21012014-03-03 Carlos O'Donell <carlos@redhat.com>
2102
2103 * malloc/malloc.c (__libc_calloc): Revert last change.
2104
2b85d2a0
AZ
21052014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106
2107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2108
c7debbdf
RS
21092014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2110
2111 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2113 implementation.
2114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2115 (__libc_ifunc_impl_list): Likewise.
2116 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2117 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2119 * string/strrchr.c: Define STRRCHR.
2120
235eed86
OB
21212014-02-28 Ondřej Bílka <neleai@seznam.cz>
2122
2123 * benchtest/bench-strtok.c (simple_strtok): Delete.
2124 (strtok_string): Use as benchmark.
2125 * string/strtok (STRTOK): New macro.
2126
8e25d1e7
CD
21272014-02-28 Carlos O'Donell <carlos@redhat.com>
2128
ef563f92
CD
2129 * manual/threads.texi: Add header and standard comments to all
2130 functions.
2131
8e25d1e7
CD
2132 * elf/dl-lookup.c (check_match): New function.
2133 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2134 (do_lookup_x): Remove nested function check_match. Use non-nested
2135 function check_match.
2136
ff71cc37
RM
21372014-02-28 Roland McGrath <roland@hack.frob.com>
2138
f08e9a26
RM
2139 * csu/Makefile (generated, before-compile): Use += rather than =.
2140 * catgets/Makefile (generated, generated-dirs): Likewise.
2141 * debug/Makefile (generated): Likewise.
2142 * dlfcn/Makefile (generated): Likewise.
2143 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2144 * iconvdata/Makefile (before-compile, generated): Likewise.
2145 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2146 * libio/Makefile (generated): Likewise.
2147 * malloc/Makefile (generated): Likewise.
2148 * manual/Makefile (generated, generated-dirs): Likewise.
2149 * misc/Makefile (generated): Likewise.
2150 * posix/Makefile (generated): Likewise.
2151 * resolv/Makefile (generated): Likewise.
2152 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2153 * timezone/Makefile (generated, generated-dirs): Likewise.
2154
ff71cc37
RM
2155 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2156
fe13a20c
AZ
21572014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2160 implementation.
2161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2162 POWER8 llround ifunc implementation.
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2164 POWER8 implementation.
2165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2166 POWER8 llround implementation.
2167
1ad8950a
AZ
21682014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2171 implementation.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2173 POWER8 llrint ifunc implementation.
2174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2175 POWER8 implementation.
2176 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2177 POWER8 llrint implementation.
2178
cac626d6
AZ
21792014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180
2181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2182 implementation.
2183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2184 POWER8 finite ifunc implementation.
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2186 POWER8 implementation.
2187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2188 Likewise.
2189 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2190 POWER8 finite implementation.
2191 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2192
4393fc11
AZ
21932014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2196 implementation.
2197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2198 POWER8 isinf ifunc implementation.
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2200 POWER8 implementation.
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2202 Likewise.
2203 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2204 POWER8 isinf implementation.
2205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2206
487972ae
AZ
22072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208
2209 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2210 Add hwcap2 initialization.
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2212 implementation.
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2214 POWER8 isnan ifunc implementation.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2216 POWER8 implementation.
2217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2218 Likewise.
2219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2220 POWER8 isnan implementation.
2221 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2222
7d92b787
JY
22232014-02-27 Joey Ye <joey.ye@arm.com>
2224
2225 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2226 (_FP_NANFRAC_Q): Set to zero.
2227
1cadc858
SP
22282014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2229
2230 [BZ #16623]
2231 * math/auto-libm-test-in: New test inputs.
2232 * math/auto-libm-test-out: Regenerate.
2233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2234 and DA.
2235 (__cos): Likewise.
2236 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2237
f8c17e79
JM
22382014-02-27 Joseph Myers <joseph@codesourcery.com>
2239
2240 * scripts/evaluate-test.sh: Take new argument indicating whether
2241 failure is expected.
2242 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2243 indicating whether failure is expected.
2244 * conform/Makefile (test-xfail-run-conformtest): New variable.
2245 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2246 level.
2247 * posix/Makefile (test-xfail-annexc): New variable.
2248 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2249
a5f891ac
JM
22502014-02-26 Joseph Myers <joseph@codesourcery.com>
2251
2252 * argp/Makefile: Include Makeconfig immediately after defining
2253 subdir.
2254 * assert/Makefile: Likewise.
2255 * benchtests/Makefile: Likewise.
2256 * catgets/Makefile: Likewise.
2257 * conform/Makefile: Likewise.
2258 * crypt/Makefile: Likewise.
2259 * csu/Makefile: Likewise.
2260 (all): Remove target.
2261 * ctype/Makefile: Include Makeconfig immediately after defining
2262 subdir.
2263 * debug/Makefile: Likewise.
2264 * dirent/Makefile: Likewise.
2265 * dlfcn/Makefile: Likewise.
2266 * gmon/Makefile: Likewise.
2267 * gnulib/Makefile: Likewise.
2268 * grp/Makefile: Likewise.
2269 * gshadow/Makefile: Likewise.
2270 * hesiod/Makefile: Likewise.
2271 * hurd/Makefile: Likewise.
2272 (all): Remove target.
2273 * iconvdata/Makefile: Include Makeconfig immediately after
2274 defining subdir.
2275 * inet/Makefile: Likewise.
2276 * intl/Makefile: Likewise.
2277 * io/Makefile: Likewise.
2278 * libio/Makefile: Likewise.
2279 (all): Remove target.
2280 * locale/Makefile: Include Makeconfig immediately after defining
2281 subdir.
2282 * login/Makefile: Likewise.
2283 * mach/Makefile: Likewise.
2284 (all): Remove target.
2285 * malloc/Makefile: Include Makeconfig immediately after defining
2286 subdir.
2287 (all): Remove target.
2288 * manual/Makefile: Include Makeconfig immediately after defining
2289 subdir.
2290 * math/Makefile: Likewise.
2291 * misc/Makefile: Likewise.
2292 * nis/Makefile: Likewise.
2293 * nss/Makefile: Likewise.
2294 * po/Makefile: Likewise.
2295 (all): Remove target.
2296 * posix/Makefile: Include Makeconfig immediately after defining
2297 subdir.
2298 * pwd/Makefile: Likewise.
2299 * resolv/Makefile: Likewise.
2300 * resource/Makefile: Likewise.
2301 * rt/Makefile: Likewise.
2302 * setjmp/Makefile: Likewise.
2303 * shadow/Makefile: Likewise.
2304 * signal/Makefile: Likewise.
2305 * socket/Makefile: Likewise.
2306 * soft-fp/Makefile: Likewise.
2307 * stdio-common/Makefile: Likewise.
2308 * stdlib/Makefile: Likewise.
2309 * streams/Makefile: Likewise.
2310 * string/Makefile: Likewise.
2311 * sunrpc/Makefile: Likewise.
2312 (all): Remove target.
2313 * sysvipc/Makefile: Include Makeconfig immediately after defining
2314 subdir.
2315 * termios/Makefile: Likewise.
2316 * time/Makefile: Likewise.
2317 * timezone/Makefile: Likewise.
2318 (all): Remove target.
2319 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2320 subdir.
2321 * wctype/Makefile: Likewise.
2322
5b456e9d
SE
23232014-02-26 Steve Ellcey <sellcey@mips.com>
2324
2325 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2326 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2327 (libc_feholdexcept_setround_mips): Ditto.
2328 (libc_feholdsetround): New.
2329 (libc_feholdsetroundf): New.
2330 (libc_feholdsetroundl): New.
2331 (libc_feupdateenv_test_mips): New.
2332 (libc_feupdateenv_test): New.
2333 (libc_feupdateenv_testf): New.
2334 (libc_feupdateenv_testl): New.
2335 (libc_feresetround): New.
2336 (libc_feresetroundf): New.
2337 (libc_feresetroundl): New.
2338 (libc_fetestexcept_mips): New.
2339 (libc_fetestexcept): New.
2340 (libc_fetestexceptf): New.
2341 (libc_fetestexceptl): New.
2342 (HAVE_RM_CTX): New.
2343 (libc_feholdexcept_setround_mips_ctx): New.
2344 (libc_feholdexcept_setround_ctx): New.
2345 (libc_feholdexcept_setroundf_ctx): New.
2346 (libc_feholdexcept_setroundl_ctx): New.
2347 (libc_fesetenv_mips_ctx): New.
2348 (libc_fesetenv_ctx): New.
2349 (libc_fesetenv_ctxf): New.
2350 (libc_fesetenv_ctxl): New.
2351 (libc_feupdateenv_mips_ctx): New.
2352 (libc_feupdateenv_ctx): New.
2353 (libc_feupdateenvf_ctx): New.
2354 (libc_feupdateenvl_ctx): New.
2355 (libc_feholdsetround_mips_ctx): New.
2356 (libc_feholdsetround_ctx): New.
2357 (libc_feholdsetroundf_ctx): New.
2358 (libc_feholdsetroundl_ctx): New.
2359 (libc_feresetround_mips_ctx): New.
2360 (libc_feresetround_ctx): New.
2361 (libc_feresetroundf_ctx): New.
2362 (libc_feresetroundl_ctx): New.
2363
085d0e35
CD
23642014-02-26 Carlos O'Donell <carlos@redhat.com>
2365
f067bf1f
CD
2366 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2367
085d0e35
CD
2368 * manual/ipc.texi: New file.
2369 * manual/Makefile (chapters): Add ipc.
2370 * manual/job.texi: Add "Inter-Process Communication" to next.
2371 * manual/process.texi: Add "Inter-Process Communication" to prev.
2372
86e58c08
AZ
23732014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2374
2375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2376
4248f0da
OB
23772014-02-26 Ondřej Bílka <neleai@seznam.cz>
2378
2379 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2380
cf822e3c
OB
2381 * manual/arith.texi: Fix spaces after sentences.
2382 * manual/charset.texi: Likewise.
2383 * manual/errno.texi: Likewise.
2384 * manual/install.texi: Likewise.
2385 * manual/llio.texi: Likewise.
2386 * manual/locale.texi: Likewise.
2387 * manual/maint.texi: Likewise.
2388 * manual/math.texi: Likewise.
2389 * manual/memory.texi: Likewise.
2390 * manual/message.texi: Likewise.
2391 * manual/probes.texi: Likewise.
2392 * manual/resource.texi: Likewise.
2393 * manual/signal.texi: Likewise.
2394 * manual/socket.texi: Likewise.
2395 * manual/stdio.texi: Likewise.
2396 * manual/string.texi: Likewise.
2397 * manual/time.texi: Likewise.
2398 * manual/users.texi: Likewise.
2399
ade40b10
CD
24002014-02-25 Carlos O'Donell <carlos@redhat.com>
2401
2402 [BZ #16632]
2403 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2404 _DEFAULT_SOURCE is defined.
2405
d0503676
CD
24062014-02-25 Ulrich Drepper <drepper@gmail.com>
2407 Carlos O'Donell <carlos@redhat.com>
2408
2409 [BZ #16613]
2410 * elf/dl-tls.c (_dl_count_modids): New function.
2411 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2412 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2413 audit library and increment generation counter.
2414 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2415 * elf/tst-audit9.c: New file.
2416 * elf/tst-auditmod9a.c: New file.
2417 * elf/tst-auditmod9b.c: New file.
2418 * elf/Makefile: Add rules to build and run tst-audit9.
2419
4cbf380c
FW
24202014-02-25 Florian Weimer <fweimer@redhat.com>
2421
2422 [BZ #15347]
2423 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2424
80a56cc3
WN
24252014-02-25 Will Newton <will.newton@linaro.org>
2426
2427 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2428 (__longjmp): Restore sp and lr before restoring callee
2429 saved registers. Add longjmp and longjmp_target
2430 SystemTap probe point.
2431 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2432 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2433 Define to zero to match jmpbuf layout.
2434 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2435 (__sigsetjmp): Save sp and lr before saving callee
2436 saved registers. Add setjmp SystemTap probe point.
2437
3ea0f74e
SL
24382014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2439
2440 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2441
b04acb26
AS
24422014-02-24 Andreas Schwab <schwab@suse.de>
2443
2444 [BZ #15804]
2445 * elf/pldd.c (wait_for_ptrace_stop): New function.
2446 (main): Call it after attaching.
2447
098ad55c
RM
24482014-02-22 Roland McGrath <roland@hack.frob.com>
2449
d4ec6ae1
RM
2450 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2451 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2452 Versions files is now verboten.
2453 * hurd/Versions (libc: GLIBC_2.0):
2454 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2455 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2456 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2457 * mach/Versions: Likewise.
2458
098ad55c
RM
2459 * csu/Versions: Remove unused %include.
2460 * resolv/Versions: Likewise.
2461
acd7f096
JM
24622014-02-21 Joseph Myers <joseph@codesourcery.com>
2463
f0881698
JM
2464 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2465 ($(objpfx)check-local-headers.out): Likewise.
2466 ($(objpfx)begin-end-check.out): Likewise.
2467 * Makerules (check-abi-%.out): Likewise.
2468 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2469 ($(objpfx)test2.cat): Likewise.
2470 ($(objpfx)de/libc.cat): Likewise.
2471 ($(objpfx)test-gencat.out): Likewise.
2472 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2473 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2474 ($(objpfx)noload-mem): Likewise.
2475 ($(objpfx)tst-pathopt.out): Likewise.
2476 ($(objpfx)tst-rtld-load-self.out): Likewise.
2477 ($(objpfx)tst-array1-cmp.out): Likewise.
2478 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2479 ($(objpfx)tst-array2-cmp.out): Likewise.
2480 ($(objpfx)tst-array3-cmp.out): Likewise.
2481 ($(objpfx)tst-array4-cmp.out): Likewise.
2482 ($(objpfx)tst-array5-cmp.out): Likewise.
2483 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2484 ($(objpfx)check-textrel.out): Likewise.
2485 ($(objpfx)check-execstack.out): Likewise.
2486 ($(objpfx)check-localplt.out): Likewise.
2487 ($(objpfx)order2-cmp.out): Likewise.
2488 ($(objpfx)tst-leaks1-mem): Likewise.
2489 ($(objpfx)tst-leaks1-static-mem): Likewise.
2490 ($(objpfx)tst-initorder-cmp.out): Likewise.
2491 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2492 ($(objpfx)tst-unused-dep.out): Likewise.
2493 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2494 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2495 * iconv/Makefile (test-iconvconfig): Likewise.
2496 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2497 ($(objpfx)iconv-test.out): Likewise.
2498 ($(objpfx)tst-tables.out): Likewise.
2499 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2500 ($(objpfx)tst-gettext.out): Likewise.
2501 ($(objpfx)tst-translit.out): Likewise.
2502 ($(objpfx)tst-gettext2.out): Likewise.
2503 ($(objpfx)tst-gettext4.out): Likewise.
2504 ($(objpfx)tst-gettext6.out): Likewise.
2505 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2506 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2507 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2508 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2510 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2511 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2512 ($(objpfx)wordexp-tst.out): Likewise.
2513 ($(objpfx)annexc.out): Likewise.
2514 ($(objpfx)tst-fnmatch-mem): Likewise.
2515 ($(objpfx)bug-regex2-mem): Likewise.
2516 ($(objpfx)bug-regex14-mem): Likewise.
2517 ($(objpfx)bug-regex21-mem): Likewise.
2518 ($(objpfx)bug-regex31-mem): Likewise.
2519 ($(objpfx)tst-vfork3-mem): Likewise.
2520 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2521 ($(objpfx)tst-pcre-mem): Likewise.
2522 ($(objpfx)tst-boost-mem): Likewise.
2523 ($(objpfx)tst-getconf.out): Likewise.
2524 ($(objpfx)bug-ga2-mem): Likewise.
2525 ($(objpfx)bug-glob2-mem): Likewise.
2526 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2527 ($(objpfx)mtrace-tst-leaks2): Likewise.
2528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2529 ($(objpfx)tst-printf.out): Likewise.
2530 ($(objpfx)tst-setvbuf1.out): Likewise.
2531 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2532 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2533 ($(objpfx)tst-fmtmsg.out): Likewise.
2534 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2535 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2536
acd7f096
JM
2537 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2538 * bits/sigaction.h [__USE_MISC]: Likewise.
2539 * bits/waitstatus.h: Update #endif comments.
2540 * ctype/ctype.h: Likewise.
2541 * dirent/dirent.h: Likewise.
2542 [__USE_MISC]: Remove redundant conditionals.
2543 * grp/grp.h: Update #endif comments.
2544 [__USE_GNU]: Remove redundant conditionals.
2545 [__USE_MISC]: Likewise.
2546 * inet/netinet/in.h [__USE_GNU]: Likewise.
2547 * io/sys/stat.h [__USE_MISC]: Likewise.
2548 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2549 * libio/bits/stdio.h: Update #endif comments.
2550 [__USE_MISC]: Remove redundant conditionals.
2551 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2552 * libio/stdio.h: Update #endif comments.
2553 [__USE_MISC]: Remove redundant conditionals.
2554 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2555 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2556 * math/math.h: Update #else and #endif comments.
2557 [__USE_MISC]: Remove redundant conditionals.
2558 * misc/sys/uio.h: Update #endif comments.
2559 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2560 * posix/glob.h [__USE_MISC]: Likewise.
2561 * posix/sys/types.h: Update #endif comments.
2562 [__USE_MISC]: Remove redundant conditionals.
2563 * posix/sys/wait.h: Update #endif comments.
2564 [__USE_MISC]: Remove redundant conditionals.
2565 * posix/unistd.h: Update #endif comments.
2566 [__USE_MISC]: Remove redundant conditionals.
2567 * pwd/pwd.h [__USE_GNU]: Likewise.
2568 [__USE_MISC]: Likewise.
2569 * resolv/netdb.h [__USE_GNU]: Likewise.
2570 * signal/signal.h: Update #endif comments.
2571 [__USE_MISC]: Remove redundant conditionals.
2572 * stdlib/stdlib.h: Update #else and #endif comments.
2573 [__USE_MISC]: Remove redundant conditionals.
2574 [__USE_GNU]: Likewise.
2575 * string/bits/string2.h [__USE_MISC]: Likewise.
2576 * string/string.h: Update #endif comments.
2577 [__USE_MISC]: Remove redundant conditionals.
2578 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2579 Likewise.
2580 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2581 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2582 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2585 Likewise.
2586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2587 comments.
2588 [__USE_MISC]: Remove redundant conditionals.
2589 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2590 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2591 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2592 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2593 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2594 Likewise.
2595 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2596 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2597 Likewise.
2598 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2599 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2600 Likewise.
2601 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2607 Likewise.
2608 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2609 * sysdeps/x86/bits/string.h: Update #endif comments.
2610 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2611 conditionals.
2612 * time/sys/time.h: Update #endif comments.
2613 * time/time.h: Likewise.
2614 [__USE_MISC]: Remove redundant conditionals.
2615
a5d82e4e
YG
26162014-02-21 Yury Gribov <y.gribov@samsung.com>
2617
2618 [BZ #16600]
2619 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2620
9a80491d
AS
26212014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2622
2623 * Versions.def (librt): Add GLIBC_2.17.
2624
105fa381
AC
26252014-02-21 Adam Conrad <adconrad@0c3.net>
2626
2627 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2628 synonym for _SYS_AUXV_H to allow direct inclusion.
2629 * sysdeps/sparc/bits/hwcap.h: Likewise.
2630 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2631 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2632 * sysdeps/sparc/sysdep.h: Likewise.
2633
b8cd1c4e
SP
26342014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2635
2636 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2637
bd939d23
RS
26382014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2639
2640 * benchtests/bench-strrchr.c: Print length instead of position.
2641
5d7b57ca
JM
26422014-02-20 Joseph Myers <joseph@codesourcery.com>
2643
bc688c10
JM
2644 [BZ #16611]
2645 * sysdeps/unix/sysv/linux/kernel-features.h
2646 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2647 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2648 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2649 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2650 Likewise.
2651 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2652 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2653 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2654 (__ASSUME_SENDMMSG): Define instead of using previous
2655 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2656 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2657 (__ASSUME_SENDMMSG_SYSCALL): Define.
2658 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2659 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2662 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2663 Likewise.
2664 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2665 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2666 Likewise.
2667 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2668 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2669 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2670 [__ASSUME_SENDMMSG]: Change conditionals to
2671 [__ASSUME_SENDMMSG_SOCKETCALL].
2672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2673 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2674 Define.
2675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2676 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2677 Likewise.
2678 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2679 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2680 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2681 [!__ASSUME_SENDMMSG]: Change conditional to
2682 [!__ASSUME_SENDMMSG_SOCKETCALL].
2683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2684 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2685 Define.
2686
0e31b18c
JM
2687 [BZ #16610]
2688 * sysdeps/unix/sysv/linux/kernel-features.h
2689 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2690 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2691 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2692 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2693 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2694 [__i386__ || __sparc__]
2695 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2696 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2697 (__ASSUME_RECVMMSG): Define instead of using previous
2698 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2700 (__ASSUME_RECVMMSG_SYSCALL): Define.
2701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2702 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2703 Likewise.
2704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2705 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2706 Likewise.
2707 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2709 Likewise.
2710 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2711 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2712 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2713 [__ASSUME_RECVMMSG]: Change condition to
2714 [__ASSUME_RECVMMSG_SOCKETCALL].
2715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2717 Define.
2718 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2719 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2720 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2721 Likewise.
2722 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2723 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2724 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2725 [!__ASSUME_RECVMMSG]: Change condition to
2726 [!__ASSUME_RECVMMSG_SOCKETCALL].
2727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2728 (__ASSUME_RECVMMSG_SYSCALL): Define.
2729
dd481ccf
JM
2730 [BZ #16609]
2731 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2732 __powerpc__ || __s390__ || __sh__ || __sparc__]
2733 (__ASSUME_SOCKETCALL): Define.
2734 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2735 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2736 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2737 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2738 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2739 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2740 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2741 (__ASSUME_ACCEPT4): Define instead of using previous
2742 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2743 __powerpc__ || __sparc__ || __s390__)] condition.
2744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2745 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2746 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2747 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2748 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2749 [!__ASSUME_ACCEPT4]: Change condition to
2750 [!__ASSUME_ACCEPT4_SOCKETCALL].
2751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2753 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2754 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2755 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2756 __ASSUME_ACCEPT4_SYSCALL.
2757 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2758 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2760 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2761 __ASSUME_ACCEPT4_SYSCALL.
2762 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2763 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2764 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2765 [__ASSUME_ACCEPT4]: Change condition to
2766 [__ASSUME_ACCEPT4_SOCKETCALL].
2767 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2768 (__ASSUME_SOCKETCALL): Define.
2769 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2771 (__ASSUME_SOCKETCALL): Define.
2772 (__ASSUME_ACCEPT4): Remove.
2773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2774 Define.
2775 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2776 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2777 Likewise.
2778 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2779 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2780
5d7b57ca
JM
2781 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2782 macro.
2783 (HWCAP_ARM_LPAE): Likewise.
2784 (HWCAP_ARM_EVTSTRM): Likewise.
2785 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2786 Add vpfd32, lpae and evtstrm.
2787 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2788 Increase to 22.
2789
63689d61
JM
27902014-02-19 Joseph Myers <joseph@codesourcery.com>
2791
2792 * math/auto-libm-test-in: Add tests of clog10.
2793 * math/auto-libm-test-out: Regenerated.
2794 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2795 * sysdeps/i386/fpu/libm-test-ulps: Update.
2796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2797
ab09bf61
AS
27982014-02-18 Andreas Schwab <schwab@suse.de>
2799
2800 [BZ #16574]
2801 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2802 Store non-zero if the second buffer was newly allocated.
2803 (send_dg): Likewise.
2804 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2805 to send_vc and send_dg.
2806 (res_nsend): Pass NULL for ansp2_malloced.
2807 * resolv/res_query.c (__libc_res_nquery): Add parameter
2808 answerp2_malloced and pass it down to __libc_res_nsend.
2809 (res_nquery): Pass additional NULL to __libc_res_nquery.
2810 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2811 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2812 second answer buffer if answerp2_malloced was set.
2813 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2814 (__libc_res_nquerydomain): Add parameter
2815 answerp2_malloced and pass it down to __libc_res_nquery.
2816 (res_nquerydomain): Pass additional NULL to
2817 __libc_res_nquerydomain.
2818 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2819 additional NULL to __libc_res_nsend and __libc_res_nquery.
2820 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2821 additional NULL to __libc_res_nsearch.
2822 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2823 parameter of __libc_res_nsearch to check for separately allocated
2824 second buffer.
2825 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2826 __libc_res_nquery.
2827 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2828 additional NULL to __libc_res_nquery.
2829 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2830 __libc_res_nsearch.
2831 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2832 * include/resolv.h: Update prototypes of __libc_res_nquery,
2833 __libc_res_nsearch, __libc_res_nsend.
2834
a4fb7861
JM
28352014-02-18 Joseph Myers <joseph@codesourcery.com>
2836
c6af2d89
JM
2837 * math/auto-libm-test-in: Add tests of fma.
2838 * math/auto-libm-test-out: Regenerated.
2839 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2840 (fma_towardzero_test_data): Likewise.
2841 (fma_downward_test_data): Likewise.
2842 (fma_upward_test_data): Likewise.
2843 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2844 mpc_mode.
2845 (rounding_modes): Add values for new field.
2846 (func_calc_method): Add value mpfr_fff_f.
2847 (func_calc_desc): Add mpfr_fff_f union field.
2848 (test_function): Add field exact_args.
2849 (FUNC): Add macro argument EXACT_ARGS.
2850 (FUNC_mpfr_f_f): Update call to FUNC.
2851 (FUNC_mpfr_f_f): Likewise.
2852 (FUNC_mpfr_ff_f): Likewise.
2853 (FUNC_mpfr_if_f): Likewise.
2854 (FUNC_mpc_c_f): Likewise.
2855 (FUNC_mpc_c_c): Likewise.
2856 (test_functions): Add fma. Update calls to FUNC.
2857 (handle_input_arg): Add argument exact_args.
2858 (add_test): Update call to handle_input_arg.
2859 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2860 (output_for_one_input_case): Update call to calc_generic_results.
2861 Recalculate exact zero results in each rounding mode.
2862
a4fb7861
JM
2863 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2864 non-negative before setting low bit.
2865 * math/auto-libm-test-in: Mark one asin test possibly having
2866 spurious underflow.
2867 * math/auto-libm-test-out: Regenerated.
2868 * sysdeps/i386/fpu/libm-test-ulps: Update.
2869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870
ef114eaf
DH
28712014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2872
2b7f4f2c
SP
2873 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2874 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2875 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2876 * README: Add missing listing for microblaze*-*-linux-gnu.
2877
c70a4b1d
MF
28782014-02-16 Mike Frysinger <vapier@gentoo.org>
2879
2880 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2881 * sysdeps/unix/sysv/linux/ia64: Move directory from
2882 ports/sysdeps/unix/sysv/linux/ia64.
2883 * README: Update listing for ia64-*-linux-gnu.
2884
591aeaf7
TD
28852014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2886 Joseph Myers <joseph@codesourcery.com>
2887
2888 * Makeconfig (test-name): New variable.
2889 (evaluate-test): Likewise.
2890 * Makerules (do-test-clean): Remove .test-result files.
2891 (common-mostlyclean): Likewise.
2892 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2893 * scripts/evaluate-test.sh: New file.
2894
6e89caf1
JM
28952014-02-14 Joseph Myers <joseph@codesourcery.com>
2896
7f98f180
JM
2897 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2898 separate $(objpfx)tst-fopenloc-cmp.out and
2899 $(objpfx)tst-fopenloc-mem.out targets.
2900 (tests): Update dependencies.
2901 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2902 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2903 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2904 (tst-rxspencer-no-utf8-ARGS): New variable.
2905 (tst-rxspencer-no-utf8-ENV): Likewise.
2906 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2907 instead of $(objpfx)tst-rxspencer-mem.
2908 ($(objpfx)tst-rxspencer-mem): Change target to
2909 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2910 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2911 * posix/tst-rxspencer-no-utf8.c: New file.
2912
6e89caf1
JM
2913 * elf/Makefile ($(objpfx)order.out): Remove rule.
2914 [$(run-built-tests) = yes] (tests): Depend on
2915 $(objpfx)order-cmp.out.
2916 ($(objpfx)order-cmp.out): New rule.
2917 [$(run-built-tests) = yes] (tests): Depend on
2918 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2919 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2920 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2921 $(objpfx)tst-array5-static-cmp.out.
2922 ($(objpfx)tst-array1.out): Remove rule.
2923 ($(objpfx)tst-array1-cmp.out): New rule.
2924 ($(objpfx)tst-array1-static.out): Remove rule.
2925 ($(objpfx)tst-array1-static-cmp.out): New rule.
2926 ($(objpfx)tst-array2.out): Remove rule.
2927 ($(objpfx)tst-array2-cmp.out): New rule.
2928 ($(objpfx)tst-array3.out): Remove rule.
2929 ($(objpfx)tst-array3-cmp.out): New rule.
2930 ($(objpfx)tst-array4.out): Remove rule.
2931 ($(objpfx)tst-array4-cmp.out): New rule.
2932 ($(objpfx)tst-array5.out): Remove rule.
2933 ($(objpfx)tst-array5-cmp.out): New rule.
2934 ($(objpfx)tst-array5-static.out): Remove rule.
2935 ($(objpfx)tst-array5-static-cmp.out): New rule.
2936 [$(run-built-tests) = yes] (tests): Depend on
2937 $(objpfx)order2-cmp.out.
2938 ($(objpfx)order2.out): Remove rule.
2939 ($(objpfx)order2-cmp.out): New rule.
2940 ($(objpfx)tst-initorder.out): Remove rule.
2941 [$(run-built-tests) = yes] (tests): Depend on
2942 $(objpfx)tst-initorder-cmp.out.
2943 ($(objpfx)tst-initorder-cmp.out): New rule.
2944 ($(objpfx)tst-initorder2.out): Remove rule.
2945 [$(run-built-tests) = yes] (tests): Depend on
2946 $(objpfx)tst-initorder2-cmp.out.
2947 ($(objpfx)tst-initorder2-cmp.out): New rule.
2948 [$(run-built-tests) = yes] (tests): Depend on
2949 $(objpfx)tst-unused-dep-cmp.out.
2950 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2951 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2952 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2953 on $(objpfx)tst-setvbuf1-cmp.out.
2954 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2955 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2956 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2957 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2958 ($(objpfx)tst-svc.out): Remove rule.
2959 ($(objpfx)tst-svc-cmp.out): New rule.
2960
ed9a38e2
JM
29612014-02-13 Joseph Myers <joseph@codesourcery.com>
2962
2963 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2964 * ctype/ctype.h [__USE_MISC]: Likewise.
2965 * dirent/dirent.h [__USE_MISC]: Likewise.
2966 * grp/grp.h [__USE_MISC]: Likewise.
2967 * io/fcntl.h [__USE_MISC]: Likewise.
2968 * io/sys/stat.h [__USE_MISC]: Likewise.
2969 * libio/stdio.h [__USE_MISC]: Likewise.
2970 * posix/unistd.h [__USE_MISC]: Likewise.
2971 * pwd/pwd.h [__USE_MISC]: Likewise.
2972 * stdlib.h [__USE_MISC]: Likewise.
2973 * string/bits/string2.h [__USE_MISC]: Likewise.
2974 * string/string.h [__USE_MISC]: Likewise.
2975 * time/time.h [__USE_MISC]: Likewise.
2976
d6680619
AS
29772014-02-13 Andreas Schwab <schwab@suse.de>
2978
2979 [BZ #16574]
2980 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2981 second answer buffer if it was separately allocated.
2982
ace614b8
JM
29832014-02-12 Joseph Myers <joseph@codesourcery.com>
2984
743151ae
JM
2985 * sysdeps/mips/math-tests.h: Include <features.h>.
2986 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2987 (ROUNDING_TESTS_long_double): Do not define.
2988 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2989 (EXCEPTION_TESTS_long_double): Likewise.
2990 * sysdeps/mips/mips64/libm-test-ulps: Update.
2991
498afc54
JM
2992 * include/features.h (__USE_BSD): Remove macro definitions.
2993 (__USE_SVID): Likewise.
2994 (_BSD_SOURCE): Likewise.
2995 (_SVID_SOURCE): Likewise.
2996 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2997 from definition of _DEFAULT_SOURCE.
2998 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2999 [_DEFAULT_SOURCE].
3000 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3001 * bits/mman.h [__USE_BSD]: Likewise.
3002 * bits/termios.h [__USE_BSD]: Likewise.
3003 * bits/waitstatus.h [__USE_BSD]: Likewise.
3004 * ctype/ctype.h [__USE_SVID]: Likewise.
3005 * dirent/dirent.h [__USE_BSD]: Likewise.
3006 * grp/grp.h [__USE_SVID]: Likewise.
3007 [__USE_BSD]: Likewise.
3008 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3009 * io/fcntl.h [__USE_BSD]: Likewise.
3010 * io/ftw.h [__USE_BSD]: Likewise.
3011 * io/sys/stat.h [__USE_BSD]: Likewise.
3012 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3013 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3014 * libio/stdio.h [__USE_SVID]: Likewise.
3015 [__USE_BSD]: Likewise.
3016 * math/math.h [__USE_SVID]: Likewise.
3017 [__USE_BSD]: Likewise.
3018 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3019 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3020 * misc/search.h [__USE_SVID]: Likewise.
3021 * misc/sys/mman.h [__USE_BSD]: Likewise.
3022 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3023 * misc/sys/uio.h [__USE_BSD]: Likewise.
3024 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3025 * posix/glob.h [__USE_BSD]: Likewise.
3026 * posix/regex.h [__USE_BSD]: Likewise.
3027 * posix/sys/types.h [__USE_BSD]: Likewise.
3028 [__USE_SVID]: Likewise.
3029 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3030 * posix/sys/wait.h [__USE_BSD]: Likewise.
3031 [__USE_SVID]: Likewise.
3032 * posix/unistd.h [__USE_BSD]: Likewise.
3033 [__USE_SVID]: Likewise.
3034 * pwd/pwd.h [__USE_SVID]: Likewise.
3035 * resolv/netdb.h [__USE_BSD]: Likewise.
3036 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3037 * signal/signal.h [__USE_BSD]: Likewise.
3038 [__USE_SVID]: Likewise.
3039 * socket/sys/socket.h [__USE_BSD]: Likewise.
3040 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3041 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3042 [__USE_SVID]: Likewise.
3043 * string/bits/string2.h [__USE_BSD]: Likewise.
3044 [__USE_SVID]: Likewise.
3045 * string/bits/string3.h [__USE_BSD]: Likewise.
3046 * string/endian.h [__USE_BSD]: Likewise.
3047 * string/string.h [__USE_SVID]: Likewise.
3048 [__USE_BSD]: Likewise.
3049 * string/strings.h [__USE_BSD]: Likewise.
3050 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3051 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3052 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3053 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3054 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3055 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3063 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3064 Likewise.
3065 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3066 Likewise.
3067 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3068 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3072 Likewise.
3073 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3074 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3075 * termios/termios.h [__USE_BSD]: Likewise.
3076 * time/sys/time.h [__USE_BSD]: Likewise.
3077 * time/time.h [__USE_BSD]: Likewise.
3078 [__USE_SVID]: Likewise.
3079
dd7b064c
JM
3080 * Makefile (subdir_targets): Remove subdir_lint.out.
3081
a2c4c199
JM
3082 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3083 (do-tst-printf): Likewise.
3084 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3085 $(objpfx)tst-printf.out.
3086
8756f740
JM
3087 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3088
1b6dd3f1
JM
3089 * Makerules (check-abi-%): Change target to
3090 $(objpfx)check-abi-%.out.
3091 (check-abi target): Update dependencies.
3092 (check-abi-pattern variable): Redirect output of diff to $@.
3093 (check-abi variable): Likewise.
3094 * elf/Makefile (check-abi): Update dependencies.
3095
ace614b8
JM
3096 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3097 unused.
3098 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3099 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3100 subnormal range.
3101 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3102 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3103 value has largest subnormal exponent.
3104 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3105 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3106 * sysdeps/aarch64/soft-fp/sfp-machine.h
3107 (_FP_TININESS_AFTER_ROUNDING): New macro.
3108 * sysdeps/alpha/soft-fp/sfp-machine.h
3109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3110 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3111 Likewise.
3112 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3114 * sysdeps/mips/soft-fp/sfp-machine.h
3115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3116 * sysdeps/powerpc/soft-fp/sfp-machine.h
3117 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3118 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3119 Likewise.
3120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3123 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3124 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3125 Likewise.
3126
fbfdf9cb
DAS
31272014-02-12 Dylan Alex Simon <dylan@dylex.net>
3128
3129 [BZ #16545]
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3131 model 1.
3132
68b7efaa
RH
31332014-02-12 Richard Henderson <rth@redhat.com>
3134
c70a4b1d 3135 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3136 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3137 * sysdeps/unix/sysv/linux/alpha: Move directory from
3138 ports/sysdeps/unix/sysv/linux/alpha.
3139 * README: Update listing for alpha-*-linux-gnu.
3140
cb4a2928
JM
31412014-02-11 Joseph Myers <joseph@codesourcery.com>
3142
c941736c
JM
3143 * include/features.h: Update comment documenting feature test
3144 macros.
3145 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3146 _DEFAULT_SOURCE.
3147 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3148 (_SVID_SOURCE): Likewise.
3149 (_DEFAULT_SOURCE): Update description of default features.
3150 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3151 with _GNU_SOURCE.
3152 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3153 (S_ISVTX): Likewise.
3154 * manual/math.texi (Mathematical Constants): Likewise.
3155 * manual/signal.texi (Interrupted Primitives): Likewise.
3156 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3157 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3158 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3159 Don't refer to _SVID_SOURCE in warning text.
3160
e8d8d7ec
JM
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3162
cb4a2928
JM
3163 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3164 already defined.
3165 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3166 * sysdeps/mips/dl-lookup.c: Remove.
3167 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3168
7e6424e3
AK
31692014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3170
3171 [BZ #16447]
3172 * math/auto-libm-test-in: Add testcase for expl.
3173 * math/auto-libm-test-out: Regenerate.
3174 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3175 calculation of unsafe.
3176 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3177
75eff3fe
MS
31782014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3179
3180 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3181 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3182 ports/sysdeps/unix/sysv/linux/aarch64.
3183 * README: Update listing for aarch64*-*-linux-gnu.
3184
d35f1e80
WN
31852014-02-11 Will Newton <will.newton@linaro.org>
3186
3187 * manual/probes.texi (Mathematical Function Probes): Use
3188 "triggered" instead of "hit".
3189
7b3436d4
WN
31902014-02-11 Will Newton <will.newton@linaro.org>
3191
3192 * manual/probes.texi (Internal Probes): Add documentation
3193 of setjmp, longjmp and longjmp_target probes.
3194
b4f12ca3
WN
31952014-02-11 Will Newton <will.newton@linaro.org>
3196
3197 * include/stap-probe.h: Add comment about probe argument
3198 format.
3199
c13a72b7
WN
32002014-02-11 Will Newton <will.newton@linaro.org>
3201
3202 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3203 definition. (tr_where, tr_freehook, tr_mallochook,
3204 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3205
195b8165
DM
32062014-02-11 David S. Miller <davem@davemloft.net>
3207
3208 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3209 processing int_tests.
3210
2ad7600b
JM
32112014-02-10 Joseph Myers <joseph@codesourcery.com>
3212
3213 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3214 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3215 * sysdeps/unix/sysv/linux/mips: Move directory from
3216 ports/sysdeps/unix/sysv/linux/mips.
3217 * README: Update listing for mips-*-linux-gnu and
3218 mips64-*-linux-gnu.
3219
73588a72
AS
32202014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3223 * sysdeps/unix/sysv/linux/m68k: Move directory from
3224 ports/sysdeps/unix/sysv/linux/m68k.
3225 * README: Update listing for m68k-*-linux-gnu.
3226
4372980f
CM
32272014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3228
3229 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3230 * sysdeps/unix/sysv/linux/generic: Move directory from
3231 ports/sysdeps/unix/sysv/linux/generic.
3232 * sysdeps/unix/sysv/linux/tile: Move directory from
3233 ports/sysdeps/unix/sysv/linux/tile.
3234 * README: Update listing for tile*-*-linux-gnu.
3235
a1ffb40e
OB
32362014-02-10 Ondřej Bílka <neleai@seznam.cz>
3237
3238 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3239 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3240 * catgets/open_catalog.c (__open_catalog): Likewise.
3241 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3242 * debug/confstr_chk.c: Likewise.
3243 * debug/fread_chk.c (__fread_chk): Likewise.
3244 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3245 * debug/getgroups_chk.c: Likewise.
3246 * debug/mbsnrtowcs_chk.c: Likewise.
3247 * debug/mbsrtowcs_chk.c: Likewise.
3248 * debug/mbstowcs_chk.c: Likewise.
3249 * debug/memcpy_chk.c: Likewise.
3250 * debug/memmove_chk.c: Likewise.
3251 * debug/mempcpy_chk.c: Likewise.
3252 * debug/memset_chk.c: Likewise.
3253 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3254 * debug/strcat_chk.c (__strcat_chk): Likewise.
3255 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3256 * debug/strncat_chk.c (__strncat_chk): Likewise.
3257 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3258 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3259 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3260 * debug/wcpncpy_chk.c: Likewise.
3261 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3262 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3263 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3264 * debug/wcsncpy_chk.c: Likewise.
3265 * debug/wcsnrtombs_chk.c: Likewise.
3266 * debug/wcsrtombs_chk.c: Likewise.
3267 * debug/wcstombs_chk.c: Likewise.
3268 * debug/wmemcpy_chk.c: Likewise.
3269 * debug/wmemmove_chk.c: Likewise.
3270 * debug/wmempcpy_chk.c: Likewise.
3271 * debug/wmemset_chk.c: Likewise.
3272 * dirent/scandirat.c (SCANDIRAT): Likewise.
3273 * dlfcn/dladdr1.c (dladdr1): Likewise.
3274 * dlfcn/dladdr.c (dladdr): Likewise.
3275 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3276 * dlfcn/dlerror.c (__dlerror): Likewise.
3277 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3278 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3279 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3280 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3281 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3282 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3283 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3284 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3285 Likewise.
3286 * elf/dl-conflict.c: Likewise.
3287 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3288 * elf/dl-dst.h: Likewise.
3289 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3290 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3291 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3292 * elf/dl-init.c (call_init, _dl_init): Likewise.
3293 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3294 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3295 _dl_map_object_from_fd, open_verify, open_path,
3296 _dl_map_object): Likewise.
3297 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3298 Likewise.
3299 * elf/dl-minimal.c (__libc_memalign): Likewise.
3300 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3301 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3302 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3303 * elf/dl-sym.c (do_sym): Likewise.
3304 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3305 _dl_tls_get_addr_soft): Likewise.
3306 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3307 * elf/dl-writev.h (_dl_writev): Likewise.
3308 * elf/ldconfig.c (search_dir): Likewise.
3309 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3310 dl_main): Likewise.
3311 * elf/setup-vdso.h (setup_vdso): Likewise.
3312 * grp/compat-initgroups.c (compat_call): Likewise.
3313 * grp/fgetgrent.c (fgetgrent): Likewise.
3314 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3315 * grp/putgrent.c (putgrent): Likewise.
3316 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3317 Likewise.
3318 * hurd/hurdinit.c: Likewise.
3319 * iconvdata/8bit-gap.c (struct): Likewise.
3320 * iconvdata/ansi_x3.110.c : Likewise.
3321 * iconvdata/big5.c : Likewise.
3322 * iconvdata/big5hkscs.c : Likewise.
3323 * iconvdata/cp1255.c: Likewise.
3324 * iconvdata/cp1258.c : Likewise.
3325 * iconvdata/cp932.c : Likewise.
3326 * iconvdata/euc-cn.c: Likewise.
3327 * iconvdata/euc-jisx0213.c : Likewise.
3328 * iconvdata/euc-jp.c: Likewise.
3329 * iconvdata/euc-jp-ms.c : Likewise.
3330 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3331 * iconvdata/gb18030.c : Likewise.
3332 * iconvdata/gbbig5.c (const): Likewise.
3333 * iconvdata/gbgbk.c: Likewise.
3334 * iconvdata/gbk.c : Likewise.
3335 * iconvdata/ibm1364.c : Likewise.
3336 * iconvdata/ibm930.c : Likewise.
3337 * iconvdata/ibm932.c: Likewise.
3338 * iconvdata/ibm933.c : Likewise.
3339 * iconvdata/ibm935.c : Likewise.
3340 * iconvdata/ibm937.c : Likewise.
3341 * iconvdata/ibm939.c : Likewise.
3342 * iconvdata/ibm943.c: Likewise.
3343 * iconvdata/iso_11548-1.c: Likewise.
3344 * iconvdata/iso-2022-cn.c : Likewise.
3345 * iconvdata/iso-2022-cn-ext.c : Likewise.
3346 * iconvdata/iso-2022-jp-3.c: Likewise.
3347 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3348 * iconvdata/iso-2022-kr.c : Likewise.
3349 * iconvdata/iso646.c (gconv_end): Likewise.
3350 * iconvdata/iso_6937-2.c : Likewise.
3351 * iconvdata/iso_6937.c : Likewise.
3352 * iconvdata/iso8859-1.c: Likewise.
3353 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3354 * iconvdata/shift_jisx0213.c : Likewise.
3355 * iconvdata/sjis.c : Likewise.
3356 * iconvdata/t.61.c : Likewise.
3357 * iconvdata/tcvn5712-1.c : Likewise.
3358 * iconvdata/tscii.c: Likewise.
3359 * iconvdata/uhc.c : Likewise.
3360 * iconvdata/unicode.c (gconv_end): Likewise.
3361 * iconvdata/utf-16.c (gconv_end): Likewise.
3362 * iconvdata/utf-32.c (gconv_end): Likewise.
3363 * iconvdata/utf-7.c (base64): Likewise.
3364 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3365 * iconv/gconv_close.c (__gconv_close): Likewise.
3366 * iconv/gconv_open.c (__gconv_open): Likewise.
3367 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3368 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3369 internal_ucs4le_loop_single, ucs4le_internal_loop,
3370 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3371 * iconv/iconv.c (iconv): Likewise.
3372 * iconv/iconv_close.c: Likewise.
3373 * iconv/loop.c (SINGLE): Likewise.
3374 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3375 * include/atomic.h: Likewise.
3376 * inet/inet6_option.c (option_alloc): Likewise.
3377 * intl/bindtextdom.c (set_binding_values): Likewise.
3378 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3379 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3380 * intl/localealias.c (read_alias_file): Likewise.
3381 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3382 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3383 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3384 * libio/fmemopen.c (fmemopen): Likewise.
3385 * libio/iofgets.c (_IO_fgets): Likewise.
3386 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3387 * libio/iofgetws.c (fgetws): Likewise.
3388 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3389 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3390 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3391 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3392 * locale/findlocale.c (_nl_find_locale): Likewise.
3393 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3394 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3395 Likewise.
3396 * locale/setlocale.c (setlocale): Likewise.
3397 * login/programs/pt_chown.c (main): Likewise.
3398 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3399 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3400 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3401 mmap, mmap64, mremap, munmap): Likewise.
3402 * math/e_exp2l.c: Likewise.
3403 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3404 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3405 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3406 * math/s_catan.c (__catan): Likewise.
3407 * math/s_catanf.c (__catanf): Likewise.
3408 * math/s_catanh.c (__catanh): Likewise.
3409 * math/s_catanhf.c (__catanhf): Likewise.
3410 * math/s_catanhl.c (__catanhl): Likewise.
3411 * math/s_catanl.c (__catanl): Likewise.
3412 * math/s_ccosh.c (__ccosh): Likewise.
3413 * math/s_ccoshf.c (__ccoshf): Likewise.
3414 * math/s_ccoshl.c (__ccoshl): Likewise.
3415 * math/s_cexp.c (__cexp): Likewise.
3416 * math/s_cexpf.c (__cexpf): Likewise.
3417 * math/s_cexpl.c (__cexpl): Likewise.
3418 * math/s_clog10.c (__clog10): Likewise.
3419 * math/s_clog10f.c (__clog10f): Likewise.
3420 * math/s_clog10l.c (__clog10l): Likewise.
3421 * math/s_clog.c (__clog): Likewise.
3422 * math/s_clogf.c (__clogf): Likewise.
3423 * math/s_clogl.c (__clogl): Likewise.
3424 * math/s_csin.c (__csin): Likewise.
3425 * math/s_csinf.c (__csinf): Likewise.
3426 * math/s_csinh.c (__csinh): Likewise.
3427 * math/s_csinhf.c (__csinhf): Likewise.
3428 * math/s_csinhl.c (__csinhl): Likewise.
3429 * math/s_csinl.c (__csinl): Likewise.
3430 * math/s_csqrt.c (__csqrt): Likewise.
3431 * math/s_csqrtf.c (__csqrtf): Likewise.
3432 * math/s_csqrtl.c (__csqrtl): Likewise.
3433 * math/s_ctan.c (__ctan): Likewise.
3434 * math/s_ctanf.c (__ctanf): Likewise.
3435 * math/s_ctanh.c (__ctanh): Likewise.
3436 * math/s_ctanhf.c (__ctanhf): Likewise.
3437 * math/s_ctanhl.c (__ctanhl): Likewise.
3438 * math/s_ctanl.c (__ctanl): Likewise.
3439 * math/w_pow.c: Likewise.
3440 * math/w_powf.c: Likewise.
3441 * math/w_powl.c: Likewise.
3442 * math/w_scalb.c (sysv_scalb): Likewise.
3443 * math/w_scalbf.c (sysv_scalbf): Likewise.
3444 * math/w_scalbl.c (sysv_scalbl): Likewise.
3445 * misc/error.c (error_tail): Likewise.
3446 * misc/pselect.c (__pselect): Likewise.
3447 * nis/nis_callback.c (__nis_create_callback): Likewise.
3448 * nis/nis_call.c (__nisfind_server): Likewise.
3449 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3450 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3451 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3452 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3453 * nis/nis_lookup.c (nis_lookup): Likewise.
3454 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3455 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3456 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3457 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3458 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3459 internal_getgrgid_r): Likewise.
3460 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3461 Likewise.
3462 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3463 internal_getpwuid_r): Likewise.
3464 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3465 internal_getspnam_r): Likewise.
3466 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3467 _nss_nis_getaliasbyname_r): Likewise.
3468 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3469 _nss_nis_getntohost_r): Likewise.
3470 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3471 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3472 Likewise.
3473 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3474 internal_nis_gethostent_r, internal_gethostbyname2_r,
3475 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3476 _nss_nis_gethostbyname4_r): Likewise.
3477 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3478 initgroups_netid): Likewise.
3479 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3480 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3481 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3482 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3483 _nss_nis_getprotobynumber_r): Likewise.
3484 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3485 _nss_nis_getsecretkey): Likewise.
3486 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3487 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3488 Likewise.
3489 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3490 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3491 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3492 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3493 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3494 _nss_nis_getspnam_r): Likewise.
3495 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3496 Likewise.
3497 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3498 _nss_nisplus_getntohost_r): Likewise.
3499 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3500 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3501 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3502 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3503 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3504 Likewise.
3505 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3506 _nss_nisplus_getnetbyaddr_r): Likewise.
3507 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3508 _nss_nisplus_getprotobynumber_r): Likewise.
3509 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3510 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3511 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3512 Likewise.
3513 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3514 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3515 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3516 _nss_nisplus_getspnam_r): Likewise.
3517 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3518 * nscd/aicache.c (addhstaiX): Likewise.
3519 * nscd/cache.c (cache_search, prune_cache): Likewise.
3520 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3521 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3522 * nscd/grpcache.c (addgrbyX): Likewise.
3523 * nscd/hstcache.c (addhstbyX): Likewise.
3524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3525 * nscd/mem.c (gc, mempool_alloc): Likewise.
3526 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3527 Likewise.
3528 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3529 Likewise.
3530 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3531 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3532 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3533 Likewise.
3534 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3535 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3536 * nscd/nscd_helper.c (__readvall, open_socket,
3537 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3538 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3539 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3540 * nscd/pwdcache.c (addpwbyX): Likewise.
3541 * nscd/selinux.c (preserve_capabilities): Likewise.
3542 * nscd/servicescache.c (addservbyX): Likewise.
3543 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3544 * posix/fnmatch.c (fnmatch): Likewise.
3545 * posix/getopt.c (_getopt_internal_r): Likewise.
3546 * posix/glob.c (glob, glob_in_dir): Likewise.
3547 * posix/wordexp.c (exec_comm_child): Likewise.
3548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3549 gaih_getanswer_slice): Likewise.
3550 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3551 * resolv/res_init.c: Likewise.
3552 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3553 * resolv/res_query.c (__libc_res_nquery): Likewise.
3554 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3555 Likewise.
3556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3557 * stdio-common/perror.c (perror): Likewise.
3558 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3559 * stdio-common/tmpnam.c (tmpnam): Likewise.
3560 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3561 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3562 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3563 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3564 * stdlib/putenv.c (putenv): Likewise.
3565 * stdlib/setenv.c (__add_to_environ): Likewise.
3566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3567 * stdlib/strtol_l.c (INTERNAL): Likewise.
3568 * string/memmem.c (memmem): Likewise.
3569 * string/strerror.c (strerror): Likewise.
3570 * string/strnlen.c (__strnlen): Likewise.
3571 * string/test-memmem.c (simple_memmem): Likewise.
3572 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3573 * sunrpc/pm_getport.c (__get_socket): Likewise.
3574 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3575 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3576 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3577 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3578 Likewise.
3579 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3582 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3583 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3584 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3585 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3586 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3587 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3589 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3590 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3592 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3594 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3595 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3596 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3597 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3598 Likewise.
3599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3600 Likewise.
3601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3602 Likewise.
3603 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3607 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3608 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3609 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3619 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3620 Likewise.
3621 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3622 Likewise.
3623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3624 Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3627 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3628 Likewise.
3629 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3630 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3631 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3632 * sysdeps/posix/sleep.c: Likewise.
3633 * sysdeps/posix/tempname.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3635 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3636 Likewise.
3637 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3638 elf_machine_rela): Likewise.
3639 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3641 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3642 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3643 Likewise.
3644 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3645 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3646 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3648 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3649 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3650 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3651 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3653 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3655 elf_machine_lazy_rel): Likewise.
3656 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3658 elf_machine_lazy_rel): Likewise.
3659 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3660 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3661 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3662 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3663 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3664 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3665 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3669 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3670 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3671 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3672 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3674 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3675 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3677 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3678 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3679 Likewise.
3680 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3681 (__posix_fallocate64_l64): Likewise.
3682 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3683 (posix_fallocate): Likewise.
3684 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3685 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3686 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3687 getifaddrs_internal): Likewise.
3688 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3690 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3691 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3692 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3693 (__posix_fallocate64_l64): Likewise.
3694 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3695 Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3700 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3701 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3704 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3705 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3706 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3707 Likewise.
3708 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3709 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3710 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3713 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3714 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3715 Likewise.
3716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3717 (posix_fallocate): Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3719 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3720 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3721 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3722 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3723 Likewise.
3724 * time/asctime.c (asctime_internal): Likewise.
3725 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3726 * time/tzset.c (__tzset_parse_tz): Likewise.
3727 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3728 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3729 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3730 * wcsmbs/wcsmbsload.h: Likewise.
3731
f3d338c9
OB
37322014-02-10 Ondřej Bílka <neleai@seznam.cz>
3733
3734 [BZ #15894]
3735 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3736
bdfe308a
OB
37372014-02-10 Ondřej Bílka <neleai@seznam.cz>
3738
3739 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3740 arena_get2): Remove THREAD_STATS conditionals.
3741 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3742 __malloc_stats, int): Likewise.
3743
d674667c
MF
37442014-02-08 Mike Frysinger <vapier@gentoo.org>
3745
3746 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3747 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3748
6349768c
MF
37492014-02-08 Mike Frysinger <vapier@gentoo.org>
3750
3751 * manual/setjmp.texi: Fix typos/grammar errors.
3752
0b7c7473
MF
37532014-02-08 Mike Frysinger <vapier@gentoo.org>
3754
3755 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3756 Only return early when n is <= 0. Delete unused return statement.
3757
ac8cc9e3
MF
37582014-02-08 Mike Frysinger <vapier@gentoo.org>
3759
3760 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3761 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3762 * debug/tst-longjmp_chk3.c: New file.
3763
c5bb8e23
MF
37642014-02-08 Mike Frysinger <vapier@gentoo.org>
3765
3766 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3767 (test_main): Replace code with set_fortify_handler call.
3768 * debug/test-strcpy_chk.c: Likewise.
3769 * debug/tst-chk1.c: Likewise.
3770 * debug/tst-longjmp_chk.c: Likewise.
3771 * test-skeleton.c: Include fcntl.h & paths.h
3772 (set_fortify_handler): Define.
3773
10444e42
MF
37742014-02-08 Mike Frysinger <vapier@gentoo.org>
3775
3776 * debug/tst-longjmp_chk.c: Add header comment and include
3777 ../test-skeleton.c.
3778 (do_test): Mark static.
3779 (TEST_FUNCTION): Define.
3780
1e805e8d
MF
37812014-02-08 Mike Frysinger <vapier@gentoo.org>
3782
3783 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3784 (IP_PMTUDISC_INTERFACE): Likewise.
3785 (IP_MULTICAST_IF): Likewise.
3786 (IP_MULTICAST_TTL): Likewise.
3787 (IP_MULTICAST_LOOP): Likewise.
3788 (IP_ADD_MEMBERSHIP): Likewise.
3789 (IP_DROP_MEMBERSHIP): Likewise.
3790 (IP_UNBLOCK_SOURCE): Likewise.
3791 (IP_BLOCK_SOURCE): Likewise.
3792 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3793 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3794 (IP_MSFILTER): Likewise.
3795 (MCAST_JOIN_GROUP): Likewise.
3796 (MCAST_BLOCK_SOURCE): Likewise.
3797 (MCAST_UNBLOCK_SOURCE): Likewise.
3798 (MCAST_LEAVE_GROUP): Likewise.
3799 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3800 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3801 (MCAST_MSFILTER): Likewise.
3802 (IP_MULTICAST_ALL): Likewise.
3803 (IP_UNICAST_IF): Likewise.
3804
73f79bb7
MF
38052014-02-08 Mike Frysinger <vapier@gentoo.org>
3806
3807 * timezone/Makefile: Delete $(have-ksh) check.
3808 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3809 * timezone/tzselect.ksh: Add +x mode bits.
3810
8da79b60
MF
38112014-02-08 Mike Frysinger <vapier@gentoo.org>
3812
3813 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3814 (ANON_INODE_FS_MAGIC): Likewise.
3815 (BDEVFS_MAGIC): Likewise.
3816 (BINFMTFS_MAGIC): Likewise.
3817 (BTRFS_TEST_MAGIC): Likewise.
3818 (CRAMFS_MAGIC_WEND): Likewise.
3819 (DEBUGFS_MAGIC): Likewise.
3820 (ECRYPTFS_SUPER_MAGIC): Likewise.
3821 (EXT3_SUPER_MAGIC): Likewise.
3822 (EXT4_SUPER_MAGIC): Likewise.
3823 (FUTEXFS_SUPER_MAGIC): Likewise.
3824 (HOSTFS_SUPER_MAGIC): Likewise.
3825 (HUGETLBFS_MAGIC): Likewise.
3826 (MINIX3_SUPER_MAGIC): Likewise.
3827 (MTD_INODE_FS_MAGIC): Likewise.
3828 (NILFS_SUPER_MAGIC): Likewise.
3829 (OPENPROM_SUPER_MAGIC): Likewise.
3830 (PIPEFS_MAGIC): Likewise.
3831 (PSTOREFS_MAGIC): Likewise.
3832 (QNX6_SUPER_MAGIC): Likewise.
3833 (RAMFS_MAGIC): Likewise.
3834 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3835 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3836 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3837 (SECURITYFS_MAGIC): Likewise.
3838 (SELINUX_MAGIC): Likewise.
3839 (SMACK_MAGIC): Likewise.
3840 (SOCKFS_MAGIC): Likewise.
3841 (SQUASHFS_MAGIC): Likewise.
3842 (STACK_END_MAGIC): Likewise.
3843 (TMPFS_MAGIC): Likewise.
3844 (USBDEVICE_SUPER_MAGIC): Likewise.
3845 (V9FS_MAGIC): Likewise.
3846 (XENFS_SUPER_MAGIC): Likewise.
3847 (CRAMFS_MAGIC): Fix typo in comment.
3848 (EXT2_SUPER_MAGIC): Update comment.
3849 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3850
464263cc
JM
38512014-02-08 Joseph Myers <joseph@codesourcery.com>
3852
c6bfe5c4
JM
3853 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3854 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3855 * sysdeps/unix/sysv/linux/arm: Move directory from
3856 ports/sysdeps/unix/sysv/linux/arm.
3857 * README: Update listing for arm-*-linux-gnueabi.
3858
464263cc
JM
3859 * README: Remove mention of am33.
3860
32749f6c
RM
38612014-02-07 Roland McGrath <roland@hack.frob.com>
3862
3863 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3864 than the comma operator, to avoid "rhs of comma has no effect"
3865 compiler warnings.
3866 (__sigfillset, __sigandset, __sigorset): Likewise.
3867 * include/signal.h (__sigemptyset): Likewise.
3868 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3869
d5b396c1
AM
38702014-02-07 Allan McRae <allan@archlinux.org>
3871
3872 * version.h (RELEASE): Set to "development".
3873 (VERSION): Set to "2.19.90"
3874 * NEWS: Add 2.20 section.
3875
3bfff2ed
CD
38762014-02-06 Carlos O'Donell <carlos@redhat.com>
3877
3878 [BZ #16529]
3879 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3880
ee7cc385
SP
38812014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
3883 * manual/contrib.texi: Update entry for Carlos O'Donell,
3884 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3885
f877c4f2
CD
38862014-02-05 Carlos O'Donell <carlos@rehdat.com>
3887
27e839f6
CD
3888 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3889
f877c4f2
CD
3890 * sysdeps/unix/sysv/linux/kernel-features.h
3891 [__LINUX_KERNEL_VERSION >= 0x020621]
3892 (__ASSUME_PROC_PID_TASK_COMM): Define.
3893
68159946
SP
38942014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3895
ba17cdbd
SP
3896 [BZ #16398]
3897 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3898 conversion when destination buffer does not have enough space.
3899 * libio/tst-ftell-partial-wide.c: New test case.
3900 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3901
68159946
SP
3902 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3903 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3904 Leonard and Allan McRae.
3905
2b528732
DM
39062014-02-04 David S. Miller <davem@davemloft.net>
3907
3908 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3909 32-bit.
3910
0ff82463
AZ
39112014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
c01603f7
AZ
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3914 file
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3916 New file
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3918 file.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3922 New file.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3924 file.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3926 file.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3928 New file.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3930 New file.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3932 New file.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3934 New file.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3936 New file.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3938 New file.
3939
39402014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941
0ff82463
AZ
3942 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3943 * shlib-versions: Likewise.
3944
1695c773
AZ
39452014-02-04 Roland McGrath <roland@hack.frob.com>
3946 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3947
3948 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3949 (abilist-pattern): New variable, set to %-le.abilist.
3950
3951 * Makerules (abilist-pattern): New variable.
3952 (vpath): Use $(abilist-pattern) in place of %.abilist.
3953 (check-abi-% pattern rule): Likewise.
3954 (check-abi, update-abi): Likewise.
3955
6c0ce4b4
EW
39562014-02-04 Eric Wong <normalperson@yhbt.net>
3957
3958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3959
dc98b8f5
EW
39602014-02-04 Eric Wong <normalperson@yhbt.net>
3961
3962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3963
481e3524
CD
39642014-02-03 Carlos O'Donell <carlos@redhat.com>
3965
3966 * manual/startup.texi: Add next, previous, and top entries for
3967 the `Program Arguments' and `Environment Variables' nodes.
3968
375592d3
AO
39692014-02-03 Alexandre Oliva <aoliva@redhat.com>
3970
3971 * manual/macros.texi: Add comments before MTASC-safety macros.
3972
f54838ba
AO
3973 * manual/users.texi: Document MTASC-safety properties.
3974
909e12ad
AO
3975 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3976 pthread_getspecific, pthread_setspecific): Format with
3977 @deftypefun, and add @safety note.
3978 * manual/signal.texi: Move comments that analyze the above
3979 functions to their home place.
3980
fd3daba4
AM
39812014-02-03 Allan McRae <allan@archlinux.org>
3982
3983 * po/sl.po: Update Slovenian translation from translation project.
3984
597636d7
AO
39852014-02-02 Alexandre Oliva <aoliva@redhat.com>
3986
3987 * manual/time.texi (timegm): Add missing blank after @c.
3988 Reported by Joseph Myers <joseph@codesourcery.com>.
3989
ee196e3c
AO
39902014-02-01 Alexandre Oliva <aoliva@redhat.com>
3991
3992 * manual/check-safety.sh: New.
3993 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3994
f8d529d5
AO
3995 * manual/terminal.texi: Document MTASC-safety properties.
3996
de55fdf4
AO
3997 * manual/filesys.texi: Document MTASC-safety properties.
3998
c3299c08
AO
3999 * manual/errno.texi: Document MTASC-safety properties.
4000
06e90b14
AO
4001 * manual/intro.texi: Document safety identifiers and
4002 conditionals.
4003
1acd4371
AO
4004 * manual/string.texi (wcstok): Fix prototype.
4005 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4006
23e5b8cb
AO
4007 * manual/time.texi: Document MTASC-safety properties.
4008
11087373
AO
4009 * manual/string.texi: Document MTASC-safety properties.
4010
5da2c93d
AO
4011 * manual/threads.texi: Document MTASC-safety properties.
4012
171e9210
AO
4013 * manual/stdio.texi: Document MTASC-safety properties.
4014
d9e02532
AO
4015 * manual/syslog.texi: Document MTASC-safety properties.
4016
6af8bab7
AO
4017 * manual/sysinfo.texi: Document MTASC-safety properties.
4018
663b02d7
AO
4019 * manual/startup.texi: Document MTASC-safety properties.
4020
973f180b
AO
4021 * manual/socket.texi: Document MTASC-safety properties.
4022
8f3c25c8
AO
4023 * manual/signal.texi: Document MTASC-safety properties.
4024
542210fb
AO
40252014-01-31 Alexandre Oliva <aoliva@redhat.com>
4026
4027 * manual/setjmp.texi: Document MTASC-safety properties.
4028
433c45a2
AO
4029 * manual/search.texi: Document MTASC-safety properties.
4030
c8ce789c
AO
4031 * manual/resource.texi: Document MTASC-safety properties.
4032
19f5d29c
AO
4033 * manual/process.texi: Document MTASC-safety properties.
4034
e2dfb7f4
AO
4035 * manual/platform.texi: Document MTASC-safety properties.
4036
8c1413f5
AO
4037 * manual/pipe.texi: Document MTASC-safety properties.
4038
03483ada
AO
4039 * manual/pattern.texi: Document MTASC-safety properties.
4040
29e7e2df
AO
4041 * manual/message.texi: Document MTASC-safety properties.
4042
9f529d7c
AO
4043 [BZ #12751]
4044 * manual/memory.texi: Document MTASC-safety properties.
4045
27aaa791
AO
4046 * manual/math.texi: Document MTASC-safety properties.
4047
f2d58726
AO
4048 * manual/locale.texi: Document MTASC-safety properties.
4049
2cc3615c
AO
4050 * manual/llio.texi: Document MTASC-safety properties.
4051
d9f0ec97
AO
4052 * manual/libdl.texi: New.
4053
e7c4409a
AO
4054 * manual/lang.texi: Document MTASC-safety properties.
4055
27bdc63c
AO
4056 * manual/job.texi: Document MTASC-safety properties.
4057
a7b90ea9
AO
4058 * manual/getopt.texi: Document MTASC-safety properties.
4059
c49130e3
AO
4060 * manual/ctype.texi: Document MTASC-safety properties.
4061
0d23a5c1
MR
40622014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4063
4064 [BZ #16046]
4065 * csu/libc-tls.c (static_map): Remove variable.
4066 (__libc_setup_tls): Use main executable's link map for TLS data.
4067 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4068 casing for LM_ID_BASE and GL(dl_nns).
4069 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4070 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4071 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4072 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4073 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4074 member.
4075 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4076 l_phnum members.
4077
0037bb60
AO
40782014-01-30 Alexandre Oliva <aoliva@redhat.com>
4079
4080 * manual/debug.texi: Document MTASC-safety properties.
4081
409e00bd
L
40822014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4083
4084 [BZ #16510]
4085 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4086 of __x86_64__ when disabling x87 inline functions.
4087
86e60666
AO
40882014-01-29 Alexandre Oliva <aoliva@redhat.com>
4089
4090 * manual/charset.texi: Document MTASC-safety properties.
4091
76167637
AO
4092 * manual/crypt.texi: Document MTASC-safety properties.
4093
e567f2a0
AO
4094 * manual/conf.texi: Document MTASC-safety properties.
4095
b719dafd
AO
4096 * manual/arith.texi: Document MTASC-safety properties.
4097
4a16c662
AO
4098 * manual/argp.texi: Document MTASC-safety properties.
4099
0a57b83e
AO
4100 * manual/macros.texi: Introduce macros to document multi
4101 thread, asynchronous signal and asynchronous cancellation
4102 safety properties.
4103 * manual/intro.texi: Introduce the properties themselves.
4104
feab2397
KK
41052014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4106
4107 * sysdeps/sh/sh4/Makefile: New file.
4108
1c0d11bc
AS
41092014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 * math/gen-libm-test.pl ($srcdir): New variable.
4112 ($auto_input): Use it.
4113
af37a8a3
SP
41142014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4115
d7b00f98
SP
4116 [BZ #16506]
4117 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4118 access beyond array bounds when parsing netgroups file.
4119
af37a8a3
SP
4120 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4121 the old buffer before realloc.
4122
0c00f062
AM
41232014-01-27 Allan McRae <allan@archlinux.org>
4124
4125 * po/fr.po: Update French translation from translation project.
4126
7d69a1b0
KK
41272014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4128
4129 * sysdeps/sh/libm-test-ulps: Regenerate.
4130
6e697ff7
DM
41312014-01-24 David S. Miller <davem@davemloft.net>
4132
4133 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4134
9cadb35c
KK
41352014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4136
4137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4138 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4139
5d41dadf
SP
41402013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
4142 [BZ #16474]
4143 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4144 string pointers after reallocation.
4145
0bad441c
KK
41462014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4147
4148 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4149 __SH4A__ instead of __SH_FPU_ANY__.
4150
7007c661
KK
41512014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4152
4153 * sysdeps/sh/fpu_control.h: New file.
4154 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4155 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4156 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4157 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4158 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4159 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4160 * sysdeps/sh/sys/ucontext.h: Remove.
4161 * sysdeps/sh/sys: Remove directory.
4162
0f0c35e4
AK
41632014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4164
4165 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4166 s390/sys/ucontext.h.
4167 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4169
4959e284
L
41702014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 [BZ #15605]
4173 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4174
d98720e0
AZ
41752014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 [BZ#16431]
4178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4179 Adjust the vDSO correctly for internal calls.
4180 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4181
91cbd0bc
AM
41822014-01-20 Allan McRae <allan@archlinux.org>
4183
4184 * po/ca.po: Update Catalan translation from translation project.
4185
7a02cfad
MF
41862014-01-16 Mike Frysinger <vapier@gentoo.org>
4187
4188 * sysdeps/s390/sotruss-lib.c: New file.
4189
736c304a
AZ
41902014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 [BZ#16430]
6e077ee5 4193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4194 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4195 local calls issues by not having a PLT stub required for IFUNC calls.
4196 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4197
94d0cea0
JM
41982014-01-16 Joseph Myers <joseph@codesourcery.com>
4199
4200 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4201 * math/test-fpucw-static.c: Likewise.
4202
980cb518
SP
42032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4204
4205 [BZ #16453]
4206 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4207
2393fc01
AZ
42082014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4211 implementation for powerpc.
4212
d359bcc2
OB
42132014-01-15 Ondřej Bílka <neleai@seznam.cz>
4214
4215 [BZ #14782]
4216 * sysdeps/posix/system.c (__libc_system): Do not enable
4217 asynchronous cancellation.
4218
7beb48cb
AK
42192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4220
4221 [BZ #16427]
4222 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4223 handling only for numbers special also in the IEEE case.
4224
c20d5bf5
AK
42252014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4226
4227 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4228
e83bd4ee
AM
42292014-01-11 Allan McRae <allan@archlinux.org>
4230
76d0ea69
AM
4231 * po/bg.po: Update Bulgarian translation from translation project.
4232
e83bd4ee
AM
4233 * po/de.po: Update German translation from translation project.
4234
bc2ba20a
RM
42352014-01-10 Roland McGrath <roland@hack.frob.com>
4236
4237 * sysdeps/generic/gcc-compat.h: New file.
4238
649ecea2
SP
42392014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4240
4241 * benchtests/asin-inputs: Correct slow inputs.
4242 * benchtests/acos-inputs: Likewise.
4243
1b19c006
AM
42442014-01-10 Allan McRae <allan@archlinux.org>
4245
a46dab08
AM
4246 * po:sv.po: Update Swedish translation from translation project.
4247
421df74a
AM
4248 * po/vi.po: Update Vietnamese translation from translation project.
4249
d61c51a7
AM
4250 * po/eo.po: Update Esperanto translation from translation project.
4251
0339a319
AM
4252 * po/cs.po: Update Czech translation from translation project.
4253
94ad3e99
AM
4254 * po/nl.po: Update Dutch translation from translation project.
4255
e349ca71
AM
4256 * po/pl.po: Update Polish translation from translation project.
4257
ddf930c1
AM
4258 * po/ru.po: Update Russian translation from translation project.
4259
1b19c006
AM
4260 * po/uk.po: Update Ukrainian translation from translation project.
4261
9f236c49
BM
42622014-01-08 Brooks Moses <bmoses@google.com>
4263
4264 * elf/dl-load.c: Fix comment typo.
4265
cd6701cf
CD
42662014-01-08 Carlos O'Donell <carlos@redhat.com>
4267
4268 * po/header.pot: Rename to...
4269 * po/pot.header: ... this.
4270 * po/Makefile: Use pot.header.
4271
66671c84
YK
42722014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4273 Maxim Kuvyrkov <maxim@kugelworks.com>
4274
4275 [BZ #16394]
cd6701cf
CD
4276 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4277 SRC and DEST against LEN.
66671c84 4278
38f34581
AZ
42792014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4280
4281 [BZ #16414]
4282 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4283 implementation.
4284 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4285
42862014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4287
4288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4289
4c327f2a
JM
42902014-01-08 Joseph Myers <joseph@codesourcery.com>
4291
4292 [BZ #16408]
4293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4294 for large positive arguments.
4295
b821f414
JM
42962014-01-07 Joseph Myers <joseph@codesourcery.com>
4297
1f0f2067
JM
4298 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4299
a5a326f6
JM
4300 * math/auto-libm-test-in: Mark various tests with
4301 xfail-rounding:ldbl-128ibm.
4302 * math/auto-libm-test-out: Regenerated.
4303
b821f414
JM
4304 [BZ #16407]
4305 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4306 Increase overflow threshold.
4307
94c8a4bc
OB
43082014-01-07 Ondřej Bílka <neleai@seznam.cz>
4309
4310 [BZ #14286]
4311 * stdio-common/vfprintf.c: Check for integer overflow.
4312
87ded0c3
AK
43132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4314
4315 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4316 the first argument and return value of __tls_get_addr_internal.
4317
c5eebdd0
AK
43182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4319
4320 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4321 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4322
05d138ef
AK
43232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4324
4325 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4326 * sysdeps/s390/rtld-global-offsets.sym: New file.
4327 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4328 GLIBC_2.19 symbol.
4329 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4331 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4332 ... this.
4333 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4334 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4335 ... this.
4336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4337 Regenerate.
4338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4339 Regenerate.
4340 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4341 halfs of GPRs for high_gprs contexts.
4342 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4343 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4344 field.
4345 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4346 uc_flags field.
4347 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4348 64 bit versions:
4349 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4350 for high GPRs (uc_high_gprs) and for future extensions
4351 (__reserved).
4352 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4353 for future extensions (__reserved).
4354 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4355 64 bit versions:
4356 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4357 SC_HIGHGPRS offset definition.
4358 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4359 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4360
93a45ff1
AK
43612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4362
4363 * Versions.def: Add GLIBC_2.19 for libpthread.
4364 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4365 siglongjmp for libpthread with GLIBC_2.19 symver.
4366 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4367 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4368 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4369 * sysdeps/s390/__longjmp.c: New file.
4370 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4371 * sysdeps/s390/longjmp.c: New file.
4372 * sysdeps/s390/setjmp.S: New file.
4373 * sysdeps/s390/sigjmp.S: New file.
4374 * sysdeps/s390/v1-longjmp.c: New file.
4375 * sysdeps/s390/v1-setjmp.h: New file.
4376 * sysdeps/s390/v1-sigjmp.c: New file.
4377 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4378 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4379 GLIBC_2.19 version.
4380 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4382 versioned symbols for ____longjmp_chk.
4383 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4384 Likewise.
4385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4386 Regenerate.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4388 Regenerate.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4390 Regenerate.
4391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4392 Regenerate.
4393 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4394 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4395 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4396 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4397 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4398 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4399 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4400 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4401 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4402 * sysdeps/s390/rtld-__longjmp.c: New file.
4403 * sysdeps/s390/rtld-setjmp.S: New file.
4404
eb3fc44b
JM
44052014-01-06 Joseph Myers <joseph@codesourcery.com>
4406
4407 [BZ #16400]
4408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4409 Return -__logl (x) for small positive arguments without evaluating
4410 a polynomial.
4411
9341dde4
MF
44122014-01-06 Mike Frysinger <vapier@gentoo.org>
4413
4414 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4415 Rename to ...
4416 (__ptrace_peeksiginfo_args): ... this.
4417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4418 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4420
4cff0293
AM
44212014-01-06 Allan McRae <allan@archlinux.org>
4422
4423 * inet/netinet/in.h: Fix typo in comment.
4424
75595dcf
AJ
44252014-01-05 Andreas Jaeger <aj@suse.de>
4426
4427 * sysdeps/i386/fpu/libm-test-ulps: Update.
4428
79c1e109
AM
44292014-01-05 Allan McRae <allan@archlinux.org>
4430
dd804818
AM
4431 * po/libc.pot: Regenerated.
4432
79c1e109
AM
4433 * malloc/memusagestat.c: Fix gettext call formatting.
4434
0c813d1f
SK
44352014-01-04 Sami Kerola <kerolasa@iki.fi>
4436
4437 * nscd/nscd.c: Improve usage() output.
4438
20f4a8d9
MF
44392014-01-04 Mike Frysinger <vapier@gentoo.org>
4440
4441 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4442 * sysdeps/unix/sysv/linux/configure: Regenerated.
4443 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4444 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4445
22562bb2
JM
44462014-01-03 Joseph Myers <joseph@codesourcery.com>
4447
4448 [BZ #16390]
4449 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4450 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4451
d7ad2d9b
AZ
44522014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4453
4454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4455 extra tokens at end of #undef directive.
4456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4459
7dd009d8
JM
44602014-01-03 Joseph Myers <joseph@codesourcery.com>
4461
24db925a
JM
4462 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4463
7dd009d8
JM
4464 * math/auto-libm-test-in: Mark various tests with
4465 xfail-rounding:ldbl-128ibm.
4466 * math/auto-libm-test-out: Regenerated.
4467
396e3ecf
JM
44682014-01-02 Joseph Myers <joseph@codesourcery.com>
4469
819e5d50
JM
4470 [BZ #16386]
4471 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4472 numbers with subnormal high part when calculating exponent.
4473
90b6a1e5
JM
4474 [BZ #16385]
4475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4476 fabs.
4477
396e3ecf
JM
4478 [BZ #16384]
4479 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4480 M_LN2l.
4481 (__ieee754_acoshl): Use __log1pl not __log1p.
4482
6c8dbf00
OB
44832013-01-02 Ondřej Bílka <neleai@seznam.cz>
4484
4485 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4486 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4487 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4488 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4489 Convert to GNU style.
4490 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4491 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4492 memalign_check, __malloc_set_state): Likewise.
4493 * malloc/mallocbug.c (main): Likewise.
4494 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4495 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4496 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4497 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4498 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4499 * malloc/malloc.h: Likewise.
4500 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4501 memalignhook, reallochook, mabort): Likewise.
4502 * malloc/mcheck.h: Likewise.
4503 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4504 mmap64, mremap, munmap, dest): Likewise.
4505 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4506 * malloc/morecore.c (__default_morecore): Likewise.
4507 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4508 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4509 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4510 print_and_abort): Likewise.
4511 * malloc/obstack.h: Likewise.
4512 * malloc/set-freeres.c (__libc_freeres): Likewise.
4513 * malloc/tst-mallocstate.c (main): Likewise.
4514 * malloc/tst-mtrace.c (main): Likewise.
4515 * malloc/tst-realloc.c (do_test): Likewise.
4516
d4124212
SP
45172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4518
9a3c6a6f
SP
4519 [BZ #16366]
4520 * nscd/netgroupcache.c (do_notfound): New function.
4521 (addgetnetgrentX): Use it.
4522
d4124212
SP
4523 [BZ # 16365]
4524 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4525 NSS_STATUS_NOTFOUND.
4526
97b9a009
JM
45272014-01-01 Joseph Myers <joseph@codesourcery.com>
4528
4529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4531
d4697bc9
AM
45322014-01-01 Allan McRae <allan@archlinux.org>
4533
ddb3687f
AM
4534 * scripts/update-copyrights: Update configure input file suffix.
4535
88726d48
AM
4536 * NEWS: Update copyright year.
4537 * catgets/gencat.c: Likewise.
4538 * csu/version.c: Likewise.
4539 * debug/catchsegv.sh: Likewise.
4540 * debug/pcprofiledump.c: Likewise.
4541 * debug/xtrace.sh: Likewise.
4542 * elf/ldconfig.c: Likewise.
4543 * elf/ldd.bash.in: Likewise.
4544 * elf/pldd.c: Likewise.
4545 * elf/sotruss.ksh: Likewise.
4546 * elf/sprof.c: Likewise.
4547 * iconv/iconv_prog.c: Likewise.
4548 * iconv/iconvconfig.c: Likewise.
4549 * locale/programs/locale.c: Likewise.
4550 * locale/programs/localedef.c: Likewise.
4551 * login/programs/pt_chown.c: Likewise.
4552 * malloc/memusage.sh: Likewise.
4553 * malloc/memusagestat.c: Likewise.
4554 * malloc/mtrace.pl: Likewise.
4555 * manual/libc.texinfo: Likewise.
4556 * nscd/nscd.c: Likewise.
4557 * nss/getent.c: Likewise.
4558 * nss/makedb.c: Likewise.
4559 * posix/getconf.c: Likewise.
4560 * scripts/test-installation.pl: Likewise.
4561
d4697bc9
AM
4562 * All files with FSF copyright notices: Update copyright dates
4563 using scripts/update-copyrights.
4564 * intl/plural.c: Regenerated.
4565 * locale/programs/charmap-kw.h: Likewise.
4566 * locale/programs/locfile-kw.h: Likewise.
4567
c8590f9d
MF
45682013-12-31 Mike Frysinger <vapier@gentoo.org>
4569
4570 * sysdeps/unix/sysv/linux/configure: Regenerated.
4571 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4572 the linux/fanotify.h header.
4573 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4574 HAVE_LINUX_FANOTIFY_H is defined.
4575
b19221b9
SP
45762013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4577
dd1d85e5
SP
4578 * benchtests/cos-inputs: New inputs.
4579 * benchtests/sin-inputs: Likewise.
4580
1acbb90f
SP
4581 * benchtests/atan-inputs: New inputs. Fix name of multiple
4582 precision fallback inputs.
4583
4c012ed3
SP
4584 * benchtests/atanh-inputs: New inputs.
4585 * benchtests/tanh-inputs: Likewise.
4586
eff98324
SP
4587 * benchtests/acosh-inputs: New inputs.
4588 * benchtests/asinh-inputs: Likewise.
4589
ce641152
SP
4590 * benchtests/cosh-inputs: New inputs.
4591 * benchtests/sinh-inputs: Likewise.
4592
b19221b9
SP
4593 * benchtests/acos-inputs: Add more inputs.
4594 * benchtests/asin-inputs: Likewise.
4595
030a4976 45962013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4597
030a4976 4598 [BZ #16375]
9dcc8f11
VS
4599 * manual/arith.texi: Fix spelling.
4600 * manual/charset.texi: Likewise.
4601 * manual/errno.texi: Likewise.
4602 * manual/filesys.texi: Likewise.
4603 * manual/lang.texi: Likewise.
4604 * manual/llio.texi: Likewise.
4605 * manual/locale.texi: Likewise.
4606 * manual/message.texi: Likewise.
4607 * manual/resource.texi: Likewise.
4608 * manual/search.texi: Likewise.
4609 * manual/setjmp.texi: Likewise.
4610 * manual/stdio.texi: Likewise.
4611 * manual/string.texi: Likewise.
4612 * manual/sysinfo.texi: Likewise.
4613 * manual/time.texi: Likewise.
4614
11520a57
CD
46152013-12-27 Carlos O'Donell <carlos@redhat.com>
4616
4617 * po/sl.po: New file.
4618
471103ae
MF
46192013-12-27 Mike Frysinger <vapier@gentoo.org>
4620
4621 * .gitignore: Add core/.gdbinit/.gdb_history.
4622
6c9642ed
AM
46232013-12-27 Allan McRae <allan@archlinux.org>
4624
4625 [BZ #16369]
4626 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4627 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4628
3f637079
BM
46292013-12-24 Brooks Moses <bmoses@google.com>
4630
4631 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4632 all compilers that claim C++98 compliance, not just GCC.
4633 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4634 Likewise.
4635
abc26e99
MK
46362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4637
4638 * NEWS: Restore accidentally deleted bug-fix entries.
4639
362b47fe
MK
46402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4641 Ondřej Bílka <neleai@seznam.cz>
4642
4643 [BZ #15073]
4644 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4645 have_lock.
362b47fe 4646
b9bcbbcb
OB
46472013-12-23 Ondřej Bílka <neleai@seznam.cz>
4648
4649 [BZ #12986]
4650 * manual/stdio.texi (String Input Conversions): Clarify that character
4651 classes are not supported.
4652
fb55fcd2
AZ
46532013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654
4655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4656
ef7344f0
JM
46572013-12-22 Joseph Myers <joseph@codesourcery.com>
4658
4f40e4b3
JM
4659 [BZ #16337]
4660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4661 Calculate results for small negative arguments directly rather
4662 than using reflection formula with special underflow handling.
4663
ef7344f0
JM
4664 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4665 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4666 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4667 (fchflags): Likewise.
4668 (revoke): Likewise.
4669 (setlogin): Likewise.
4670 (sigaltstack): Likewise.
4671 (wait4): Likewise.
4672 (sigblock): Remove.
4673 (sigsetmask): Likewise.
4674 (wait3): Likewise.
4675 (waitpid): Likewise.
4676 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4677 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4678 file.
4679 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4680 * sysdeps/unix/bsd/Makefile: ... here.
4681 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4682 * sysdeps/unix/bsd/Versions: ... here.
4683 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4684 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4685 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4686 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4687 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4688 * sysdeps/unix/bsd/sigblock.c: ... here.
4689 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4690 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4691 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4692 * sysdeps/unix/bsd/sigvec.c: ... here.
4693 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4694 * sysdeps/unix/bsd/tcdrain.c: ... here.
4695 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4696 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4697 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4698 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4699 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4700 * sysdeps/unix/bsd/wait.c: ... here.
4701 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4702 * sysdeps/unix/bsd/wait3.c: ... here.
4703 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4704 * sysdeps/unix/bsd/waitpid.c: ... here.
4705
5b0626b9
JM
47062013-12-21 Joseph Myers <joseph@codesourcery.com>
4707
4708 [BZ #16356]
4709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4710 round-to-nearest for [!USE_AS_EXPM1L].
4711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4712 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4713 more tests of exp and exp10. Expect some exp10 tests to miss
4714 exceptions or fail in directed rounding modes.
4715 * math/auto-libm-test-out: Regenerated.
4716 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4717 (exp10_test_tonearest): New function.
4718 (exp10_towardzero_test_data): New array.
4719 (exp10_test_towardzero): New function.
4720 (exp10_downward_test_data): New array.
4721 (exp10_test_downward): New function.
4722 (exp10_upward_test_data): New array.
4723 (exp10_test_upward): New function.
4724 (main): Call the new functions.
4725 * sysdeps/i386/fpu/libm-test-ulps: Update.
4726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4727
7fda5682
JM
47282013-12-20 Joseph Myers <joseph@codesourcery.com>
4729
31e3a405
JM
4730 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4731 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4732 * math/auto-libm-test-out: Regenerated.
4733 * math/libm-test.inc (acosh_test_data): Add more tests.
4734 (atanh_test_data): Likewise.
4735 (ceil_test_data): Likewise.
4736 (copysign_test_data): Likewise.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739
85bff96a
JM
4740 * timezone/checktab.awk: Update from tzcode 2013i.
4741 * timezone/private.h: Likewise.
4742 * timezone/scheck.c: Likewise.
4743 * timezone/tzfile.h: Likewise.
4744 * timezone/tzselect.ksh: Likewise.
4745 * timezone/zdump.c: Likewise.
4746 * timezone/zic.c: Likewise.
4747
b7867a3b
JM
4748 * math/auto-libm-test-in: Add tests of cpow.
4749 * math/auto-libm-test-out: Regenerated.
4750 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4751 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4752 mpc_cc_c.
4753 (func_calc_desc): Add mpc_cc_c union field.
4754 (test_functions): Add cpow.
4755 (special_fill_2pi): New function.
4756 (special_real_inputs): Add 2pi.
4757 (calc_generic_results): Handle mpc_cc_c.
4758 * sysdeps/i386/fpu/libm-test-ulps: Update.
4759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4760
7fda5682
JM
4761 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4762 csqrt, ctan and ctanh.
4763 * math/auto-libm-test-out: Regenerated.
4764 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4765 (TEST_COND_x86): Likewise.
4766 (ccos_test_data): Use AUTO_TESTS_c_c.
4767 (ccosh_test_data): Likewise.
4768 (cexp_test_data): Likewise.
4769 (clog_test_data): Likewise.
4770 (csqrt_test_data): Likewise.
4771 (ctan_test_data): Likewise.
4772 (ctan_tonearest_test_data): Likewise.
4773 (ctan_towardzero_test_data): Likewise.
4774 (ctan_downward_test_data): Likewise.
4775 (ctan_upward_test_data): Likewise.
4776 (ctanh_test_data): Likewise.
4777 (ctanh_tonearest_test_data): Likewise.
4778 (ctanh_towardzero_test_data): Likewise.
4779 (ctanh_downward_test_data): Likewise.
4780 (ctanh_upward_test_data): Likewise.
4781 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4782 mpc_c_c.
4783 (func_calc_desc): Add mpc_c_c union field.
4784 (FUNC_mpc_c_c): New macro.
4785 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4786 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4787 ctanh.
4788 (special_fill_min_subnorm_p120): New function.
4789 (special_real_inputs): Add min_subnorm_p120.
4790 (calc_generic_results): Handle mpc_c_c.
4791 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4793
5ff8d60e
SP
47942013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4795
392dd2de
SP
4796 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4797 do_sin_slow): New functions.
4798 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4799 cslow2, csloww1, csloww2): Use the new functions.
4800
84ba214c
SP
4801 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4802 Use M to change sign of result instead of X. Assume X is
4803 positive.
4804 (csloww1): Likewise.
4805 (__sin): Adjust.
4806 (__cos): Adjust.
4807
975195e4
SP
4808 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4809 arguments A and DA.
4810 (__sin): Adjust.
4811 (__cos): Likewise.
4812
5ff8d60e
SP
4813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4814 (__cos): Likewise.
4815 (sloww1): Don't adjust sign of DX.
4816 (csloww1): Likewise.
4817 (sloww2): Use X directly and don't adjust sign of DX.
4818 (csloww2): Likewise.
4819
eb983568
JM
48202013-12-19 Joseph Myers <joseph@codesourcery.com>
4821
64a17f1a
JM
4822 * math/auto-libm-test-in: Add tests of cabs and carg.
4823 * math/auto-libm-test-out: Regenerated.
4824 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4825 (carg_test_data): Likewise.
4826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4827 mpc_c_f.
4828 (func_calc_desc): Add mpc_c_f union field.
4829 (test_functions): Add cabs and carg.
4830 (calc_generic_results): Handle mpc_c_f.
4831
eb983568
JM
4832 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4833 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4834 as a macro and a compat symbol.
4835 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4836 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4837 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4838 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4839 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4840 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4841 not use .hidden.
4842 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4843 Likewise.
4844 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4845 Likewise.
4846 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4847 Likewise.
4848 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4849 Likewise.
4850 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4851 Likewise.
4852 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4853 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4854 from GLIBC_2.3.2.
4855
6eeb678a
AZ
48562013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4857
4858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4859
6f6fc482
JM
48602013-12-19 Joseph Myers <joseph@codesourcery.com>
4861
21fea2e2
JM
4862 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4863 trailing whitespace removed.
4864 * scripts/config.guess: Update to version 2013-11-29.
4865 * scripts/config.sub: Update to version 2013-10-01.
4866
6f6fc482
JM
4867 * math/auto-libm-test-in: Add tests of sincos.
4868 * math/auto-libm-test-out: Regenerated.
4869 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4871 mpfr_f_11.
4872 (func_calc_desc): Add mpfr_f_11 union field.
4873 (test_functions): Add sincos.
4874 (calc_generic_results): Handle mpfr_f_11.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
83f5c32d
AS
48782013-12-19 Andreas Schwab <schwab@suse.de>
4879
4880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4881 CALL_MCOUNT.
4882 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4884 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4885
c688b419
JM
48862013-12-19 Joseph Myers <joseph@codesourcery.com>
4887
335ee092
JM
4888 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891
f88acd39
JM
4892 [BZ #16293]
4893 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4894 round-to-nearest mode when using frndint.
4895 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4896 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4898 Likewise.
4899 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4900 sinh test to fail.
4901 * math/auto-libm-test-out: Regenerated.
4902 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4903 (TEST_COND_x86): Likewise.
4904 (expm1_tonearest_test_data): New array.
4905 (expm1_test_tonearest): New function.
4906 (expm1_towardzero_test_data): New array.
4907 (expm1_test_towardzero): New function.
4908 (expm1_downward_test_data): New array.
4909 (expm1_test_downward): New function.
4910 (expm1_upward_test_data): New array.
4911 (expm1_test_upward): New function.
4912 (main): Run the new test functions.
4913 * sysdeps/i386/fpu/libm-test-ulps: Update.
4914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915
c688b419
JM
4916 * include/features.h: Update comment documenting feature test
4917 macros. Mention _DEFAULT_SOURCE in comment.
4918 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4919 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4920 _BSD_SOURCE and _SVID_SOURCE.
4921 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4922 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4923 !_SVID_SOURCE]: Likewise.
4924 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4925 (__USE_POSIX_IMPLICITLY): Define.
4926 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4927 (_POSIX_SOURCE): Undefine and redefine.
4928 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4929 (_POSIX_C_SOURCE): Likewise.
4930 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4931 (Feature Test Macros): Update documentation of default features.
4932
9f6e964c
RS
49332013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4934
4935 * benchtests/Makefile: Add bench-strtok.
4936 * benchtests/bench-strtok.c: New file: strtok benchtest.
4937
ee0a148a
AM
49382013-12-19 Allan McRae <allan@archlinux.org>
4939
4940 * manual/install.texi: Suppress menu for plain text output.
4941 * INSTALL: Regenerated.
4942
b9ab448f
BM
49432013-12-18 Brooks Moses <bmoses@google.com>
4944
4945 [BZ #15846]
4946 * misc/getauxval.c: Include errno.h.
4947 (__getauxval): Set errno to ENOENT if the requested type is not
4948 found.
4949 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4950 don't declare with __attribute_const__.
4951 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4952 * manual/startup.texi: Document that getauxval sets errno.
4953
23776487
JM
49542013-12-18 Joseph Myers <joseph@codesourcery.com>
4955
f889953b
JM
4956 * math/auto-libm-test-in: Add tests of jn and yn.
4957 * math/auto-libm-test-out: Regenerated.
4958 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4959 (yn_test_data): Likewise.
4960 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4961 mpfr_if_f.
4962 (func_calc_desc): Add mpfr_if_f union field.
4963 (FUNC_mpfr_if_f): New macro.
4964 (test_functions): Add jn and yn.
4965 (calc_generic_results): Assert type of second input for
4966 mpfr_ff_f. Handle mpfr_if_f.
4967 (output_for_one_input_case): Disable all checking for arguments
4968 fitting floating-point types in case of an integer argument.
4969 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971
23776487
JM
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4973 Don't expect fegetround reference in libm.so.
4974
cb756c6d
MS
49752013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4976
4977 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4978 $(config-cflags-nofma).
4979
2dec468f
JM
49802013-12-18 Joseph Myers <joseph@codesourcery.com>
4981
5953eb3a
JM
4982 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4983 * math/auto-libm-test-out: Regenerated.
4984
2dec468f
JM
4985 [BZ #16338]
4986 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4987 to determine exponent and adjust argument to have exponent of -1.
4988 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4989 log2.
4990 * math/auto-libm-test-out: Regenerated.
4991 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4993
4d84e6ad
OB
49942013-12-18 Ondřej Bílka <neleai@seznam.cz>
4995
4996 * manual/probes.texi: Remove cases when per-thread arenas are
4997 disabled.
4998
1818483b
AS
49992013-12-18 Andreas Schwab <schwab@suse.de>
5000
5001 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5002 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5003 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5004 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5005 * sysdeps/i386/i686/multiarch/Makefile: Update.
5006 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5007
25de95bf
JM
50082013-12-17 Joseph Myers <joseph@codesourcery.com>
5009
5010 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5011 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5012
674762d9
PE
50132013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5014
ed27ed83 5015 [BZ #15968]
0748546f
PE
5016 Support TZ transition times < 00:00:00.
5017 This is needed for version-3 tz-format files; it supports time
5018 stamps past 2037 for America/Godthab (the only entry in the tz
5019 database for which this change is relevant).
5020 * manual/time.texi (TZ Variable): Document transition times
5021 from -167:59:59 through -00:00:01.
5022 * time/tzset.c (tz_rule): Time of day is now signed.
5023 (__tzset_parse_tz): Parse negative time of day.
5024
4480e934
PE
5025 Document TZ transition times >= 25:00:00.
5026 * manual/time.texi (TZ Variable): Document transition times from
5027 25:00:00 through 167:59:59. These are already supported, and this
5028 support will help with version-3 tz-format files.
5029
69947401
PE
5030 * manual/time.texi (TZ Variable): Modernize North America example
5031 to reflect current (i.e., 2007-and-later) daylight saving rules.
5032
674762d9
PE
5033 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5034
7011c262
JM
50352013-12-17 Joseph Myers <joseph@codesourcery.com>
5036
2fc6557e
JM
5037 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5038 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5041 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5042 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5043 * sysdeps/unix/bsd/clock.c: Likewise.
5044 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5045 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5046 * sysdeps/unix/bsd/init-posix.c: Likewise.
5047 * sysdeps/unix/bsd/poll.c: Likewise.
5048 * sysdeps/unix/bsd/ptsname.c: Likewise.
5049 * sysdeps/unix/bsd/seekdir.c: Likewise.
5050 * sysdeps/unix/bsd/setegid.c: Likewise.
5051 * sysdeps/unix/bsd/seteuid.c: Likewise.
5052 * sysdeps/unix/bsd/setgid.c: Likewise.
5053 * sysdeps/unix/bsd/setrgid.c: Likewise.
5054 * sysdeps/unix/bsd/setruid.c: Likewise.
5055 * sysdeps/unix/bsd/setsid.c: Likewise.
5056 * sysdeps/unix/bsd/setuid.c: Likewise.
5057 * sysdeps/unix/bsd/sigaction.c: Likewise.
5058 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5059 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5060 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5061 * sysdeps/unix/bsd/telldir.c: Likewise.
5062 * sysdeps/unix/bsd/times.c: Likewise.
5063 * sysdeps/unix/bsd/usleep.c: Likewise.
5064
029c7b25
JM
5065 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5066 ($(objpfx)libbsd-compat.a): Remove rule.
5067
7011c262
JM
5068 * include/features.h (__FAVOR_BSD): Do not define.
5069 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5070 features conflicting with POSIX.
5071 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5072 (_BSD_SOURCE): Remove description of not being a subset of other
5073 feature test macros.
5074 * manual/job.texi (getpgrp): Do not document BSD version.
5075 (getpgid): Do not document by reference to BSD getpgrp.
5076 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5077 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5078 * signal/signal.h [__FAVOR_BSD]: Likewise.
5079 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5080 instead of making contents conditional on [__FAVOR_BSD].
5081 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5082
affb6f78
AZ
50832013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084
5085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5086
c88769dd
JM
50872013-12-17 Joseph Myers <joseph@codesourcery.com>
5088
6432a540
JM
5089 [BZ #16314]
5090 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5091 values below 2**-450, not 2**-500.
5092 * math/auto-libm-test-in: Don't allow spurious underflow from
5093 hypot.
5094 * math/auto-libm-test-out: Regenerated.
5095
c88769dd
JM
5096 [BZ #16316]
5097 [BZ #16330]
5098 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5099 values of ha and hb and sort them after adjusting subnormal
5100 arguments.
5101 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5102 Likewise.
5103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5104 values of ea and eb and sort them after adjusting subnormal
5105 arguments.
5106 * math/auto-libm-test-in: Do not expect some hypot tests of
5107 subnormals to fail. Add more hypot tests.
5108 * math/auto-libm-test-out: Regenerated.
5109
29618f6b
KK
51102013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5111
5112 [BZ #13304]
5113 * sysdeps/sh/s_fma.c: New file.
5114 * sysdeps/sh/s_fmaf.c: New file.
5115 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5116 version.
5117 * sysdeps/sh/Implies: Add sh/soft-fp.
5118
eacfdfbf
RM
51192013-12-16 Roland McGrath <roland@hack.frob.com>
5120
5121 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5122 level of indirection to members `objname', `errstring', `malloced'.
5123 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5124 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5125 it as the __longjmp argument (just pass 1 instead).
5126 (_dl_catch_error): Initialize C with argument pointers and address of
5127 volatile local ERRCODE rather than copying values out of C at return.
5128
ff362e5b
JM
51292013-12-16 Joseph Myers <joseph@codesourcery.com>
5130
5131 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5132 * math/auto-libm-test-out: Regenerated.
5133 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5134 (hypot_test_data): Likewise.
5135 (pow_test_data): Likewise.
5136 (pow_tonearest_test_data): Likewise.
5137 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5138 mpfr_ff_f.
5139 (func_calc_desc): Add mpfr_ff_f union field.
5140 (FUNC_mpfr_ff_f): New macro.
5141 (test_functions): Add atan2, hypot and pow.
5142 (special_fill_min): New function.
5143 (special_fill_minus_min): Likewise.
5144 (special_fill_min_subnorm): Likewise.
5145 (special_fill_minus_min_subnorm): Likewise.
5146 (special_real_inputs): Add min, -min, min_subnorm and
5147 -min_subnorm.
5148 (calc_generic_results): Handle mpfr_ff_f.
5149 * sysdeps/i386/fpu/libm-test-ulps: Update.
5150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5151
5764c27f
WN
51522013-12-16 Will Newton <will.newton@linaro.org>
5153
5154 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5155 (Aligned Memory Blocks): Add documentation for aligned_alloc
5156 and suggest it as an alternative to posix_memalign.
5157 (Hooks for Malloc): Document __memalign_hook is also called
5158 for aligned_alloc. (Summary of Malloc): Add summary for
5159 aligned alloc. Document __memalign_hook is also called
5160 for aligned_alloc.
5161
0a096e44
WN
51622013-12-16 Will Newton <will.newton@linaro.org>
5163
5164 * manual/memory.texi (Malloc Examples): Clarify default
5165 alignment documentation. Suggest posix_memalign rather
5166 than memalign or valloc.
5167 (Aligned Memory Blocks): Remove suggestion to use memalign
5168 or valloc. Remove obsolete comment about BSD.
5169 Document memalign errno values and mark the function obsolete.
5170 Document posix_memalign returned error codes. Mark valloc
5171 as obsolete. (Hooks for Malloc): __memalign_hook is also
5172 called for posix_memalign and valloc.
5173 (Summary of Malloc): Add posix_memalign to function summary.
5174 __memalign_hook is also called for posix_memalign and valloc.
5175
8d561986
SP
51762013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5179 TAYLOR_SIN.
5180 (__sin): Adjust.
5181 (__cos): Likewise.
5182 (sloww): Use mynumber union. Expand ternary operator into
5183 if-else statements.
5184 (cslow): use mynumber union.
5185
73616a74
AM
51862013-12-16 Allan McRae <allan@archlinux.org>
5187
9e8ac24b
AM
5188 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5189 * configure: Regenerated.
5190
6f8e37eb
AM
5191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5192
8894bad3
AM
5193 [BZ #14120]
5194 * configure.ac: Added --enable-maintainer-mode. Check for
5195 autoconf when enabled.
5196 * configure: Regenerated.
5197
73616a74
AM
5198 * nscd/nscd.service: New file.
5199 * nscd/nscd.tmpfiles: New file.
5200
584b18eb
OB
52012013-12-14 Ondřej Bílka <neleai@seznam.cz>
5202
5203 [BZ #12100]
5204 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5205 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5206 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5207 (strstr): Add __strstr_sse2_unaligned ifunc.
5208 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5209 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5210 (strcasestr): Remove __strcasestr_sse42 ifunc.
5211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5214
8a5c7897
KK
52152013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5216
5217 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5218 * sysdeps/sh/bits/fenv.h: ... here.
5219 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5220
fd712ef3
AZ
52212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5222
5223 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5224
42fcb46c
AZ
52252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226
5227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5228 hypotf multiarch implementations.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5232 multiarch hypot for PPC64.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5236 multiarch hypotf for PPC64.
5237
83efded4
AZ
52382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5239
5240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5241 modff multiarch implementations.
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5245 multiarch modf for PPC64.
5246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5249 multiarch modff for PPC64.
5250
43e246d2
AZ
52512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5254 and logl multiarch implementations.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5258 multiarch logb for PPC64.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5262 multiarch logb for PPC64.
5263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5266 multiarch logb for PPC64.
5267
8fdad123
AZ
52682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5271 isinff multiarch implementation.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5273 file.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5276 multiarch isinf for PPC64.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5278 file.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5280 multiarch isinff for PPC64.
5281
1481d706
AZ
52822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5285 finitef multiarch implementation.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5287 file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5290 multiarch finite for PPC64.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5292 file.
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5294 multiarch finitef for PPC64.
5295
5ccd5fc8
AZ
52962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5299 lrint multiarch implementation.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5301 file.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5304 multiarch llrint for PPC64.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5306 multiarch lrint for PPC64.
5307
2568f3fa
AZ
53082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5311 copysignf multiarch implementation.
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5313 file.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5315 file.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5317 multiarch copysign for PPC64.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5319 multiarch copysignf for PPC64.
5320
1cb341fd
AZ
53212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5322
5323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5324 multiarch implementation.
5325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5326 file.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5328 file.
5329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5330 file.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5332 file.
5333 multiarch llround for PPC64.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5335 multiarch trunc for PPC64.
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5337 multiarch truncf for PPC64.
5338
59a3e194
AZ
53392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340
5341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5342 multiarch implementation.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5344 file.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5346 file.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5348 file.
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5350 file.
5351 multiarch llround for PPC64.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5353 multiarch round for PPC64.
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5355 multiarch roundf for PPC64.
5356
357fd3b4
AZ
53572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5358
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5360 multiarch implementation.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5362 file.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5364 file.
5365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5366 file.
5367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5368 file.
5369 multiarch llround for PPC64.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5371 multiarch floor for PPC64.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5373 multiarch floorf for PPC64.
5374
96770f12
AZ
53752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5376
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5378 multiarch implementation.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5380 file.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5382 file.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5384 file.
5385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5386 file.
5387 multiarch llround for PPC64.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5389 multiarch ceil for PPC64.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5391 multiarch ceilf for PPC64.
5392
c3627f6e
AZ
53932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5394
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5396 multiarch implementation.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5398 file.
5399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5400 file.
5401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5402 file.
5403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5404 multiarch llround for PPC64.
5405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5406 multiarch lround for PPC64.
5407
b2284ad7
AZ
54082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5411 multiarch implementation.
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5415 file.
5416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5419 multiarch isnan for PPC64.
5420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5421 multiarch isnanf for PPC64.
5422
69bbc63d
AZ
54232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424
5425 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5426 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5427 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5428 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5429 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5431
c24517c9
AZ
54322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5433
5434 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5435 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5438
a52374e8
AZ
54392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5442 multiarch implementations.
5443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5444 (__libc_ifunc_impl_list): Likewise.
5445 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5446 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5448 multiarch stpcpy for PPC64.
5449
7f5ec113
AZ
54502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451
5452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5453 multiarch implementations.
5454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5455 (__libc_ifunc_impl_list): Likewise.
5456 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5457 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5458 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5459 multiarch strcpy for PPC64.
5460
e28bcd42
AZ
54612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5462
5463 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5464 redefine function name.
5465 (_wordcopy_fwd_dest_aligned): Likewise.
5466 (_wordcopy_bwd_aligned): Likewise.
5467 (_wordcopy_bwd_dest_aligned): Likewise.
5468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5469 multiarch implementations.
5470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5471 (__libc_ifunc_impl_list): Likewise.
5472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5476 multiarch wcscpy for PPC64.
5477
92cacfce
AZ
54782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479
5480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5481 multiarch implementations.
5482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5483 (__libc_ifunc_impl_list): Likewise.
5484 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5486 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5488 multiarch wcscpy for PPC64.
5489
7b714620
AZ
54902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5491
5492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5493 multiarch implementations.
5494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5495 (__libc_ifunc_impl_list): Likewise.
5496 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5497 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5498 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5500 multiarch wcsrchr for PPC64.
5501
16fd2ae3
AZ
55022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503
5504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5505 multiarch implementations.
5506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5507 (__libc_ifunc_impl_list): Likewise.
5508 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5509 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5510 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5511 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5512 multiarch wcschr for PPC64.
5513
9ee2969b
AZ
55142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5515
5516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5517 multiarch implementations.
5518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5519 (__libc_ifunc_impl_list): Likewise.
5520 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5521 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5523 multiarch strchrnul for PPC64.
5524
372dc060
AZ
55252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5526
5527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5528 implementations.
5529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5530 (__libc_ifunc_impl_list): Likewise.
5531 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5532 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5533 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5534 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5535 strchr for PPC64.
5536
24c2c3b9
AZ
55372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538
5539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5540 implementations.
5541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5542 (__libc_ifunc_impl_list): Likewise.
5543 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5546 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5547 strncmp for PPC64.
5548
1c92d9a0
AZ
55492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5550
5551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5552 multiarch implementations.
5553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5554 (__libc_ifunc_impl_list): Likewise.
5555 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5556 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5557 strncasecmp for PPC64.
5558 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5559 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5560 multiarch strncasecmp_l for PPC64.
5561
17de3ee3
AZ
55622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563
5564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5565 multiarch implementations.
5566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5567 (__libc_ifunc_impl_list): Likewise.
5568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5569 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5570 multiarch strcasecmp for PPC64.
5571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5572 file.
5573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5574 multiarch strcasecmp_l for PPC64.
5575
62982bf9
AZ
55762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5579 implementations.
5580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5581 (__libc_ifunc_impl_list): Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5584 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5585 strnlen for PPC64.
5586
a65f4904
AZ
55872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5590 implementations.
5591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5592 (__libc_ifunc_impl_list): Likewise.
5593 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5596 strlen for PPC64.
5597
1fd005ad
AZ
55982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599
5600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5601 implementations.
5602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5603 (__libc_ifunc_impl_list): Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5606 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5607 rawmemrchr for PPC64.
5608
cd05ba91
AZ
56092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
5611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5612 implementation.
5613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5614 (__libc_ifunc_impl_list): Likewise.
5615 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5616 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5617 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5618 memrchr for PPC64.
5619
870f8676
AZ
56202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621
5622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5623 implementation.
5624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5625 (__libc_ifunc_impl_list): Likewise.
5626 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5627 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5628 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5629 memchr for PPC64.
5630
f00be62b
AZ
56312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5634 implementation.
5635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5636 (__libc_ifunc_impl_list): Likewise.
5637 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5638 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5639 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5640 mempcpy for PPC64.
5641
8a29a3d0
AZ
56422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643
5644 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5645 avoid cretion of __bzero symbol.
5646 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5647 Likewise.
5648 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5649 Likewise.
5650 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5651 Likewise.
5652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5653 multiarch implementations.
5654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Likewise.
5656 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5657 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5659 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5660 bzero for PPC32.
5661 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5662 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5663 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5664 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5665 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5666 memset for PPC64.
5667 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5668
07253fcf
AZ
56692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5670
5671 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5673 implementations.
5674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5675 (__libc_ifunc_impl_list): Likewise.
5676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5679 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5680 memcmp for PPC64.
5681
b5beafbc
AZ
56822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5685 multiarch for POWER/PPC64.
5686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5687 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5694 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5695 memcpy for PPC64.
5696
5e6a4d4b
AZ
56972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698
5699 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5700 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5701 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5702 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5703 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5704 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5705 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5706 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5707 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5708 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5709 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5710 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5711 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5712 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5713 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5721
ddfab6dc
KK
57222013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5723
5724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5725
19b5525e
SP
57262013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5727
5728 * benchtests/Makefile (bench): Add exp2 and log2.
5729 (LDLIBS-bench-exp2): Add -lm.
5730 (LDLIBS-bench-log2): Likewise.
5731 * benchtests/exp2-inputs: New inputs file.
5732 * benchtests/log2-inputs: New inputs file.
5733 * benchtests/log-inputs: Add new inputs.
5734 * benchtests/tan-inputs: Likewise.
5735
196f7f5d
SP
57362013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5737
7a74607f
SP
5738 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5739 definition...
5740 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5741 csloww1, csloww2): ... from here.
5742
196f7f5d
SP
5743 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5744 instead of structures.
5745 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5746 (POLYNOMIAL): Likewise.
5747 (TAYLOR_SLOW): Likewise.
5748 (__sin): Likewise.
5749 (__cos): Likewise.
5750 (slow1): Likewise.
5751 (slow2): Likewise.
5752 (sloww): Likewise.
5753 (sloww1); Likewise.
5754 (sloww2): Likewise.
5755 (bsloww1): Likewise.
5756 (bsloww2): Likewise.
5757 (cslow2): Likewise.
5758 (csloww): Likewise.
5759 (csloww1): Likewise.
5760 (csloww2): Likewise.
5761
0dfa665c
OB
57622013-12-10 Ondřej Bílka <neleai@seznam.cz>
5763
5764 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5765 (__malloc_assert, __libc_realloc, __libc_calloc,
5766 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5767 memcpy and memset.
5768 * malloc/hooks.c (realloc_check): Likewise.
5769
5782a80f
OB
57702013-12-10 Ondřej Bílka <neleai@seznam.cz>
5771
5772 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5773 * malloc/arena.c: Remove PER_THREAD conditional.
5774 [!PER_THREAD]: Remove code.
5775 (ptmalloc_unlock_all2): Likewise.
5776 (ptmalloc_init): Likewise.
5777 (_int_new_arena): Likewise.
5778 (arena_get2): Likewise.
5779 * malloc/hooks.c (__malloc_get_state): Likewise.
5780 (__malloc_set_state): Likewise.
5781 * malloc/malloc.c: Likewise.
5782 (struct malloc_state): Likewise.
5783 (struct malloc_par): Likewise.
5784 (__libc_realloc): Likewise.
5785 (__libc_mallopt): Likewise.
5786
aeb95445
AZ
57872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788
5789 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5790
e8349efd
OB
57912013-12-09 Ondřej Bílka <neleai@seznam.cz>
5792
5793 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5794 macro to a function. Check for zero perturb_byte.
5795 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5796
f3eeb3fc
OB
57972013-12-09 Ondřej Bílka <neleai@seznam.cz>
5798
5799 * malloc/malloc.c: (force_reg): Remove.
5800 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5801 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5802 force_reg by atomic_forced_read.
5803 * malloc/arena.c (ptmalloc_init): Likewise.
5804 * malloc/hooks.c (top_check): Likewise.
5805
be2f9009
AZ
58062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807
5808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5809
e7b914bd
MT
58102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5811
5812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5813
9f0be4f8
JM
58142013-12-08 Joseph Myers <joseph@codesourcery.com>
5815
5816 * math/auto-libm-test-in: Add tests of lgamma.
5817 * math/auto-libm-test-out: Regenerated.
5818 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5819 (M_LOG_2_SQRT_PIl): Likewise.
5820 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5821 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5822 mpfr_f_f1.
5823 (func_calc_desc): Add mpfr_f_f1 union field.
5824 (ARGS1): New macro.
5825 (ARGS2): Likewise.
5826 (ARGS3): Likewise.
5827 (ARGS4): Likewise.
5828 (RET1): Likewise.
5829 (RET2): Likewise.
5830 (CALC): Likewise.
5831 (FUNC): Likewise.
5832 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5833 (test_functions): Add lgamma.
5834 (calc_generic_results): Handle mpfr_f_f1.
5835 * sysdeps/i386/fpu/libm-test-ulps: Update.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5837
24eeafdb
AZ
58382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5839
5840 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5841 __mpn_add_n for PowerPC64/POWER7.
5842 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5843 __mpn_sub_n for PowerPC64/POWER7.
5844
4a2c0fd4
AZ
58452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846
5847 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5848 __mpn_addmul_1 for PowerPC64.
5849 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5850 __mpn_submul_1 for PowerPC64.
5851 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5852 for PowerPC64.
5853 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5854 for PowerPC64.
5855
4b5b548c
FS
58562013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5857
5858 [BZ #15089]
5859 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5860
0a3ac0aa
AZ
58612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862
5863 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5864
ccdc8438
AZ
58652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866
5867 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5868 add multiarch folders.
5869 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5870 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5871 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5872 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5873 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5874 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5875 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5876 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5877 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5878 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5879 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5886
2e973d99
AZ
58872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5890 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5892 New file.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5894 New file.
5895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5896 multiarch __ieee754_hypot for PowerPC32.
5897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5898 New file.
5899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5900 New file.
5901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5902 multiarch __ieee754_hypotf for PowerPC32.
5903
2d9470b2
AZ
59042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5905
5906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5907 long_double_symbol only if __logbl is defined.
5908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5909 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5911 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5913 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5915 path for implementation.
5916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5919 logb, and logbl multiarch implementations for PowerPC32.
5920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5921 file.
5922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5923 file.
5924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5925 multiarch logb for PowerPC32.
5926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5927 file.
5928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5929 file.
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5931 multiarch logbf for PowerPC32.
5932 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5934 file.
5935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5936 multiarch logbl implementation for PowerPC32.
5937
5212ffce
AZ
59382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5941 and modff multiarch implementations.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5943 New file.
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5945 New file.
5946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5947 multiarch modf for PowerPC32.
5948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5949 New file.
5950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5951 New file.
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5953 multiarch modff for PowerPC32.
5954
79dccf31
AZ
59552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956
5957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5958 and lrintf multiarch implementations.
5959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5960 New file.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5962 New file.
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5964 multiarch lrint for PowerPC32.
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5966 file: multiarch lrintf for PowerPC32.
5967
deb66480
AZ
59682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969
5970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5971 and lroundf multiarch implementations.
5972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5973 New file.
5974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5975 New file.
5976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5977 New file.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5979 multiarch lround for PowerPC32.
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5981 file: multiarch lroundf for PowerPC32.
5982
264b036b
AZ
59832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5986 copysign and copysignf multiarch implementations.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5988 New file.
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5990 New file.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5992 file: multiarch copysign for PowerPC32.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5994 file: multiarch copysignf for PowerPC32.
5995
d47db6c9
AZ
59962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5999 and truncf multiarch implementations.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6001 New file.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6003 file.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6005 multiarch trunc for PowerPC32.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6007 New file.
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6009 New file.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6011 multiarch truncf for PowerPC32.
6012
ddb60b5a
AZ
60132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6016 and roundf multiarch implementations.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6018 New file.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6020 file.
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6022 multiarch round for PowerPC32.
6023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6024 New file.
6025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6026 New file.
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6028 multiarch roundf for PowerPC32.
6029
bedcf49b
AZ
60302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6031
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6033 and floorf multiarch implementations.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6035 New file.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6037 file.
6038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6039 multiarch floor for PowerPC32.
6040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6041 New file.
6042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6043 New file.
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6045 multiarch floorf for PowerPC32.
6046
35ae5b40
AZ
60472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6050 and ceilf multiarch implementations.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6052 New file.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6054 file.
6055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6056 multiarch ceil for PowerPC32.
6057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6058 New file.
6059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6060 file.
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6062 multiarch ceilf for PowerPC32.
6063
ae1a4cd9
AZ
60642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6067 is defined.
6068 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6069 FINITEF is defined.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6071 and finitef multiarch implementations.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6073 New file.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6075 file.
6076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6077 multiarch finite for PowerPC32.
6078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6079 New file.
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6081 file: multiarch finitef for PowerPC32.
6082
64fffd65
AZ
60832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6084
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6086 and isinff multiarch implementations.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6088 file.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6090 file.
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6092 multiarch isinf for PowerPC32.
6093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6094 New file.
6095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6096 multiarch isinff for PowerPC32.
6097
8e4e7ba2
AZ
60982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6101 alias when __isnan is defined.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6103 and isnanf multiarch implementations.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6105 file.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6107 file.
6108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6109 file.
6110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6111 file.
6112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6113 multiarch isnan for PowerPC32.
6114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6115 New file.
6116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6117 New file.
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6119 multiarch isnanf for PowerPC32.
6120
ddba588e
AZ
61212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6122
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6124 and sqrtf multiarch implementations.
6125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6126 file.
6127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6128 file.
6129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6130 multiarch sqrt for PowerPC32.
6131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6132 file.
6133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6134 file.
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6136 multiarch sqrtf for PowerPC32.
6137
0f96a2f0
AZ
61382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139
6140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6141 and llroundf multiarch implementations.
6142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6143 New file.
6144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6145 New file.
6146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6147 New file.
6148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6149 file: multiarch llround for PowerPC32.
6150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6151 file: multiarch llroundf for PowerPC32.
6152
c9b5d79e
AZ
61532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6156 multiarch PowerPC32 fpu implementations.
6157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6158 New file.
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6160 New file.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6162 multiarch llrint for PowerPC32.
6163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6164 New file.
6165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6166 New file.
6167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6168 file.
6169
9cbb3aab
AZ
61702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6173
ea5a72f8
AZ
61742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6177 file.
6178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6179 file.
6180 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6181 file.
6182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6183 multiarch wordcopy for PPC32.
6184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6185 wordcopy objects.
6186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6187 (__libc_ifunc_impl_list): Likewise.
6188 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6189 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6190 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6191 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6192 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6193 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6194
93be09e7
AZ
61952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6196
6197 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6199 file.
6200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6201 file.
6202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6203 file.
6204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6205 multiarch wcscpy for PPC32.
6206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6207 multiarch objects.
6208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6209 (__libc_ifunc_impl_list): Likewise.
6210 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6211 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6212 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6213 sysdeps/powerpc/power6/wcscpy.c.
6214
bb04e529
AZ
62152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6219 file.
6220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6221 file.
6222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6223 file.
6224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6225 multiarch wcsrchr for PPC32.
6226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6227 multiarch objects.
6228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6229 (__libc_ifunc_impl_list): Likewise.
6230 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6231 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6232 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6233 sysdeps/powerpc/power6/wcsrchr.c.
6234
05b5cd1c
AZ
62352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6238 file.
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6240 file.
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6243 multiarch wcschr for PPc32.
6244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6245 multiarch objects.
6246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6247 (__libc_ifunc_impl_list): Likewise.
6248 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6249 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6250 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6251 sysdeps/powerpc/power6/wcschr.c.
6252
ba964147
AZ
62532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254
6255 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6257 file.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6259 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6260 file: multiarch strchr for PPC32.
6261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6262 multiarch objects.
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6264 (__libc_ifunc_impl_list): Likewise.
6265
31c81aaa
AZ
62662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267
6268 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6269 name.
6270 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6271 file.
6272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6273 file.
6274 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6275 multiarch strchrnul for PPC32.
6276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6277 multiarch objects.
6278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6279 (__libc_ifunc_impl_list): Likewise.
6280
0d0607d9
AZ
62812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6284 file.
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6286 multiarch strncasecmp for PPC32.
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6288 file.
6289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6290 multiarch strncasecmp_l for PPC32.
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6292 strncasecmp multiarch objects.
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6294 (__libc_ifunc_impl_list): Likewise.
6295
4dfd5c86
AZ
62962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297
6298 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6299 file.
6300 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6301 multiarch strncasecmp for PPC32.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6303 New file.
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6305 multiarch strcasecmp_l for PPC32.
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6307 multiarch objects.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6309 (__libc_ifunc_impl_list): Likewise.
6310
a19e01a3
AZ
63112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6314 file.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6316 file.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6318 multiarch strncmp for PPC32.
6319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6320 multiarch objects.
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6322 (__libc_ifunc_impl_list): Likewise.
6323
ae9cf7a2
AZ
63242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6325
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6327 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6328 file.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6332 multiarch objects.
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6334 (__libc_ifunc_impl_list): Likewise.
6335
3148bb7d
AZ
63362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6339 file.
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6341 file.
6342 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6344 multiarch objects.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6346 (__libc_ifunc_impl_list): Likewise.
6347
7af8b946
AZ
63482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6351 file.
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6353 file.
6354 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6355 multiarch rawmemchr for PPC32.
6356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6357 multiarch objects.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6359 (__libc_ifunc_impl_list): Likewise.
6360
03a6aa6a
AZ
63612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6362
6363 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6364 file.
6365 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6366 file.
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6368 file: memrchr multiarch for PPC32.
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6370 multiarch objects.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6372 (__libc_ifunc_impl_list): Likewise.
6373
1c62e6d9
AZ
63742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375
6376 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6378 file.
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6381 multiarch memchr for PPC32.
6382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6383 multiarch objects.
6384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6385 (__libc_ifunc_impl_list): Likewise.
6386
87da8bdb
AZ
63872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6391 file.
6392 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6393 file.
6394 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6395 file: multiarch mempcpy for PPC32.
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6397 multiarch objects.
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6399 (__libc_ifunc_impl_list): Likewise.
6400
20ed4714
AZ
64012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6407 multiarch bzero for PPC32.
6408 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6411 file.
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6413 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6414 file: multiarch memset for PPC32.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6417 memset multiarch objects.
6418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6419 (__libc_ifunc_impl_list): Likewise.
6420
ab3e3a46
AZ
64212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6424 file.
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6427 memcmp for PPC32.
6428 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6430 multiarch objects.
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6432 (__libc_ifunc_impl_list): Likewise.
6433
930de6f0
AZ
64342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6435
6436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6439 file.
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6441 file.
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6443 file.
6444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6445 multiarch memcpy for PPC32.
6446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6447 multiarch objects.
6448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6449 (__libc_ifunc_impl_list): Likewise.
6450
4c628e00
AZ
64512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6454 support multiarch for POWER/PPC32.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6456 Likewise.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6459 Implies file to make multiarch folder appers before the fpu and
6460 default folder for power4 configuration.
6461
f4479220
SP
64622013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6463
6464 * scripts/bench.pl: Append volatile keyword to type.
6465
8517800f
KK
64662013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6467
6468 * sysdeps/sh/sotruss-lib.c: New file.
6469 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6470
180138f1
AZ
64712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6474
bbf37bdc
JM
64752013-12-05 Joseph Myers <joseph@codesourcery.com>
6476
e47cc4e0
JM
6477 [BZ #6810]
6478 * math/w_tgamma.c: Include <errno.h>.
6479 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6480 * math/w_tgammaf.c: Include <errno.h>.
6481 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6482 * math/w_tgammal.c: Include <errno.h>.
6483 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6484 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6485 underflow. Add more tgamma tests.
6486 * math/auto-libm-test-out: Regenerated.
6487 * sysdeps/i386/fpu/libm-test-ulps: Update.
6488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6489
bbf37bdc
JM
6490 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6491 sin, sinh, tan, tanh, tgamma, y0 and y1.
6492 * math/auto-libm-test-out: Regenerated.
6493 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6494 (TEST_COND_x86): Likewise.
6495 (M_E2l): Remove macro.
6496 (M_E3l): Likewise.
6497 (M_2_SQRT_PIl): Likewise.
6498 (M_SQRT_PIl): Likewise.
6499 (M_1_DIV_El): Likewise.
6500 (log_test_data): Use AUTO_TESTS_f_f.
6501 (log10_test_data): Likewise.
6502 (log1p_test_data): Likewise.
6503 (log2_test_data): Likewise.
6504 (sin_test_data): Likewise.
6505 (sin_tonearest_test_data): Likewise.
6506 (sin_towardzero_test_data): Likewise.
6507 (sin_downward_test_data): Likewise.
6508 (sin_upward_test_data): Likewise.
6509 (sinh_test_data): Likewise.
6510 (sinh_tonearest_test_data): Likewise.
6511 (sinh_towardzero_test_data): Likewise.
6512 (sinh_downward_test_data): Likewise.
6513 (sinh_upward_test_data): Likewise.
6514 (tan_test_data): Likewise.
6515 (tan_tonearest_test_data): Likewise.
6516 (tan_towardzero_test_data): Likewise.
6517 (tan_downward_test_data): Likewise.
6518 (tan_upward_test_data): Likewise.
6519 (tanh_test_data): Likewise.
6520 (tgamma_test_data): Likewise.
6521 (y0_test_data): Likewise.
6522 (y1_test_data): Likewise.
6523 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6524 (special_real_inputs): Add pi/4.
6525 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527
eb5ad6b9
AZ
65282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
6530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6531 "longjmp_target" static probes.
6532 (__longjmp): Rename to __longjmp_symbol.
6533 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6534 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6535 on which longjmp to generate.
6536 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6538 probe.
6539 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6540 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6541 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6543 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6544 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6546 __longjmp_symbol based on which __longjmp to generate.
6547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6548 probe.
6549 (setjmp): Rename to setjmp_symbol.
6550 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6551 (_setjmp): Rename to _setjmp_symbol.
6552 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6553 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6554 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6555 which setjmp to generate.
6556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6557 "longjmp_target" static probes.
6558
d136c6dc
SP
65592013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
9298ecba
SP
6561 * benchtests/README: Add note about output arguments.
6562 * benchtests/bench-sincos.c: Remove file.
6563 * benchtests/sincos-inputs: New file.
6564 * scripts/bench.pl: Identify output arguments and define
6565 static variables for them.
6566
232983e9
SP
6567 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6568
d136c6dc
SP
6569 [BZ #15941]
6570 * Makefile (INSTALL): Add install-plain.texi as the primary
6571 dependency.
6572 * manual/install-plain.texi: New file.
6573 * manual/install.texi: Include node directive only for
6574 non-plaintext output.
6575
699ff837
JM
65762013-12-04 Joseph Myers <joseph@codesourcery.com>
6577
ab07cea8
JM
6578 * stdlib/longlong.h: Update from GCC.
6579
699ff837
JM
6580 [BZ #6807]
6581 [BZ #15901]
6582 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6583 * math/w_j0f.c (y0f): Likewise.
6584 * math/w_j0l.c (__y0l): Likewise.
6585 * math/w_j1.c (y1): Likewise.
6586 * math/w_j1f.c (y1f): Likewise.
6587 * math/w_j1l.c (__y1l): Likewise
6588 * math/w_jn.c (yn): Likewise.
6589 * math/w_jnf.c (ynf): Likewise.
6590 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6591 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6592 value for Bessel function domain errors outside _SVID_ mode.
6593 Adjust sign of return value for yn (negative integer, 0).
6594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6595 by zero in return for negative x and set sign appropriately for
6596 negative n.
6597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6598 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6599 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6600 expectations in error cases.
6601 (y1_test_data): Likewise.
6602 (yn_test_data): Likewise.
6603 * sysdeps/i386/fpu/libm-test-ulps: Update.
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6605
5b118558
UW
66062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6607
6608 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6609 "64" to "64-v1". Add "64-v2".
6610 (abi-64-options): Rename to ...
6611 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6612 (abi-64-condition): Rename to ...
6613 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6614 (abi-64-ld-soname): Rename to ...
6615 (abi-64-v1-ld-soname): ... this.
6616 (abi-64-v2-options): Define.
6617 (abi-64-v2-condition): Likewise.
6618 (abi-64-v2-ld-soname): Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6620 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6624
61cd8fe4
UW
66252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6626 Alan Modra <amodra@gmail.com>
6627
6628 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6629 New versions for use with the ELFv2 ABI.
6630 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6631 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6632 declaration.
6633 (struct La_ppc64v2_retval): Likewise.
6634 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6635 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6636 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6637 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6638 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6640 Do not save or restore CR.
6641 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6642 (_dl_profile_resolve): Do no save or restore CR. Support extended
6643 return values for ELFv2 ABI. Fix location of FPR return registers.
6644 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6645 updated values for _CALL_ELF == 2.
6646 (La_regs, La_retval, int_retval): Likewise.
6647
8b8a692c
UW
66482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6649
6650 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6651 (FRAME_MIN_SIZE_PARM): Likewise.
6652 (FRAME_BACKCHAIN): Likewise.
6653 (FRAME_CR_SAVE): Likewise.
6654 (FRAME_LR_SAVE): Likewise.
6655 (FRAME_TOC_SAVE): Likewise.
6656 (FRAME_PARM_SAVE): Likewise.
6657 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6658 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6659 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6660 (call_mcount_parm_offset): New macro.
6661 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6662 (PROF): Use symbolic stack frame offsets.
6663 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6665 Redefine in terms of FRAME_MIN_SIZE.
6666 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6667 (_dl_profile_resolve): Likewise. Update comment.
6668 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6669 symbols stack frame offsets.
6670 (__sigsetjmp): Likewise.
6671 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6672 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6673 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6674 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6675
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6677 (FRAME_BACKCHAIN): Remove.
6678 (FRAME_CR_SAVE): Likewise.
6679 (FRAME_LR_SAVE): Likewise.
6680 (FRAME_COMPILER_DW): Likewise.
6681 (FRAME_LINKER_DW): Likewise.
6682 (FRAME_TOC_SAVE): Likewise.
6683 (FRAME_PARM_SAVE): Likewise.
6684 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6685 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6686 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6688 (CHECK_SP): Use symbolic stack frame offsets.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6690 zone" instead of caller's parameter save area for temp storage.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6692 Likewise. Also, use symbolic stack frame offsets.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6694 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6695 our own stack frame instead of the caller's.
6696 (__socket): Use symbolic stack frame offsets.
6697
122b66de
UW
66982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6699 Alan Modra <amodra@gmail.com>
6700
6701 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6702 Define.
6703 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6704 PPC64_LOCAL_ENTRY_OFFSET): Define.
6705 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6706 New function.
6707 (elf_machine_fixup_plt): Call it.
6708 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6709 reloc arguments.
6710 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6712 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6713 r2 before calling target.
6714
696caf1d
UW
67152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6716 Alan Modra <amodra@gmail.com>
6717
6718 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6719 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6720 versions of macros to support ELFv2 ABI.
6721 (LOCALENTRY): New macro.
6722 (ENTRY, EALIGN): Use it.
6723 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6724 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6725 fall through into ENTRY entry point.
6726 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6727 Only define if _CALL_ELF != 2.
6728
6729 (elf_machine_matches_host): Verify ABI version matches.
6730 (RTLD_START): Use LOCALENTRY.
6731 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6732 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6733 (PLT_ENTRY_WORDS): New macro.
6734 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6735 (elf_machine_runtime_setup): Support ELFv2 ABI.
6736 (elf_machine_fixup_plt): Likewise.
6737 (elf_machine_plt_conflict): Likewise.
6738 (resolve_ifunc): Likewise.
6739 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6741 Likewise.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6743 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6745 (makecontext): Support ELFv2 ABI.
6746 * elf/elf.h (EF_PPC64_ABI): Define.
6747
d31beafa
UW
67482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6749
6750 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6751 New assembler macro.
6752 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6753 [ASSEMBLER] (ENTRY): ... but instead here ...
6754 [ASSEMBLER] (EALIGN): ... and here.
6755 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6756 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6757 [!ASSEMBLER] (ENTRY_2): Use it.
6758 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6759 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6761 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6762 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6764 Use PPC64_LOAD_FUNCPTR.
6765
b525166b
UW
67662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6767
6768 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6769
7ec07d9a
AM
67702013-12-04 Alan Modra <amodra@gmail.com>
6771
6772 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6773 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6774 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6775 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6776
6777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6778 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6779 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6780 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6781 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6782 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6783
5162e7dd
UW
67842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6785
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6787 (__makecontext): Fix incorrect CFI when backtracing out of
6788 context created via makecontext.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6790 (__setcontext): Fix incorrect CFI during switch to new context.
6791 (__novec_setcontext): Likewise.
6792
19e3372b
OB
67932013-12-04 Ondřej Bílka <neleai@seznam.cz>
6794
6795 [BZ #4772]
6796 * time/strptime_l.c (__strptime_internal): Allow modifiers
6797 in strptime.
6798 * time/tst-strptime.c (day_tests): Add testcase.
6799
6800
ecaf142d
SP
68012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6802
6803 * scripts/bench.pl: Skip over blank lines.
6804
fbf964ae
PE
68052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6806
6807 [BZ #926]
6808 * manual/time.texi (Calendar Time): Clarify what timezone functions
6809 use.
6810
fa60a674
AZ
68112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6812
6813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6814
d674f0ef
OB
68152013-12-04 Ondřej Bílka <neleai@seznam.cz>
6816
6817 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6818 implementation.
6819 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6820 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6821 * debug/memset_chk.c (__memset_chk): Likewise.
6822 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6823 * debug/strncpy_chk.c: Likewise.
6824
17dea188
JM
68252013-12-03 Joseph Myers <joseph@codesourcery.com>
6826
749008ff
JM
6827 [BZ #15268]
6828 [BZ #15425]
6829 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6830 (__ieee754_exp): For possibly underflowing results, check size of
6831 result and force underflow exception if required.
6832 * math/auto-libm-test-in: Add more tests of exp.
6833 * math/auto-libm-test-out: Regenerated.
6834 * sysdeps/i386/fpu/libm-test-ulps: Update.
6835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6836
17dea188
JM
6837 [BZ #16283]
6838 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6839 * math/w_exp2f.c (__exp2f): Likewise.
6840 * math/w_exp2l.c (__exp2l): Likewise.
6841 * math/auto-libm-test-in: Do not allow missing errno on exp2
6842 underflow.
6843 * math/auto-libm-test-out: Regenerated.
6844
b20de2c3
OB
68452013-12-03 Ondřej Bílka <neleai@seznam.cz>
6846
6847 [BZ #16274]
6848 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6849 handle filename validation.
6850 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6851 (do_open): Delete.
6852
d8e2dbe3
JM
68532013-12-03 Joseph Myers <joseph@codesourcery.com>
6854
34e16df5
JM
6855 [BZ #6786]
6856 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6857 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6858 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6859 <float.h>.
6860 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6862 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6864 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6866 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6867 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6868 Add more erfc tests.
6869 * math/auto-libm-test-out: Regenerated.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872
d8e2dbe3
JM
6873 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6874 exp2, expm1, j0 and j1.
6875 * math/auto-libm-test-out: Regenerated.
6876 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6877 (erfc_test_data): Likewise.
6878 (exp_test_data): Likewise.
6879 (exp_tonearest_test_data): Likewise.
6880 (exp_towardzero_test_data): Likewise.
6881 (exp_downward_test_data): Likewise.
6882 (exp_upward_test_data): Likewise.
6883 (exp10_test_data): Likewise.
6884 (exp2_test_data): Likewise.
6885 (expm1_test_data): Likewise.
6886 (j0_test_data): Likewise.
6887 (j1_test_data): Likewise.
6888 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6889 (input_flag_type): Add flag_xfail_rounding.
6890 (input_flags): Add xfail-rounding.
6891 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6892 (output_for_one_input_case): Handle flag_xfail_rounding.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6895
18d14251
AJ
68962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6897
3d2e6075 6898 [BZ #16289]
18d14251
AJ
6899 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6900 division by 0.
6901
520d437b
SP
69022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6903
6904 [BZ #16195]
6905 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6906 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6907 (STAP_PROBE0): New macro.
6908 (STAP_PROBE1): Likewise.
6909 (STAP_PROBE2): Likewise.
6910 (STAP_PROBE3): Likewise.
6911 (STAP_PROBE4): Likewise.
6912
416e0145
OB
69132013-12-02 Ondřej Bílka <neleai@seznam.cz>
6914
6915 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6916
9d17796a
SE
69172013-12-02 Steve Ellcey <sellcey@mips.com>
6918
6919 * benchtests/Makefile (bench): Add sqrt.
6920 (LDLIBS-bench-sqrt): New.
6921 * benchtests/sqrt-input: New.
6922
f524d6a8
PS
69232013-12-02 Pavel Simerda <psimerda@redhat.com>
6924
639a0ef8
PS
6925 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6926 (GAIH_EAI): Likewise.
6927 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6928 (gaih_inet): Likewise.
6929 (getaddrinfo): Don't use GAIH_EAI.
6930
f524d6a8
PS
6931 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6932 (struct gaih): Remove definition.
6933
df3aedaf
SP
69342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6935
6936 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6937 Use HERRNOP directly.
6938
1ab19dec
AZ
69392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6940
b42ad38d 6941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6942
176b0c79
JM
69432013-11-30 Joseph Myers <joseph@codesourcery.com>
6944
6945 * math/gen-auto-libm-tests.c (test_functions): Add more
6946 single-argument functions.
6947 (special_fill_pi_2): New function.
6948 (special_fill_minus_pi_2): Likewise.
6949 (special_fill_pi_6): Likewise.
6950 (special_fill_minus_pi_6): Likewise.
6951 (special_fill_pi_3): Likewise.
6952 (special_fill_2pi_3): Likewise.
6953 (special_fill_e): Likewise.
6954 (special_fill_1_e): Likewise.
6955 (special_fill_e_minus_1): Likewise.
6956 (special_real_inputs): Add more special inputs.
6957 (output_for_one_input_case): Do not require ERANGE on underflow to
6958 zero if round-to-nearest result does not underflow to zero, unless
6959 exact results required.
6960 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6961 atan, atanh, cbrt, cos and cosh.
6962 * math/auto-libm-test-out: Regenerated.
6963 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6964 (acos_tonearest_test_data): Likewise.
6965 (acos_towardzero_test_data): Likewise.
6966 (acos_downward_test_data): Likewise.
6967 (acos_upward_test_data): Likewise.
6968 (acosh_test_data): Likewise.
6969 (asin_test_data): Likewise.
6970 (asin_tonearest_test_data): Likewise.
6971 (asin_towardzero_test_data): Likewise.
6972 (asin_upward_test_data): Likewise.
6973 (asinh_test_data): Likewise.
6974 (atan_test_data): Likewise.
6975 (atanh_test_data): Likewise.
6976 (cbrt_test_data): Likewise.
6977 (cos_test_data): Likewise.
6978 (cos_tonearest_test_data): Likewise.
6979 (cos_towardzero_test_data): Likewise.
6980 (cos_downward_test_data): Likewise.
6981 (cos_upward_test_data): Likewise.
6982 (cosh_test_data): Likewise.
6983 (cosh_tonearest_test_data): Likewise.
6984 (cosh_towardzero_test_data): Likewise.
6985 (cosh_downward_test_data): Likewise.
6986 (cosh_upward_test_data): Likewise.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989
ffb536d0
JM
69902013-11-29 Joseph Myers <joseph@codesourcery.com>
6991
2a77a467
JM
6992 [BZ #6787]
6993 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6994 * math/w_exp10f.c (__exp10f): Likewise.
6995 * math/w_exp10l.c (__exp10l): Likewise.
6996 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6997 errno settings in existing tests.
6998
ea3bc4e8
JM
6999 [BZ #14032]
7000 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7001 precision control set to double precision.
7002 * sysdeps/i386/fpu/w_sqrt.c: New file.
7003 * math/auto-libm-test-in: Add more tests.
7004 * math/auto-libm-test-out: Update.
7005
0712c9d8
JM
7006 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7007 (sqrt_test_tonearest): New function.
7008 (sqrt_towardzero_test_data): New variable.
7009 (sqrt_test_towardzero): New function.
7010 (sqrt_downward_test_data): New variable.
7011 (sqrt_test_downward): New function.
7012 (sqrt_upward_test_data): New variable.
7013 (sqrt_test_upward): New function.
7014 (main): Call the new functions.
7015
ffb536d0
JM
7016 * math/gen-auto-libm-tests.c: New file.
7017 * math/auto-libm-test-in: Likewise.
7018 * math/auto-libm-test-out: New generated file.
7019 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7020 variables.
7021 (%beautify): Add generated representations of zero.
7022 (top level): Set $auto_input and call parse_auto_input.
7023 (beautify): Remove trailing "f" from hex float constants.
7024 (parse_args): Handle XFAIL_TEST.
7025 (convert_condition): New function.
7026 (or_value): Likewise.
7027 (or_cond_value): Likewise.
7028 (generate_testfile): Handle AUTO_TESTS_* lines.
7029 (parse_auto_input): New function.
7030 * math/libm-test.inc (XFAIL_TEST): New macro.
7031 (ERRNO_UNCHANGED): Update value.
7032 (ERRNO_EDOM): Likewise.
7033 (ERRNO_ERANGE): Likewise.
7034 (IGNORE_RESULT): Likewise.
7035 (TEST_COND_flt_32): New macro.
7036 (TEST_COND_dbl_64): Likewise.
7037 (TEST_COND_ldbl_96_intel): Likewise.
7038 (TEST_COND_ldbl_96_m68k): Likewise.
7039 (TEST_COND_ldbl_128): Likewise.
7040 (TEST_COND_ldbl_128ibm): Likewise.
7041 (TEST_COND_long32): Likewise.
7042 (TEST_COND_long64): Likewise.
7043 (TEST_COND_before_rounding): Likewise.
7044 (TEST_COND_after_rounding): Likewise.
7045 (enable_test): Handle XFAIL_TEST flag.
7046 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7047 with finite results.
7048 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7049 auto-libm-test-out.
7050
acd98a8e
AK
70512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7052 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7053
7054 [BZ #16214]
7055 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7056 __tls_get_addr_internal instead of __tls_get_offset in order to
7057 avoid GOT pointer dependency. Make rtld export
7058 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7059 __tls_get_addr since we are a __tls_get_offset platform.
7060 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7061 GOT pointer being set up before.
7062 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7063
3c1c46a6
JM
70642013-11-28 Joseph Myers <joseph@codesourcery.com>
7065
7475aef5
JM
7066 * manual/math.texi (Errors in Math Functions): Document accuracy
7067 goals.
7068
8bca7cd8
JM
7069 [BZ #15004]
7070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7071 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7086
91a1f3fe
JM
7087 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7088 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7089 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7090 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7091 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7092 Likewise.
7093 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7094 Likewise.
7095 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7096 Likewise.
7097 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7098 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7099 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7100 atomic-feupdateenv and flt-rounds.
7101 * sysdeps/powerpc/nofpu/Versions (libc): Add
7102 __atomic_feholdexcept, __atomic_feclearexcept,
7103 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7105 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7107 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7108 here.
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7110 Update.
7111
c5df7609
JM
7112 * manual/arith.texi (FP Exceptions): Document that exceptions may
7113 not be raised when matherr is used.
7114 (Math Error Reporting): Document overflow in directed rounding
7115 modes. Document that errno may not be set when finite values are
7116 returned on overflow. Document intent to set errno on underflow
7117 only for underflow to zero.
7118
3c1c46a6
JM
7119 [BZ #16271]
7120 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7121 round-to-nearest then adjust result for other rounding modes.
7122 * include/fenv.h (fegetround): Use libm_hidden_proto.
7123 * math/fegetround.c (fegetround): Use libm_hidden_def.
7124 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7125 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7126 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7127 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7128 Likewise.
7129 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7130 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7131 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7132 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7133
5a4c6d53
SP
71342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
7136 [BZ #16077]
7137 * nss/Versions (libnss_files): Add
7138 _nss_files_gethostbyname3_r.
7139 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7140 New function.
7141 (HOST_DB_LOOKUP): Remove macro.
7142 (_nss_files_gethostbyname_r): Implement function without the
7143 HOST_DB_LOOKUP macro.
7144 (_nss_files_gethostbyname2_r): Likewise.
7145
897b98ba
OB
71462013-11-28 Ondřej Bílka <neleai@seznam.cz>
7147
7148 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7149
6f476861
UB
71502013-11-26 Uros Bizjak <ubizjak@gmail.com>
7151
7152 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7153 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7154 warning.
7155
bd12ab55
AZ
71562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7157
7158 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7159 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7160 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7161 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7162 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7163 __fe_nomask_env_priv and attribute_hidden.
7164 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7165 (libc_feupdateenv_test_ppc): Likewise.
7166 (libc_feresetround_ppc): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7168 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7169 compat_symbol macro.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7171 (__fe_nomask_env): Likewise.
7172 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7173
52bb6543
OB
71742013-11-26 Ondřej Bílka <neleai@seznam.cz>
7175
7176 * string/Makefile: Remove ifunc tests.
7177 * string/test-string.h: Define TEST_IFUNC.
7178 * string/test-bcopy-ifunc.c: Remove.
7179 * string/test-bzero-ifunc.c: Likewise.
7180 * string/test-memccpy-ifunc.c: Likewise.
7181 * string/test-memchr-ifunc.c: Likewise.
7182 * string/test-memcmp-ifunc.c: Likewise.
7183 * string/test-memcpy-ifunc.c: Likewise.
7184 * string/test-memmem-ifunc.c: Likewise.
7185 * string/test-memmove-ifunc.c: Likewise.
7186 * string/test-mempcpy-ifunc.c: Likewise.
7187 * string/test-memrchr-ifunc.c: Likewise.
7188 * string/test-memset-ifunc.c: Likewise.
7189 * string/test-rawmemchr-ifunc.c: Likewise.
7190 * string/test-stpcpy-ifunc.c: Likewise.
7191 * string/test-stpncpy-ifunc.c: Likewise.
7192 * string/test-strcasecmp-ifunc.c: Likewise.
7193 * string/test-strcasestr-ifunc.c: Likewise.
7194 * string/test-strcat-ifunc.c: Likewise.
7195 * string/test-strchr-ifunc.c: Likewise.
7196 * string/test-strchrnul-ifunc.c: Likewise.
7197 * string/test-strcmp-ifunc.c: Likewise.
7198 * string/test-strcpy-ifunc.c: Likewise.
7199 * string/test-strcspn-ifunc.c: Likewise.
7200 * string/test-strlen-ifunc.c: Likewise.
7201 * string/test-strncasecmp-ifunc.c: Likewise.
7202 * string/test-strncat-ifunc.c: Likewise.
7203 * string/test-strncmp-ifunc.c: Likewise.
7204 * string/test-strncpy-ifunc.c: Likewise.
7205 * string/test-strnlen-ifunc.c: Likewise.
7206 * string/test-strpbrk-ifunc.c: Likewise.
7207 * string/test-strrchr-ifunc.c: Likewise.
7208 * string/test-strspn-ifunc.c: Likewise.
7209 * string/test-strstr-ifunc.c: Likewise.
7210
ab260039 72112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7212
7213 * benchtests/Makefile: Remove ifunc tests.
7214 * benchtests/bench-string.h: Define TEST_IFUNC.
7215 * benchtests/bench-bcopy-ifunc.c: Remove.
7216 * benchtests/bench-bzero-ifunc.c: Likewise.
7217 * benchtests/bench-memccpy-ifunc.c: Likewise.
7218 * benchtests/bench-memchr-ifunc.c: Likewise.
7219 * benchtests/bench-memcmp-ifunc.c: Likewise.
7220 * benchtests/bench-memcpy-ifunc.c: Likewise.
7221 * benchtests/bench-memmem-ifunc.c: Likewise.
7222 * benchtests/bench-memmove-ifunc.c: Likewise.
7223 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7224 * benchtests/bench-memrchr-ifunc.c: Likewise.
7225 * benchtests/bench-memset-ifunc.c: Likewise.
7226 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7227 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7228 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7229 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7230 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7231 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7232 * benchtests/bench-strcat-ifunc.c: Likewise.
7233 * benchtests/bench-strchr-ifunc.c: Likewise.
7234 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7235 * benchtests/bench-strcmp-ifunc.c: Likewise.
7236 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7237 * benchtests/bench-strcpy-ifunc.c: Likewise.
7238 * benchtests/bench-strcspn-ifunc.c: Likewise.
7239 * benchtests/bench-strlen-ifunc.c: Likewise.
7240 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7241 * benchtests/bench-strncat-ifunc.c: Likewise.
7242 * benchtests/bench-strncmp-ifunc.c: Likewise.
7243 * benchtests/bench-strncpy-ifunc.c: Likewise.
7244 * benchtests/bench-strnlen-ifunc.c: Likewise.
7245 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7246 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7247 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7248 * benchtests/bench-strspn-ifunc.c: Likewise.
7249 * benchtests/bench-strstr-ifunc.c: Likewise.
7250
72512013-11-26 Ondřej Bílka <neleai@seznam.cz>
7252
ab260039
OB
7253 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7254
d1d9eaf4 72552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7256
d1d9eaf4
OB
7257 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7258 * rt/aio.h: Likewise.
7259 * sysdeps/gnu/bits/utmp.h: Likewise.
7260 * sysdeps/gnu/bits/utmpx.h: Likewise.
7261 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7262 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7263 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7264 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7265 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7266 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7267 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7268 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7269 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7271 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7273 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7276 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7277 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7278 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7279 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7280 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7281 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7282 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7283 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7284 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7285 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7289 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7293 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7296 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7297 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7298 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7299 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7300 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7301 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7302 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7303
a7624ed9
CD
73042013-11-25 Carlos O'Donell <carlos@redhat.com>
7305
7306 [BZ #16245]
7307 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7308 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7309
63cfe52b
JM
73102013-11-25 Joseph Myers <joseph@codesourcery.com>
7311
7312 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7314 Likewise.
7315
41e8926a
AZ
73162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7317
7318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7319 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7320 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7321 (__fesetround): Remove define.
7322 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7323 rounding and exceptions handling.
7324 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7326 (__fe_nomask_env): Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7328 __fegetround instead of fegetround.
7329 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7331
6851bd4d
RM
73322013-11-21 Roland McGrath <roland@hack.frob.com>
7333
070906ff
RM
7334 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7335 it's there.
7336
6851bd4d
RM
7337 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7338
84ae135d
MI
73392013-11-21 Meador Inge <meadori@codesourcery.com>
7340
7341 [BZ #11157]
7342 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7343 (encrypt_r): Likewise.
7344 * malloc/obstack.h (obstack_free): Likewise.
7345 * posix/unistd.h (encrypt): Likewise.
7346
daf75146
GM
73472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7348
7349 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7350 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7351 DL_CALL_DT_FINI() that call the functions directly.
7352 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7353 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7354 * elf/dl-fini.c: Likewise.
7355
10ad46bc
OB
73562013-11-20 Ondřej Bílka <neleai@seznam.cz>
7357
7358 * malloc/hooks.c (memalign_check): Add alignment rounding.
7359 * malloc/malloc.c (_mid_memalign): New function.
7360 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7361 Implement by calling _mid_memalign.
7362 * manual/probes.texi (Memory Allocation Probes): Remove
7363 memory_valloc_retry and memory_pvalloc_retry.
7364
f3fd2628
SP
73652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7366
4712799f
SP
7367 * locale/programs/locarchive.c (open_archive): Add const
7368 qualifier to ARCHIVEFNAME and copy default fname to
7369 DEFAULT_FNAME.
7370
0417b20f
SP
7371 [BZ #15601]
7372 * libio/tst-widetext.input: Rename Oriya to Odia.
7373 * locale/iso-639.def: Likewise.
7374
f3fd2628
SP
7375 * manual/probes.texi (Mathematical Function Probes): Add
7376 documentation for sin, cos, asin and acos probes.
7377 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7378 (__sin32): Add slowasin probe.
7379 (__cos32): Add slowacos probe.
7380 (__mpsin): Add slowsin probe.
7381 (__mpcos): Add slowcos probe.
7382
73c1ce4f
JM
73832013-11-19 Joseph Myers <joseph@codesourcery.com>
7384
7385 [BZ #15483]
7386 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7387 thread-local __sim_exceptions_thread and global
7388 __sim_exceptions_global.
7389 (__sim_disabled_exceptions): Change to thread-local
7390 __sim_disabled_exceptions_thread and global
7391 __sim_disabled_exceptions_global.
7392 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7393 and global __sim_round_mode_global.
7394 (__simulate_exceptions): Use thread-local floating-point state and
7395 set global state from it as needed.
7396 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7397 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7398 __sim_round_mode_thread.
7399 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7400 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7401 and global __sim_exceptions_global.
7402 (__sim_disabled_exceptions): Change to thread-local
7403 __sim_disabled_exceptions_thread and global
7404 __sim_disabled_exceptions_global.
7405 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7406 and global __sim_round_mode_global.
7407 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7408 (SIM_SET_GLOBAL): Likewise.
7409 * sysdeps/powerpc/soft-fp/sfp-machine.h
7410 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7411 __sim_round_mode_thread.
7412 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7413 __sim_disabled_exceptions_thread.
7414 (__sim_exceptions): Change to __sim_exceptions_thread.
7415 (__sim_disabled_exceptions): Change to
7416 __sim_disabled_exceptions_thread.
7417 (__sim_round_mode): Change to __sim_round_mode_thread.
7418 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7419 thread-local floating-point state and set global state from it as
7420 needed.
7421 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7422 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7423 (__sim_disabled_exceptions): Remove extern declaration.
7424 (feenableexcept): Use thread-local floating-point state and set
7425 global state from it as needed.
7426 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7427 extern declaration.
7428 (__sim_disabled_exceptions): Likewise.
7429 (__sim_round_mode): Likewise.
7430 (__fegetenv): Use thread-local floating-point state.
7431 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7432 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7433 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7434 floating-point state and set global state from it as needed.
7435 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7436 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7437 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7438 Likewise.
7439 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7440 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7441 Likewise.
7442 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7443 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7444 Use __sim_round_mode_thread.
7445 * math/test-fenv-tls.c: New file.
7446 * math/Makefile (tests): Add test-fenv-tls.
7447 ($(objpfx)test-fenv-tls): Depend on
7448 $(common-objpfx)nptl/libpthread.so.
7449
b5449b12
AS
74502013-11-19 Andreas Schwab <schwab@suse.de>
7451
7452 * locale/programs/locale.c (show_info): Decode wordarray elements.
7453 * locale/categories.def (LC_MONETARY): Add element for
7454 _NL_MONETARY_CRNCYSTR.
7455 * locale/C-monetary.c (conversion_rate): New variable.
7456 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7457 element.
7458
e186536b
CM
74592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7460
7461 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7462 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7463
5c349950
PP
74642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7465
7466 * elf/Makefile (tst-auxv): New test.
7467 * elf/tst-auxv.c: New
7468 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7469
699df45b
JM
74702013-11-18 Joseph Myers <joseph@codesourcery.com>
7471
7472 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7473 (hidden_proto): Caller changed.
7474 (hidden_tls_proto): New macro.
7475 (libc_hidden_tls_proto): Likewise.
7476 (rtld_hidden_tls_proto): Likewise.
7477 (libm_hidden_tls_proto): Likewise.
7478 (libresolv_hidden_tls_proto): Likewise.
7479 (librt_hidden_tls_proto): Likewise.
7480 (libdl_hidden_tls_proto): Likewise.
7481 (libnss_files_hidden_tls_proto): Likewise.
7482 (libnsl_hidden_tls_proto): Likewise.
7483 (libnss_nisplus_hidden_tls_proto): Likewise.
7484 (libutil_hidden_tls_proto): Likewise.
7485
b7589107
OB
74862013-11-18 Ondřej Bílka <neleai@seznam.cz>
7487
7488 [BZ #10253]
7489 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7490 (decompose_rpath): Defer expansion to fillin_rpath.
7491 (_dl_init_paths): Pass linkmap to fillin_rpath.
7492
250c23bd
RS
74932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7494
7495 * benchtests/Makefile: Add strsep.
7496 * benchtests/bench-strsep.c: New file: strsep benchtest.
7497 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7498
a7931fcf
AS
74992013-11-18 Andreas Schwab <schwab@suse.de>
7500
7501 * locale/programs/locale.c (show_info) [case byte]: Check for
7502 '\377' instead of '\177'.
7503 * locale/C-monetary.c (not_available): Always use "\377".
7504 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7505 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7506 detect unavailable sign_posn locale elements.
7507 * locale/localeconv.c (__localeconv): For grouping and
7508 mon_grouping handle "\177" and "\377" like no grouping.
7509 (INT_ELEM): New macro. Use it to set all numeric members.
7510 * locale/programs/ld-monetary.c (monetary_read)
7511 <tok_mon_grouping>: Normalize single -1 to the empty string.
7512 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7513 Likewise.
7514
728dab0e
OB
75152013-11-07 Ondřej Bílka <neleai@seznam.cz>
7516
7517 [BZ #16055]
7518 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7519 when we match (nil).
7520 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7521
66294491
JM
75222013-11-16 Joseph Myers <joseph@codesourcery.com>
7523
ce665817
JM
7524 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7525 (NO_TEST_INLINE): Update value.
7526 (ERRNO_UNCHANGED): Likewise.
7527 (ERRNO_EDOM): Likewise.
7528 (ERRNO_ERANGE): Likewise.
7529 (IGNORE_RESULT): Likewise.
7530 (check_float_internal): Check signs of NaN results if
7531 TEST_NAN_SIGN used.
7532 (check_complex): Pass TEST_NAN_SIGN flag through to second
7533 check_float_internal call.
7534 (copysign_test_data): Add tests with quiet NaNs as second
7535 argument. Use TEST_NAN_SIGN.
7536 (fabs_test_data): Add test of negative quiet NaN argument. Use
7537 TEST_NAN_SIGN.
7538 (signbit_test_data): Add tests of quiet NaN argument.
7539 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7540
ee1466a9
JM
7541 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7542 $ignore_result.
7543 (parse_args): Handle function results specified as IGNORE.
7544 * math/libm-test.inc (IGNORE_RESULT): New macro.
7545 (check_float_internal): Do not check numerical result if flag
7546 IGNORE_RESULT set.
7547 (check_complex): Pass through IGNORE_RESULT to second
7548 check_float_internal call.
7549 (check_int): Do not check numerical result if flag IGNORE_RESULT
7550 set.
7551 (check_long): Likewise.
7552 (check_bool): Likewise.
7553 (check_longlong): Likewise.
7554 (lrint_test_data): Add tests of infinite and NaN arguments.
7555 (lrint_tonearest_test_data): Likewise.
7556 (lrint_towardzero_test_data): Likewise.
7557 (lrint_downward_test_data): Likewise.
7558 (lrint_upward_test_data): Likewise.
7559 (llrint_test_data): Likewise.
7560 (llrint_tonearest_test_data): Likewise.
7561 (llrint_towardzero_test_data): Likewise.
7562 (llrint_downward_test_data): Likewise.
7563 (llrint_upward_test_data): Likewise.
7564 (lround_test_data): Likewise.
7565 (llround_test_data): Likewise.
7566
14407b7e
JM
7567 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7568 (ERRNO_UNCHANGED): Update value.
7569 (ERRNO_EDOM): Likewise.
7570 (ERRNO_ERANGE): Likewise.
7571 (NO_TEST_INLINE_FLOAT): New macro.
7572 (NO_TEST_INLINE_DOUBLE): Likewise.
7573 (enable_test): New function.
7574 (RUN_TEST_f_f): Check enable_test before running test.
7575 (RUN_TEST_2_f): Likewise.
7576 (RUN_TEST_fff_f): Likewise.
7577 (RUN_TEST_c_f): Likewise.
7578 (RUN_TEST_f_f1): Likewise.
7579 (RUN_TEST_fF_f1): Likewise.
7580 (RUN_TEST_fI_f1): Likewise.
7581 (RUN_TEST_ffI_f1): Likewise.
7582 (RUN_TEST_c_c): Likewise.
7583 (RUN_TEST_cc_c): Likewise.
7584 (RUN_TEST_f_i): Likewise.
7585 (RUN_TEST_f_i_tg): Likewise.
7586 (RUN_TEST_ff_i_tg): Likewise.
7587 (RUN_TEST_f_b): Likewise.
7588 (RUN_TEST_f_b_tg): Likewise.
7589 (RUN_TEST_f_l): Likewise.
7590 (RUN_TEST_f_L): Likewise.
7591 (RUN_TEST_fFF_11): Likewise.
7592 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7593 conditionals.
7594 (cosh_test_data): Likewise.
7595 (exp_test_data): Likewise.
7596 (expm1_test_data): Likewise.
7597 (hypot_test_data): Likewise.
7598 (pow_test_data): Likewise.
7599 (sinh_test_data): Likewise.
7600 (tanh_test_data): Likewise.
7601 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7602 flags argument.
7603
ca07f197
JM
7604 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7605 tests with quiet NaN input and output.
7606 (acosh_test_data): Likewise.
7607 (asin_test_data): Likewise.
7608 (asinh_test_data): Likewise.
7609 (atan_test_data): Likewise.
7610 (atanh_test_data): Likewise.
7611 (atan2_test_data): Likewise.
7612 (cbrt_test_data): Likewise.
7613 (cos_test_data): Likewise.
7614 (cosh_test_data): Likewise.
7615 (erf_test_data): Likewise.
7616 (erfc_test_data): Likewise.
7617 (exp_test_data): Likewise.
7618 (exp10_test_data): Likewise.
7619 (exp2_test_data): Likewise.
7620 (expm1_test_data): Likewise.
7621 (hypot_test_data): Likewise.
7622 (j0_test_data): Likewise.
7623 (j1_test_data): Likewise.
7624 (jn_test_data): Likewise.
7625 (lgamma_test_data): Likewise.
7626 (log_test_data): Likewise.
7627 (log10_test_data): Likewise.
7628 (log1p_test_data): Likewise.
7629 (log2_test_data): Likewise.
7630 (pow_test_data): Likewise.
7631 (scalb_test_data): Likewise.
7632 (sin_test_data): Likewise.
7633 (sincos_test_data): Likewise.
7634 (sinh_test_data): Likewise.
7635 (tan_test_data): Likewise.
7636 (tanh_test_data): Likewise.
7637 (tgamma_test_data): Likewise.
7638 (y0_test_data): Likewise.
7639 (y1_test_data): Likewise.
7640 (yn_test_data): Likewise.
7641
66294491
JM
7642 [BZ #16167]
7643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7644 argument being NaN and avoid computations with second argument in
7645 that case.
7646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7647 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7648 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7649
1820b143
CL
76502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7651
7652 * locale/iso-639.def: Add Chitwani Tharu (the).
7653
714bd261
AS
76542013-11-14 Andreas Schwab <schwab@suse.de>
7655
7656 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7657 word instead of empty string.
7658
7ab44563
AZ
76592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7660
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7662 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7664 (__fe_nomask_env): Likewise.
7665
e8470ea2
SE
76662013-11-13 Steve Ellcey <sellcey@mips.com>
7667
7668 * benchtests/bench-timing.h: Include time.h.
7669
17c1d9f0
L
76702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7671
7672 [BZ #15997]
7673 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7674 to 3.4.0 for x32.
7675 * sysdeps/unix/sysv/linux/configure: Regenerated.
7676
9310c284
JM
76772013-11-13 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #16151]
7680 * stdlib/strtod_l.c (round_and_return): Do not consider
7681 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7682 exponent one less than half the least subnormal exponent.
7683 * stdlib/test-strtod-round-data: Add more tests.
7684 * stdlib/tst-strtod-round.c (tests): Regenerated.
7685
7a2ad8cf
AZ
76862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7687
7688 [BZ #14143]
7689 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7690 (__fe_mask_env): Likewise.
7691 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7692 libm_hidden_proto and add function prototype.
7693 (__fe_mask_env): Add function prototype.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7695 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7697 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7699 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7700
50727aa7
MS
77012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7702
b2f386c1 7703 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7704 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7705
a615be46
MS
77062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7707
7708 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7709 of htab_find_slot().
7710
7ddace62
DM
77112013-11-11 David S. Miller <davem@davemloft.net>
7712
7713 [BZ #16150]
7714 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7715 symbol in the non-vis3 case in static builds.
7716 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7717 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7718 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7719 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7720
9182aa67
JK
77212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7722
7723 [BZ #387]
7724 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7725 it is empty.
7726
450a2e2d
AZ
77272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728
b2f386c1
SP
7729 * benchtests/Makefile: Add bench-strtod.
7730 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7731
8ec3f656
AS
77322013-11-11 Andreas Schwab <schwab@suse.de>
7733
7734 [BZ #16153]
7735 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7736 terminating NUL in key length.
7737
76a9b998
AZ
77382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7739
7740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7741 Add artificial ODP entry for vDSO symbol for PPC64.
7742 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7743 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7744
e4368156
OB
77452013-11-07 Ondřej Bílka <neleai@seznam.cz>
7746
7747 [BZ #15374]
7748 * nss/getent.c (services_keys): Recognize services starting with digit.
7749
8d6bb57c
DM
77502013-11-06 David S. Miller <davem@davemloft.net>
7751
7752 [BZ #15985]
7753 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7754 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7755
e256c421
WN
77562013-11-06 Will Newton <will.newton@linaro.org>
7757
7758 * manual/memory.texi (Malloc Examples): Remove register
7759 keyword from examples.
7760
f6e12daa 77612013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7762
f6e12daa 7763 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7764
9d880655
AS
77652013-11-04 Joseph Myers <joseph@codesourcery.com>
7766
fd2f9486 7767 [BZ #6981]
9d880655
AS
7768 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7769 depending on [__GCC_IEC_559 > 0].
7770 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7771 depending on [__GCC_IEC_559_COMPLEX > 0].
7772
ae129d3c
CL
77732013-11-03 Chris Leonard <cjl@sugarlabs.org>
7774
7775 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7776 to iso-639.def.
7777
4a15c2a4 77782013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7779
7780 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7781
8b35e35d
OB
77822013-11-01 Ondřej Bílka <neleai@seznam.cz>
7783
7784 [BZ #16112]
7785 * malloc/malloc (malloc_info): Do not handle first bin as
7786 special case.
7787
1d70fd6c
CL
77882013-11-01 Chris Leonard <cjl@sugarlabs.org>
7789
7790 * locale/iso-639.def: Add Central Nahuatl (nhn).
7791
8c5c2600
BH
77922013-11-01 Bruno Haible <bruno@clisp.org>
7793
7794 [BZ #7003]
7795 * manual/math.texi (BSD Random): Specify range upper bound as
7796 in POSIX.
7797
da5579c2
CL
77982013-10-31 Chris Leonard <cjl@sugarlabs.org>
7799
7800 * locale/iso-639.def: Add Meadow Mari (mhr).
7801
5d30d853
OB
78022013-10-31 Ondřej Bílka <neleai@seznam.cz>
7803
7804 [BZ #14752], [BZ #15763]
7805 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7806 Validate name.
7807 * rt/tst_shm.c: Add test for escaping directory.
7808
a4966c61
AS
78092013-10-31 Andreas Schwab <schwab@suse.de>
7810
8a43e768 7811 [BZ #15917]
a4966c61
AS
7812 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7813 followed by 'x' as part of digit sequence.
7814 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7815
28d708c4
MAP
78162013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7817
7818 [BZ #16037]
7819 * configure.ac: allow GNU Make 4.0 and greater.
7820 * configure: Regenerated.
7821
a56ee40b
WN
78222013-10-30 Will Newton <will.newton@linaro.org>
7823
7824 [BZ #16038]
7825 * malloc/hooks.c (memalign_check): Limit alignment to the
7826 maximum representable power of two.
7827 * malloc/malloc.c (__libc_memalign): Likewise.
7828 * malloc/tst-memalign.c (do_test): Add test for very
7829 large alignment values.
7830 * malloc/tst-posix_memalign.c (do_test): Likewise.
7831
c6e4925d
OB
78322013-10-30 Ondřej Bílka <neleai@seznam.cz>
7833
7834 [BZ #11087]
7835 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7836 (munmap_chunk): Likewise.
7837 (mremap_chunk): Likewise.
7838
78392013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7840
8a43e768 7841 [BZ #15799]
bbea82f7
OB
7842 * stdlib/div.c (div): Remove obsolete code.
7843 * stdlib/ldiv.c (ldiv): Likewise.
7844 * stdlib/lldiv.c (lldiv): Likewise.
7845
977f4b31
SP
78462013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7847
7848 [BZ #16071]
7849 * nss/nss_files/files-XXX.c (get_contents_ret): New
7850 enumerator.
7851 (get_contents): New function.
7852 (internal_getent): Use it. Expand size of LINEBUFLEN.
7853
cb8a6dbd
MF
78542013-10-30 Mike Frysinger <vapier@gentoo.org>
7855
7856 * configure.in: Moved to ...
7857 * configure.ac: ... here. Change reference to configure.in
7858 to configure.ac.
7859 * sysdeps/arm/preconfigure.ac: ... here.
7860 configure.in to configure.ac.
7861 * sysdeps/gnu/configure.in: Moved to ...
7862 * sysdeps/gnu/configure.ac: ... here.
7863 * sysdeps/i386/configure.in: Moved to ...
7864 * sysdeps/i386/configure.ac: ... here.
7865 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7866 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7867 * sysdeps/mach/configure.in: Moved to ...
7868 * sysdeps/mach/configure.ac: ... here.
7869 * sysdeps/mach/hurd/configure.in: Moved to ...
7870 * sysdeps/mach/hurd/configure.ac: ... here.
7871 * sysdeps/powerpc/configure.in: Moved to ...
7872 * sysdeps/powerpc/configure.ac: ... here.
7873 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7874 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7875 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7876 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7877 * sysdeps/s390/s390-32/configure.in: Moved to ...
7878 * sysdeps/s390/s390-32/configure.ac: ... here.
7879 * sysdeps/s390/s390-64/configure.in: Moved to ...
7880 * sysdeps/s390/s390-64/configure.ac: ... here.
7881 * sysdeps/sh/configure.in: Moved to ...
7882 * sysdeps/sh/configure.ac: ... here.
7883 * sysdeps/sparc/configure.in: Moved to ...
7884 * sysdeps/sparc/configure.ac: ... here.
7885 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7886 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7887 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7888 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7889 * sysdeps/x86_64/configure.in: Moved to ...
7890 * sysdeps/x86_64/configure.ac: ... here.
7891 * sysdeps/x86_64/preconfigure.in: Moved to ...
7892 * sysdeps/x86_64/preconfigure.ac: ... here.
7893 * aclocal.m4: Change reference to configure.in to configure.ac.
7894 * config.h.in: Likewise.
7895 * manual/install.texi: Likewise.
7896 * manual/maint.texi: Likewise.
7897 * Makefile: Likewise.
7898 * malloc/Makefile: Likewise.
7899 * nscd/Makefile: Likewise.
7900 * Makeconfig: Change reference to configure.in and
7901 preconfigure.in to configure.ac and preconfigure.ac
7902 respectively.
7903 * INSTALL: Regenerated.
7904 * configure: Likewise.
7905 * sysdeps/gnu/configure: Likewise.
7906 * sysdeps/i386/configure: Likewise.
7907 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7908 * sysdeps/mach/configure: Likewise.
7909 * sysdeps/mach/hurd/configure: Likewise.
7910 * sysdeps/powerpc/configure: Likewise.
7911 * sysdeps/powerpc/powerpc32/configure: Likewise.
7912 * sysdeps/powerpc/powerpc64/configure: Likewise.
7913 * sysdeps/s390/s390-32/configure: Likewise.
7914 * sysdeps/s390/s390-64/configure: Likewise.
7915 * sysdeps/sh/configure: Likewise.
7916 * sysdeps/sparc/configure: Likewise.
7917 * sysdeps/unix/sysv/linux/configure: Likewise.
7918 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7919 * sysdeps/x86_64/configure: Likewise.
7920 * sysdeps/x86_64/preconfigure: Likewise.
7921
36a4953a
AS
79222013-10-29 Andreas Schwab <schwab@suse.de>
7923
7924 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7925
c79a1204
SP
79262013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7927
dfa1b402
SP
7928 * benchtests/pow-inputs: Add new inputs.
7929
54f73d9c
SP
7930 * benchtests/exp-inputs: Add new inputs.
7931
c79a1204
SP
7932 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7933 conditional check for return value.
7934 (__cos32): Likewise.
7935
67beb545 79362013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7937
7938 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7939 to provide a boost for large inputs with word alignment.
7940 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7941 implementation based on optimized PPC64 strcpy.
7942 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7943 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7944 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7945 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7946
151659f6
OB
79472013-10-25 Ondřej Bílka <neleai@seznam.cz>
7948
482a077e 7949 [BZ #2801]
151659f6
OB
7950 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7951
10b0f26b
OB
79522013-10-25 Ondřej Bílka <neleai@seznam.cz>
7953
7954 [BZ #14876]
7955 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7956 * time/tst-strptime.c (day_tests): Add testcase.
7957
ca42d35e
OB
79582013-10-25 Ondřej Bílka <neleai@seznam.cz>
7959
482a077e 7960 [BZ #14029]
ca42d35e
OB
7961 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7962
52e6d801
FB
79632013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7964
7965 [BZ #16074]
7966 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7967 MAP_FAILED on error.
7968
7cbcdb36
SP
79692013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
7971 [BZ #16072]
7972 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7973 heap for large requests.
7974
894f3f10
AM
79752013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7976
7977 [BZ #9954]
7978 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7979 result if the result has no associated interface.
7980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7981 interface for all 127.X.Y.Z addresses.
7982
b85545a6
CL
79832013-10-24 Chris Leonard <cjl@sugarlabs.org>
7984
7985 * locale/iso-639.def: Add Ligurian (lij)
7986
d1f23d46
OB
79872013-10-21 Ondřej Bílka <neleai@seznam.cz>
7988
7989 [BZ #15825]
7990 * sunrpc/rpc_main.c: Document rpcgen -5.
7991
4db5b08f
MS
79922013-10-19 Michael Stahl <mstahl@redhat.com>
7993
7994 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7995
a471e96a
OB
79962013-10-19 Ondřej Bílka <neleai@seznam.cz>
7997
d1f23d46 7998 [BZ #10278]
a471e96a
OB
7999 * posix/glob.c: Match only directories when trailing slash is present.
8000 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8001 (main): Add testcase.
8002
45c30c61
OB
80032013-10-19 Ondřej Bílka <neleai@seznam.cz>
8004
8005 [BZ #15670]
8006 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8007
484c12fb
CD
80082013-10-18 Carlos O'Donell <carlos@redhat.com>
8009
3d7dc513
CD
8010 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8011 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8012 AUTH_DES and cindex for FIPS 140-2.
8013 (DES Encryption): Add cindex FIPS 46-3.
8014
484c12fb
CD
8015 * locale/locarchive.h (struct locarhandle): Add fname.
8016 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8017 if an optional argument was specified to --list-archive,
8018 otherwise NULL.
8019 * locale/programs/locarchive.c (show_archive_content): Take new
8020 argument fname and pass it via ah.fname to open_archive.
8021 * locale/programs/localedef.h: Update decl.
8022 (open_archive): If AH->fname is non-null, open that file
8023 rather than the default file name, and don't ignore ENOENT.
8024 (create_archive): Set AH.fname to NULL.
8025 (delete_locales_from_archive): Likewise.
8026 (add_locales_to_archive): Likewise.
8027 * locale/programs/locfile.c (write_all_categories): Likewise.
8028
3c8325fb
JM
80292013-10-18 Joseph Myers <joseph@codesourcery.com>
8030 Aldy Hernandez <aldyh@redhat.com>
8031
8032 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8033 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8034 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8035 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8036 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8038 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8042 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8043 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8044 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8045 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8046 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8047 Likewise.
8048 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8049 Likewise.
8050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8051 Likewise.
8052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8053 Likewise.
8054 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8056 Likewise.
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8061 Likewise.
8062 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8063 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8064 * sysdeps/powerpc/preconfigure: Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8066 Likewise.
8067 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8068 Replace contents of file by #include of <fenv_libc.h>.
8069 * sysdeps/powerpc/soft-fp/sfp-machine.h
8070 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8071 and <sys/prctl.h>.
8072 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8085 Allow copysignl PLT reference to be missing.
8086
5abe0682
RS
80872013-10-18 Richard Sandiford <richard@codesourcery.com>
8088 Joseph Myers <joseph@codesourcery.com
8089
8090 [BZ #15948]
8091 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8092 single character.
8093 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8094
c7738d08
SP
80952013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8096
8097 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8098 * elf/tst-tls1.c: Likewise.
8099 * elf/tst-tls10.h: Likewise.
8100 * elf/tst-tls14.c: Likewise.
8101 * elf/tst-tls2.c: Likewise.
8102 * elf/tst-tls3.c: Likewise.
8103 * elf/tst-tls4.c: Likewise.
8104 * elf/tst-tls5.c: Likewise.
8105 * elf/tst-tls6.c: Likewise.
8106 * elf/tst-tls7.c: Likewise.
8107 * elf/tst-tls8.c: Likewise.
8108 * elf/tst-tls9.c: Likewise.
8109 * elf/tst-tlsmod1.c: Likewise.
8110 * elf/tst-tlsmod13.c: Likewise.
8111 * elf/tst-tlsmod13a.c: Likewise.
8112 * elf/tst-tlsmod14a.c: Likewise.
8113 * elf/tst-tlsmod16a.c: Likewise.
8114 * elf/tst-tlsmod16b.c: Likewise.
8115 * elf/tst-tlsmod2.c: Likewise.
8116 * elf/tst-tlsmod3.c: Likewise.
8117 * elf/tst-tlsmod4.c: Likewise.
8118 * elf/tst-tlsmod5.c: Likewise.
8119 * elf/tst-tlsmod6.c: Likewise.
8120
0bfcf2c7
OB
81212013-10-18 Ondřej Bílka <neleai@seznam.cz>
8122
8123 [BZ #12486]
8124 * malloc/malloc.c: remove checks for statistics.
8125
264aad1e
OB
81262013-10-17 Ondřej Bílka <neleai@seznam.cz>
8127
8128 [BZ #15277]
8129 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8130 * inet/tst-network.c: Add testcase.
8131
b957ced8
AS
81322013-10-17 Andreas Schwab <schwab@suse.de>
8133
8134 [BZ #15218]
8135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8136 to determine canonical name.
8137
c5d5d574
OB
81382013-10-17 Ondřej Bílka <neleai@seznam.cz>
8139
8140 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8141 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8198
e5c2c2d0
JM
81992013-10-17 Joseph Myers <joseph@codesourcery.com>
8200
8201 [BZ #16041]
8202 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8203 make result into a quiet NaN.
8204
51ca9e29
JM
82052013-10-16 Joseph Myers <joseph@codesourcery.com>
8206
8207 * soft-fp/adddf3.c: Fix horizontal whitespace.
8208 * soft-fp/addsf3.c: Likewise.
8209 * soft-fp/addtf3.c: Likewise.
8210 * soft-fp/divdf3.c: Likewise.
8211 * soft-fp/divsf3.c: Likewise.
8212 * soft-fp/divtf3.c: Likewise.
8213 * soft-fp/double.h: Likewise.
8214 * soft-fp/eqdf2.c: Likewise.
8215 * soft-fp/eqsf2.c: Likewise.
8216 * soft-fp/eqtf2.c: Likewise.
8217 * soft-fp/extenddftf2.c: Likewise.
8218 * soft-fp/extended.h: Likewise.
8219 * soft-fp/extendsfdf2.c: Likewise.
8220 * soft-fp/extendsftf2.c: Likewise.
8221 * soft-fp/extendxftf2.c: Likewise.
8222 * soft-fp/fixdfdi.c: Likewise.
8223 * soft-fp/fixdfsi.c: Likewise.
8224 * soft-fp/fixdfti.c: Likewise.
8225 * soft-fp/fixsfdi.c: Likewise.
8226 * soft-fp/fixsfsi.c: Likewise.
8227 * soft-fp/fixsfti.c: Likewise.
8228 * soft-fp/fixtfdi.c: Likewise.
8229 * soft-fp/fixtfsi.c: Likewise.
8230 * soft-fp/fixtfti.c: Likewise.
8231 * soft-fp/fixunsdfdi.c: Likewise.
8232 * soft-fp/fixunsdfsi.c: Likewise.
8233 * soft-fp/fixunsdfti.c: Likewise.
8234 * soft-fp/fixunssfdi.c: Likewise.
8235 * soft-fp/fixunssfsi.c: Likewise.
8236 * soft-fp/fixunssfti.c: Likewise.
8237 * soft-fp/fixunstfdi.c: Likewise.
8238 * soft-fp/fixunstfsi.c: Likewise.
8239 * soft-fp/fixunstfti.c: Likewise.
8240 * soft-fp/floatdidf.c: Likewise.
8241 * soft-fp/floatdisf.c: Likewise.
8242 * soft-fp/floatditf.c: Likewise.
8243 * soft-fp/floatsidf.c: Likewise.
8244 * soft-fp/floatsisf.c: Likewise.
8245 * soft-fp/floatsitf.c: Likewise.
8246 * soft-fp/floattidf.c: Likewise.
8247 * soft-fp/floattisf.c: Likewise.
8248 * soft-fp/floattitf.c: Likewise.
8249 * soft-fp/floatundidf.c: Likewise.
8250 * soft-fp/floatundisf.c: Likewise.
8251 * soft-fp/floatunditf.c: Likewise.
8252 * soft-fp/floatunsidf.c: Likewise.
8253 * soft-fp/floatunsisf.c: Likewise.
8254 * soft-fp/floatunsitf.c: Likewise.
8255 * soft-fp/floatuntidf.c: Likewise.
8256 * soft-fp/floatuntisf.c: Likewise.
8257 * soft-fp/floatuntitf.c: Likewise.
8258 * soft-fp/fmadf4.c: Likewise.
8259 * soft-fp/fmasf4.c: Likewise.
8260 * soft-fp/fmatf4.c: Likewise.
8261 * soft-fp/gedf2.c: Likewise.
8262 * soft-fp/gesf2.c: Likewise.
8263 * soft-fp/getf2.c: Likewise.
8264 * soft-fp/ledf2.c: Likewise.
8265 * soft-fp/lesf2.c: Likewise.
8266 * soft-fp/letf2.c: Likewise.
8267 * soft-fp/muldf3.c: Likewise.
8268 * soft-fp/mulsf3.c: Likewise.
8269 * soft-fp/multf3.c: Likewise.
8270 * soft-fp/negdf2.c: Likewise.
8271 * soft-fp/negsf2.c: Likewise.
8272 * soft-fp/negtf2.c: Likewise.
8273 * soft-fp/op-1.h: Likewise.
8274 * soft-fp/op-2.h: Likewise.
8275 * soft-fp/op-4.h: Likewise.
8276 * soft-fp/op-8.h: Likewise.
8277 * soft-fp/op-common.h: Likewise.
8278 * soft-fp/quad.h: Likewise.
8279 * soft-fp/single.h: Likewise.
8280 * soft-fp/soft-fp.h: Likewise.
8281 * soft-fp/sqrtdf2.c: Likewise.
8282 * soft-fp/sqrtsf2.c: Likewise.
8283 * soft-fp/sqrttf2.c: Likewise.
8284 * soft-fp/subdf3.c: Likewise.
8285 * soft-fp/subsf3.c: Likewise.
8286 * soft-fp/subtf3.c: Likewise.
8287 * soft-fp/truncdfsf2.c: Likewise.
8288 * soft-fp/trunctfdf2.c: Likewise.
8289 * soft-fp/trunctfsf2.c: Likewise.
8290 * soft-fp/trunctfxf2.c: Likewise.
8291 * soft-fp/unorddf2.c: Likewise.
8292 * soft-fp/unordsf2.c: Likewise.
8293 * soft-fp/unordtf2.c: Likewise.
8294
9ebb0332
JM
82952013-10-15 Joseph Myers <joseph@codesourcery.com>
8296
8297 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8298 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8299
4b1a6d8b
OB
83002013-10-15 Ondřej Bílka <neleai@seznam.cz>
8301
8302 * elf/dl-libc.c: Clear initfini list after freeing.
8303
1e145589
JM
83042013-10-14 Joseph Myers <joseph@codesourcery.com>
8305
8306 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8307 * soft-fp/addsf3.c: Likewise.
8308 * soft-fp/addtf3.c: Likewise.
8309 * soft-fp/divdf3.c: Likewise.
8310 * soft-fp/divsf3.c: Likewise.
8311 * soft-fp/divtf3.c: Likewise.
8312 * soft-fp/double.h: Likewise.
8313 * soft-fp/eqdf2.c: Likewise.
8314 * soft-fp/eqsf2.c: Likewise.
8315 * soft-fp/eqtf2.c: Likewise.
8316 * soft-fp/extenddftf2.c: Likewise.
8317 * soft-fp/extended.h: Likewise.
8318 * soft-fp/extendsfdf2.c: Likewise.
8319 * soft-fp/extendsftf2.c: Likewise.
8320 * soft-fp/extendxftf2.c: Likewise.
8321 * soft-fp/fixdfdi.c: Likewise.
8322 * soft-fp/fixdfsi.c: Likewise.
8323 * soft-fp/fixdfti.c: Likewise.
8324 * soft-fp/fixsfdi.c: Likewise.
8325 * soft-fp/fixsfsi.c: Likewise.
8326 * soft-fp/fixsfti.c: Likewise.
8327 * soft-fp/fixtfdi.c: Likewise.
8328 * soft-fp/fixtfsi.c: Likewise.
8329 * soft-fp/fixtfti.c: Likewise.
8330 * soft-fp/fixunsdfdi.c: Likewise.
8331 * soft-fp/fixunsdfsi.c: Likewise.
8332 * soft-fp/fixunsdfti.c: Likewise.
8333 * soft-fp/fixunssfdi.c: Likewise.
8334 * soft-fp/fixunssfsi.c: Likewise.
8335 * soft-fp/fixunssfti.c: Likewise.
8336 * soft-fp/fixunstfdi.c: Likewise.
8337 * soft-fp/fixunstfsi.c: Likewise.
8338 * soft-fp/fixunstfti.c: Likewise.
8339 * soft-fp/floatdidf.c: Likewise.
8340 * soft-fp/floatdisf.c: Likewise.
8341 * soft-fp/floatditf.c: Likewise.
8342 * soft-fp/floatsidf.c: Likewise.
8343 * soft-fp/floatsisf.c: Likewise.
8344 * soft-fp/floatsitf.c: Likewise.
8345 * soft-fp/floattidf.c: Likewise.
8346 * soft-fp/floattisf.c: Likewise.
8347 * soft-fp/floattitf.c: Likewise.
8348 * soft-fp/floatundidf.c: Likewise.
8349 * soft-fp/floatundisf.c: Likewise.
8350 * soft-fp/floatunsidf.c: Likewise.
8351 * soft-fp/floatunsisf.c: Likewise.
8352 * soft-fp/floatuntidf.c: Likewise.
8353 * soft-fp/floatuntisf.c: Likewise.
8354 * soft-fp/floatuntitf.c: Likewise.
8355 * soft-fp/fmadf4.c: Likewise.
8356 * soft-fp/fmasf4.c: Likewise.
8357 * soft-fp/fmatf4.c: Likewise.
8358 * soft-fp/gedf2.c: Likewise.
8359 * soft-fp/gesf2.c: Likewise.
8360 * soft-fp/getf2.c: Likewise.
8361 * soft-fp/ledf2.c: Likewise.
8362 * soft-fp/lesf2.c: Likewise.
8363 * soft-fp/letf2.c: Likewise.
8364 * soft-fp/muldf3.c: Likewise.
8365 * soft-fp/mulsf3.c: Likewise.
8366 * soft-fp/multf3.c: Likewise.
8367 * soft-fp/negdf2.c: Likewise.
8368 * soft-fp/negsf2.c: Likewise.
8369 * soft-fp/negtf2.c: Likewise.
8370 * soft-fp/op-1.h: Likewise.
8371 * soft-fp/op-2.h: Likewise.
8372 * soft-fp/op-4.h: Likewise.
8373 * soft-fp/op-8.h: Likewise.
8374 * soft-fp/op-common.h: Likewise.
8375 * soft-fp/quad.h: Likewise.
8376 * soft-fp/single.h: Likewise.
8377 * soft-fp/soft-fp.h: Likewise.
8378 * soft-fp/sqrtdf2.c: Likewise.
8379 * soft-fp/sqrtsf2.c: Likewise.
8380 * soft-fp/sqrttf2.c: Likewise.
8381 * soft-fp/subdf3.c: Likewise.
8382 * soft-fp/subsf3.c: Likewise.
8383 * soft-fp/subtf3.c: Likewise.
8384 * soft-fp/truncdfsf2.c: Likewise.
8385 * soft-fp/trunctfdf2.c: Likewise.
8386 * soft-fp/trunctfsf2.c: Likewise.
8387 * soft-fp/trunctfxf2.c: Likewise.
8388 * soft-fp/unorddf2.c: Likewise.
8389 * soft-fp/unordsf2.c: Likewise.
8390 * soft-fp/unordtf2.c: Likewise.
8391
17c48a60
OB
83922013-10-14 Ondřej Bílka <neleai@seznam.cz>
8393
8394 [BZ #15672]
8395 * misc/error.c (error_tail): Fix possible buffer overflow.
8396
cabba934
OB
83972013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8398
8399 [BZ #13028]
8400 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8401 address.
8402
94bf958a
PM
84032013-10-14 P. J. McDermott <pj@pehjota.net>
8404
8405 [BZ #832]
8406 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8407 testing pipefail option.
8408
71b4dea7
JM
84092013-10-12 Joseph Myers <joseph@codesourcery.com>
8410
8411 * soft-fp/double.h: Indent preprocessor directives inside #if.
8412 * soft-fp/extended.h: Likewise.
8413 * soft-fp/op-2.h: Likewise.
8414 * soft-fp/op-4.h: Likewise.
8415 * soft-fp/op-common.h: Likewise.
8416 * soft-fp/quad.h: Likewise.
8417 * soft-fp/single.h: Likewise.
8418 * soft-fp/soft-fp.h: Likewise.
8419
55602758
YC
84202013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8421
8422 * iconv/iconv_prog.c: Fix typos.
8423 * stdio-common/psiginfo-data.h: Likewise.
8424
9cd83302
RT
84252013-10-12 Reuben Thomas <rrt@sc3d.org>
8426
8427 [BZ #15764]
8428 * locale/setlocale.c: Fix typo.
8429
99fd9f47
JM
84302013-10-12 Joseph Myers <joseph@codesourcery.com>
8431
b7ea74f0
JM
8432 [BZ #16036]
8433 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8434 signaling NaN arguments.
8435 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8436 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8437
8a509447
JM
8438 [BZ #14910]
8439 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8440 unordered operands.
8441 * soft-fp/gesf2.c (__gesf2): Likewise.
8442 * soft-fp/getf2.c (__getf2): Likewise.
8443 * soft-fp/ledf2.c (__ledf2): Likewise.
8444 * soft-fp/lesf2.c (__lesf2): Likewise.
8445 * soft-fp/letf2.c (__letf2): Likewise.
8446
98998e9f
JM
8447 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8448 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8449 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8450 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8451 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8452 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8453 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8454 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8455 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8456 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8457 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8458 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8459 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8460 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8461 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8462 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8463 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8464 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8465 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8466 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8467 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8468 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8469 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8470 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8471 * soft-fp/floattidf.c (__floattidf): Likewise.
8472 * soft-fp/floattisf.c (__floattisf): Likewise.
8473 * soft-fp/floattitf.c (__floattitf): Likewise.
8474 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8475 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8476 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8477 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8478 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8479 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8480 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8481 * soft-fp/gesf2.c (__gesf2): Likewise.
8482 * soft-fp/getf2.c (__getf2): Likewise.
8483 * soft-fp/ledf2.c (__ledf2): Likewise.
8484 * soft-fp/lesf2.c (__lesf2): Likewise.
8485 * soft-fp/letf2.c (__letf2): Likewise.
8486
8edc4a11
JM
8487 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8488 Undefine and redefine.
8489 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8490 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8491 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8492 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8493 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8494 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8495 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8496 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8497 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8498 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8499 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8500 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8501 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8502 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8503 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8504
8399acaf
JM
8505 [BZ #16032]
8506 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8507 without decrementing exponent if mantissa >= that for the
8508 denominator, not >.
8509 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8510 denominator, not >. Decrement exponent in < case instead of
8511 incrementing in >= case.
8512 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8513 without decrementing exponent if mantissa >= that for the
8514 denominator, not >.
8515
99fd9f47
JM
8516 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8517 computing saturated result for unsigned overflow.
8518
10e1cf6b
SP
85192013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8520 Jeff Law <law@redhat.com>
8521
8522 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8523 (atan2Mp): Add systemtap probe marker.
8524 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8525 (__ieee754_log): Add systemtap probe marker.
8526 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8527 (atanMp): Add systemtap probe marker.
8528 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8529 (tanMp): Add systemtap probe marker.
8530 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8531 (__slowexp): Add systemtap probe marker.
8532 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8533 (__slowpow): Add systemtap probe marker.
8534 * manual/probes.texi: Document probes.
8535
3d110c7c
EB
85362013-10-11 Eric Biggers <ebiggers3@gmail.com>
8537
8538 [BZ #15362]
8539 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8540 written.
8541 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8542 written.
8543 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8544 written to buffer but not flushed.
8545 * libio/iofwrite_u.c: Likewise.
8546 * libio/iopadn.c: Return bytes returned even if EOF was
8547 encountered.
8548 * libio/iowpadn.c: Likewise.
8549 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8550 if _IO_padn does not write the whole buffer.
8551 [!COMPILE_WPRINTF] (PAD): Likewise.
8552
75b4202a
DM
85532013-10-10 David S. Miller <davem@davemloft.net>
8554
8555 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8556 directory block.
8557
6c6352e6
JM
85582013-10-10 Joseph Myers <joseph@codesourcery.com>
8559
33b853c3
JM
8560 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8561 instead of FSF address.
8562 * soft-fp/fixdfti.c: Likewise.
8563 * soft-fp/fixsfti.c: Likewise.
8564 * soft-fp/fixtfti.c: Likewise.
8565 * soft-fp/fixunsdfti.c: Likewise.
8566 * soft-fp/fixunssfti.c: Likewise.
8567 * soft-fp/fixunstfti.c: Likewise.
8568 * soft-fp/floattidf.c: Likewise.
8569 * soft-fp/floattisf.c: Likewise.
8570 * soft-fp/floattitf.c: Likewise.
8571 * soft-fp/floatuntidf.c: Likewise.
8572 * soft-fp/floatuntisf.c: Likewise.
8573 * soft-fp/floatuntitf.c: Likewise.
8574 * soft-fp/trunctfxf2.c: Likewise.
8575
6c6352e6
JM
8576 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8577 * soft-fp/fixdfti.c: Likewise.
8578 * soft-fp/fixsfti.c: Likewise.
8579 * soft-fp/fixtfti.c: Likewise.
8580 * soft-fp/fixunsdfti.c: Likewise.
8581 * soft-fp/fixunssfti.c: Likewise.
8582 * soft-fp/fixunstfti.c: Likewise.
8583 * soft-fp/floattidf.c: Likewise.
8584 * soft-fp/floattisf.c: Likewise.
8585 * soft-fp/floattitf.c: Likewise.
8586 * soft-fp/floatuntidf.c: Likewise.
8587 * soft-fp/floatuntisf.c: Likewise.
8588 * soft-fp/floatuntitf.c: Likewise.
8589 * soft-fp/trunctfxf2.c: Likewise.
8590
3bf78b71
DM
85912013-10-10 David S. Miller <davem@davemloft.net>
8592
8593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8594
6f10289e
JM
85952013-10-10 Joseph Myers <joseph@codsourcery.com>
8596
bd878fc0
JM
8597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8598 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8599 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8604
6f10289e
JM
8605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8606 for NaNs before doing comparisons on argument.
8607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8608 Likewise.
8609
321e2684
WN
86102013-10-10 Will Newton <will.newton@linaro.org>
8611
8612 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8613 passed to _int_memalign does not overflow.
8614
40fefba1
TR
86152013-10-10 Torvald Riegel <triegel@redhat.com>
8616
8617 * scripts/bench.pl: Add include-sources directive.
8618 * benchtests/README: Update documentation.
8619
2ae21ed2
JM
86202013-10-10 Joseph Myers <joseph@codesourcery.com>
8621
dcc2dd3f
JM
8622 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8623 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8624 instead of FP_INIT_ROUNDMODE.
8625 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8626 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8627
2ae21ed2
JM
8628 [BZ #16034]
8629 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8630 copy class of input value.
8631 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8632 not handle exceptions.
8633 * soft-fp/negsf2.c (__negsf2): Likewise.
8634 * soft-fp/negtf2.c (__negtf2): Likewise.
8635 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8636
cb8f9562
JM
86372013-10-09 Joseph Myers <joseph@codesourcery.com>
8638
8639 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8640 semicolon. From Linux kernel.
8641
5b60c59d
AB
86422013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8643
8644 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8645
b86835ca
YC
86462013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8647
8648 [BZ #156]
8649 * manual/socket.texi: Added statement about buffer
8650 for gethostbyname2_r.
8651
e7044ea7
OB
86522013-10-08 Ondřej Bílka <neleai@seznam.cz>
8653
8654 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8655 Use .p2align directive instead, throughout.
8656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8658 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8661 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8662 * sysdeps/x86_64/strchr.S: Likewise.
8663 * sysdeps/x86_64/strrchr.S: Likewise.
8664
09544cbc
SP
86652013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8666
88576635
SP
8667 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8668
e7b2d1dd
SP
8669 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8670
09544cbc
SP
8671 * sysdeps/generic/math_private.h (__mpsin1): Remove
8672 declaration.
8673 (__mpcos1): Likewise.
8674 (__mpsin): New argument __range_reduce.
8675 (__mpcos): Likewise.
8676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8677 (slow): Use __mpsin and __mpcos.
8678 (slow1): Likewise.
8679 (slow2): Likewise.
8680 (sloww): Likewise.
8681 (sloww1): Likewise.
8682 (sloww2): Likewise.
8683 (bsloww): Likewise.
8684 (bsloww1): Likewise.
8685 (bsloww2): Likewise.
8686 (cslow2): Likewise.
8687 (csloww): Likewise.
8688 (csloww1): Likewise.
8689 (csloww2): Likewise.
8690 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8691 range_reduce. Merge in __mpsin1.
8692 (__mpcos): Likewise.
8693 (__mpsin1): Remove.
8694 (__mpcos1): Likewise.
8695
7602d070
JM
86962013-10-07 Joseph Myers <joseph@codesourcery.com>
8697
8698 * locale/loadlocale.c (_nl_intern_locale_data): Use
8699 LOCFILE_ALIGNED_P.
8700 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8701 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8702 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8703 obstack data is appropriately aligned.
8704 (obstack_int32_grow_fast): Likewise.
8705 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8706 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8707 (add_locale_uint32_array): Likewise.
8708
a357259b
SP
87092013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8710
8711 * benchtests/Makefile: Remove ARGLIST and RET variables.
8712 ($(objpfx)bench-%.c): Pass only function name to the script.
8713 * benchtests/README: Update documentation.
8714 * benchtests/acos-inputs: Add new directives.
8715 * benchtests/acosh-inputs: Likewise.
8716 * benchtests/asin-inputs: Likewise.
8717 * benchtests/asinh-inputs: Likewise.
8718 * benchtests/atan-inputs: Likewise.
8719 * benchtests/atanh-inputs: Likewise.
8720 * benchtests/cos-inputs: Likewise.
8721 * benchtests/cosh-inputs: Likewise.
8722 * benchtests/exp-inputs: Likewise.
8723 * benchtests/log-inputs: Likewise.
8724 * benchtests/pow-inputs: Likewise.
8725 * benchtests/rint-inputs: Likewise.
8726 * benchtests/sin-inputs: Likewise.
8727 * benchtests/sinh-inputs: Likewise.
8728 * benchtests/tan-inputs: Likewise.
8729 * benchtests/tanh-inputs: Likewise.
8730 * scripts/bench.pl: Add support for new directives.
8731
9ec1b13d
AM
87322013-10-07 Alan Modra <amodra@gmail.com>
8733
8734 * README: Fix careless merge.
8735
8b7d57cd
AM
87362013-10-05 Alan Modra <amodra@gmail.com>
8737
8738 * NEWS: Mention powerpc64le support and bugs fixed.
8739 * README: Both big-endian and little-endian powerpc64 supported.
8740
7b7bab13
ST
87412013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8742
8743 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8744 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8745 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8746 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8747
d39baad1
RA
87482013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8749
8750 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8751 match prototype.
8752
cd78f7e7
JM
87532013-10-04 Joseph Myers <joseph@codesourcery.com>
8754
29d73d86
JM
8755 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8756 Move -mhard-float appending from
8757 ports/sysdeps/powerpc/powerpc32/Makefile.
8758 [$(with-fp) = yes] (ASFLAGS): Likewise.
8759 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8760 * sysdeps/powerpc/nofpu: Move directory from
8761 ports/sysdeps/powerpc/nofpu.
8762 * sysdeps/powerpc/soft-fp: Move directory from
8763 ports/sysdeps/powerpc/soft-fp.
8764 * sysdeps/powerpc/powerpc32/405: Move directory from
8765 ports/sysdeps/powerpc/powerpc32/405.
8766 * sysdeps/powerpc/powerpc32/440: Move directory from
8767 ports/sysdeps/powerpc/powerpc32/440.
8768 * sysdeps/powerpc/powerpc32/464: Move directory from
8769 ports/sysdeps/powerpc/powerpc32/464.
8770 * sysdeps/powerpc/powerpc32/476: Move directory from
8771 ports/sysdeps/powerpc/powerpc32/476.
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8782 * README: Update for powerpc-*-linux-gnu software floating point
8783 support in libc.
8784
e246b347
JM
8785 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8786 case to powerpc/powerpc32*.
8787 * sysdeps/unix/sysv/linux/configure: Regenerated.
8788
89c2003e
JM
8789 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8790 (_FPU_MASK_OM): Define as 0x04.
8791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8793 0x00c10080.
8794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8795 0x0000003c.
8796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8797
cd78f7e7
JM
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8800 getcontext_e500.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8803 setcontext_e500.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8805 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8806 and setcontext_e500.
8807
c755294d
CL
88082013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8809
8810 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8811
e16d221c
SP
88122013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8813
8814 * manual/threads.texi (Default Thread Attributes): Fix typo.
8815
215c7d43
WN
88162013-10-04 Will Newton <will.newton@linaro.org>
8817
8818 * malloc/Makefile: Add tst-memalign.
8819 * malloc/tst-memalign.c: New file.
8820
27d0461b
WN
8821 * malloc/tst-posix_memalign.c: Add comments.
8822 (do_test): Add comments and call free on all potentially
8823 allocated pointers. Add space after cast.
8824
1bc92709
WN
8825 * malloc/tst-pvalloc.c: Add comments.
8826 (do_test): Add comments and call free on all potentially
8827 allocated pointers. Remove duplicate check for NULL pointer.
8828 Add space after cast.
8829
66a9be9d
WN
8830 * malloc/tst-valloc.c: Add comments.
8831 (do_test): Add comments and call free on all potentially
8832 allocated pointers. Remove duplicate check for NULL pointer.
8833 Add space after cast.
8834
4cb81307
AM
88352013-10-04 Alan Modra <amodra@gmail.com>
8836
8837 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8838 Use stdint types in rather than __attribute__((mode())).
8839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8840
f8e3e9f3
AM
88412013-10-04 Alan Modra <amodra@gmail.com>
8842
8843 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8844 Correct handling of unaligned relocs for little-endian.
8845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8846
8f9ebb08
AM
88472013-10-04 Alan Modra <amodra@gmail.com>
8848
8849 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8850 * configure: Regenerate.
8851 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8852 * shlib-versions: Likewise.
8853
0edf96c2
AM
88542013-10-04 Alan Modra <amodra@gmail.com>
8855
8856 * string/tester.c (test_memrchr): Increment reported test cycle.
8857
e0f7a380
AM
88582013-10-04 Alan Modra <amodra@gmail.com>
8859
8860 * string/test-memcpy.c (do_one_test): When reporting errors, print
8861 string address and don't overrun end of string.
8862
466b0393
AM
88632013-10-04 Alan Modra <amodra@gmail.com>
8864
8865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8866 insrdi. Make better use of reg selection to speed exit slightly.
8867 Schedule entry path a little better. Remove useless "are we done"
8868 checks on entry to main loop. Handle wrapping around zero address.
8869 Correct main loop count. Handle single left-over word from main
8870 loop inline rather than by using loop_small. Remove extra word
8871 case in loop_small caused by wrong loop count. Add little-endian
8872 support.
8873 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8875 cache hint.
8876 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8878 support. Avoid rlwimi.
8879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8880
3be87c77
AM
88812013-10-04 Alan Modra <amodra@gmail.com>
8882
8883 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8884 insrdi. Formatting.
3be87c77
AM
8885 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8886 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8887 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8889 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8890 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8891
759cfef3
AM
88922013-10-04 Alan Modra <amodra@gmail.com>
8893
8894 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8898 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8902 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8903 use of regs. Use power7 mtocrf. Tidy function tails.
8904
fe6e95d7
AM
89052013-10-04 Alan Modra <amodra@gmail.com>
8906
8907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8908 Formatting. Consistently use rXXX register defines or rN defines.
8909 Use early exit labels that avoid restoring unused non-volatile regs.
8910 Make cr field use more consistent with rWORDn compares. Rename
8911 regs used as shift registers for unaligned loop, using rN defines
8912 for short lifetime/multiple use regs.
8913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8915 addi 1,1,64 to pop stack frame. Simplify return value code.
8916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8917
664318c3
AM
89182013-10-04 Alan Modra <amodra@gmail.com>
8919
8920 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8921 support. Correct typos, formatting. Optimize tail. Use insrdi
8922 rather than rlwimi.
8923 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8924 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8925 little-endian support. Correct typos.
8926 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8927 rather than rlwimi.
8928 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8929 in loop and entry code to keep "and." results.
8930 (strchr): Add little-endian support. Comment. Move cntlzd
8931 earlier in tail.
8932 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8933
43b84013
AM
89342013-10-04 Alan Modra <amodra@gmail.com>
8935
8936 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8937 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8938 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8939 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8940
8a7413f9
AM
89412013-10-04 Alan Modra <amodra@gmail.com>
8942
8943 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8944 (rTMP): Define as r11.
8945 (strcmp): Add little-endian support. Optimise tail.
8946 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8947 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8948 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8950 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8953
33ee81de
AM
89542013-10-04 Alan Modra <amodra@gmail.com>
8955
8956 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8957 little-endian support. Remove unnecessary "are we done" tests.
8958 Handle "s" wrapping around zero and extremely large "size".
8959 Correct main loop count. Handle single left-over word from main
8960 loop inline rather than by using small_loop. Correct comments.
8961 Delete "zero" tail, use "end_max" instead.
8962 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8963
db9b4570
AM
89642013-10-04 Alan Modra <amodra@gmail.com>
8965
8966 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8967 support. Don't branch over align.
8968 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8969 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8970 support. Rearrange tmp reg use to suit. Comment.
8971 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8972
f7c399cf
AM
89732013-10-04 Alan Modra <amodra@gmail.com>
8974
8975 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8976
0b2c2ace
AM
89772013-10-04 Alan Modra <amodra@gmail.com>
8978
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8980 conditional form of branch and link when obtaining pc.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8982
02f04a6c
AM
89832013-10-04 Alan Modra <amodra@gmail.com>
8984
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8986 HIWORD/LOWORD.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8989
9b874b2f
AM
89902013-10-04 Alan Modra <amodra@gmail.com>
8991
8992 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8993 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8995 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8999 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9000 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9002
be1e5d31
AB
90032013-10-04 Anton Blanchard <anton@au1.ibm.com>
9004 Alistair Popple <alistair@ozlabs.au.ibm.com>
9005 Alan Modra <amodra@gmail.com>
9006
9007 [BZ #15723]
9008 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9010 _dl_hwcap access for little-endian.
9011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9012 destroy vmx regs when saving unaligned.
9013 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9015 destroy vmx regs when saving unaligned.
9016
fef13a78
AM
90172013-10-04 Alan Modra <amodra@gmail.com>
9018
9019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9020 Don't use a union to pack hi/low value.
9021
76a66d51
AB
90222013-10-04 Anton Blanchard <anton@au1.ibm.com>
9023
9024 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9025 for little-endian.
9026 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9028 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9031
6a31fe7f
AM
90322013-10-04 Alan Modra <amodra@gmail.com>
9033
9034 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9035 constants to usual value for .cst8 section, and remove redundant
9036 high address load.
9037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9038 constant for 0x1p52. Load little-endian words of double from
9039 correct stack offsets.
9040
7b88401f
AM
90412013-10-04 Alan Modra <amodra@gmail.com>
9042
9043 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9044 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9045 words of double from correct stack offsets.
9046 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9047 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9048 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9050 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9059 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9060 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9061 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9062 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9063
9c008155
AM
90642013-10-04 Alan Modra <amodra@gmail.com>
9065
9066 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9067 64-bit int/double union.
9068 (_FPU_SETCW): Likewise.
9069 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9070 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9071
da13146d
AM
90722013-10-04 Alan Modra <amodra@gmail.com>
9073
9074 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9075 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9076
603e8410
AM
90772013-10-04 Alan Modra <amodra@gmail.com>
9078
9079 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9080 use vector int constants.
9081 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9082
4a28b3ca
AB
90832013-10-04 Anton Blanchard <anton@au1.ibm.com>
9084
9085 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9086 array with long long.
9087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9088 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9089 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9090 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9091 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9092 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9093 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9094 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9095 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9096 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9097 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9098 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9099 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9100
2ca85d2b
AB
91012013-10-04 Anton Blanchard <anton@au1.ibm.com>
9102
9103 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9104 (__signbit): Likewise. Correct for little-endian.
9105 (__signbitl): Call __signbit.
9106 (lrint): Correct for little-endian.
9107 (lrintf): Call lrint.
9108
62a728ae
AM
91092013-10-04 Alan Modra <amodra@gmail.com>
9110
9111 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9112 union 32-bit int array member with 64-bit int array.
9113 (t515, tm256): Double rather than long double.
9114 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9115
32c301df
AM
91162013-10-04 Alan Modra <amodra@gmail.com>
9117
9118 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9119 Delete.
9120 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9122 version of math_ldbl.h.
9123
650ef4bd
AM
91242013-10-04 Alan Modra <amodra@gmail.com>
9125
9126 [BZ #15734], [BZ #15735]
9127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9128 all uses of ieee875 long double macros and unions. Simplify test
9129 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9130 ldbl_extract_mantissa value for ix,iy exponents. Properly
9131 normalize after ldbl_extract_mantissa, and don't add hidden bit
9132 already handled. Don't treat low word of ieee854 mantissa like
9133 low word of IBM long double and mask off bit when testing for
9134 zero.
9135 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9136 all uses of ieee875 long double macros and unions. Simplify tests
9137 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9138 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9139 two1022, instead use their values. Recognise that tests for large
9140 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9142 Rewrite all uses of ieee875 long double macros and unions. Simplify
9143 test for 0.0L and nan. Correct negation.
9144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9145 ieee875 long double macros and unions. Correct output for large
9146 magnitude x. Correct absolute value calculation.
9147 (__erfcl): Likewise.
9148 * math/libm-test.inc: Add tests for errors discovered in IBM long
9149 double versions of fmodl, remainderl, erfl and erfcl.
9150
765714ca
AM
91512013-10-04 Alan Modra <amodra@gmail.com>
9152
9153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9154 all uses of ieee854 long double macros and unions. Simplify tests
9155 for long doubles that are fully specified by the high double.
9156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9157 Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9159 Remove dead code too.
9160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9161 (__ieee754_ynl): Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9165 Remove dead code too.
9166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9170 Simplify.
9171 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9172 Simplify.
9173 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9176 Comment on variable precision.
9177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9179 Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9185
4ebd120c
AM
91862013-10-04 Alan Modra <amodra@gmail.com>
9187
9188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9190 all uses of ieee854 long double macros and unions.
9191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9197 Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9204 Simplify sign and nan test too.
9205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9209 Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9212 Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9219
1b6adf88
AM
92202013-10-04 Alan Modra <amodra@gmail.com>
9221
9222 * stdio-common/printf_size.c (__printf_size): Don't use
9223 union ieee854_long_double in fpnum union.
9224 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9225 signbit macro to retrieve sign from long double.
9226 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9227 retrieve sign from long double.
9228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9229 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9230 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9231 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9232 * math/test-misc.c (main): Don't use union ieee854_long_double.
9233
4cf69995
AM
92342013-10-04 Alan Modra <amodra@gmail.com>
9235
9236 [BZ #15680]
9237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9238 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9239 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9240 calculation. Remove unnecessary test for denormal exponent.
9241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9242 Correct handling of denormals. Avoid undefined shift behaviour.
9243 Correct normalisation of low mantissa when low double is denormal.
9244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9245 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9246 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9247 Correct normalisation of low mantissa. Test for overflow of high
9248 mantissa and normalise.
9249 (ldbl_nearbyint): Use more readable constant for two52.
9250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9251 (__mpn_construct_long_double): Fix test for overflow of high
9252 mantissa and correct normalisation. Avoid undefined shift.
9253
9605ca6c
AM
92542013-10-04 Alan Modra <amodra@gmail.com>
9255
9256 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9257 (union ibm_extended_long_double): Define as an array of ieee754_double.
9258 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9259 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9260 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9269
975569d0
JM
92702013-10-03 Joseph Myers <joseph@codesourcery.com>
9271
d3d23756
JM
9272 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9273 page size instead of calling getpagesize.
9274
975569d0
JM
9275 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9276 (LOCFILE_ALIGN_MASK): Likewise.
9277 (LOCFILE_ALIGN_UP): Likewise.
9278 (LOCFILE_ALIGNED_P): Likewise.
9279 * locale/programs/ld-collate.c (collate_output): Use the new
9280 macros instead of __alignof__ (int32_t).
9281 * locale/weight.h (findidx): Likewise.
9282
b1fe1f2b
OB
92832013-10-03 Ondřej Bílka <neleai@seznam.cz>
9284
9285 [BZ #431]
9286 * manual/string.texi: Fix strncat and wcsncat.
9287
5f855e35
BM
92882013-10-03 Brooks Moses <bmoses@google.com>
9289
9290 [BZ #15915]
9291 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9292 * Makerules: ...here, and adjust associated comments.
9293
3cef6009
WN
92942013-10-02 Will Newton <will.newton@linaro.org>
9295
9296 * malloc/Makefile: Add tst-pvalloc.
9297 * malloc/tst-pvalloc.c: New file.
9298
7815420b
WN
92992013-10-02 Will Newton <will.newton@linaro.org>
9300
9301 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9302 improve test coverage.
9303
4868b204
WN
93042013-10-02 Will Newton <will.newton@linaro.org>
9305
9306 * malloc/Makefile: Add tst-posix_memalign.
9307 * malloc/tst-posix_memalign.c: New file.
9308
29c793b3
EB
93092013-10-01 Eric Blake <eblake@redhat.com>
9310
9311 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9312 Use __THROWNL rather than __THROW on static functions.
9313
fd967522
PM
93142013-09-30 Petr Machata <pmachata@redhat.com>
9315
9316 * elf/elf.h (R_AARCH64_ABS16): New macro.
9317 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9318 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9319 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9320 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9321 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9322 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9323 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9324 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9325 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9326 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9327 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9328 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9329 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9330 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9331 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9332 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9333 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9334 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9335 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9336 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9337 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9338 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9339 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9340 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9341 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9342 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9343 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9344 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9345 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9346 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9347 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9348 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9349 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9350 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9351 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9352 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9353 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9354 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9355 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9356 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9357 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9358 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9359 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9360 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9361 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9362 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9363 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9364 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9365 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9366 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9367 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9368 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9369 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9370 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9371 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9372 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9373 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9374 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9375 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9376 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9377 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9378 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9379 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9380 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9381 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9382 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9383 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9384 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9385 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9386 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9387 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9388 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9389 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9390 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9391 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9392 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9393 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9394 (R_AARCH64_TLSDESC_LDR): Likewise.
9395 (R_AARCH64_TLSDESC_ADD): Likewise.
9396 (R_AARCH64_TLSDESC_CALL): Likewise.
9397
b2179107
AS
93982013-09-30 Andreas Schwab <schwab@suse.de>
9399
9400 [BZ #15048]
9401 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9402 the nss database lookup.
9403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9405
47f28d0a
MF
94062013-09-28 Mike Frysinger <vapier@gentoo.org>
9407
9408 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9409
94102013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9411
9412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9413 ${Bash-specific parameter/pattern/string} parameter expansion.
9414 * sysdeps/unix/make-syscalls.sh: Likewise.
9415
f4518a17
KK
94162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9417
9418 * sysdeps/sh/stackguard-macros.h: New file.
9419
dc1a95c7
OB
94202013-09-26 Ondřej Bílka <neleai@seznam.cz>
9421
9422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9424 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9425 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9427 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9428
5ebbff8f
AZ
94292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430
9431 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9432 Fix thread ID register.
9433
4fd2cf9f
JM
94342013-09-25 Joseph Myers <joseph@codesourcery.com>
9435
9436 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9437 [POSIX || UNIX98]: Require rather than permitting all symbols from
9438 <time.h>.
9439 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9440 element of struct sched_param.
9441 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9442 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9443 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9444 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9445 constant.
9446
12c22bc4
OL
94472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9448
9449 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9450 argument calculation.
9451
a03d8ea7
JM
94522013-09-24 Joseph Myers <joseph@codesourcery.com>
9453
9454 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9455 Expect macro.
9456 [POSIX] (pthread_attr_t): Do not require type.
9457 [POSIX] (pthread_cond_t): Likewise.
9458 [POSIX] (pthread_condattr_t): Likewise.
9459 [POSIX] (pthread_key_t): Likewise.
9460 [POSIX] (pthread_mutex_t): Likewise.
9461 [POSIX] (pthread_mutexattr_t): Likewise.
9462 [POSIX] (pthread_once_t): Likewise.
9463 [POSIX] (pthread_t): Likewise.
9464 [POSIX-based standards] (pthread_atfork): Expect function.
9465
6055173a
JM
94662013-09-24 Joseph Myers <joseph@codesourcery.com>
9467 Richard Sandiford <richard@codesourcery.com>
9468
9469 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9470 (swap_endianness_p): New extern variable.
9471 (set_big_endian): New inline function.
9472 (maybe_swap_uint32): Likewise.
9473 (maybe_swap_uint32_array): Likewise.
9474 (maybe_swap_uint32_obstack): Likewise.
9475 * locale/programs/locfile.c: Include <stdbool.h>.
9476 (swap_endianness_p): New variable.
9477 (add_locale_uint32): Call maybe_swap_uint32.
9478 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9479 (write_locale_data): Call maybe_swap_uint32_array.
9480 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9481 maybe_swap_uint32.
9482 (obstack_int32_grow_fast): Likewise.
9483 (output_weightwc): Call maybe_swap_uint32_obstack.
9484 (collate_output): Likewise.
9485 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9486 (OPT_LITTLE_ENDIAN): Likewise.
9487 (options): Add --little-endian and --big-endian options.
9488 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9489 * locale/programs/locarchive.c: Include "locfile.h".
9490 (GET): New macro.
9491 (SET): Likewise.
9492 (INC): Likewise.
9493 (create_archive): Use the new macros to access fields of
9494 structures directly mapped from or written to locale archives.
9495 (oldlocrecentcmp): Likewise.
9496 (enlarge_archive): Likewise.
9497 (insert_name): Likewise.
9498 (add_alias): Likewise.
9499 (add_locale): Likewise.
9500 (delete_locales_from_archive): Likewise.
9501 (show_archive_content): Likewise.
9502 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9503 locale data.
9504
39bf0bb4
RM
95052013-09-24 Roland McGrath <roland@hack.frob.com>
9506
9507 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9508 http://www.gnu.org/doc/freemanuals.texi.
9509 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9510
f02eed10
WN
95112013-09-24 Will Newton <will.newton@linaro.org>
9512
9513 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9514 macro.
9515
a3a6c312
JM
95162013-09-23 Joseph Myers <joseph@codesourcery.com>
9517
9518 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9519 unsigned char.
9520
107375ac
MR
95212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9522
9523 * manual/threads.texi (POSIX Threads): Fix a typo.
9524
141f3a77
SP
95252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9526
303e567a
SP
9527 [BZ #14547]
9528 * string/tst-strcoll-overflow.c: New test case.
9529 * string/Makefile (xtests): Add tst-strcoll-overflow.
9530 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9531 cache if string sizes may cause integer overflow.
9532
141f3a77
SP
9533 [BZ #14547]
9534 * string/strcoll_l.c (coll_seq): New members rule, idx,
9535 save_idx and back_us.
9536 (get_next_seq_nocache): New function.
9537 (do_compare_nocache): New function.
9538 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9539 when malloc fails.
9540
c61b4d41
CD
95412013-09-23 Carlos O'Donell <carlos@redhat.com>
9542
0b1f8e35
CD
9543 [BZ #15754]
9544 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9545 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9546 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9547
c61b4d41
CD
9548 [BZ #15754]
9549 * elf/Makefile (tests): Add tst-ptrguard1.
9550 (tests-static): Add tst-ptrguard1-static.
9551 (tst-ptrguard1-ARGS): Define.
9552 (tst-ptrguard1-static-ARGS): Define.
9553 * elf/tst-ptrguard1.c: New file.
9554 * elf/tst-ptrguard1-static.c: New file.
9555 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9556 * sysdeps/i386/stackguard-macros.h: Likewise.
9557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9563
95642013-09-23 Hector Marco <hecmargi@upv.es>
9565 Ismael Ripoll <iripoll@disca.upv.es>
9566 Carlos O'Donell <carlos@redhat.com>
9567
9568 [BZ #15754]
9569 * sysdeps/generic/stackguard-macros.h: Define
9570 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9571 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9572 Define __pointer_chk_guard_local.
9573 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9574 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9575
f5f4e7b4
VV
95762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9577
9578 [BZ #15859]
9579 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9580
5bb43a43
AS
95812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9582
9583 * include/string.h (__ffs): Declare as hidden.
9584 * string/ffs.c (__ffs): Define as hidden.
9585 * sysdeps/i386/ffs.c (__ffs): Likewise.
9586 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9587 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9588 * sysdeps/s390/ffs.c (__ffs): Likewise.
9589 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9590
3ea5be54
AO
95912013-09-20 Alexandre Oliva <aoliva@redhat.com>
9592
ffb89e53
AO
9593 * NEWS: Mention malloc probes.
9594
322dea08
AO
9595 * malloc/arena.c (new_heap): New memory_heap_new probe.
9596 (grow_heap): New memory_heap_more probe.
9597 (shrink_heap): New memory_heap_less probe.
9598 (heap_trim): New memory_heap_free probe.
9599 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9600 (systrim): New memory_sbrk_less probe.
9601 * manual/probes.texi: Document them.
9602
655673f3
AO
9603 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9604 * manual/probes.texi: Document it.
9605
35fed6f1
AO
9606 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9607 (__libc_realloc): Add memory_realloc_retry probe.
9608 (__libc_memalign): Add memory_memalign_retry probe.
9609 (__libc_valloc): Add memory_valloc_retry probe.
9610 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9611 (__libc_calloc): Add memory_calloc_retry probe.
9612 * manual/probes.texi: Document them.
9613
6999d38c
AO
9614 * malloc/arena.c (get_free_list): Add probe
9615 memory_arena_reuse_free_list.
9616 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9617 and memory_arena_reuse.
9618 (arena_get2) [!PER_THREAD]: Likewise.
9619 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9620 memory_arena_reuse_realloc.
9621 * manual/probes.texi: Document them.
9622
0653427f
AO
9623 * malloc/malloc.c (__libc_free): Add
9624 memory_mallopt_free_dyn_thresholds probe.
9625 (__libc_mallopt): Add multiple memory_mallopt probes.
9626 * manual/probes.texi: Document them.
9627
3ea5be54
AO
9628 * malloc/malloc.c: Include stap-probe.h.
9629 (__libc_mallopt): Add memory_mallopt probe.
9630 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9631 * manual/probes.texi: New.
9632 * manual/Makefile (chapters): Add probes.
9633 * manual/threads.texi: Set next node.
9634
e35696c3 96352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9636
e35696c3
CL
9637 [BZ #15963, #13985]
9638 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9639 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9640 Add `Chinese' to `nan' entry name.
9641
4aafb73c
SP
96422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9643
9644 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9645 (POLYNOMIAL): Likewise.
9646 (TAYLOR_SINCOS): Likewise.
9647 (TAYLOR_SLOW): Likewise.
9648 (__sin): Use TAYLOR_SINCOS.
9649 (__cos): Likewise.
9650 (slow): Use TAYLOR_SLOW.
9651 (sloww): Likewise.
9652 (bsloww): Likewise.
9653 (csloww): Likewise.
9654
d84f25c7
LD
96552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9656
9657 * stdlib/strtod_l.c: Fix buffer overrun.
9658
5eea0404
SP
96592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9660
7849ff93
SP
9661 * benchtests/Makefile (bench): Add sincos.
9662 * benchtests/bench-sincos.c: New file.
9663
cfa3c886
SP
9664 * math/libm-test.inc (cos_test_data): New test inputs.
9665 (sin_test_data): Likewise.
9666
b348e1e3
SP
9667 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9668 macro.
9669 (__sin): Use it.
9670 (__cos): Likewise.
9671 (slow1): Likewise.
9672 (slow2): Likewise.
9673 (sloww1): Likewise.
9674 (sloww2): Likewise.
9675 (bsloww1): Likewise.
9676 (bsloww2): Likewise.
9677 (cslow2): Likewise.
9678 (csloww1): Likewise.
9679 (csloww2): Likewise.
9680
6cce25f8
SP
9681 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9682 function.
9683 (__sin): Use it.
9684 (__cos): Likewise.
9685
5eea0404
SP
9686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9687 gotos.
9688 (__cos): Likewise.
9689
9c21573c
MR
96902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9691
9692 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9693 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9694 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9695 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9696 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9697 * elf/cache.c (print_entry): Handle the new cache flags.
9698
24d22e65
JM
96992013-09-18 Joseph Myers <joseph@codesourcery.com>
9700 Aldy Hernandez <aldyh@redhat.com>
9701
9702 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9703 Change condition to [_SOFT_FLOAT].
9704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9716 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9719 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9720 declaration.
9721
d13ef066
JM
97222013-09-18 Joseph Myers <joseph@codesourcery.com>
9723
2e071de0
JM
9724 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9725 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9726 (__longjmp): Use LOAD_GP to load saved GPRs.
9727 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9728 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9729 (__sigsetjmp): Use SAVE_GP to save GPRs.
9730
d13ef066
JM
9731 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9732 Do not append -msoft-float.
9733 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9734
97a0650b
SP
97352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9736
9737 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9738
11ca09e9
JM
97392013-09-17 Joseph Myers <joseph@codesourcery.com>
9740
9741 [BZ #15966]
9742 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9743 (_FPU_GETCW): Use initial "__" on variable and field names but not
9744 on macro parameter name.
9745 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9746 parentheses around reference to macro parameter.
9747
08ffcf34
RS
97482013-09-13 Richard Sandiford <richard@codesourcery.com>
9749
9750 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9751 prototype.
9752 (ctype_startup): Use uint32_t in cast and sizeof for
9753 ctype->charnames.
9754
ae7080d3
JL
97552013-09-11 Jia Liu <proljc@gmail.com>
9756
9757 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9758 __daddr_t_defined.
9759 [__FreeBSD__]: Likewise.
9760
5905e7b3
OB
97612013-09-11 Ondřej Bílka <neleai@seznam.cz>
9762
9763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9764 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9765 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9766 (strchr): Remove __strchr_sse42 ifunc selection.
9767 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9768 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9769
b987c776
WN
97702013-09-11 Will Newton <will.newton@linaro.org>
9771
9772 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9773 parameter to RES. Remove hardcoded 1000 value.
9774 * benchtests/bench-skeleton.c (main): Pass RES parameter
9775 to TIMING_INIT and multiply result by 1000.
9776
ddf985af
AZ
97772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9778
9779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9780
ffdd3181
AS
97812013-09-11 Andreas Schwab <schwab@suse.de>
9782
9783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9784 if not defined.
9785 (O_TMPFILE) [__USE_GNU]: Define.
9786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9787 Define.
9788
b73ed247
WN
97892013-09-11 Will Newton <will.newton@linaro.org>
9790
9791 [BZ #15857]
9792 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9793 does not overflow.
9794
55e17aad
WN
97952013-09-11 Will Newton <will.newton@linaro.org>
9796
9797 [BZ #15856]
9798 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9799 does not overflow.
9800
1159a193
WN
98012013-09-11 Will Newton <will.newton@linaro.org>
9802
9803 [BZ #15855]
9804 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9805 does not overflow.
9806
5905e7b3 98072013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9808
9809 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9814
cdfc721b
AM
98152013-09-10 Allan McRae <allan@archlinux.org>
9816
aa04af00
AM
9817 [BZ #15748]
9818 * manual/arith.texi (Parsing of Floats): Clarify
9819 cross-reference.
9820
cdfc721b
AM
9821 [BZ #15849]
9822 * manual/install.texi (Running make install): Mention
9823 --enable-pt-chown.
9824 * INSTALL: Regenerated.
9825
95e7cf29
MR
98262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9827
9828 * csu/init-first.c (_init): Remove the !SHARED condition around
9829 FPU control word initialization.
9830 * elf/dl-support.c (_dl_fpu_control): New variable.
9831 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9832 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9833 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9834 * math/test-fpucw-static.c: New file.
9835 * math/test-fpucw-ieee.c: New file.
9836 * math/test-fpucw-ieee-static.c: New file.
9837 * math/Makefile (tests): Add `test-fpucw-ieee' and
9838 `$(tests-static)'.
9839 (tests-static): New variable.
9840 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9841 dependency to...
9842 [($(build-shared),yes)]
9843 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9844 ... this.
9845 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9846 New dependency.
9847
83e43bf0
AM
98482013-09-09 Allan McRae <allan@archlinux.org>
9849
a9f5ce09
AM
9850 [BZ #15939]
9851 * manual/string.texi (Collation Functions): Fix typo in
9852 strcoll example.
9853 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9854
34829bc2
AM
9855 [BZ #15893]
9856 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9857
3932737d
AM
9858 [BZ #15892]
9859 * libio/memstream.c (open_memstream): Fix memory leak.
9860 * libio/wmemstream.c (open_wmemstream): Likewise.
9861
83e43bf0
AM
9862 [BZ #15895]
9863 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9864
0c66b8e9
WN
98652013-09-09 Will Newton <will.newton@linaro.org>
9866
9867 * malloc/Makefile: Add tst-realloc to tests.
9868 * malloc/tst-realloc.c: New file.
9869
f6b00fd1
AM
98702013-09-09 Allan McRae <allan@archlinux.org>
9871
9872 [BZ #15844]
9873 * COPYING: Update from GNU website to fix FSF address.
9874 * COPYING.LIB: Likewise.
9875
eec55e16
DM
98762013-09-06 David S. Miller <davem@davemloft.net>
9877
9878 * po/zh_TW.po: Update Chinese (traditional) translation from
9879 translation project.
9880
1ecbb381
RS
98812013-09-06 Richard Sandiford <richard@codesourcery.com>
9882 Joseph Myers <joseph@codesourcery.com>
9883
9884 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9885 "localeinfo.h".
9886 (obstack_chunk_alloc): New macro.
9887 (obstack_chunk_free): Likewise.
9888 (record_offset): New function.
9889 (init_locale_data): Likewise.
9890 (align_locale_data): Likewise.
9891 (add_locale_empty): Likewise.
9892 (add_locale_raw_data): Likewise.
9893 (add_locale_raw_obstack): Likewise.
9894 (add_locale_string): Likewise.
9895 (add_locale_wstring): Likewise.
9896 (add_locale_uint32): Likewise.
9897 (add_locale_uint32_array): Likewise.
9898 (add_locale_char): Likewise.
9899 (start_locale_structure): Likewise.
9900 (end_locale_structure): Likewise.
9901 (start_locale_prelude): Likewise.
9902 (end_locale_prelude): Likewise.
9903 (write_locale_data): Take locale_file structure rather than an
9904 iovec.
9905 * locale/programs/locfile.h: Include "obstack.h".
9906 (struct locale_file): Change to store locale file contents instead
9907 of header.
9908 (init_locale_data): New prototype.
9909 (align_locale_data): Likewise.
9910 (add_locale_empty): Likewise.
9911 (add_locale_raw_data): Likewise.
9912 (add_locale_raw_obstack): Likewise.
9913 (add_locale_string): Likewise.
9914 (add_locale_wstring): Likewise.
9915 (add_locale_uint32): Likewise.
9916 (add_locale_uint32_array): Likewise.
9917 (add_locale_char): Likewise.
9918 (start_locale_structure): Likewise.
9919 (end_locale_structure): Likewise.
9920 (start_locale_prelude): Likewise.
9921 (end_locale_prelude): Likewise.
9922 (write_locale_data): Update prototype.
9923 * locale/programs/3level.h (struct TABLE): Remove result field.
9924 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9925 Use new locale_file interface.
9926 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9927 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9928 * locale/programs/ld-address.c (address_output): Use new
9929 locale_file interface.
9930 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9931 NO_ADD_LOCALE.
9932 (collate_finish): Don't call collseq_table_finalize.
9933 (collate_output): Use new locale_file interface.
9934 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9935 in file.
9936 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9937 (TABLE): Move defines earlier in file.
9938 (ELEMENT): Likewise.
9939 (DEFAULT): Likewise.
9940 (wctrans_table_add): Move macro and inline function earlier in
9941 file.
9942 (struct wctype_table): Move type earlier in file.
9943 (add_locale_wctype_table): New static prototype.
9944 (struct locale_ctype_t): Use logical types instead of struct iovec
9945 pointers for members.
9946 (ctype_output): Use new locale_file interface.
9947 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9948 new locale_file interface.
9949 (allocate_arrays): Update for use of new locale_file interface.
9950 * locale/programs/ld-identification.c (identification_output): Use
9951 new locale_file interface.
9952 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9953 * locale/programs/ld-messages.c (messages_output): Likewise.
9954 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9955 * locale/programs/ld-name.c (name_output): Likewise.
9956 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9957 * locale/programs/ld-paper.c (paper_output): Likewise.
9958 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9959 * locale/programs/ld-time.c (time_output): Likewise.
9960
e029e2e5
AZ
99612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9962
9963 * benchtests/Makefile: Add memrchr benchmark.
9964 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9965 benchmark as memrchr.
9966 * benchtests/bench-memrchr-ifunc.c: New file.
9967 * benchtests/bench-memrchr.c: New file.
9968
bbf6e8e4
WN
99692013-09-06 Will Newton <will.newton@linaro.org>
9970
9971 * benchtests/Makefile (string-bench): Add memcpy.
9972
6c82a2f8
CD
99732013-09-05 Carlos O'Donell <carlos@redhat.com>
9974 Cong Wang <amwang@redhat.com>
9975
e732c5f0 9976 [BZ #15850]
6c82a2f8
CD
9977 * sysdeps/unix/sysv/linux/bits/in.h
9978 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9979 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9980 before __USE_KERNEL_IPV6_DEFS uses.
9981 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9982 IPPROTO_BEETPH.
9983 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9984 sockaddr_in6, or ipv6_mreq.
9985
5430fc65
AZ
99862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987
9988 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9989 memory access for final bytes in some large inputs.
9990 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9991
4660856c
AZ
99922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * string/test-memrchr.c: New file.
9995 * string/test-memrchr-ifunc.c: New file.
9996 * string/Makefile: Add new memrchr testcase.
9997
bb8ea713
MF
99982013-09-05 Mike Frysinger <vapier@gentoo.org>
9999
10000 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10001 fanotify_init returns EPERM.
10002
b92a20b5
JM
100032013-09-04 Joseph Myers <joseph@codesourcery.com>
10004
10005 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10006 errors.
10007 (top level): Treat second token from macro or constant entries for
10008 allowed headers as allowed.
10009 * include/complex.h: Condition internal declarations on
10010 [!_ISOMAC].
10011 * include/fenv.h: Condition include of <stdbool.h> and internal
10012 declarations on [!_ISOMAC].
7447ccd9
CL
10013
100142013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10015
3e181dda 10016 [BZ #15923]
7447ccd9
CL
10017 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10018
3f2e46a4
JM
100192013-09-04 Joseph Myers <joseph@codesourcery.com>
10020
10021 * configure.in (--enable-versioning): Remove configure option.
10022 (libc_cv_asm_symver_directive): Remove configure test.
10023 (libc_cv_ld_version_script_option): Likewise.
10024 (VERSIONING): Remove variable and AC_SUBST.
10025 (DO_VERSIONING): Remove AC_DEFINE.
10026 * configure: Regenerated.
10027 * config.h.in (DO_VERSIONING): Remove macro.
10028 * Makerules [$(versioning) = yes]: Change conditionals to
10029 [$(build-shared) = yes].
10030 * config.make.in (versioning): Remove variable.
10031 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10032 [$(build-shared) = yes].
10033 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10034 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10035 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10036 [$(build-shared) = yes].
10037 * extra-lib.mk [$(versioning) = yes]: Likewise.
10038 * hurd/Makefile [$(versioning) = yes]: Likewise.
10039 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10040 [SHARED].
10041 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10042 [SHARED].
10043 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10044 [SHARED && !NO_HIDDEN].
10045 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10046 [SHARED].
10047 [SHARED && DO_VERSIONING]: Likewise..
10048 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10049 [$(build-shared) = yes].
10050 * manual/install.texi (--disable-versioning): Remove
10051 documentation.
10052 * INSTALL: Regenerated.
10053 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10054 to [SHARED].
10055 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10056 [$(build-shared) = yes].
10057 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10058 * sysdeps/i386/i686/multiarch/strstr-c.c
10059 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10060 [SHARED && !NO_HIDDEN].
10061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10062 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10063 * sysdeps/powerpc/powerpc32/dl-machine.c
10064 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10065 * sysdeps/powerpc/powerpc32/sysdep.h
10066 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10067 to [SHARED && PIC && !NO_HIDDEN].
10068 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10069 conditional to [SHARED].
10070
44558701
WN
100712013-09-04 Will Newton <will.newton@linaro.org>
10072
10073 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10074 * benchtests/bench-string.h: Include bench-timing.h instead
10075 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10076 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10077 call to HP_TIMING_DIFF_INIT.
10078 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10079 instead of hp-timing.h macros.
10080 * benchtests/bench-memchr.c: Likewise.
10081 * benchtests/bench-memcmp.c: Likewise.
10082 * benchtests/bench-memcpy.c: Likewise.
10083 * benchtests/bench-memmem.c: Likewise.
10084 * benchtests/bench-memmove.c: Likewise.
10085 * benchtests/bench-memset.c: Likewise.
10086 * benchtests/bench-rawmemchr.c: Likewise.
10087 * benchtests/bench-strcasecmp.c: Likewise.
10088 * benchtests/bench-strcasestr.c: Likewise.
10089 * benchtests/bench-strcat.c: Likewise.
10090 * benchtests/bench-strchr.c: Likewise.
10091 * benchtests/bench-strcmp.c: Likewise.
10092 * benchtests/bench-strcpy.c: Likewise.
10093 * benchtests/bench-strcpy_chk.c: Likewise.
10094 * benchtests/bench-strlen.c: Likewise.
10095 * benchtests/bench-strncasecmp.c: Likewise.
10096 * benchtests/bench-strncat.c: Likewise.
10097 * benchtests/bench-strncmp.c: Likewise.
10098 * benchtests/bench-strncpy.c: Likewise.
10099 * benchtests/bench-strnlen.c: Likewise.
10100 * benchtests/bench-strpbrk.c: Likewise.
10101 * benchtests/bench-strrchr.c: Likewise.
10102 * benchtests/bench-strspn.c: Likewise.
10103 * benchtests/bench-strstr.c: Likewise.
10104
cae16d66
WN
101052013-09-04 Will Newton <will.newton@linaro.org>
10106
10107 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10108
ffa3cd7f
JM
101092013-09-03 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #15427]
10112 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10113 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10114 * math/libm-test.inc (lgamma_test_data): Add more tests.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10117
8f02859f
OB
101182013-09-03 Ondřej Bílka <neleai@seznam.cz>
10119
10120 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10122 Add ifunc.
10123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10124 Add strcmp-sse2-unaligned
10125 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10126
18d43716
MF
101272013-09-02 Mike Frysinger <vapier@gentoo.org>
10128
10129 * Versions.def (libc): Add GLIBC_2.19.
10130
ac444012
MF
101312013-09-02 Mike Frysinger <vapier@gentoo.org>
10132
10133 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10134 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10135
b7835e32
JM
101362013-09-02 Joseph Myers <joseph@codesourcery.com>
10137
10138 [BZ #14155]
10139 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10140 intermediate calculations in recurrence.
10141 (__ieee754_ynf): Likewise.
10142 * math/libm-test.inc (jn_test_data): Do not allow spurious
10143 underflow exception. Add more tests.
10144 (yn_test_data): Add more tests.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147
8220f4f0
OB
101482013-09-02 Ondřej Bílka <neleai@seznam.cz>
10149
10150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10151
f24a6d08
OB
101522013-08-30 Ondřej Bílka <neleai@seznam.cz>
10153
10154 * csu/init-first.c: Fix then/than typos.
10155 * locale/programs/ld-collate.c: Likewise.
10156 * locale/programs/linereader.h: Likewise.
10157 * manual/charset.texi: Likewise.
10158 * manual/filesys.texi: Likewise.
10159 * manual/stdio.texi: Likewise.
10160 * manual/string.texi: Likewise.
10161 * stdlib/fmtmsg.c: Likewise.
10162 * sysdeps/i386/stpncpy.S: Likewise.
10163 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10164 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10166 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10167
382466e0
OB
101682013-08-30 Ondřej Bílka <neleai@seznam.cz>
10169
10170 * elf/dl-open.c: Fix typos.
10171 * iconvdata/gbbig5.c: Likewise.
10172 * iconvdata/iso-2022-jp.c: Likewise.
10173 * iconv/gconv_int.h: Likewise.
10174 * iconv/loop.c: Likewise.
10175 * nis/rpcsvc/nis.h: Likewise.
10176 * resolv/ns_name.c: Likewise.
10177 * stdio-common/vfscanf.c: Likewise.
10178 * streams/stropts.h: Likewise.
10179 * sunrpc/rpc_thread.c: Likewise.
10180 * sysdeps/i386/strpbrk.S: Likewise.
10181 * sysdeps/ieee754/k_standard.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10184 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10185 * sysdeps/mach/hurd/profil.c: Likewise.
10186 * sysdeps/s390/dl-procinfo.h: Likewise.
10187 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10188 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10190 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10191 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10192
0186c6e9
OB
101932013-08-30 Ondřej Bílka <neleai@seznam.cz>
10194
10195 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10197
d4e16af1
OB
101982013-08-29 Ondřej Bílka <neleai@seznam.cz>
10199
10200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10201 aix specific files.
10202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10205 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10207 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10209 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10210
88335980
TS
102112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10212 Roland McGrath <roland@hack.frob.com>
10213
10214 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10215 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10216
ed479b02
ST
102172013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218
10219 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10220 __executable_start symbol instead of _start.
10221
f1cc4c86
TS
102222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10223
d821f07c
TS
10224 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10225 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10226 Move macros to...
10227 * sysdeps/gnu/ldsodefs.h: ... this new file.
10228
c54290cf
TS
10229 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10230 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10231 instead of ELFOSABI_LINUX.
10232
0007fc9b 10233 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10234 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10235 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10236 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10237 Likewise.
10238 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10239 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10241 Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10243 (ibm_extended_long_double): Add ieee_nan member.
10244 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10245 (do_test): New function.
10246
f1cc4c86
TS
10247 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10248 TEST_TRUNC.
10249 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10250 functions, renamed from truncdfsf_test, trunctfsf_test,
10251 trunctfdf_test.
10252 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10253 functions.
10254 (do_test): Run all these.
10255
6f65e668
OB
102562013-08-29 Ondřej Bílka <neleai@seznam.cz>
10257
10258 * argp/argp-help.c: Fix typos.
10259 * argp/argp-parse.c: Likewise.
10260 * debug/backtracesyms.c: Likewise.
10261 * elf/elf.h: Likewise.
10262 * malloc/malloc.c: Likewise.
10263 * nis/nis_print.c: Likewise.
10264 * resolv/res_comp.c: Likewise.
10265 * stdlib/stdlib.h: Likewise.
10266 * sunrpc/clnt_tcp.c: Likewise.
10267 * sunrpc/clnt_udp.c: Likewise.
10268 * sunrpc/clnt_unix.c: Likewise.
10269 * sysdeps/unix/bsd/ptsname.c: Likewise.
10270 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10271 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10273 Likewise.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10275 Likewise.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10277 Likewise.
6f65e668
OB
10278 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10279
3a309239
SP
102802013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10281
10282 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10284
3b813b29
MF
102852013-08-27 Mike Frysinger <vapier@gentoo.org>
10286
10287 [BZ #15897]
10288 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10289 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10290 ($(objpfx)bug-dl-leaf): New rule.
10291 ($(objpfx)bug-dl-leaf.so): Likewise.
10292 ($(objpfx)bug-dl-leaf.out): Likewise.
10293 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10294 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10295 * dlfcn/bug-dl-leaf.c: New test.
10296 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10297 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10298 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10299 (dlclose): Likewise.
10300 (dlmopen): Likewise.
10301
8cc3269f
RM
103022013-08-27 Roland McGrath <roland@hack.frob.com>
10303
7f9d0034
RM
10304 * include/netdb.h [!_ISOMAC]:
10305 Don't include <tls.h>.
10306 (h_errno, __libc_h_errno): Move declaration and macros out of
10307 [_LIBC_REENTRANT].
10308
fb431262
RM
10309 * include/resolv.h [_RESOLV_H_]:
10310 Don't include <tls.h>.
10311 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10312 * resolv/res_libc.c: Don't include <tls.h>.
10313 (_res): Use __attribute__ ((nocommon)) in place of
10314 __attribute__ ((section (".bss"))).
10315
bd81123a
RM
10316 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10317 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10318
c4e42566
RM
10319 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10320
f890a59b
RM
10321 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10322 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10323
10324 * resolv/res_mkquery.c: Include <sys/time.h>.
10325
5d1f0a09
RM
10326 * inet/ifreq.c: Moved to ...
10327 * sysdeps/unix/ifreq.c: ... here.
10328 * inet/ifreq.c: New file, true stub version.
10329
6fcf28b3
RM
10330 * socket/sa_len.c: New file.
10331 * socket/Makefile (aux): Add it.
10332 * sysdeps/unix/sysv/linux/Makefile
10333 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10334 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10335 and #include <socket/sa_len.c>.
10336 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10337 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10338
e041fb8b
RM
10339 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10340 * bits/socket.h: ... here.
10341
8cc3269f
RM
10342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10343 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10344 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10345
5d228a43
AS
103462013-08-27 Andreas Schwab <schwab@suse.de>
10347
45b8accc
AS
10348 [BZ #15736]
10349 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10350 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10351 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10352 * string/test-strcasecmp.c (test_main): Run tests in several
10353 locales.
10354 * string/test-strncasecmp.c (test_main): Likewise.
10355
5d228a43
AS
10356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10357 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10358 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10360 (__strncasecmp_ssse3) [PIC]: Likewise.
10361
59d112a4
RM
103622013-08-26 Roland McGrath <roland@hack.frob.com>
10363
53234cc3
RM
10364 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10365
59d112a4
RM
10366 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10367 instead of explicitly declaring xdecrypt.
10368 * nis/nss_nis/nis-publickey.c: Likewise.
10369
595aba70
SP
103702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10371
10372 [BZ #15890]
10373 * nscd/aicache.c: Include res_hconf.h.
10374 (addhstaiX): Initialize res_hconf.
10375
ffabd393
AS
103762013-08-26 Andreas Schwab <schwab@suse.de>
10377
10378 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10379 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10380
e0a69f5c
SP
103812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10382
10383 * nscd/aicache.c (addhstaiX): Fix indentation.
10384
8c12f01d
MF
103852013-08-25 Mike Frysinger <vapier@gentoo.org>
10386
10387 * configure.ac: Quote $build_pt_chown test.
10388 * configure: Regenerated.
10389
8fe89494
JM
103902013-08-23 Joseph Myers <joseph@codesourcery.com>
10391
10392 [BZ #15532]
10393 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10394 * math/s_cexpf.c (__cexpf): Likewise.
10395 * math/s_cexpl.c (__cexpl): Likewise.
10396 * math/libm-test.inc (cexp_test_data): Correct expected return
10397 value for NaN + i0. Add another test.
10398
75b181d6
DM
103992013-08-22 David S. Miller <davem@davemloft.net>
10400
10401 * po/ca.po: Update Catalan translation from translation project.
936241e4 10402 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10403
acd06bb1
JM
104042013-08-21 Joseph Myers <joseph@codesourcery.com>
10405
10406 [BZ #15797]
10407 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10408 is infinite, not alongside NaN test.
10409 * math/s_fdimf.c (__fdimf): Likewise.
10410 * math/s_fdiml.c (__fdiml): Likewise.
10411 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10412 errno is unchanged.
10413
c0c3f78a
OB
104142013-08-21 Ondřej Bílka <neleai@seznam.cz>
10415
10416 * argp/argp-help.c: Fix typos.
10417 * crypt/speeds.c: Likewise.
10418 * csu/check_fds.c: Likewise.
10419 * elf/dl-load.c: Likewise.
10420 * elf/dl-open.c: Likewise.
10421 * elf/reldep3.c: Likewise.
10422 * elf/reldep.c: Likewise.
10423 * elf/sprof.c: Likewise.
10424 * iconv/iconv_charmap.c: Likewise.
10425 * iconv/skeleton.c: Likewise.
10426 * iconv/strtab.c: Likewise.
10427 * io/lockf64.c: Likewise.
10428 * libio/libioP.h: Likewise.
10429 * resolv/gai_notify.c: Likewise.
10430 * resolv/ns_name.c: Likewise.
10431 * resolv/ns_samedomain.c: Likewise.
10432 * resolv/res_send.c: Likewise.
10433 * stdlib/random.c: Likewise.
10434 * sunrpc/rpc/xdr.h: Likewise.
10435 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10437 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10438 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10442 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10443 * sysdeps/mach/hurd/check_fds.c: Likewise.
10444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10450 * sysdeps/pthread/aio_notify.c: Likewise.
10451 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10452 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10455 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10456
46ed1038
LD
104572013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10458
10459 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10460 version if bit_Slow_SSE4_2 is set.
10461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10463
d400dcac
AZ
104642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10465
10466 [BZ #15867]
10467 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10468 trampoline stack frame information.
10469 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10471 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10472 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10473 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10474 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10475 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10476 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10477 sa_flags value.
10478 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10479 interrupting a syscall and set with option SA_SIGINFO.
10480
42c8fdd8
JM
104812013-08-20 Joseph Myers <joseph@codesourcery.com>
10482
c980f2f4
JM
10483 [BZ #15531]
10484 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10485 argument is infinite.
10486 * math/s_cprojf.c (__cprojf): Likewise.
10487 * math/s_cprojl.c (__cprojl): Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10489 * math/libm-test.inc (cproj_test_data): Add more tests.
10490
0716c4fc
JM
10491 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10492
42c8fdd8
JM
10493 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10494 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10495 size. Use __ffs to determine corresponding shift.
10496
b31469d0
JM
104972013-08-20 Joseph Myers <joseph@codesourcery.com>
10498 Roland McGrath <roland@hack.frob.com>
10499
10500 * Makefile (INSTALL): Remove trailing blank lines from output of
10501 makeinfo.
10502
4e39af6e
AK
105032013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10504
10505 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10506 Align 32 bit compat elf_greg to 8 bytes.
10507
f315524e
AA
105082013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10509
10510 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10511
1326ba1a
SP
105122013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10513
10514 * string/strcoll_l.c (coll_seq): New structure.
10515 (get_next_seq_cached): New function.
10516 (get_next_seq): New function.
10517 (do_compare): New function.
10518 (STRCOLL): Use GNU style definition. Simplify implementation
10519 by using get_next_seq, get_next_seq_cached and do_compare.
10520
91ce4085
FW
105212013-08-16 Florian Weimer <fweimer@redhat.com>
10522
10523 [BZ #14699]
10524 CVE-2013-4237
10525 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10526 member.
10527 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10528 member.
10529 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10530 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10531 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10532 conditional.
10533 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10534 GETDENTS_64BIT_ALIGNED.
10535 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10536 * manual/filesys.texi (Reading/Closing Directory): Document
10537 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10538 strongly.
10539 * manual/conf.texi (Limits for Files): Add portability note to
10540 NAME_MAX, PATH_MAX.
10541 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10542
ca0a6bc4
AS
105432013-08-13 Andreas Schwab <schwab@suse.de>
10544
10545 [BZ #15749]
10546 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10547 of fabs.
10548 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10549 LDBL_MAX_EXP >= 16384]: Add tests for it.
10550
6c1fd795
DM
105512013-08-12 David S. Miller <davem@davemloft.net>
10552
10553 * version.h (RELEASE): Set to "development".
10554 (VERSION): Set to "2.18.90".
10555 * NEWS: Add 2.19 section.
10556
31ad488d
DM
105572013-08-03 David S. Miller <davem@davemloft.net>
10558
10559 * po/ko.po: Update Korean translation from translation project.
10560
db24e684
DM
105612013-08-01 David S. Miller <davem@davemloft.net>
10562
10563 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10564 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10565 Bilka.
10566
f723285b
DM
105672013-07-30 David S. Miller <davem@davemloft.net>
10568
10569 * po/fr.po: Update French translation from translation project.
10570
3cbc52db
DM
105712013-07-28 David S. Miller <davem@davemloft.net>
10572
30bbc0cc
DM
10573 * po/cs.po: Update Czech translation from translation project.
10574
3cbc52db
DM
10575 * po/sv.po: Update Swedish translation from translation project.
10576
d492e6d0
DM
105772013-07-27 David S. Miller <davem@davemloft.net>
10578
f1a7f492
DM
10579 * po/eo.po: Update Esperanto translation from translation project.
10580
90e62a4a
DM
10581 * po/vi.po: Update Vietnamese translation from translation project.
10582
d492e6d0
DM
10583 * po/de.po: Update German translation from translation project.
10584
d4baa62d
DM
105852013-07-26 David S. Miller <davem@davemloft.net>
10586
641aa7b4
DM
10587 * po/bg.po: Update Bulgarian translation from translation project.
10588
d4baa62d
DM
10589 * po/nl.po: Update Dutch translation from translation project.
10590 * po/pl.po: Update Polish translation from translation project.
10591 * po/ru.po: Update Russian translation from translation project.
10592
61a9dcb9
DM
105932013-07-24 David S. Miller <davem@davemloft.net>
10594
10595 * po/libc.pot: Update.
10596
7b1f8b58
AZ
105972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598
10599 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10600 variable page size.
10601 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10603 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10604
a8fc7a03
AK
106052013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10606
10607 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10608
e4608715
CD
106092013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10610 Andreas Schwab <schwab@suse.de>
10611 Roland McGrath <roland@hack.frob.com>
10612 Joseph Myers <joseph@codesourcery.com>
10613 Carlos O'Donell <carlos@redhat.com>
10614
10615 [BZ #15755]
10616 * config.h.in: Define HAVE_PT_CHOWN.
10617 * config.make.in (build-pt-chown): New variable.
10618 * configure.in (--enable-pt_chown): New configure option.
10619 * configure: Regenerate.
10620 * login/Makefile: Include Makeconfig. Build pt_chown only if
10621 build-pt-chown is enabled.
10622 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10623 pt_chown to fix pty ownership.
10624 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10625 CLOSE_ALL_FDS.
10626 * manual/install.texi (Configuring and compiling): Mention
10627 --enable-pt_chown. Add @findex for grantpt.
10628 * INSTALL: Regenerate.
10629
da2d62df
DM
106302013-07-20 David S. Miller <davem@davemloft.net>
10631
10632 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10633 difference between 32-bit and 64-bit.
10634
d7e06450
CD
106352013-07-15 Carlos O'Donell <carlos@redhat.com>
10636
10637 [BZ #15711]
10638 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10639 Avoid system header dependency with -ffreestanding.
10640 ($(objpfx)bits/syscall%d): Likewise.
10641
f959cfd7
DM
106422013-07-13 David S. Miller <davem@davemloft.net>
10643
10644 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10645 underflows from atanl/atan2l due to bug 15319.
10646 (casinh_test_data): Likewise.
10647
c61f8513
DM
106482013-07-07 David S. Miller <davem@davemloft.net>
10649
10650 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10651
72c90ed0
JA
106522013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10653
10654 * sysdeps/i386/fpu/libm-test-ulps: Update.
10655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10656
52dfbe13
SP
106572013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10658
10659 * configure.in (--enable-lock-elision): Fix message text.
10660 * INSTALL: Regenerate.
10661 * configure: Regenerate.
10662
3f169543
AZ
106632013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664
10665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10666
521c6785
AJ
106672013-07-03 Andreas Jaeger <aj@suse.de>
10668
10669 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10670 define.
10671 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10672 (ptrace_peeksiginfo_args): Add.
10673 (__ptrace_peeksiginfo_flags): Add.
10674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10677
d2cc15cb
AM
106782013-07-03 Allan McRae <allan@archlinux.org>
10679
10680 * sysdeps/i386/fpu/libm-test-ulps: Update.
10681
3aaeeca7
DM
106822013-07-02 David S. Miller <davem@davemloft.net>
10683
10684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10685
5314ed1a
MT
106862013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10687
10688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10689
67338156
JM
106902013-07-02 Joseph Myers <joseph@codesourcery.com>
10691
10692 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10694
1717da59
AK
106952013-07-02 Andi Kleen <ak@linux.intel.com>
10696
10697 * config.h.in (ENABLE_LOCK_ELISION): Add.
10698 * configure.in (--enable-lock-elision): Add option.
10699 * manual/install.texi: Document --enable lock elision.
10700 * configure: Regenerate
10701 * INSTALL: Regenerate.
10702
1c81621c
L
107032013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10704
10705 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10706 SSE4.2 strcasecmp for libc.a.
10707 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10708
77f01ab5
JM
107092013-07-02 Joseph Myers <joseph@codesourcery.com>
10710
10711 [BZ #13304]
10712 * soft-fp/op-common.h (_FP_FMA): New macro.
10713 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10714 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10715 (_FP_MUL_MEAT_1_imm): ... here.
10716 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10717 (_FP_MUL_MEAT_1_wide): ... here.
10718 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10719 (_FP_MUL_MEAT_1_hard): ... here.
10720 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10721 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10722 (_FP_MUL_MEAT_2_wide): ... here.
10723 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10724 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10725 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10726 (_FP_MUL_MEAT_2_gmp): ... here.
10727 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10728 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10729 (_FP_MUL_MEAT_4_wide): ... here.
10730 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10731 (_FP_MUL_MEAT_4_gmp): ... here.
10732 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10733 (_FP_WFRACBITS_DW_S): Likewise.
10734 (_FP_WFRACXBITS_DW_S): Likewise.
10735 (_FP_HIGHBIT_DW_S): Likewise.
10736 (FP_FMA_S): Likewise.
10737 (_FP_FRAC_HIGH_DW_S): Likewise.
10738 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10739 (_FP_WFRACBITS_DW_D): Likewise.
10740 (_FP_WFRACXBITS_DW_D): Likewise.
10741 (_FP_HIGHBIT_DW_D): Likewise.
10742 (FP_FMA_D): Likewise.
10743 (_FP_FRAC_HIGH_DW_D): Likewise.
10744 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10745 (_FP_WFRACBITS_DW_E): Likewise.
10746 (_FP_WFRACXBITS_DW_E): Likewise.
10747 (_FP_HIGHBIT_DW_E): Likewise.
10748 (FP_FMA_E): Likewise.
10749 (_FP_FRAC_HIGH_DW_E): Likewise.
10750 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10751 (_FP_WFRACBITS_DW_Q): Likewise.
10752 (_FP_WFRACXBITS_DW_Q): Likewise.
10753 (_FP_HIGHBIT_DW_Q): Likewise.
10754 (FP_FMA_Q): Likewise.
10755 (_FP_FRAC_HIGH_DW_Q): Likewise.
10756 * soft-fp/fmasf4.c: New file.
10757 * soft-fp/fmadf4.c: Likewise.
10758 * soft-fp/fmatf4.c: Likewise.
10759
6308fd9a
LD
107602013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10761
10762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10763 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10764 Silvermont.
10765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10766 macro.
10767 (index_Slow_SSE4_2): Likewise.
10768 (index_Prefer_PMINUB_for_stringop): Likewise.
10769 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10770 bit_Slow_SSE4_2 is set.
10771 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10773
89cd9569
RA
107742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10775
10776 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10777 rtld_global._dl_hwcap2.
10778 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10779 POWER8.
10780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10781 POWER8 feature descriptions defined in _dl_hwcap2.
10782 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10783 string handling for POWER8 feature bits.
10784 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10785 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10786 _dl_powerpc_cap_flags.
10787 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10788 * sysdeps/powerpc/rtld-global-offsets.sym
10789 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10790 _dl_hwcap2 in the rtld_global_ro structure.
10791
1ae8bfe0
RA
107922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10793
10794 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10795 hardware capabilities in support of AT_HWCAP2.
10796 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10797 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10798 GLRO(dl_hwcap2).
10799 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10800 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10801 explicitly the unknown a_type display mechanism is used.
10802 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10803 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10804 struct member.
10805 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10806 to macro prototype for AT_HWCAP2 support.
10807 * sysdeps/i386/dl-procinfo.h: Likewise.
10808 * sysdeps/s390/dl-procinfo.h: Likewise.
10809 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10810 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10811 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10812 return -1 for unknown a_type display fallback.
10813 * sysdeps/sparc/dl-procinfo.h: Likewise.
10814 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10815 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10816
8fbec010
JM
108172013-06-28 Joseph Myers <joseph@codesourcery.com>
10818
10819 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10820 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10821
0432680e
PY
108222013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10823
10824 [BZ #12492]
10825 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10826 mprotect making __stack_prot writable.
10827
ce61a2ad
NF
108282013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10829 Joseph Myers <joseph@codesourcery.com>
10830
10831 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10832 as being properly aligned.
10833
f91f1c0f
MR
108342013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10835
3d0f5d0c
MR
10836 * dlfcn/modstatic5.c: New file.
10837 * dlfcn/tststatic5.c: New file.
10838 * dlfcn/Makefile (tests): Add tststatic5.
10839 (tests-static): Likewise.
10840 (modules-names): Add modstatic5.
10841 (tststatic5-ENV): New variable.
10842 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10843
f91f1c0f
MR
10844 [BZ #15022]
10845 * elf/dl-support.c (_dl_main_map): New variable.
10846 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10847 (_dl_nns, _dl_load_adds): Set to 1.
10848 (_dl_initial_searchlist): Refer to _dl_main_map.
10849 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10850 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10851 call to _dl_get_origin.
10852 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10853 around call_map.
10854 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10855 * dlfcn/modstatic3.c: New file.
10856 * dlfcn/tststatic3.c: New file.
10857 * dlfcn/tststatic4.c: New file.
10858 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10859 (tests-static): Likewise.
10860 (modules-names): Add modstatic3.
10861 (tststatic3-ENV, tststatic4-ENV): New variables.
10862 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10863 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10864
cbe7d24b
JM
108652013-06-26 Joseph Myers <joseph@codesourcery.com>
10866
10867 * configure.in (CC): Require GCC version 4.4 or later.
10868 * configure: Regenerated.
10869 * manual/install.texi (Tools for Compilation): Update GCC version
10870 requirement.
10871 * INSTALL: Regenerated.
10872
11b8a0e1
LD
108732013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10874
10875 [BZ #15674]
bb5bb87c
L
10876 * string/test-memcmp.c (check2): New.
10877 (main): Call check2.
10878
11b8a0e1
LD
10879 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10880
b0037103
MR
108812013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10882
10883 [BZ #15022]
10884 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10885 over to...
10886 (dl_open_worker) [!SHARED]: ... here.
10887
c18c701d
RA
108882013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10889
10890 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10891
1d17fa5f
RH
108922013-06-25 Richard Henderson <rth@redhat.com>
10893
10894 * locale/programs/locarchive.c: Include <libc-internal.h>
10895
8fcb833a
JM
108962013-06-25 Joseph Myers <joseph@codesourcery.com>
10897
10898 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10899 trailing whitespace removed.
10900
17db6e8d
MF
109012013-06-24 Mike Frysinger <vapier@gentoo.org>
10902
10903 [BZ #10283]
17db6e8d
MF
10904 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10905 * locale/programs/locarchive.c: Include libc-mmap.h.
10906 (prepare_address_space): Take two new outputs (the mmap base and len).
10907 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10908 values.
10909 (create_archive): Declare new mmap base and len values for
10910 prepare_address_space, and store the result in ah.
10911 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10912 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10913 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10914 Declare new mmap base and len values for
10915 prepare_address_space, and store the result in new_ah.
10916 (open_archive): Declare new mmap base and len values for
10917 prepare_address_space, and store the result in ah.
10918 (close_archive): If ah->mmap_base is not NULL, use that and
10919 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10920 * sysdeps/generic/libc-mmap.h: New file.
10921
d605071e
MF
109222013-06-24 Mike Frysinger <vapier@gentoo.org>
10923
10924 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10925 (ALIGN_UP): Likewise.
10926 (PTR_ALIGN_DOWN): Likewise.
10927 (PTR_ALIGN_UP): Likewise.
10928
2f063a6e
RA
109292013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10930
10931 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10932 entry mapped to PPC_PLATFORM_POWER8.
10933 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10934 POWER8.
10935 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10936 (_dl_string_platform): Add case for exporting platform position for
10937 POWER8.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10939 search path to sysdeps/powerpc/powerpc32/power8 directory.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10941 search path to sysdeps/powerpc/powerpc64/power8 directory.
10942 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10943 power7 directories.
10944 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10945 power7 directories.
10946
a31ee4b3
SP
109472013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10948
a74ca98f
SP
10949 * INSTALL: Regenerate.
10950
a31ee4b3
SP
10951 * nscd/connections.c (nscd_init): Fix comment.
10952
695c378f
JM
109532013-06-22 Joseph Myers <joseph@codesourcery.com>
10954
d8412221
JM
10955 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10956
695c378f
JM
10957 [BZ #15667]
10958 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10959 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10960
d1d54715
MR
109612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10962
10963 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10964 DL_DST_REQ_STATIC.
10965 (DL_DST_REQ_STATIC): Remove macro.
10966
8fdda7af
JM
109672013-06-21 Joseph Myers <joseph@codesourcery.com>
10968
10969 [BZ #7006]
10970 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10971 with a shift of 0 bits.
10972
f3bc5e5a
MR
109732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10974
10975 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10976 $(tststatic-ENV).
10977
be09e8c9
KK
109782013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10979
10980 [BZ #15655]
10981 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10982
85c2e611
AZ
109832013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10984
10985 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10986 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10987 accepts -fno-tree-loop-distribute-patterns.
10988 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10989 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10990 recursive call.
10991 * string/memset.c (memset): Likewise.
10992 * string/test-memmove.c (simple_memmove): Disable loop transformation
10993 to library calls.
10994 * string/test-memset.c (simple_memset): Likewise.
10995 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10996 * benchtests/bench-memset.c (simple_memset): Likewise.
10997 * configure: Regenerated.
10998
c91e0825
JM
109992013-06-20 Joseph Myers <joseph@codesourcery.com>
11000
b8c792af
JM
11001 * math/test-misc.c (main): Ignore fesetround failure when failures
11002 of subsequent rounding tests would be ignored.
11003
c91e0825
JM
11004 [BZ #15654]
11005 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11006 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11007 * math/fegetenv.c (__fegetenv): Return 0.
11008 * math/fegetexcept.c (fegetexcept): Return 0.
11009 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11010 FE_TONEAREST.
11011 * math/feholdexcpt.c (feholdexcept): Return 0.
11012 * math/fesetenv.c (__fesetenv): Return 0.
11013 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11014 argument FE_TONEAREST.
11015 * math/feupdateenv.c (__feupdateenv): Return 0.
11016 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11017
bfcacbde
RM
110182013-06-18 Roland McGrath <roland@hack.frob.com>
11019
11020 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11021 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11022 ($(objpfx)rtld-%.os rules): Use them.
11023
e55a9b25
AZ
110242013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11025
11026 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11027 fields.
11028
346d65b3
RM
110292013-06-17 Roland McGrath <roland@hack.frob.com>
11030
12086fb4
RM
11031 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11032 length of target pattern, then descending length of dependency pattern.
11033 * configure.in (AWK): Require gawk 3.1.2 or newer.
11034 * manual/install.texi (Tools for Compilation): Say that we do.
11035 * configure: Regenerated.
11036
346d65b3
RM
11037 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11038 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11039 * scripts/sysd-rules.awk: ... this new script.
11040 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11041 than a glob-style pattern.
11042
1a846317
JM
110432013-06-17 Joseph Myers <joseph@codesourcery.com>
11044
11045 * math/test-misc.c (main): Do not treat incorrectly rounded
11046 conversions as failure unless ROUNDING_TESTS passes.
11047
8fc75e6f
JM
110482013-06-15 Joseph Myers <joseph@codesourcery.com>
11049
3711a167
JM
11050 [BZ #15631]
11051 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11052 restore exception state around main square root computation, then
11053 check for inexactness explicitly.
11054
8fc75e6f
JM
11055 * math/libm-test.inc (fma_test_data): Add another test.
11056
61dd6208
SP
110572013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11058
adf23d2c
SP
11059 * manual/threads.texi (Non-POSIX Extensions): New document
11060 node. Document pthread_getattr_default_np and
11061 pthread_setattr_default_np.
11062
61dd6208
SP
11063 * Versions.def (libpthread): Add GLIBC_2.18.
11064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11068 Likewise.
11069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11070 Likewise.
11071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11072 Likewise.
11073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11074 Likewise.
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11076 Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11078 Likewise.
11079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11080 Likewise.
11081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11082 Likewise.
11083
d086fc7b
LD
110842013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11085
11086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11087 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11088
747ef469
SP
110892013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11090 H.J. Lu <hjl.tools@gmail.com>
11091
11092 [BZ #15627]
11093 * sysdeps/x86_64/rtld-memset.c: Remove file.
11094 * sysdeps/x86_64/rtld-memset.S: New file.
11095
1b2feed2
JM
110962013-06-14 Joseph Myers <joseph@codesourcery.com>
11097
11098 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11099 (test_in_one_mode): Take arguments for whether the rounding mode
11100 is supported for each floating-point type.
11101 (do_test): Pass new arguments to test_in_one_mode using
11102 ROUNDING_TESTS.
11103
a58ad3f8
RM
111042013-06-13 Roland McGrath <roland@hack.frob.com>
11105
11106 * posix/tst-waitid.c (do_test): Distinguish different instances of
11107 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11108 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11109 before entering the kernel for waitpid.
11110
c204ab28
SP
111112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11112
11113 * NEWS: Fix note on clock function precision. Text by Roland
11114 McGrath.
11115
f4a29fba
RM
111162013-06-13 Roland McGrath <roland@hack.frob.com>
11117
11118 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11119 it into place only when and if the sanity check passes.
11120
1f24b9ad
JM
111212013-06-13 Joseph Myers <joseph@codesourcery.com>
11122
11123 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11124 output for whether conversion result is exact. Take argument
11125 indicating whether type is IBM long double.
11126 (round_for_all): Change need_exact field to ibm_ld.
11127 * stdlib/tst-strtod-round.c (struct exactness): New type.
11128 (struct test): Change bool ld_ok field to struct exactness exact.
11129 (TEST): Update all definitions for change to field.
11130 (tests): Regenerate array contents.
11131 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11132 field value. Check for IBM long double here.
11133 (do_test): Update calls to test_in_one_mode.
11134
58206c68
SP
111352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11136
11137 [BZ #12515]
11138 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11139 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11140
2d6f4c5b 111412013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11142
11143 [BZ #15605]
11144 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11145 generated by the compiler on loop optimizations.
11146 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11147 general definitions.
11148
94f2c076
JM
111492013-06-12 Joseph Myers <joseph@codesourcery.com>
11150
11151 * math/bug-nextafter.c: Include <math-tests.h>.
11152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11153 the relevant type.
11154 * math/bug-nexttoward.c: Include <math-tests.h>.
11155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11156 the relevant type.
11157 * math/test-misc.c: Include <math-tests.h>.
11158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11159 the relevant type.
11160
e0e50a0a
AJ
111612013-06-12 Andreas Jaeger <aj@suse.de>
11162
11163 * po/ia.po: Update Interlingua translation from translation
11164 project.
11165
25061094
SP
111662013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11167
11168 * include/fenv.h: Include stdbool.h.
11169 (struct rm_ctx): New structure.
11170 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11171 Define macro.
11172 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11173 (SET_RESTORE_ROUNDF): Likewise.
11174 (SET_RESTORE_ROUNDL): Likewise.
11175 (SET_RESTORE_ROUND_NOEX): Likewise.
11176 (SET_RESTORE_ROUND_NOEXF): Likewise.
11177 (SET_RESTORE_ROUND_NOEXL): Likewise.
11178 (SET_RESTORE_ROUND_53BIT): Likewise.
11179 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11180 (libc_feresetround_noexf_ctx): Likewise.
11181 (libc_feresetround_noexl_ctx): Likewise.
11182 (libc_feholdsetround_53bit_ctx): Likewise.
11183 (libc_feresetround_53bit_ctx): Likewise.
11184 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11185 (libc_feholdexcept_setround_sse_ctx): New function.
11186 (libc_fesetenv_sse_ctx): Likewise.
11187 (libc_feupdateenv_sse_ctx): Likewise.
11188 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11189 (libc_feholdexcept_setround_387_ctx): Likewise.
11190 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11191 (libc_feholdsetround_387_prec_ctx): Likewise.
11192 (libc_feholdsetround_387_ctx): Likewise.
11193 (libc_feholdsetround_387_53bit_ctx): Likewise.
11194 (libc_feholdsetround_sse_ctx): Likewise.
11195 (libc_feresetround_sse_ctx): Likewise.
11196 (libc_feresetround_387_ctx): Likewise.
11197 (libc_feupdateenv_387_ctx): Likewise.
11198 (libc_feholdexcept_setroundf_ctx): Define macro.
11199 (libc_fesetenvf_ctx): Likewise.
11200 (libc_feupdateenvf_ctx): Likewise.
11201 (libc_feholdsetroundf_ctx): Likewise.
11202 (libc_feresetroundf_ctx): Likewise.
11203 (libc_feholdexcept_setround_ctx): Likewise.
11204 (libc_fesetenv_ctx): Likewise.
11205 (libc_feupdateenv_ctx): Likewise.
11206 (libc_feholdsetround_ctx): Likewise.
11207 (libc_feresetround_ctx): Likewise.
11208 (libc_feholdexcept_setroundl_ctx): Likewise.
11209 (libc_feupdateenvl_ctx): Likewise.
11210 (libc_feholdsetroundl_ctx): Likewise.
11211 (libc_feresetroundl_ctx): Likewise.
11212 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11213 (libc_feresetround_53bit_ctx): Likewise.
11214
59b30555
SP
112152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11216
11217 * locale/iso-639.def: Convert to UTF-8.
11218
f1d73d30
JM
112192013-06-11 Joseph Myers <joseph@codesourcery.com>
11220
11221 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11222 (EXCEPTION_TESTS_double): Likewise.
11223 (EXCEPTION_TESTS_long_double): Likewise.
11224 (EXCEPTION_TESTS): Likewise.
11225 * math/libm-test.inc (test_exceptions): Only test exceptions if
11226 EXCEPTION_TESTS (FLOAT).
11227
94aca5e7
SP
112282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11229
11230 * benchtests/Makefile (string-bench): Add strcpy_chk and
11231 stpcpy_chk.
11232 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11233 * benchtests/bench-stpcpy_chk.c: New file.
11234 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11235 * benchtests/bench-strcpy_chk.c: New file.
11236 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11237 code.
11238 (do_test): Likewise.
11239
fac0c5f2
RA
112402013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11241
11242 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11243 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11244 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11245 with tabs where appropriate.
11246 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11247 dl-procinfo.h.
11248 [PPC_PLATFORM_PPC440]: Likewise.
11249 [PPC_PLATFORM_PPC464]: Likewise.
11250 [PPC_PLATFORM_PPC476]: Likewise.
11251 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11252 ppc464, and ppc476 platform strings merging from ports/
11253 dl-procinfo.h.
11254
f22bc486
AS
112552013-06-11 Andreas Schwab <schwab@suse.de>
11256
11257 [BZ #14991]
11258 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11259 (from_ucs4_idx): Regenerate.
11260 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11261 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11262 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11263 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11264 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11265 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11266 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11267 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11268 from FROM_LOOP and TO_LOOP specific macros.
11269 (BODY): Handle combining characters.
11270 * iconvdata/BIG5HKSCS.irreversible: Update.
11271 * iconvdata/BIG5HKSCS.precomposed: New file.
11272 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11273 characters.
11274 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11275
c1f75dc3
SP
112762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11277
4eacded2
SP
11278 * include/sys/time.h: Fix indentation and add copyright header.
11279
fec799f8
SP
11280 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11281 (do_test): Likewise.
11282 * string/test-memchr.c (do_one_test): Likewise.
11283 (do_test): Likewise.
11284 * string/test-memcmp.c (do_one_test): Likewise.
11285 (do_test): Likewise.
11286 * string/test-memcpy.c (do_one_test): Likewise.
11287 (do_test): Likewise.
11288 * string/test-memmem.c (do_one_test): Likewise.
11289 (do_test): Likewise.
11290 (do_random_tests): Likewise.
11291 * string/test-memmove.c (do_one_test): Likewise.
11292 (do_test): Likewise.
11293 * string/test-memset.c (do_one_test): Likewise.
11294 (do_test): Likewise.
11295 * string/test-rawmemchr.c (do_one_test): Likewise.
11296 (do_test): Likewise.
11297 * string/test-strcasecmp.c (do_one_test): Likewise.
11298 (do_test): Likewise.
11299 * string/test-strcasestr.c (do_one_test): Likewise.
11300 (do_test): Likewise.
11301 * string/test-strcat.c (do_one_test): Likewise.
11302 (do_test): Likewise.
11303 * string/test-strchr.c (do_one_test): Likewise.
11304 (do_test): Likewise.
11305 * string/test-strcmp.c (do_one_test): Likewise.
11306 (do_test): Likewise.
11307 * string/test-strcpy.c (do_one_test): Likewise.
11308 (do_test): Likewise.
11309 * string/test-string.h: Likewise.
11310 (test_init): Likewise.
11311 * string/test-strlen.c (do_one_test): Likewise.
11312 (do_test): Likewise.
11313 * string/test-strncasecmp.c (do_one_test): Likewise.
11314 (do_test): Likewise.
11315 * string/test-strncat.c (do_one_test): Likewise.
11316 (do_test): Likewise.
11317 * string/test-strncmp.c (do_one_test): Likewise.
11318 (do_test_limit): Likewise.
11319 (do_test): Likewise.
11320 * string/test-strncpy.c (do_one_test): Likewise.
11321 (do_test): Likewise.
11322 * string/test-strnlen.c (do_one_test): Likewise.
11323 (do_test): Likewise.
11324 * string/test-strpbrk.c (do_one_test): Likewise.
11325 (do_test): Likewise.
11326 * string/test-strrchr.c (do_one_test): Likewise.
11327 (do_test): Likewise.
11328 * string/test-strspn.c (do_one_test): Likewise.
11329 (do_test): Likewise.
11330 * string/test-strstr.c (do_one_test): Likewise.
11331 (do_test): Likewise.
11332
97020474
SP
11333 * benchtests/Makefile (string-bench): Add string benchmarks.
11334 * benchtests/bench-bcopy-ifunc.c: New file.
11335 * benchtests/bench-bcopy.c: New file.
11336 * benchtests/bench-bzero-ifunc.c: New file.
11337 * benchtests/bench-bzero.c: New file.
11338 * benchtests/bench-memccpy-ifunc.c: New file.
11339 * benchtests/bench-memccpy.c: New file.
11340 * benchtests/bench-memchr-ifunc.c: New file.
11341 * benchtests/bench-memchr.c: New file.
11342 * benchtests/bench-memcmp-ifunc.c: New file.
11343 * benchtests/bench-memcmp.c: New file.
11344 * benchtests/bench-memmem-ifunc.c: New file.
11345 * benchtests/bench-memmem.c: New file.
11346 * benchtests/bench-memmove-ifunc.c: New file.
11347 * benchtests/bench-memmove.c: New file.
11348 * benchtests/bench-mempcpy-ifunc.c: New file.
11349 * benchtests/bench-mempcpy.c: New file.
11350 * benchtests/bench-memset-ifunc.c: New file.
11351 * benchtests/bench-memset.c: New file.
11352 * benchtests/bench-rawmemchr-ifunc.c: New file.
11353 * benchtests/bench-rawmemchr.c: New file.
11354 * benchtests/bench-stpcpy-ifunc.c: New file.
11355 * benchtests/bench-stpcpy.c: New file.
11356 * benchtests/bench-stpncpy-ifunc.c: New file.
11357 * benchtests/bench-stpncpy.c: New file.
11358 * benchtests/bench-strcasecmp-ifunc.c: New file.
11359 * benchtests/bench-strcasecmp.c: New file.
11360 * benchtests/bench-strcasestr-ifunc.c: New file.
11361 * benchtests/bench-strcasestr.c: New file.
11362 * benchtests/bench-strcat-ifunc.c: New file.
11363 * benchtests/bench-strcat.c: New file.
11364 * benchtests/bench-strchr-ifunc.c: New file.
11365 * benchtests/bench-strchr.c: New file.
11366 * benchtests/bench-strchrnul-ifunc.c: New file.
11367 * benchtests/bench-strchrnul.c: New file.
11368 * benchtests/bench-strcmp-ifunc.c: New file.
11369 * benchtests/bench-strcmp.c: New file.
11370 * benchtests/bench-strcpy-ifunc.c: New file.
11371 * benchtests/bench-strcpy.c: New file.
11372 * benchtests/bench-strcspn-ifunc.c: New file.
11373 * benchtests/bench-strcspn.c: New file.
11374 * benchtests/bench-strlen-ifunc.c: New file.
11375 * benchtests/bench-strlen.c: New file.
11376 * benchtests/bench-strncasecmp-ifunc.c: New file.
11377 * benchtests/bench-strncasecmp.c: New file.
11378 * benchtests/bench-strncat-ifunc.c: New file.
11379 * benchtests/bench-strncat.c: New file.
11380 * benchtests/bench-strncmp-ifunc.c: New file.
11381 * benchtests/bench-strncmp.c: New file.
11382 * benchtests/bench-strncpy-ifunc.c: New file.
11383 * benchtests/bench-strncpy.c: New file.
11384 * benchtests/bench-strnlen-ifunc.c: New file.
11385 * benchtests/bench-strnlen.c: New file.
11386 * benchtests/bench-strpbrk-ifunc.c: New file.
11387 * benchtests/bench-strpbrk.c: New file.
11388 * benchtests/bench-strrchr-ifunc.c: New file.
11389 * benchtests/bench-strrchr.c: New file.
11390 * benchtests/bench-strspn-ifunc.c: New file.
11391 * benchtests/bench-strspn.c: New file.
11392 * benchtests/bench-strstr-ifunc.c: New file.
11393 * benchtests/bench-strstr.c: New file.
11394
c1f75dc3
SP
11395 * benchtests/Makefile: Disable parallel execution of targets.
11396 (string-bench): Add memcpy.
11397 (benchset): New variable to store a list of benchmark sets.
11398 (bench-func): Renamed from bench.
11399 (bench-set): New target.
11400 (bench): Depend on bench-func and bench-set.
11401 * benchtests/README: Add section on benchmark sets.
11402 * benchtests/bench-memcpy-ifunc.c: New file.
11403 * benchtests/bench-memcpy.c: New file.
11404 * benchtests/bench-string.h: New file.
11405
50fd745b
AS
114062013-06-11 Andreas Schwab <schwab@suse.de>
11407
11408 [BZ #15577]
11409 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11410 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11411 values in the triple.
11412 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11413 terminator in the group key.
11414
3ee7e9fe
AJ
114152013-06-11 Andreas Jaeger <aj@suse.de>
11416
11417 * po/zh_TW.po: Update Chinese (traditional) translation from
11418 translation project.
11419
89fb6835
SP
114202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11423 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11424 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11425 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11426 (clock_getcpuclockid): Likewise.
11427 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11428 Add weak_alias and libc_hidden_def.
11429 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11430 * rt/clock_gettime.c (clock_gettime): Rename to
11431 __clock_gettime. Add weak_alias and libc_hidden_def.
11432 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11433 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11434 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11435 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11436 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11437 Likewise.
11438 * rt/clock_settime.c (clock_settime): Rename to
11439 __clock_settime. Add weak_alias and libc_hidden_def.
11440 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11441
0efa6f8b
JM
114422013-06-10 Joseph Myers <joseph@codesourcery.com>
11443
b8c61b4b
JM
11444 * mach/err_boot.sub: Remove trailing whitespace.
11445 * mach/err_ipc.sub: Likewise.
11446 * mach/err_mach.sub: Likewise.
11447
0efa6f8b
JM
11448 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11449 (ROUNDING_TESTS_double): Likewise.
11450 (ROUNDING_TESTS_long_double): Likewise.
11451 (ROUNDING_TESTS): Likewise.
11452 * math/libm-test.inc: Include <math-tests.h>.
11453 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11454 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11455 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11456 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11457
50b818bf
SP
114582013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11459
11460 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11461 of assigning.
11462
60d2f8f3
JM
114632013-06-08 Joseph Myers <joseph@codesourcery.com>
11464
4902d2c3
JM
11465 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11466 otherwise empty TRANS lines.
11467 * sysdeps/gnu/errlist.c: Regenerated.
11468
60d2f8f3
JM
11469 * catgets/gencat.c (error_print): Use (void) in function
11470 definition.
11471 * crypt/crypt_util.c (__init_des): Likewise.
11472 * crypt/speeds.c (Stop): Likewise.
11473 (main): Likewise.
11474 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11475 * inet/ruserpass.c (token): Likewise.
11476 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11477 * intl/localealias.c (extend_alias_table): Likewise.
11478 * intl/plural-exp.c (init_germanic_plural): Likewise.
11479 * libio/fcloseall.c (__fcloseall): Likewise.
11480 * libio/genops.c (_IO_flush_all): Likewise.
11481 (_IO_flush_all_linebuffered): Likewise.
11482 (_IO_cleanup): Likewise.
11483 (_IO_iter_begin): Likewise.
11484 (_IO_iter_end): Likewise.
11485 (_IO_list_lock): Likewise.
11486 (_IO_list_unlock): Likewise.
11487 (_IO_list_resetlock): Likewise.
11488 * libio/getchar.c (getchar): Likewise.
11489 * libio/getchar_u.c (getchar_unlocked): Likewise.
11490 * libio/getwchar.c (getwchar): Likewise.
11491 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11492 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11493 * login/getpt.c (__getpt): Likewise.
11494 * login/tst-utmp.c (main): Likewise.
11495 * malloc/hooks.c (__malloc_check_init): Likewise.
11496 * malloc/malloc.c (__malloc_stats): Likewise.
11497 * malloc/mtrace.c (tr_break): Likewise.
11498 (mtrace): Likewise.
11499 (muntrace): Likewise.
11500 * misc/fstab.c (endfsent): Likewise.
11501 * misc/getclktck.c (__getclktck): Likewise.
11502 * misc/getdtsz.c (__getdtablesize): Likewise.
11503 * misc/gethostid.c (gethostid): Likewise.
11504 * misc/getpagesize.c (__getpagesize): Likewise.
11505 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11506 (__get_nprocs): Likewise.
11507 (__get_phys_pages): Likewise.
11508 (__get_avphys_pages): Likewise.
11509 * misc/getttyent.c (getttyent): Likewise.
11510 (setttyent): Likewise.
11511 (endttyent): Likewise.
11512 * misc/getusershell.c (getusershell): Likewise.
11513 (endusershell): Likewise.
11514 (setusershell): Likewise.
11515 (initshells): Likewise.
11516 * misc/hsearch.c (__hdestroy): Likewise.
11517 * misc/sync.c (sync): Likewise.
11518 * misc/syslog.c (closelog_internal): Likewise.
11519 (closelog): Likewise.
11520 * misc/ttyslot.c (ttyslot): Likewise.
11521 * misc/vhangup.c (vhangup): Likewise.
11522 * posix/fork.c (__fork): Likewise.
11523 * posix/getegid.c (__getegid): Likewise.
11524 * posix/geteuid.c (__geteuid): Likewise.
11525 * posix/getgid.c (__getgid): Likewise.
11526 * posix/getpid.c (__getpid): Likewise.
11527 * posix/getppid.c (__getppid): Likewise.
11528 * posix/getuid.c (__getuid): Likewise.
11529 * posix/pause.c (pause): Likewise.
11530 * posix/setpgrp.c (setpgrp): Likewise.
11531 * posix/setsid.c (__setsid): Likewise.
11532 * posix/test-vfork.c (noop): Likewise.
11533 * resolv/gethnamaddr.c (_endhtent): Likewise.
11534 (_gethtent): Likewise.
11535 (ht_endhostent): Likewise.
11536 (gethostent): Likewise.
11537 (dns_service): Likewise.
11538 * stdlib/drand48.c (drand48): Likewise.
11539 * stdlib/lrand48.c (lrand48): Likewise.
11540 * stdlib/mrand48.c (mrand48): Likewise.
11541 * stdlib/rand.c (rand): Likewise.
11542 * stdlib/random.c (__random): Likewise.
11543 * stdlib/setenv.c (clearenv): Likewise.
11544 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11545 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11546 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11547 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11548 (__get_nprocs): Likewise.
11549 (__get_phys_pages): Likewise.
11550 (__get_avphys_pages): Likewise.
11551 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11552 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11553 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11554 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11555 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11556 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11557 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11558 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11559 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11560 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11561 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11562 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11563 * sysdeps/posix/clock.c (clock): Likewise.
11564 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11565 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11566 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11567 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11568 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11570 (__get_nprocs_conf): Likewise.
11571 (__get_phys_pages): Likewise.
11572 (__get_avphys_pages): Likewise.
11573 * time/clock.c (clock): Likewise.
11574 * time/tzset.c (__tzname_max): Likewise.
11575
2e09a79a
JM
115762013-06-07 Joseph Myers <joseph@codesourcery.com>
11577
11578 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11579 (__bswap_32): Do not use "register".
11580 * crypt/crypt.c (_ufc_doit_r): Likewise.
11581 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11582 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11583 * gmon/gmon.c (__monstartup): Likewise.
11584 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11585 * hurd/hurdmalloc.c (more_memory): Likewise.
11586 (malloc): Likewise.
11587 (free): Likewise.
11588 (realloc): Likewise.
11589 (malloc_fork_prepare): Likewise.
11590 (malloc_fork_parent): Likewise.
11591 (malloc_fork_child): Likewise.
11592 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11593 (_svcauth_des): Likewise.
11594 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11595 * inet/inet_net.c (inet_network): Likewise.
11596 * inet/inet_netof.c (inet_netof): Likewise.
11597 * inet/rcmd.c (__validuser2_sa): Likewise.
11598 * io/fts.c (fts_open): Likewise.
11599 (fts_load): Likewise.
11600 (fts_close): Likewise.
11601 (fts_read): Likewise.
11602 (fts_children): Likewise.
11603 (fts_build): Likewise.
11604 (fts_stat): Likewise.
11605 (fts_sort): Likewise.
11606 (fts_alloc): Likewise.
11607 (fts_lfree): Likewise.
11608 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11609 (_IO_file_xsgetn): Likewise.
11610 (_IO_file_xsgetn_mmap): Likewise.
11611 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11612 (_IO_cookie_write): Likewise.
11613 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11614 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11615 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11616 * malloc/obstack.c (_obstack_begin): Likewise.
11617 (_obstack_begin_1): Likewise.
11618 (_obstack_newchunk): Likewise.
11619 (_obstack_allocated_p): Likewise.
11620 (obstack_free): Likewise.
11621 (_obstack_memory_used): Likewise.
11622 * misc/getttyent.c (getttynam): Likewise.
11623 (getttyent): Likewise.
11624 (skip): Likewise.
11625 (value): Likewise.
11626 * misc/getusershell.c (initshells): Likewise.
11627 * misc/syslog.c (__vsyslog_chk): Likewise.
11628 * misc/ttyslot.c (ttyslot): Likewise.
11629 * nis/nis_hash.c (__nis_hash): Likewise.
11630 * posix/fnmatch_loop.c (FCT): Likewise.
11631 * posix/getconf.c (print_all): Likewise.
11632 (main): Likewise.
11633 * posix/getopt.c (exchange): Likewise.
11634 * posix/glob.c (globfree): Likewise.
11635 (prefix_array): Likewise.
11636 (__glob_pattern_type): Likewise.
11637 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11638 (NS_GET32): Likewise.
11639 (NS_PUT16): Likewise.
11640 (NS_PUT32): Likewise.
11641 * resolv/gethnamaddr.c (getanswer): Likewise.
11642 (gethostbyname2): Likewise.
11643 (gethostbyaddr): Likewise.
11644 (_gethtent): Likewise.
11645 (_gethtbyname2): Likewise.
11646 (_gethtbyaddr): Likewise.
11647 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11648 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11649 * resolv/res_init.c (__res_vinit): Likewise.
11650 (net_mask): Likewise.
11651 * resolv/res_mkquery.c (outchar): Likewise.
11652 (PRINT): Likewise.
11653 * stdio-common/printf_fp.c (outchar): Likewise.
11654 (PRINT): Likewise.
11655 * stdio-common/printf_fphex.c (outchar): Likewise.
11656 (PRINT): Likewise.
11657 * stdio-common/printf_size.c (outchar): Likewise.
11658 (PRINT): Likewise.
11659 * stdio-common/test_rdwr.c (main): Likewise.
11660 * stdio-common/tfformat.c (matches): Likewise.
11661 * stdio-common/vfprintf.c (outchar): Likewise.
11662 (printf_unknown): Likewise.
11663 (buffered_vfprintf): Likewise.
11664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11665 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11666 (ReadFile): Likewise.
11667 * stdlib/qsort.c (SWAP): Likewise.
11668 (_quicksort): Likewise.
11669 * stdlib/setenv.c (__add_to_environ): Likewise.
11670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11671 * stdlib/strtol_l.c (__strtol_l): Likewise.
11672 * stdlib/tst-strtod.c (main): Likewise.
11673 * stdlib/tst-strtol.c (main): Likewise.
11674 * stdlib/tst-strtoll.c (main): Likewise.
11675 * string/bits/string2.h (__strcmp_cc): Likewise.
11676 (__strcmp_cg): Likewise.
11677 (__strcspn_c1): Likewise.
11678 (__strcspn_c2): Likewise.
11679 (__strcspn_c3): Likewise.
11680 (__strspn_c1): Likewise.
11681 (__strspn_c2): Likewise.
11682 (__strspn_c3): Likewise.
11683 (__strsep_1c): Likewise.
11684 (__strsep_2c): Likewise.
11685 (__strsep_3c): Likewise.
11686 * string/memccpy.c (__memccpy): Likewise.
11687 * string/stpcpy.c (__stpcpy): Likewise.
11688 * string/strcmp.c (strcmp): Likewise.
11689 * string/strrchr.c (strrchr): Likewise.
11690 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11691 Likewise.
11692 * sysdeps/mach/hurd/getcwd.c
11693 (_hurd_canonicalize_directory_name_internal): Likewise.
11694 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11695 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11696 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11697 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11698 Likewise, in both definitions.
11699 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11700 definitions.
11701 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11702 64] (__bswap_64): Likewise.
11703 * time/test_time.c (main): Likewise.
11704 * time/tzfile.c (__tzfile_read): Likewise.
11705 (__tzfile_compute): Likewise.
11706 * time/tzset.c (__tzset_parse_tz): Likewise.
11707 (tzset_internal): Likewise.
11708 (compute_change): Likewise.
11709 * wcsmbs/wcscat.c (__wcscat): Likewise.
11710 * wcsmbs/wcschr.c (wcschr): Likewise.
11711 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11712 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11713 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11714 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11715 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11716 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11717 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11718 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11719 * wcsmbs/wmemset.c (wmemset): Likewise.
11720
9e54314b
JM
117212013-06-06 Joseph Myers <joseph@codesourcery.com>
11722
11723 * scripts/config.guess: Update to version 2013-05-16.
11724 * scripts/config.sub: Update to version 2013-04-24.
11725 * scripts/install-sh: Update to version 2011-11-20.07.
11726 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11727 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11728
350635a5
OB
117292013-06-06 Ondřej Bílka <neleai@seznam.cz>
11730
11731 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11732 * elf/sln.c: Likewise.
11733 * hurd/hurd/ioctl.h: Likewise.
11734 * hurd/hurdmalloc.c: Likewise.
11735 * hurd/xattr.c: Likewise.
11736 * include/shlib-compat.h: Likewise.
11737 * inet/ruserpass.c: Likewise.
11738 * libio/iofgets_u.c: Likewise.
11739 * libio/iofgetws_u.c: Likewise.
11740 * locale/programs/ld-identification.c: Likewise.
11741 * locale/programs/ld-time.c: Likewise.
11742 * mach/msg-destroy.c: Likewise.
11743 * nss/nss_files/files-netgrp.c: Likewise.
11744 * resolv/res_data.c: Likewise.
11745 * soft-fp/op-1.h: Likewise.
11746 * soft-fp/op-2.h: Likewise.
11747 * soft-fp/op-4.h: Likewise.
11748 * soft-fp/op-common.h: Likewise.
11749 * stdio-common/printf_fphex.c: Likewise.
11750 * stdlib/strtod_l.c: Likewise.
11751 * sunrpc/rpc/clnt.h: Likewise.
11752 * sysdeps/generic/framestate.c: Likewise.
11753 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11754 * sysdeps/i386/bsd-setjmp.S: Likewise.
11755 * sysdeps/i386/__longjmp.S: Likewise.
11756 * sysdeps/i386/setjmp.S: Likewise.
11757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11758 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11759 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11775 * sysdeps/ieee754/support.c: Likewise.
11776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11777 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11778 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11779 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11780 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11781 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11782 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11783 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11784 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11785 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11786 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11787 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11789 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11790 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11791 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11792 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11794
44a988af
OB
117952013-06-05 Ondřej Bílka <neleai@seznam.cz>
11796
25506f09 11797 * posix/transbug.c: Remove executable mode.
44a988af 11798
9c84384c
JM
117992013-06-05 Joseph Myers <joseph@codesourcery.com>
11800
11801 * crypt/speeds.c: Remove trailing whitespace.
11802 * dlfcn/default.c: Likewise.
11803 * elf/ifuncdep2.c: Likewise.
11804 * elf/ifuncmain1.c: Likewise.
11805 * elf/ifuncmain1vis.c: Likewise.
11806 * elf/testobj.h: Likewise.
11807 * elf/tst-stackguard1.c: Likewise.
11808 * gmon/sys/gmon.h: Likewise.
11809 * hurd/hurdmsg.c: Likewise.
11810 * hurd/new-fd.c: Likewise.
11811 * hurd/ports-get.c: Likewise.
11812 * iconvdata/ibm1008_420.c: Likewise.
11813 * inet/tst-getni1.c: Likewise.
11814 * inet/tst-getni2.c: Likewise.
11815 * libio/ioungetc.c: Likewise.
11816 * libio/wfiledoalloc.c: Likewise.
11817 * manual/libm-err-tab.pl: Likewise.
11818 * math/w_dremf.c: Likewise.
11819 * misc/ftruncate.c: Likewise.
11820 * posix/bug-glob2.c: Likewise.
11821 * posix/tst-pcre.c: Likewise.
11822 * posix/wait4.c: Likewise.
11823 * resolv/README: Likewise.
11824 * resolv/res_debug.h: Likewise.
11825 * resolv/tst-inet_ntop.c: Likewise.
11826 * setjmp/bug269-setjmp.c: Likewise.
11827 * soft-fp/extended.h: Likewise.
11828 * soft-fp/op-1.h: Likewise.
11829 * soft-fp/op-2.h: Likewise.
11830 * soft-fp/op-4.h: Likewise.
11831 * soft-fp/op-8.h: Likewise.
11832 * soft-fp/testit.c: Likewise.
11833 * stdio-common/bug16.c: Likewise.
11834 * stdlib/random.c: Likewise.
11835 * sunrpc/rpcsvc/rquota.x: Likewise.
11836 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11837 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11839 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11840 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11841 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11842 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11845 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11865 * sysdeps/ieee754/s_lib_version.c: Likewise.
11866 * sysdeps/mach/hurd/check_fds.c: Likewise.
11867 * sysdeps/mach/hurd/getsockname.c: Likewise.
11868 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11869 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11870 * sysdeps/powerpc/bits/link.h: Likewise.
11871 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11872 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11873 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11874 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11875 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11876 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11877 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11878 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11879 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11880 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11881 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11883 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11884 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11885 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11886 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11892 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11894 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11895 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11899 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11904 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11905 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11907 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11908 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11909 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11910 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11911 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11912 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11913 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11914 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11915 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11916 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11917 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11918 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11919 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11920 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11933 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11934 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11935 * sysdeps/powerpc/sysdep.h: Likewise.
11936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11937 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11938 * sysdeps/sh/dl-trampoline.S: Likewise.
11939 * sysdeps/sh/memset.S: Likewise.
11940 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11941 * sysdeps/sh/strlen.S: Likewise.
11942 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11943 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11944 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11945 * sysdeps/sparc/sparc32/rem.S: Likewise.
11946 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11947 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11948 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11949 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11950 * sysdeps/sparc/sparc32/urem.S: Likewise.
11951 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11952 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11953 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11954 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11956 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11957 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11958 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11959 * sysdeps/unix/bsd/times.c: Likewise.
11960 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11961 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11966 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11967 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11969 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11970 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11973 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11975 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11976 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11977 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11978 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11979 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11980 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11981 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11982 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11983 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11984 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11985 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11988 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11989 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11990 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11991 * sysdeps/x86_64/strcspn.S: Likewise.
11992
869378a5
RA
119932013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11994
11995 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11996 generated file. Regenerate properly from gen-translit.pl.
11997 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11998 locale/C-translit.h.
11999
840e2943
AS
120002013-06-05 Andreas Schwab <schwab@suse.de>
12001
12002 [BZ #15100]
12003 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12004 week as 6 instead of -1.
12005 * time/tst-strptime.c (day_tests): Add test case.
12006
4c60cb0c
SP
120072013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12008
12009 * sysdeps/generic/math_private.h
12010 (libc_feholdexcept_setround_53bit): Replace with
12011 libc_feholdsetround_53bit.
12012 (libc_feupdateenv_53bit): Replace with
12013 libc_feresetround_53bit.
12014 (SET_RESTORE_ROUND_53BIT): Adjust.
12015
d180203e
SP
120162013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12017
96df079a
SP
12018 * string/test-strchrnul.c: Add copyright header.
12019
d180203e
SP
12020 * posix/tst-getaddrinfo4.c: Increase test timeout.
12021
8b0ccb2d
CD
120222013-06-03 Carlos O'Donell <carlos@redhat.com>
12023
12024 [BZ #15536]
12025 * math/libm-test.inc (MAX_EXP): Remove
12026 (MIN_EXP): Define.
12027 (ulp): Use MIN_EXP - MANT_DIG.
12028 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12029
3b3c4d40
CD
120302013-05-31 Carlos O'Donell <carlos@redhat.com>
12031
12032 * po/be.po: Revert last change.
12033 * po/zh_CN.po: Likewise.
12034 * po/header.pot: Likewise.
12035
fab7ce3f
JM
120362013-05-31 Joseph Myers <joseph@codesourcery.com>
12037
12038 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12039 link-libc-deps to empty as target-specific variable.
12040 * Makerules (link-libc-args): New variable.
12041 (libc-for-link): Likewise.
12042 (link-libc-deps): Likewise.
12043 (lib%.so): Depend on $(link-libc-deps). Link with
12044 $(link-libc-args).
12045 (build-module): Link with $(link-libc-args).
12046 (build-module-asneeded): Likewise.
12047 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12048 list of objects.
12049 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12050 target-specific variable.
12051 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12052 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12053 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12054 libc.
12055 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12056 libc and ld.so.
12057 ($(objpfx)libpcprofile.so): Likewise.
12058 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12059 libc_nonshared.a.
12060 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12061 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12063 $(link-libc-deps).
12064 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12065 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12066 * login/Makefile ($(objpfx)libutil.so): Likewise.
12067 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12068 * math/Makefile ($(objpfx)libm.so): Likewise.
12069 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12070 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12071 variable instead of depending directly on libc.
12072 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12073 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12074 $(link-libc-deps).
12075 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12076 libc.
12077 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12078 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12079 ($(objpfx)libanl.so): Likewise.
12080 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12081 ld.so.
12082 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12083 $(link-libc-deps).
12084 * sysdeps/i386/fpu/Makefile: Remove file.
12085 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12086 ($(objpfx)libm.so): Remove dependency on ld.so.
12087
eca5920c
PF
120882013-05-30 Patsy Franklin <pfrankli@redhat.com>
12089
12090 [BZ # 15553]
12091 * nis/yp_xdr.c (XDRMAXNAME): Define.
12092 (XDRMAXRECORD): Define.
12093 (xdr_domainname): Use XDRMAXNAME.
12094 (xdr_mapname): Likewise.
12095 (xdr_peername): Likewise.
12096 (xdr_keydat): Use XDRMAXRECORD.
12097 (xdr_valdat): Likewise.
12098
120992013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12100
12101 [BZ #14256]
12102 * manual/errno.texi (ESTALE): Update to account for more than
12103 just NFS file systems.
12104 * sysdeps/gnu/errlist.c: Regenerated.
12105
b9375348
SP
121062013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12107
12108 [BZ #15465]
12109 * elf/Makefile (tests): Add tst-null-argv.
12110 (modules-names): Add tst-null-argv-lib.
12111 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12112 (tst-null-argv-ENV): Set environment for tst-null-argv.
12113 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12114 (RTLD_PROGNAME): New macro.
12115 * elf/tst-null-argv.c: New test case.
12116 * elf/tst-null-argv-lib.c: Library for test case.
12117 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12118 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12119 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12120 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12121 * elf/dl-init.c (call_init): Likewise.
12122 (_dl_init): Likewise.
12123 * elf/dl-load.c (print_search_path): Likewise.
12124 (_dl_map_object): Likewise.
12125 * elf/dl-lookup.c (do_lookup_x): Likewise.
12126 (add_dependency): Likewise.
12127 (_dl_lookup_symbol_x): Likewise.
12128 (_dl_debug_bindings): Likewise.
12129 * elf/dl-open.c (_dl_show_scope): Likewise.
12130 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12131 * elf/dl-version.c (match_symbol): Likewise.
12132 (_dl_check_map_versions): Likewise.
12133 * elf/rtld.c (dl_main): Likewise.
12134 (print_unresolved): Use RTLD_PROGNAME.
12135 (print_missing_version): Likewise.
12136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12137 (elf_machine_rela): Likewise.
12138 * sysdeps/powerpc/powerpc32/dl-machine.c
12139 (__process_machine_rela): Likewise.
12140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12141 Likewise.
12142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12143 Likewise.
12144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12145 Likewise.
12146 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12148 Likewise.
12149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12150 Likewise.
12151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12152
8a9f20c8
CD
121532013-05-28 Carlos O'Donell <carlos@redhat.com>
12154
12155 * po/be.po: Add descriptive title.
12156 * po/zh_CN.po: Likewise.
12157 * po/header.pot: Likewise.
12158
0e60d68e
MF
121592013-05-28 Mike Frysinger <vapier@gentoo.org>
12160
12161 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12162 error message.
12163 (enlarge_archive): Likewise.
12164
56b672e9
BN
121652013-05-28 Ben North <ben@redfrontdoor.org>
12166
12167 * manual/arith.texi (frexp): It is the magnitude of the return
12168 value which lies in [0.5, 1), not the return value itself.
12169
5e056687
AZ
121702013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12171
12172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12173
2b66ef5d
TS
121742013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12175
528c2405
TS
12176 * stdio-common/bug26.c (main): Correct fscanf template.
12177
07b4c13d
TS
12178 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12179 declare _dl_skip_args.
12180
ec9dd97c
TS
12181 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12182 Don't declare.
12183
2b66ef5d
TS
12184 * manual/platform.texi: Add missing @end deftypefun.
12185
4f8dfe27
JM
121862013-05-24 Joseph Myers <joseph@codesourcery.com>
12187
0323d086
JM
12188 [BZ #15529]
12189 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12190 bit of mantissa of 2^16382.
12191 * math/libm-test.inc (hypot_test_data): Add more tests.
12192
dd4259b9
JM
12193 * math/libm-test.inc: Add drem and pow10 to list of tested
12194 functions.
12195 (pow10_test): New function.
12196 (drem_test): Likewise.
12197 (drem_test_tonearest): Likewise.
12198 (drem_test_towardzero): Likewise.
12199 (drem_test_downward): Likewise.
12200 (drem_test_upward): Likewise.
12201 (main): Call the new functions.
12202
4f8dfe27
JM
12203 * math/libm-test.inc (finite_test_data): Remove.
12204 (finite_test): Run tests from isfinite_test_data.
12205 (gamma_test_data): Remove.
12206 (gamma_test): Run tests from lgamma_test_data.
12207 * sysdeps/i386/fpu/libm-test-ulps: Update.
12208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
d116b7c4
AZ
122102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12211
12212 * manual/platform.texi: Add PowerPC PPR function set documentation.
12213 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12214 implementation.
12215
e96e3767
CD
122162013-05-24 Carlos O'Donell <carlos@redhat.com>
12217
12218 * math/libm-test.inc (MAX_EXP): Define.
12219 (ULPDIFF): Define.
12220 (ulp): New function.
12221 (check_float_internal): Use ULPDIFF.
12222 (cpow_test): Disable failing test.
12223 (check_ulp): Test ulp() implemetnation.
12224 (main): Call check_ulp before starting tests.
12225
b679a606
JM
122262013-05-24 Joseph Myers <joseph@codesourcery.com>
12227
e8bdba36
JM
12228 * math/gen-libm-test.pl (generate_testfile): Do not handle
12229 START_DATA and END_DATA.
12230 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12231 END_DATA.
12232 (acos_tonearest_test_data): Likewise.
12233 (acos_towardzero_test_data): Likewise.
12234 (acos_downward_test_data): Likewise.
12235 (acos_upward_test_data): Likewise.
12236 (acosh_test_data): Likewise.
12237 (asin_test_data): Likewise.
12238 (asin_tonearest_test_data): Likewise.
12239 (asin_towardzero_test_data): Likewise.
12240 (asin_downward_test_data): Likewise.
12241 (asin_upward_test_data): Likewise.
12242 (asinh_test_data): Likewise.
12243 (atan_test_data): Likewise.
12244 (atanh_test_data): Likewise.
12245 (atan2_test_data): Likewise.
12246 (cabs_test_data): Likewise.
12247 (cacos_test_data): Likewise.
12248 (cacosh_test_data): Likewise.
12249 (carg_test_data): Likewise.
12250 (casin_test_data): Likewise.
12251 (casinh_test_data): Likewise.
12252 (catan_test_data): Likewise.
12253 (catanh_test_data): Likewise.
12254 (cbrt_test_data): Likewise.
12255 (ccos_test_data): Likewise.
12256 (ccosh_test_data): Likewise.
12257 (ceil_test_data): Likewise.
12258 (cexp_test_data): Likewise.
12259 (cimag_test_data): Likewise.
12260 (clog_test_data): Likewise.
12261 (clog10_test_data): Likewise.
12262 (conj_test_data): Likewise.
12263 (copysign_test_data): Likewise.
12264 (cos_test_data): Likewise.
12265 (cos_tonearest_test_data): Likewise.
12266 (cos_towardzero_test_data): Likewise.
12267 (cos_downward_test_data): Likewise.
12268 (cos_upward_test_data): Likewise.
12269 (cosh_test_data): Likewise.
12270 (cosh_tonearest_test_data): Likewise.
12271 (cosh_towardzero_test_data): Likewise.
12272 (cosh_downward_test_data): Likewise.
12273 (cosh_upward_test_data): Likewise.
12274 (cpow_test_data): Likewise.
12275 (cproj_test_data): Likewise.
12276 (creal_test_data): Likewise.
12277 (csin_test_data): Likewise.
12278 (csinh_test_data): Likewise.
12279 (csqrt_test_data): Likewise.
12280 (ctan_test_data): Likewise.
12281 (ctan_tonearest_test_data): Likewise.
12282 (ctan_towardzero_test_data): Likewise.
12283 (ctan_downward_test_data): Likewise.
12284 (ctan_upward_test_data): Likewise.
12285 (ctanh_test_data): Likewise.
12286 (ctanh_tonearest_test_data): Likewise.
12287 (ctanh_towardzero_test_data): Likewise.
12288 (ctanh_downward_test_data): Likewise.
12289 (ctanh_upward_test_data): Likewise.
12290 (erf_test_data): Likewise.
12291 (erfc_test_data): Likewise.
12292 (exp_test_data): Likewise.
12293 (exp_tonearest_test_data): Likewise.
12294 (exp_towardzero_test_data): Likewise.
12295 (exp_downward_test_data): Likewise.
12296 (exp_upward_test_data): Likewise.
12297 (exp10_test_data): Likewise.
12298 (exp2_test_data): Likewise.
12299 (expm1_test_data): Likewise.
12300 (fabs_test_data): Likewise.
12301 (fdim_test_data): Likewise.
12302 (finite_test_data): Likewise.
12303 (floor_test_data): Likewise.
12304 (fma_test_data): Likewise.
12305 (fma_towardzero_test_data): Likewise.
12306 (fma_downward_test_data): Likewise.
12307 (fma_upward_test_data): Likewise.
12308 (fmax_test_data): Likewise.
12309 (fmin_test_data): Likewise.
12310 (fmod_test_data): Likewise.
12311 (fpclassify_test_data): Likewise.
12312 (frexp_test_data): Likewise.
12313 (gamma_test_data): Likewise.
12314 (hypot_test_data): Likewise.
12315 (ilogb_test_data): Likewise.
12316 (isfinite_test_data): Likewise.
12317 (isgreater_test_data): Likewise.
12318 (isgreaterequal_test_data): Likewise.
12319 (isinf_test_data): Likewise.
12320 (isless_test_data): Likewise.
12321 (islessequal_test_data): Likewise.
12322 (islessgreater_test_data): Likewise.
12323 (isnan_test_data): Likewise.
12324 (isnormal_test_data): Likewise.
12325 (issignaling_test_data): Likewise.
12326 (isunordered_test_data): Likewise.
12327 (j0_test_data): Likewise.
12328 (j1_test_data): Likewise.
12329 (jn_test_data): Likewise.
12330 (ldexp_test_data): Likewise.
12331 (lgamma_test_data): Likewise.
12332 (lrint_test_data): Likewise.
12333 (lrint_tonearest_test_data): Likewise.
12334 (lrint_towardzero_test_data): Likewise.
12335 (lrint_downward_test_data): Likewise.
12336 (lrint_upward_test_data): Likewise.
12337 (llrint_test_data): Likewise.
12338 (llrint_tonearest_test_data): Likewise.
12339 (llrint_towardzero_test_data): Likewise.
12340 (llrint_downward_test_data): Likewise.
12341 (llrint_upward_test_data): Likewise.
12342 (log_test_data): Likewise.
12343 (log10_test_data): Likewise.
12344 (log1p_test_data): Likewise.
12345 (log2_test_data): Likewise.
12346 (logb_test_data): Likewise.
12347 (logb_downward_test_data): Likewise.
12348 (lround_test_data): Likewise.
12349 (llround_test_data): Likewise.
12350 (modf_test_data): Likewise.
12351 (nearbyint_test_data): Likewise.
12352 (nextafter_test_data): Likewise.
12353 (nexttoward_test_data): Likewise.
12354 (pow_test_data): Likewise.
12355 (pow_tonearest_test_data): Likewise.
12356 (pow_towardzero_test_data): Likewise.
12357 (pow_downward_test_data): Likewise.
12358 (pow_upward_test_data): Likewise.
12359 (remainder_test_data): Likewise.
12360 (remainder_tonearest_test_data): Likewise.
12361 (remainder_towardzero_test_data): Likewise.
12362 (remainder_downward_test_data): Likewise.
12363 (remainder_upward_test_data): Likewise.
12364 (remquo_test_data): Likewise.
12365 (rint_test_data): Likewise.
12366 (rint_tonearest_test_data): Likewise.
12367 (rint_towardzero_test_data): Likewise.
12368 (rint_downward_test_data): Likewise.
12369 (rint_upward_test_data): Likewise.
12370 (round_test_data): Likewise.
12371 (scalb_test_data): Likewise.
12372 (scalbn_test_data): Likewise.
12373 (scalbln_test_data): Likewise.
12374 (signbit_test_data): Likewise.
12375 (sin_test_data): Likewise.
12376 (sin_tonearest_test_data): Likewise.
12377 (sin_towardzero_test_data): Likewise.
12378 (sin_downward_test_data): Likewise.
12379 (sin_upward_test_data): Likewise.
12380 (sincos_test_data): Likewise.
12381 (sinh_test_data): Likewise.
12382 (sinh_tonearest_test_data): Likewise.
12383 (sinh_towardzero_test_data): Likewise.
12384 (sinh_downward_test_data): Likewise.
12385 (sinh_upward_test_data): Likewise.
12386 (sqrt_test_data): Likewise.
12387 (tan_test_data): Likewise.
12388 (tan_tonearest_test_data): Likewise.
12389 (tan_towardzero_test_data): Likewise.
12390 (tan_downward_test_data): Likewise.
12391 (tan_upward_test_data): Likewise.
12392 (tanh_test_data): Likewise.
12393 (tgamma_test_data): Likewise.
12394 (trunc_test_data): Likewise.
12395 (y0_test_data): Likewise.
12396 (y1_test_data): Likewise.
12397 (yn_test_data): Likewise.
12398 (significand_test_data): Likewise.
12399
b679a606
JM
12400 * math/gen-libm-test.pl (@functions): Remove variable.
12401 (generate_testfile): Don't handle START and END lines.
12402 * math/libm-test.inc (START): New macro.
12403 (END): Likewise.
12404 (END_COMPLEX): Likewise.
12405 (acos_test): Use END macro without arguments.
12406 (acos_test_tonearest): Likewise.
12407 (acos_test_towardzero): Likewise.
12408 (acos_test_downward): Likewise.
12409 (acos_test_upward): Likewise.
12410 (acosh_test): Likewise.
12411 (asin_test): Likewise.
12412 (asin_test_tonearest): Likewise.
12413 (asin_test_towardzero): Likewise.
12414 (asin_test_downward): Likewise.
12415 (asin_test_upward): Likewise.
12416 (asinh_test): Likewise.
12417 (atan_test): Likewise.
12418 (atanh_test): Likewise.
12419 (atan2_test): Likewise.
12420 (cabs_test): Likewise.
12421 (cacos_test): Use END_COMPLEX macro without arguments.
12422 (cacosh_test): Likewise.
12423 (carg_test): Use END macro without arguments.
12424 (casin_test): Use END_COMPLEX macro without arguments.
12425 (casinh_test): Likewise.
12426 (catan_test): Likewise.
12427 (catanh_test): Likewise.
12428 (cbrt_test): Use END macro without arguments.
12429 (ccos_test): Use END_COMPLEX macro without arguments.
12430 (ccosh_test): Likewise.
12431 (ceil_test): Use END macro without arguments.
12432 (cexp_test): Use END_COMPLEX macro without arguments.
12433 (cimag_test): Use END macro without arguments.
12434 (clog_test): Use END_COMPLEX macro without arguments.
12435 (clog10_test): Likewise.
12436 (conj_test): Likewise.
12437 (copysign_test): Use END macro without arguments.
12438 (cos_test): Likewise.
12439 (cos_test_tonearest): Likewise.
12440 (cos_test_towardzero): Likewise.
12441 (cos_test_downward): Likewise.
12442 (cos_test_upward): Likewise.
12443 (cosh_test): Likewise.
12444 (cosh_test_tonearest): Likewise.
12445 (cosh_test_towardzero): Likewise.
12446 (cosh_test_downward): Likewise.
12447 (cosh_test_upward): Likewise.
12448 (cpow_test): Use END_COMPLEX macro without arguments.
12449 (cproj_test): Likewise.
12450 (creal_test): Use END macro without arguments.
12451 (csin_test): Use END_COMPLEX macro without arguments.
12452 (csinh_test): Likewise.
12453 (csqrt_test): Likewise.
12454 (ctan_test): Likewise.
12455 (ctan_test_tonearest): Likewise.
12456 (ctan_test_towardzero): Likewise.
12457 (ctan_test_downward): Likewise.
12458 (ctan_test_upward): Likewise.
12459 (ctanh_test): Likewise.
12460 (ctanh_test_tonearest): Likewise.
12461 (ctanh_test_towardzero): Likewise.
12462 (ctanh_test_downward): Likewise.
12463 (ctanh_test_upward): Likewise.
12464 (erf_test): Use END macro without arguments.
12465 (erfc_test): Likewise.
12466 (exp_test): Likewise.
12467 (exp_test_tonearest): Likewise.
12468 (exp_test_towardzero): Likewise.
12469 (exp_test_downward): Likewise.
12470 (exp_test_upward): Likewise.
12471 (exp10_test): Likewise.
12472 (exp2_test): Likewise.
12473 (expm1_test): Likewise.
12474 (fabs_test): Likewise.
12475 (fdim_test): Likewise.
12476 (finite_test): Likewise.
12477 (floor_test): Likewise.
12478 (fma_test): Likewise.
12479 (fma_test_towardzero): Likewise.
12480 (fma_test_downward): Likewise.
12481 (fma_test_upward): Likewise.
12482 (fmax_test): Likewise.
12483 (fmin_test): Likewise.
12484 (fmod_test): Likewise.
12485 (fpclassify_test): Likewise.
12486 (frexp_test): Likewise.
12487 (gamma_test): Likewise.
12488 (hypot_test): Likewise.
12489 (ilogb_test): Likewise.
12490 (isfinite_test): Likewise.
12491 (isgreater_test): Likewise.
12492 (isgreaterequal_test): Likewise.
12493 (isinf_test): Likewise.
12494 (isless_test): Likewise.
12495 (islessequal_test): Likewise.
12496 (islessgreater_test): Likewise.
12497 (isnan_test): Likewise.
12498 (isnormal_test): Likewise.
12499 (issignaling_test): Likewise.
12500 (isunordered_test): Likewise.
12501 (j0_test): Likewise.
12502 (j1_test): Likewise.
12503 (jn_test): Likewise.
12504 (ldexp_test): Likewise.
12505 (lgamma_test): Likewise.
12506 (lrint_test): Likewise.
12507 (lrint_test_tonearest): Likewise.
12508 (lrint_test_towardzero): Likewise.
12509 (lrint_test_downward): Likewise.
12510 (lrint_test_upward): Likewise.
12511 (llrint_test): Likewise.
12512 (llrint_test_tonearest): Likewise.
12513 (llrint_test_towardzero): Likewise.
12514 (llrint_test_downward): Likewise.
12515 (llrint_test_upward): Likewise.
12516 (log_test): Likewise.
12517 (log10_test): Likewise.
12518 (log1p_test): Likewise.
12519 (log2_test): Likewise.
12520 (logb_test): Likewise.
12521 (logb_test_downward): Likewise.
12522 (lround_test): Likewise.
12523 (llround_test): Likewise.
12524 (modf_test): Likewise.
12525 (nearbyint_test): Likewise.
12526 (nextafter_test): Likewise.
12527 (nexttoward_test): Likewise.
12528 (pow_test): Likewise.
12529 (pow_test_tonearest): Likewise.
12530 (pow_test_towardzero): Likewise.
12531 (pow_test_downward): Likewise.
12532 (pow_test_upward): Likewise.
12533 (remainder_test): Likewise.
12534 (remainder_test_tonearest): Likewise.
12535 (remainder_test_towardzero): Likewise.
12536 (remainder_test_downward): Likewise.
12537 (remainder_test_upward): Likewise.
12538 (remquo_test): Likewise.
12539 (rint_test): Likewise.
12540 (rint_test_tonearest): Likewise.
12541 (rint_test_towardzero): Likewise.
12542 (rint_test_downward): Likewise.
12543 (rint_test_upward): Likewise.
12544 (round_test): Likewise.
12545 (scalb_test): Likewise.
12546 (scalbn_test): Likewise.
12547 (scalbln_test): Likewise.
12548 (signbit_test): Likewise.
12549 (sin_test): Likewise.
12550 (sin_test_tonearest): Likewise.
12551 (sin_test_towardzero): Likewise.
12552 (sin_test_downward): Likewise.
12553 (sin_test_upward): Likewise.
12554 (sincos_test): Likewise.
12555 (sinh_test): Likewise.
12556 (sinh_test_tonearest): Likewise.
12557 (sinh_test_towardzero): Likewise.
12558 (sinh_test_downward): Likewise.
12559 (sinh_test_upward): Likewise.
12560 (sqrt_test): Likewise.
12561 (tan_test): Likewise.
12562 (tan_test_tonearest): Likewise.
12563 (tan_test_towardzero): Likewise.
12564 (tan_test_downward): Likewise.
12565 (tan_test_upward): Likewise.
12566 (tanh_test): Likewise.
12567 (tgamma_test): Likewise.
12568 (trunc_test): Likewise.
12569 (y0_test): Likewise.
12570 (y1_test): Likewise.
12571 (yn_test): Likewise.
12572 (significand_test): Likewise.
12573
bae143d2
OB
125742013-05-24 Ondřej Bílka <neleai@seznam.cz>
12575
12576 [BZ #15381]
12577 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12578
9323d39b
EM
125792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12580
d4ea44a0 12581 [BZ #14894]
9323d39b
EM
12582 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12583 __ppc_mdoio and __ppc_mdoom.
12584 * manual/platform.texi: Document new functions __ppc_yield,
12585 __ppc_mdoio and __ppc_mdoom.
12586
13e23af7
CD
125872013-05-22 Carlos O'Donell <carlos@redhat.com>
12588
12589 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12590 (main): Mention "tls" pseudo-hwcap is legacy.
12591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12592
351fe550
JM
125932013-05-22 Joseph Myers <joseph@codesourcery.com>
12594
12595 * math/gen-libm-test.pl (parse_args): Output only string of
12596 arguments as text for test name, not full call or descriptions of
12597 tests for extra outputs.
12598 (generate_testfile): Do not pass function name to parse_args.
12599 Generate this_func variable from START.
12600 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12601 field to arg_str.
12602 (struct test_ff_f_data): Likewise.
12603 (test_ff_f_data_nexttoward): Likewise.
12604 (struct test_fi_f_data): Likewise.
12605 (struct test_fl_f_data): Likewise.
12606 (struct test_if_f_data): Likewise.
12607 (struct test_fff_f_data): Likewise.
12608 (struct test_c_f_data): Likewise.
12609 (struct test_f_f1_data): Likewise. Remove field extra_name.
12610 (struct test_fF_f1_data): Likewise.
12611 (struct test_ffI_f1_data): Likewise.
12612 (struct test_c_c_data): Rename test_name field to arg_str.
12613 (struct test_cc_c_data): Likewise.
12614 (struct test_f_i_data): Likewise.
12615 (struct test_ff_i_data): Likewise.
12616 (struct test_f_l_data): Likewise.
12617 (struct test_f_L_data): Likewise.
12618 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12619 and extra2_name.
12620 (COMMON_TEST_SETUP): New macro.
12621 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12622 (COMMON_TEST_CLEANUP): Likewise.
12623 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12624 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12625 macros.
12626 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12627 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12628 macros.
12629 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12630 (RUN_TEST_fff_f): Take argument string. Call new setup and
12631 cleanup macros.
12632 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12633 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12634 macros.
12635 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12636 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12637 macros.
12638 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12639 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12640 cleanup macros.
12641 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12642 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12643 cleanup macros.
12644 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12645 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12646 cleanup macros.
12647 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12648 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12649 macros.
12650 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12651 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12652 macros.
12653 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12654 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12655 macros.
12656 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12657 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12658 cleanup macros.
12659 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12660 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12661 cleanup macros.
12662 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12663 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12664 macros.
12665 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12666 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12667 cleanup macros.
12668 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12669 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12670 macros.
12671 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12672 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12673 macros.
12674 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12675 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12676 cleanup macros.
12677 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12678
85118d4d
EBM
126792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12680
12681 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12682 to _sifields.sigfault.
12683 (si_addr_lsb): Define new macro.
12684 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12687
7a44c18f
CD
126882013-05-03 Carlos O'Donell <carlos at redhat.com>
12689
12690 [BZ #15441]
12691 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12692 returns -1.
12693 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12694 null return -1.
12695 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12696 loading the domain.
12697
b50a7181
JM
126982013-05-22 Joseph Myers <joseph@codesourcery.com>
12699
12700 * math/gen-libm-test.pl (parse_args): Do not include expected
12701 result in test name.
12702 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12708
051063c8
SP
127092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
3ce9e010
SP
12711 * benchtests/Makefile: Sort function entries.
12712
051063c8
SP
12713 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12714 tanh, asinh, acosh, atanh.
12715 * benchtests/acos-inputs: New file.
12716 * benchtests/acosh-inputs: New file.
12717 * benchtests/asin-inputs: New file.
12718 * benchtests/asinh-inputs: New file.
12719 * benchtests/atanh-inputs: New file.
12720 * benchtests/cosh-inputs: New file.
12721 * benchtests/log-inputs: New file.
12722 * benchtests/sinh-inputs: New file.
12723 * benchtests/tanh-inputs: New file.
12724
47c22455
DL
127252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12726
12727 [BZ #15339]
12728 * posix/tst-getaddrinfo4.c: New test.
12729 * posix/Makefile (tests): Add it.
12730
3d04f5db
SP
127312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 [BZ #15339]
12734 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12735 when no services were used.
12736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12737 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12738
d5dd6189
AS
127392013-05-21 Andreas Schwab <schwab@suse.de>
12740
12741 [BZ #15014]
12742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12743 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12744 successful.
12745 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12746 redundant variable declarations and reallocation of buffer when
12747 parsing as IPv6 address. Always set NSS status when called from
12748 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12749 buffer too small. Correct computation of needed size.
12750 * nss/Makefile (tests): Add test-digits-dots.
12751 * nss/test-digits-dots.c: New test.
12752
fef94eab
SP
127532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12754
12755 * benchtests/Makefile: Remove instructions for adding
12756 benchmark tests.
12757 * benchtests/README: New file to explain how to execute and
12758 enhance the benchmark tests.
12759
e39adf43
AS
127602013-05-21 Andreas Schwab <schwab@suse.de>
12761
12762 [BZ #15493]
12763 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12764 * setjmp/tst-sigsetjmp.c: New test.
12765
b2b671b6
OB
127662013-05-20 Ondřej Bílka <neleai@seznam.cz>
12767
12768 * sysdeps/x86_64/memset.S (memset): New implementation.
12769 (__bzero): Likewise.
12770 (__memset_tail): New function.
12771
2d48b41c
OB
127722013-05-20 Ondřej Bílka <neleai@seznam.cz>
12773
12774 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12775 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12776 __memcpy_sse2_unaligned ifunc selection.
12777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12778 Add memcpy-sse2-unaligned.S.
12779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12780 Add: __memcpy_sse2_unaligned.
12781
f16cc3eb
JM
127822013-05-19 Joseph Myers <joseph@codesourcery.com>
12783
3e694268
JM
12784 [BZ #15490]
12785 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12786 math_force_eval before restoring floating-point envrionment.
12787 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12789 Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12791 <math_private.h>.
12792 (__nearbyintl): Use math_force_eval before restoring
12793 floating-point environment.
12794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12795
db62a907
JM
12796 * math/gen-libm-test.pl (special_functions): Remove.
12797 (parse_args): Don't handle TEST_extra. Handle functions with no
12798 return value.
12799 * math/libm-test.inc (struct test_sincos_data): Replace with
12800 struct test_fFF_11_data.
12801 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12802 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12803 (sincos_test_data): Change element type to struct
12804 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12805 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12806 RUN_TEST_LOOP_sincos.
12807 * math/README.libm-test: Don't mention special handling of
12808 individual functions.
12809 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12815
f16cc3eb
JM
12816 * math/gen-libm-test.pl (get_variable): Remove function.
12817 (parse_args): Don't show pointer parameters to call in test
12818 names. Use "extra output N" in test names for extra outputs
12819 rather than naming variables.
12820
3779b5b6
JM
128212013-05-18 Joseph Myers <joseph@codesourcery.com>
12822
2ee094ff
JM
12823 [BZ #15488]
12824 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12825 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12826 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12827 double tests.
12828 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12829 disable.
12830 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12831 check_long_double.
12832
3779b5b6
JM
12833 * math/gen-libm-test.pl (@tests): Remove variable.
12834 ($count): Likewise.
12835 (new_test): Remove function.
12836 (show_exceptions): New function.
12837 (special_functions): Use show_exceptions instead of new_test.
12838 (parse_args): Likewise.
12839 (generate_testfile): Pass only function name in generated call to
12840 print_max_error or print_complex_max_error.
12841 (get_ulps): Do not handle complex tests specially.
12842 (output_test): Rename to ...
12843 (get_all_ulps_for_test): ... this. Return a string rather than
12844 printing to a file. Require ulps to be present.
12845 (output_ulps): Generate arrays rather than #defines.
12846 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12847 (struct ulp_data): New type.
12848 (BUILD_COMPLEX_ULP): Remove macro.
12849 (compare_ulp_data): New function.
12850 (find_ulps): Likewise.
12851 (find_test_ulps): Likewise.
12852 (find_function_ulps): Likewise.
12853 (find_complex_function_ulps): Likewise.
12854 (print_max_error): Determine allowed ulps using
12855 find_function_ulps.
12856 (print_complex_max_error): Determine allowed ulps using
12857 find_complex_function_ulps.
12858 (check_float_internal): Determine max ulps using find_test_ulps.
12859 (check_float): Do not take max_ulp parameter. Update call to
12860 check_float_internal.
12861 (check_complex): Likewise.
12862 (check_int): Do not take max_ulp parameter.
12863 (check_long): Likewise.
12864 (check_bool): Likewise.
12865 (check_longlong): Likewise.
12866 (struct test_f_f_data): Remove max_ulp field.
12867 (struct test_ff_f_data): Likewise.
12868 (struct test_ff_f_data_nexttoward): Likewise.
12869 (struct test_fi_f_data): Likewise.
12870 (struct test_fl_f_data): Likewise.
12871 (struct test_if_f_data): Likewise.
12872 (struct test_fff_f_data): Likewise.
12873 (struct test_c_f_data): Likewise.
12874 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12875 (struct test_fF_f1_data): Likewise.
12876 (struct test_ffI_f1_data): Likewise.
12877 (struct test_c_c_data): Remove max_ulp field.
12878 (struct test_cc_c_data): Likewise.
12879 (struct test_f_i_data): Likewise.
12880 (struct test_ff_i_data): Likewise.
12881 (struct test_f_l_data): Likewise.
12882 (struct test_f_L_data): Likewise.
12883 (struct test_sincos_data): Likewise.
12884 (RUN_TEST_f_f): Do not handle ulps.
12885 (RUN_TEST_LOOP_f_f): Likewise.
12886 (RUN_TEST_2_f): Likewise.
12887 (RUN_TEST_LOOP_2_f): Likewise.
12888 (RUN_TEST_fff_f): Likewise.
12889 (RUN_TEST_LOOP_fff_f): Likewise.
12890 (RUN_TEST_c_f): Likewise.
12891 (RUN_TEST_LOOP_c_f): Likewise.
12892 (RUN_TEST_f_f1): Likewise.
12893 (RUN_TEST_LOOP_f_f1): Likewise.
12894 (RUN_TEST_fF_f1): Likewise.
12895 (RUN_TEST_LOOP_fF_f1): Likewise.
12896 (RUN_TEST_fI_f1): Likewise.
12897 (RUN_TEST_LOOP_fI_f1): Likewise.
12898 (RUN_TEST_ffI_f1): Likewise.
12899 (RUN_TEST_LOOP_ffI_f1): Likewise.
12900 (RUN_TEST_c_c): Likewise.
12901 (RUN_TEST_LOOP_c_c): Likewise.
12902 (RUN_TEST_cc_c): Likewise.
12903 (RUN_TEST_LOOP_cc_c): Likewise.
12904 (RUN_TEST_f_i): Likewise.
12905 (RUN_TEST_LOOP_f_i): Likewise.
12906 (RUN_TEST_f_i_tg): Likewise.
12907 (RUN_TEST_LOOP_f_i_tg): Likewise.
12908 (RUN_TEST_ff_i_tg): Likewise.
12909 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12910 (RUN_TEST_f_b): Likewise.
12911 (RUN_TEST_LOOP_f_b): Likewise.
12912 (RUN_TEST_f_b_tg): Likewise.
12913 (RUN_TEST_LOOP_f_b_tg): Likewise.
12914 (RUN_TEST_f_l): Likewise.
12915 (RUN_TEST_LOOP_f_l): Likewise.
12916 (RUN_TEST_f_L): Likewise.
12917 (RUN_TEST_LOOP_f_L): Likewise.
12918 (RUN_TEST_sincos): Likewise.
12919 (RUN_TEST_LOOP_sincos): Likewise.
12920
8269107f
JM
129212013-05-17 Joseph Myers <joseph@codesourcery.com>
12922
bb38759d
JM
12923 [BZ #15480]
12924 [BZ #15485]
12925 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12926 main case of finite arguments, set rounding mode to FE_TONEAREST
12927 and discard exceptions.
12928 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12929 exceptions.
12930 (remainder_tonearest_test_data): New variable.
12931 (remainder_test_tonearest): New function.
12932 (remainder_towardzero_test_data): New variable.
12933 (remainder_test_towardzero): New function.
12934 (remainder_downward_test_data): New variable.
12935 (remainder_test_downward): New function.
12936 (remainder_upward_test_data): New variable.
12937 (remainder_test_upward): New function.
12938 (main): Call the new test functions.
12939
a00bdcf0
JM
12940 * math/libm-test.inc (struct test_f_f1_data): Remove field
12941 extra_init.
12942 (struct test_fF_f1_data): Likewise.
12943 (struct test_ffI_f1_data): Likewise.
12944 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12945 based on value of EXTRA_EXPECTED.
12946 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12947 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12948 EXTRA_VAR based on value of EXTRA_EXPECTED.
12949 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12950 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12951 EXTRA_VAR based on value of EXTRA_EXPECTED.
12952 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12953 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12954 EXTRA_VAR based on value of EXTRA_EXPECTED.
12955 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12956 * math/gen-libm-test.pl (parse_args): Don't output initializers
12957 for extra output values.
12958
de407f79
JM
12959 * math/libm-test.inc (check_int): Expect result to be exactly
12960 equal to expected value and do not handle ulps.
12961 (check_long): Likewise.
12962 (check_longlong): Likewise.
12963
8269107f
JM
12964 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12965 exceptions.
12966 (cimag_test_data): Likewise.
12967 (conj_test_data): Likewise.
12968 (copysign_test_data): Likewise.
12969 (cproj_test_data): Likewise.
12970 (creal_test_data): Likewise.
12971 (fabs_test_data): Likewise.
12972 (fdim_test_data): Likewise.
12973 (finite_test_data): Likewise.
12974 (floor_test_data): Likewise.
12975 (fmax_test_data): Likewise.
12976 (fmin_test_data): Likewise.
12977 (fmod_test_data): Likewise.
12978 (fpclassify_test_data): Likewise.
12979 (frexp_test_data): Likewise.
12980 (ilogb_test_data): Likewise.
12981 (isfinite_test_data): Likewise.
12982 (isgreater_test_data): Likewise.
12983 (isgreaterequal_test_data): Likewise.
12984 (isinf_test_data): Likewise.
12985 (isless_test_data): Likewise.
12986 (islessequal_test_data): Likewise.
12987 (islessgreater_test_data): Likewise.
12988 (isnan_test_data): Likewise.
12989 (isnormal_test_data): Likewise.
12990 (issignaling_test_data): Likewise.
12991 (isunordered_test_data): Likewise.
12992 (ldexp_test_data): Likewise.
12993 (lrint_test_data): Likewise.
12994 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12995 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12996 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12997 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12998 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12999 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13000 test input.
13001 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13002 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13003 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13004 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13005 that test input.
13006 (lrint_downward_test_data): Test for "inexact" exceptions.
13007 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13008 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13009 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13010 test input.
13011 (lrint_upward_test_data): Test for "inexact" exceptions.
13012 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13013 test input.
13014 (llrint_test_data): Test for "inexact" exceptions.
13015 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13016 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13017 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13018 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13019 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13020 (llrint_downward_test_data): Test for "inexact" exceptions.
13021 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13022 (llrint_upward_test_data): Test for "inexact" exceptions.
13023 (logb_test_data): Likewise.
13024 (logb_downward_test_data): Likewise.
13025 (nextafter_test_data): Likewise.
13026 (nexttoward_test_data): Likewise.
13027 (remainder_test_data): Likewise.
13028 (remquo_test_data): Likewise.
13029 (scalbn_test_data): Likewise.
13030 (scalbln_test_data): Likewise.
13031 (signbit_test_data): Likewise.
13032 (sqrt_test_data): Likewise.
13033 (significand_test_data): Likewise.
13034
48a18de1
SP
130352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13036
13037 [BZ #15424]
13038 * benchtests/bench-modf.c (struct args): Mark arg0 as
13039 volatile.
13040 * scripts/bench.pl: Mark members of struct args as volatile.
13041
13d3b41a
AZ
130422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13043
68191c1d 13044 [BZ # 15497]
13d3b41a
AZ
13045 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13046 negative infinity on POWER6 or lower.
13047 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13048
2848b105
MR
130492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13050
13051 [BZ #15442]
13052 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13053 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13054 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13055 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13056 (_FP_SETQNAN): New macro.
13057 (_FP_SETQNAN_SEMIRAW): Likewise.
13058 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13059 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13060 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13061 (FP_EXTEND): Use _FP_FRAC_SNANP.
13062 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13063 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13064 into account.
13065 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13066 New macro.
13067 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13068 Likewise.
13069
323e5cb7
JM
130702013-05-16 Joseph Myers <joseph@codesourcery.com>
13071
c58b274f
JM
13072 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13073 with DIVIDE_BY_ZERO_EXCEPTION.
13074 (gamma_test_data): Likewise.
13075 (lgamma_test_data): Likewise.
13076 (log_test_data): Likewise.
13077 (log10_test_data): Likewise.
13078 (log2_test_data): Likewise.
13079 (tgamma_test_data): Likewise.
13080
0ab34904
JM
13081 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13082 (acos_test_tonearest): Likewise.
13083 (acos_test_towardzero): Likewise.
13084 (acos_test_downward): Likewise.
13085 (acos_test_upward): Likewise.
13086 (acosh_test): Likewise.
13087 (asin_test): Likewise.
13088 (asin_test_tonearest): Likewise.
13089 (asin_test_towardzero): Likewise.
13090 (asin_test_downward): Likewise.
13091 (asin_test_upward): Likewise.
13092 (asinh_test): Likewise.
13093 (atan_test): Likewise.
13094 (atanh_test): Likewise.
13095 (atan2_test): Likewise.
13096 (cabs_test): Likewise.
13097 (cacos_test): Likewise.
13098 (cacosh_test): Likewise.
13099 (casin_test): Likewise.
13100 (casinh_test): Likewise.
13101 (catan_test): Likewise.
13102 (catanh_test): Likewise.
13103 (cbrt_test): Likewise.
13104 (ccos_test): Likewise.
13105 (ccosh_test): Likewise.
13106 (cexp_test): Likewise.
13107 (clog_test): Likewise.
13108 (clog10_test): Likewise.
13109 (cos_test): Likewise.
13110 (cos_test_tonearest): Likewise.
13111 (cos_test_towardzero): Likewise.
13112 (cos_test_downward): Likewise.
13113 (cos_test_upward): Likewise.
13114 (cosh_test): Likewise.
13115 (cosh_test_tonearest): Likewise.
13116 (cosh_test_towardzero): Likewise.
13117 (cosh_test_downward): Likewise.
13118 (cosh_test_upward): Likewise.
13119 (cpow_test): Likewise.
13120 (csin_test): Likewise.
13121 (csinh_test): Likewise.
13122 (csqrt_test): Likewise.
13123 (ctan_test): Likewise.
13124 (ctan_test_tonearest): Likewise.
13125 (ctan_test_towardzero): Likewise.
13126 (ctan_test_downward): Likewise.
13127 (ctan_test_upward): Likewise.
13128 (ctanh_test): Likewise.
13129 (ctanh_test_tonearest): Likewise.
13130 (ctanh_test_towardzero): Likewise.
13131 (ctanh_test_downward): Likewise.
13132 (ctanh_test_upward): Likewise.
13133 (erf_test): Likewise.
13134 (erfc_test): Likewise.
13135 (exp_test): Likewise.
13136 (exp_test_tonearest): Likewise.
13137 (exp_test_towardzero): Likewise.
13138 (exp_test_downward): Likewise.
13139 (exp_test_upward): Likewise.
13140 (exp10_test): Likewise.
13141 (exp2_test): Likewise.
13142 (expm1_test): Likewise.
13143 (fmod_test): Likewise.
13144 (gamma_test): Likewise.
13145 (hypot_test): Likewise.
13146 (j0_test): Likewise.
13147 (j1_test): Likewise.
13148 (jn_test): Likewise.
13149 (lgamma_test): Likewise.
13150 (log_test): Likewise.
13151 (log10_test): Likewise.
13152 (log1p_test): Likewise.
13153 (log2_test): Likewise.
13154 (logb_test_downward): Likewise.
13155 (pow_test): Likewise.
13156 (pow_test_tonearest): Likewise.
13157 (pow_test_towardzero): Likewise.
13158 (pow_test_downward): Likewise.
13159 (pow_test_upward): Likewise.
13160 (remainder_test): Likewise.
13161 (remquo_test): Likewise.
13162 (sin_test): Likewise.
13163 (sin_test_tonearest): Likewise.
13164 (sin_test_towardzero): Likewise.
13165 (sin_test_downward): Likewise.
13166 (sin_test_upward): Likewise.
13167 (sincos_test): Likewise.
13168 (sinh_test): Likewise.
13169 (sinh_test_tonearest): Likewise.
13170 (sinh_test_towardzero): Likewise.
13171 (sinh_test_downward): Likewise.
13172 (sinh_test_upward): Likewise.
13173 (sqrt_test): Likewise.
13174 (tan_test): Likewise.
13175 (tan_test_tonearest): Likewise.
13176 (tan_test_towardzero): Likewise.
13177 (tan_test_downward): Likewise.
13178 (tan_test_upward): Likewise.
13179 (tanh_test): Likewise.
13180 (tgamma_test): Likewise.
13181 (y0_test): Likewise.
13182 (y1_test): Likewise.
13183 (yn_test): Likewise.
13184
323e5cb7
JM
13185 * math/gen-libm-test.pl (adjust_arg): Remove function.
13186 (special_function): Remove argument $in_func. Only handle
13187 generating output for tables of tests, not inside functions.
13188 (parse_args): Likewise.
13189 (generate_testfile): Remove variable $in_func. Update call to
13190 parse_args.
13191 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13192 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13193 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13194 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13195 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13196 (MAX_VALUE_INIT): Rename macro to max_value.
13197 (MIN_VALUE_INIT): Rename macro to min_value.
13198 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13199 (plus_zero): Remove variable.
13200 (minus_zero): Likewise.
13201 (plus_infty): Likewise.
13202 (minus_infty): Likewise.
13203 (qnan_value): Likewise.
13204 (max_value): Likewise.
13205 (min_value): Likewise.
13206 (min_subnorm_value): Likewise.
13207
e054f494
RA
132082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13209
13210 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13211 uint64_t or uint32_t usage.
13212 * crypt/sha256-block.c: Likewise.
13213 * crypt/sha256-crypt.c: Likewise.
13214 * crypt/sha256.c: Likewise.
13215 * crypt/sha512-block.c: Likewise.
13216 * crypt/sha512-crypt.c: Likewise.
13217 * crypt/sha512.c: Likewise.
13218 * debug/backtrace-tst.c: Likewise.
13219 * debug/pcprofiledump.c: Likewise.
13220 * elf/cache.c: Likewise.
13221 * elf/dl-cache.c: Likewise.
13222 * elf/dl-misc.c: Likewise.
13223 * elf/dl-profile.c: Likewise.
13224 * elf/dl-support.c: Likewise.
13225 * elf/ldconfig.c: Likewise.
13226 * elf/sprof.c: Likewise.
13227 * iconv/dummy-repertoire.c: Likewise.
13228 * iconv/iconv_charmap.c: Likewise.
13229 * iconv/skeleton.c: Likewise.
13230 * iconvdata/8bit-generic.c: Likewise.
13231 * iconvdata/cp737.h: Likewise.
13232 * iconvdata/cp775.h: Likewise.
13233 * iconvdata/ibm1008.h: Likewise.
13234 * iconvdata/ibm1025.h: Likewise.
13235 * iconvdata/ibm1046.h: Likewise.
13236 * iconvdata/ibm1097.h: Likewise.
13237 * iconvdata/ibm1112.h: Likewise.
13238 * iconvdata/ibm1122.h: Likewise.
13239 * iconvdata/ibm1123.h: Likewise.
13240 * iconvdata/ibm1124.h: Likewise.
13241 * iconvdata/ibm1129.h: Likewise.
13242 * iconvdata/ibm1130.h: Likewise.
13243 * iconvdata/ibm1132.h: Likewise.
13244 * iconvdata/ibm1133.h: Likewise.
13245 * iconvdata/ibm1137.h: Likewise.
13246 * iconvdata/ibm1140.h: Likewise.
13247 * iconvdata/ibm1141.h: Likewise.
13248 * iconvdata/ibm1142.h: Likewise.
13249 * iconvdata/ibm1143.h: Likewise.
13250 * iconvdata/ibm1144.h: Likewise.
13251 * iconvdata/ibm1145.h: Likewise.
13252 * iconvdata/ibm1146.h: Likewise.
13253 * iconvdata/ibm1147.h: Likewise.
13254 * iconvdata/ibm1148.h: Likewise.
13255 * iconvdata/ibm1149.h: Likewise.
13256 * iconvdata/ibm1153.h: Likewise.
13257 * iconvdata/ibm1154.h: Likewise.
13258 * iconvdata/ibm1155.h: Likewise.
13259 * iconvdata/ibm1156.h: Likewise.
13260 * iconvdata/ibm1157.h: Likewise.
13261 * iconvdata/ibm1158.h: Likewise.
13262 * iconvdata/ibm1160.h: Likewise.
13263 * iconvdata/ibm1161.h: Likewise.
13264 * iconvdata/ibm1162.h: Likewise.
13265 * iconvdata/ibm1163.h: Likewise.
13266 * iconvdata/ibm1164.h: Likewise.
13267 * iconvdata/ibm1166.h: Likewise.
13268 * iconvdata/ibm1167.h: Likewise.
13269 * iconvdata/ibm12712.h: Likewise.
13270 * iconvdata/ibm1390.h: Likewise.
13271 * iconvdata/ibm1399.h: Likewise.
13272 * iconvdata/ibm16804.h: Likewise.
13273 * iconvdata/ibm4517.h: Likewise.
13274 * iconvdata/ibm4899.h: Likewise.
13275 * iconvdata/ibm4909.h: Likewise.
13276 * iconvdata/ibm4971.h: Likewise.
13277 * iconvdata/ibm5347.h: Likewise.
13278 * iconvdata/ibm803.h: Likewise.
13279 * iconvdata/ibm856.h: Likewise.
13280 * iconvdata/ibm901.h: Likewise.
13281 * iconvdata/ibm902.h: Likewise.
13282 * iconvdata/ibm9030.h: Likewise.
13283 * iconvdata/ibm9066.h: Likewise.
13284 * iconvdata/ibm921.h: Likewise.
13285 * iconvdata/ibm922.h: Likewise.
13286 * iconvdata/ibm9448.h: Likewise.
13287 * iconvdata/isiri-3342.h: Likewise.
13288 * iconvdata/jis0201.h: Likewise.
13289 * include/link.h: Likewise.
13290 * include/netdb.h: Likewise.
13291 * inet/check_native.c: Likewise.
13292 * inet/check_pf.c: Likewise.
13293 * inet/getipv4sourcefilter.c: Likewise.
13294 * inet/getnameinfo.c: Likewise.
13295 * inet/getsourcefilter.c: Likewise.
13296 * inet/htonl.c: Likewise.
13297 * inet/setipv4sourcefilter.c: Likewise.
13298 * inet/setsourcefilter.c: Likewise.
13299 * inet/test-inet6_opt.c: Likewise.
13300 * inet/tst-network.c: Likewise.
13301 * locale/C-collate.c: Likewise.
13302 * locale/C-ctype.c: Likewise.
13303 * locale/C-time.c: Likewise.
13304 * locale/C-translit.h: Likewise.
13305 * locale/loadarchive.c: Likewise.
13306 * locale/programs/3level.h: Likewise.
13307 * locale/programs/charmap.c: Likewise.
13308 * locale/programs/charmap.h: Likewise.
13309 * locale/programs/ld-address.c: Likewise.
13310 * locale/programs/ld-collate.c: Likewise.
13311 * locale/programs/ld-ctype.c: Likewise.
13312 * locale/programs/ld-identification.c: Likewise.
13313 * locale/programs/ld-measurement.c: Likewise.
13314 * locale/programs/ld-messages.c: Likewise.
13315 * locale/programs/ld-monetary.c: Likewise.
13316 * locale/programs/ld-name.c: Likewise.
13317 * locale/programs/ld-numeric.c: Likewise.
13318 * locale/programs/ld-paper.c: Likewise.
13319 * locale/programs/ld-telephone.c: Likewise.
13320 * locale/programs/ld-time.c: Likewise.
13321 * locale/programs/linereader.c: Likewise.
13322 * locale/programs/locale.c: Likewise.
13323 * locale/programs/locarchive.c: Likewise.
13324 * locale/programs/locfile.h: Likewise.
13325 * locale/programs/repertoire.c: Likewise.
13326 * locale/programs/simple-hash.c: Likewise.
13327 * locale/programs/simple-hash.h: Likewise.
13328 * malloc/memusage.c: Likewise.
13329 * malloc/memusagestat.c: Likewise.
13330 * nis/nis_defaults.c: Likewise.
13331 * nis/nis_hash.c: Likewise.
13332 * nis/nis_print.c: Likewise.
13333 * nis/nis_xdr.c: Likewise.
13334 * nscd/connections.c: Likewise.
13335 * nscd/hstcache.c: Likewise.
13336 * nscd/nscd_gethst_r.c: Likewise.
13337 * nscd/nscd_getserv_r.c: Likewise.
13338 * nscd/nscd_helper.c: Likewise.
13339 * nscd/servicescache.c: Likewise.
13340 * nss/makedb.c: Likewise.
13341 * nss/nss_db/db-XXX.c: Likewise.
13342 * nss/nss_db/db-initgroups.c: Likewise.
13343 * nss/nss_db/db-netgrp.c: Likewise.
13344 * nss/nss_files/files-network.c: Likewise.
13345 * nss/nss_files/files-parse.c: Likewise.
13346 * posix/bug-regex5.c: Likewise.
13347 * posix/fnmatch_loop.c: Likewise.
13348 * posix/regcomp.c: Likewise.
13349 * posix/regexec.c: Likewise.
13350 * posix/tst-rfc3484-2.c: Likewise.
13351 * posix/tst-rfc3484-3.c: Likewise.
13352 * posix/tst-rfc3484.c: Likewise.
13353 * resolv/nss_dns/dns-canon.c: Likewise.
13354 * resolv/nss_dns/dns-network.c: Likewise.
13355 * resolv/res_init.c: Likewise.
13356 * resolv/res_mkquery.c: Likewise.
13357 * resolv/tst-aton.c: Likewise.
13358 * stdlib/cxa_atexit.c: Likewise.
13359 * stdlib/cxa_finalize.c: Likewise.
13360 * stdlib/gen-fpioconst.c: Likewise.
13361 * stdlib/strtol_l.c: Likewise.
13362 * string/tst-endian.c: Likewise.
13363 * sunrpc/auth_des.c: Likewise.
13364 * sunrpc/clnt_udp.c: Likewise.
13365 * sunrpc/rtime.c: Likewise.
13366 * sunrpc/svcauth_des.c: Likewise.
13367 * sunrpc/xdr.c: Likewise.
13368 * sunrpc/xdr_intXX_t.c: Likewise.
13369 * sunrpc/xdr_rec.c: Likewise.
13370 * sysdeps/generic/ldconfig.h: Likewise.
13371 * sysdeps/generic/ldsodefs.h: Likewise.
13372 * sysdeps/generic/memusage.h: Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13383 * sysdeps/posix/getaddrinfo.c: Likewise.
13384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13386 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13388 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13389 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13390 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13391 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13392 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13394 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13395 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13396 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13397 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13398 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13399 * sysdeps/x86_64/dl-tls.h: Likewise.
13400 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13401 * time/alt_digit.c: Likewise.
13402 * time/era.c: Likewise.
13403 * wcsmbs/tst-c16c32-1.c: Likewise.
13404
8c75f674
JM
134052013-05-16 Joseph Myers <joseph@codesourcery.com>
13406
13407 * math/libm-test.inc (struct test_sincos_data): New type.
13408 (RUN_TEST_LOOP_sincos): New macro.
13409 (sincos_test_data): New variable.
13410 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13411
e6e49e59
RH
134122013-05-16 Richard Henderson <rth@redhat.com>
13413
13414 * math/atest-exp2.c (LIMB64): New macro.
13415 (CONSTSZ): New macro.
13416 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13417 (hexdig): Move ...
13418 (print_mpn_fp): ... to function scope.
13419 (read_mpn_hex): Remove.
13420 (get_log2): Remove.
13421 (exp2_mpn): Use mp_log2.
13422 (main): Use mp_exp1.
13423
15c7c18d
JM
134242013-05-16 Joseph Myers <joseph@codesourcery.com>
13425
105a07df
JM
13426 * math/libm-test.inc: Remove comment about not testing "inexact"
13427 exceptions.
13428 (INEXACT_EXCEPTION): New macro.
13429 (NO_INEXACT_EXCEPTION): Likewise.
13430 (INVALID_EXCEPTION_OK): Update value.
13431 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13432 (OVERFLOW_EXCEPTION_OK): Likewise.
13433 (UNDERFLOW_EXCEPTION_OK): Likewise.
13434 (IGNORE_ZERO_INF_SIGN): Likewise.
13435 (ERRNO_UNCHANGED): Likewise.
13436 (ERRNO_EDOM): Likewise.
13437 (ERRNO_ERANGE): Likewise.
13438 (test_exceptions): Handle testing "inexact" exceptions.
13439 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13440 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13441 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13442 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13443 INEXACT_EXCEPTION.
13444 (rint_towardzero_test_data): Likewise.
13445 (rint_downward_test_data): Likewise.
13446 (rint_upward_test_data): Likewise.
13447
e9eee333
JM
13448 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13449 with OVERFLOW_EXCEPTION.
13450 (exp10_test_data): Likewise.
13451 (exp2_test_data): Likewise.
13452 (expm1_test_data): Likewise.
13453 (lgamma_test_data): Likewise.
13454 (pow_test_data): Likewise.
13455 (tgamma_test_data): Likewise.
13456 (yn_test_data): Remove duplicate test of overflow.
13457
1c38ff73
JM
13458 * math/libm-test.inc (struct test_cc_c_data): New type.
13459 (RUN_TEST_LOOP_cc_c): New macro.
13460 (cpow_test_data): New variable.
13461 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13462
15c7c18d
JM
13463 * math/libm-test.inc (struct test_f_L_data): New type.
13464 (RUN_TEST_LOOP_f_L): New macro.
13465 (llrint_test_data): New variable.
13466 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13467 (llrint_tonearest_test_data): New variable.
13468 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13469 (llrint_towardzero_test_data): New variable.
13470 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13471 (llrint_downward_test_data): New variable.
13472 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13473 (llrint_upward_test_data): New variable.
13474 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13475 (llround_test_data): New variable.
13476 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13477
f137ff13
PC
134782013-05-13 Peter Collingbourne <pcc@google.com>
13479
13480 * math/atest-exp2.c (get_log2): Remove const attribute.
13481
3608cb24
JM
134822013-05-15 Joseph Myers <joseph@codesourcery.com>
13483
13484 * math/libm-test.inc (struct test_f_l_data): New type.
13485 (RUN_TEST_LOOP_f_l): New macro.
13486 (lrint_test_data): New variable.
13487 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13488 (lrint_tonearest_test_data): New variable.
13489 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13490 (lrint_towardzero_test_data): New variable.
13491 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13492 (lrint_downward_test_data): New variable.
13493 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13494 (lrint_upward_test_data): New variable.
13495 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13496 (lround_test_data): New variable.
13497 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13498
39b1f617
PC
134992013-05-15 Peter Collingbourne <pcc@google.com>
13500
1deff3dc
PC
13501 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13502 (EXTRACT_WORDS64) Use where appropriate.
13503 (INSERT_WORDS64) Likewise.
13504
791f3ba0
PC
13505 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13506 constraints with x constraints.
13507 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13508
39b1f617
PC
13509 * malloc/obstack.c (_obstack_compat): Add initializer.
13510
12fba011
EM
135112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13512
13513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13514 si_trapno and add si_addr_lsb to _sifields.sigfault.
13515 (si_trapno): Remove macro.
13516 (si_addr_lsb): Define new macro.
13517 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13518
d369f531
JM
135192013-05-15 Joseph Myers <joseph@codesourcery.com>
13520
b861c6c4
JM
13521 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13522 instead of TEST_f_l.
13523 (llrint_test_tonearest): Likewise.
13524 (llrint_test_towardzero): Likewise.
13525 (llrint_test_downward): Likewise.
13526 (llrint_test_upward): Likewise.
13527 (llround_test): Likewise.
13528
7abeee12
JM
13529 * math/libm-test.inc (struct test_f_i_data): Add comment.
13530 (RUN_TEST_LOOP_f_b): New macro.
13531 (RUN_TEST_LOOP_f_b_tg): Likewise.
13532 (finite_test_data): New variable.
13533 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13534 (isfinite_test_data): New variable.
13535 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13536 (isinf_test_data): New variable.
13537 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13538 (isnan_test_data): New variable.
13539 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13540 (isnormal_test_data): New variable.
13541 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13542 (issignaling_test_data): New variable.
13543 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13544 (signbit_test_data): New variable.
13545 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13546
cbe8c4d3
JM
13547 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13548 with INVALID_EXCEPTION.
13549 (acosh_test_data): Likewise.
13550 (asin_test_data): Likewise.
13551 (atanh_test_data): Likewise.
13552 (fmod_test_data): Likewise.
13553 (log_test_data): Likewise.
13554 (log10_test_data): Likewise.
13555 (log2_test_data): Likewise.
13556 (pow_test_data): Likewise.
13557 (sqrt_test_data): Likewise.
13558 (y0_test_data): Likewise.
13559 (y1_test_data): Likewise.
13560 (yn_test_data): Likewise.
13561
5575c0e5
JM
13562 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13563 function contents.
13564
d369f531
JM
13565 * math/libm-test.inc (struct test_ff_i_data): New type.
13566 (RUN_TEST_LOOP_ff_i_tg): New macro.
13567 (isgreater_test_data): New variable.
13568 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13569 (isgreaterequal_test_data): New variable.
13570 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13571 (isless_test_data): New variable.
13572 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13573 (islessequal_test_data): New variable.
13574 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13575 (islessgreater_test_data): New variable.
13576 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13577 (isunordered_test_data): New variable.
13578 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13579
781fd748
DM
135802013-05-14 David S. Miller <davem@davemloft.net>
13581
13582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13583
87aa21df
JM
135842013-05-14 Joseph Myers <joseph@codesourcery.com>
13585
5e908270
JM
13586 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13587
f71172e5
JM
13588 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13589 extra_test to int.
13590 (struct test_f_i_data): Change type of max_ulp to int.
13591
8cfa635a
JM
13592 * math/libm-test.inc (test_ffI_f1_data): New type.
13593 (RUN_TEST_LOOP_ffI_f1): New macro.
13594 (remquo_test_data): New variable.
13595 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13596
2bcb36b2
JM
13597 * setjmp/tst-setjmp-fp.c: New file.
13598 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13599 (link-libm): New variable.
13600 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13601
acbd839a
JM
13602 * math/libm-test.inc (struct test_f_i_data): New type.
13603 (RUN_TEST_LOOP_f_i): New macro.
13604 (RUN_TEST_LOOP_f_i_tg): Likewise.
13605 (fpclassify_test_data): New variable.
13606 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13607 (ilogb_test_data): New variable.
13608 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13609
e414d745
JM
13610 * math/libm-test.inc (scalbln_test): Correct function name in END
13611 call.
13612
d9c2a0fd
JM
13613 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13614 (RUN_TEST_LOOP_fI_f1): New macro.
13615 (frexp_test_data): New variable.
13616 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13617
9dc9095d
JM
13618 * math/libm-test.inc (struct test_fF_f1_data): New type.
13619 (RUN_TEST_LOOP_fF_f1): New macro.
13620 (modf_test_data): New variable.
13621 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13622
87aa21df
JM
13623 * math/libm-test.inc (struct test_f_f1_data): New type.
13624 (RUN_TEST_LOOP_f_f1): New macro.
13625 (gamma_test_data): New variable.
13626 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13627 (lgamma_test_data): New variable.
13628 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13629
141af660
CD
136302013-05-13 Carlos O'Donell <carlos@redhat.com>
13631
13632 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13633 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13634 (main): Comment "tls" pseudo-hwcap.
13635
6d33265c
JM
136362013-05-13 Joseph Myers <joseph@codesourcery.com>
13637
68fc074c
JM
13638 * math/libm-test.inc (struct test_fl_f_data): New type.
13639 (RUN_TEST_LOOP_fl_f): New variable.
13640 (scalbln_test_data): New variable.
13641 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13642
243216e1
JM
13643 * math/libm-test.inc (struct test_fi_f_data): New type.
13644 (RUN_TEST_LOOP_fi_f): New macro.
13645 (ldexp_test_data): New variable.
13646 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13647 (scalbn_test_data): New variable.
13648 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13649
6a1992e2
JM
13650 * math/libm-test.inc (struct test_c_f_data): New type.
13651 (RUN_TEST_LOOP_c_f): New macro.
13652 (cabs_test_data): New variable.
13653 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13654 (carg_test_data): New variable.
13655 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13656 (cimag_test_data): New variable.
13657 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13658 (creal_test_data): New variable.
13659 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13660
0e400df5
JM
13661 * math/libm-test.inc (struct test_if_f_data): New type.
13662 (RUN_TEST_LOOP_if_f): New macro.
13663 (jn_test_data): New variable.
13664 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13665 (yn_test_data): New variable.
13666 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13667
6d33265c
JM
13668 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13669
f98ece5f
AZ
136702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13671
13672 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13673 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13674
0f7d347b
SP
136752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13676
43fe811b
SP
13677 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13678 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13679 (bench-deps): Add bench-timing.h.
13680 * benchtests-bench-skeleton.c: Include bench-timing.h.
13681 (main): Use TIMING_* macros instead of clock_gettime.
13682 * benchtests/bench-timing.h: New file.
13683
0f7d347b
SP
13684 [BZ #14582]
13685 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13686 Renamed from _LIB_VERSION.
13687 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13688
601a3a5f
JM
136892013-05-12 Joseph Myers <joseph@codesourcery.com>
13690
4f184d30
JM
13691 * math/libm-test.inc (struct test_fff_f_data): New type.
13692 (RUN_TEST_LOOP_fff_f): New macro.
13693 (fma_test_data): New variable.
13694 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13695 (fma_towardzero_test_data): New variable.
13696 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13697 (fma_downward_test_data): New variable.
13698 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13699 (fma_upward_test_data): New variable.
13700 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13701
08198877
JM
13702 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13703 (struct test_c_c_data): New type.
13704 (RUN_TEST_LOOP_c_c): New macro.
13705 (cacos_test_data): New variable.
13706 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13707 (cacosh_test_data): New variable.
13708 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13709 (casin_test_data): New variable.
13710 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13711 (casinh_test_data): New variable.
13712 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13713 (catan_test_data): New variable.
13714 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13715 (catanh_test_data): New variable.
13716 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13717 (ccos_test_data): New variable.
13718 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13719 (ccosh_test_data): New variable.
13720 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13721 (cexp_test_data): New variable.
13722 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13723 (clog_test_data): New variable.
13724 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13725 (clog10_test_data): New variable.
13726 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13727 (conj_test_data): New variable.
13728 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13729 (cproj_test_data): New variable.
13730 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13731 (csin_test_data): New variable.
13732 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13733 (csinh_test_data): New variable.
13734 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13735 (csqrt_test_data): New variable.
13736 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13737 (ctan_test_data): New variable.
13738 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13739 (ctan_tonearest_test_data): New variable.
13740 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13741 (ctan_towardzero_test_data): New variable.
13742 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13743 (ctan_downward_test_data): New variable.
13744 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13745 (ctan_upward_test_data): New variable.
13746 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13747 (ctanh_test_data): New variable.
13748 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13749 (ctanh_tonearest_test_data): New variable.
13750 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13751 (ctanh_towardzero_test_data): New variable.
13752 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13753 (ctanh_downward_test_data): New variable.
13754 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13755 (ctanh_upward_test_data): New variable.
13756 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13757 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13758 of BUILD_COMPLEX.
13759
601a3a5f
JM
13760 * math/libm-test.inc (struct test_ff_f_data): New type.
13761 (struct test_ff_f_data_nexttoward): Likewise.
13762 (RUN_TEST_LOOP_2_f): New macro.
13763 (RUN_TEST_LOOP_ff_f): Likewise.
13764 (atan2_test_data): New variable.
13765 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13766 (copysign_test_data): New variable.
13767 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13768 (fdim_test_data): New variable.
13769 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13770 (fmax_test_data): New variable.
13771 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13772 (fmin_test_data): New variable.
13773 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13774 (fmod_test_data): New variable.
13775 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13776 (hypot_test_data): New variable.
13777 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13778 (nextafter_test_data): New variable.
13779 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13780 (nexttoward_test_data): New variable.
13781 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13782 (pow_test_data): New variable.
13783 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13784 (pow_tonearest_test_data): New variable.
13785 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13786 (pow_towardzero_test_data): New variable.
13787 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13788 (pow_downward_test_data): New variable.
13789 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13790 (pow_upward_test_data): New variable.
13791 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13792 (remainder_test_data): New variable.
13793 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13794 (scalb_test_data): New variable.
13795 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update.
13797
74c57478
JM
137982013-05-11 Joseph Myers <joseph@codesourcery.com>
13799
8329e4da
JM
13800 * math/libm-test.inc (fma_test): Use max_value instead of local
13801 variable fltmax.
13802 (nextafter_test): Likewise.
13803
74c57478
JM
13804 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13805 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13806 (acos_downward_test_data): New variable.
13807 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13808 (acos_upward_test_data): New variable.
13809 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13810 (acosh_test_data): New variable.
13811 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13812 (asin_test_data): New variable.
13813 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13814 (asin_tonearest_test_data): New variable.
13815 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13816 (asin_towardzero_test_data): New variable.
13817 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13818 (asin_downward_test_data): New variable.
13819 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13820 (asin_upward_test_data): New variable.
13821 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13822 (asinh_test_data): New variable.
13823 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13824 (atan_test_data): New variable.
13825 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13826 (atanh_test_data): New variable.
13827 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13828 (cbrt_test_data): New variable.
13829 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13830 (ceil_test_data): New variable.
13831 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13832 (cos_test_data): New variable.
13833 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13834 (cos_tonearest_test_data): New variable.
13835 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13836 (cos_towardzero_test_data): New variable.
13837 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13838 (cos_downward_test_data): New variable.
13839 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13840 (cos_upward_test_data): New variable.
13841 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13842 (cosh_test_data): New variable.
13843 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13844 (cosh_tonearest_test_data): New variable.
13845 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13846 (cosh_towardzero_test_data): New variable.
13847 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13848 (cosh_downward_test_data): New variable.
13849 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13850 (cosh_upward_test_data): New variable.
13851 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13852 (erf_test_data): New variable.
13853 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13854 (erfc_test_data): New variable.
13855 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13856 (exp_test_data): New variable.
13857 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13858 (exp_tonearest_test_data): New variable.
13859 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13860 (exp_towardzero_test_data): New variable.
13861 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13862 (exp_downward_test_data): New variable.
13863 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13864 (exp_upward_test_data): New variable.
13865 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13866 (exp10_test_data): New variable.
13867 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13868 (exp2_test_data): New variable.
13869 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13870 (expm1_test_data): New variable.
13871 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13872 (fabs_test_data): New variable.
13873 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13874 (floor_test_data): New variable.
13875 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13876 (j0_test_data): New variable.
13877 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13878 (j1_test_data): New variable.
13879 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13880 (log_test_data): New variable.
13881 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13882 (log10_test_data): New variable.
13883 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13884 (log1p_test_data): New variable.
13885 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13886 (log2_test_data): New variable.
13887 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13888 (logb_test_data): New variable.
13889 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13890 (logb_downward_test_data): New variable.
13891 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13892 (nearbyint_test_data): New variable.
13893 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13894 (rint_test_data): New variable.
13895 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13896 (rint_tonearest_test_data): New variable.
13897 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13898 (rint_towardzero_test_data): New variable.
13899 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13900 (rint_downward_test_data): New variable.
13901 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13902 (rint_upward_test_data): New variable.
13903 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13904 (round_test_data): New variable.
13905 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13906 (sin_test_data): New variable.
13907 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13908 (sin_tonearest_test_data): New variable.
13909 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13910 (sin_towardzero_test_data): New variable.
13911 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13912 (sin_downward_test_data): New variable.
13913 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13914 (sin_upward_test_data): New variable.
13915 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13916 (sinh_test_data): New variable.
13917 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13918 (sinh_tonearest_test_data): New variable.
13919 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13920 (sinh_towardzero_test_data): New variable.
13921 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13922 (sinh_downward_test_data): New variable.
13923 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13924 (sinh_upward_test_data): New variable.
13925 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13926 (sqrt_test_data): New variable.
13927 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13928 (tan_test_data): New variable.
13929 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13930 (tan_tonearest_test_data): New variable.
13931 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13932 (tan_towardzero_test_data): New variable.
13933 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13934 (tan_downward_test_data): New variable.
13935 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13936 (tan_upward_test_data): New variable.
13937 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13938 (tanh_test_data): New variable.
13939 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13940 (tgamma_test_data): New variable.
13941 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13942 (trunc_test_data): New variable.
13943 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13944 (y0_test_data): New variable.
13945 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13946 (y1_test_data): New variable.
13947 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13948 (significand_test_data): New variable.
13949 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13950
7187d844
CG
139512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13952
13953 [BZ #12387]
13954 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13955
f63fae73
PT
139562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13957
13958 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13959
8a67a4b3
AJ
139602013-05-10 Andreas Jaeger <aj@suse.de>
13961
13962 [BZ #15448]
13963 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13964 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13965
51df539d
JM
139662013-05-10 Joseph Myers <joseph@codesourcery.com>
13967
13968 * math/gen-libm-test.pl (adjust_arg): New function.
13969 (special_functions): Handle generating output in both functions
13970 and arrays.
13971 (parse_args): Likewise.
13972 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13973 $in_func argument to parse_args.
13974 * math/libm-test.inc (struct test_f_f_data): New type.
13975 (IF_ROUND_INIT_): New macro.
13976 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13977 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13978 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13979 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13980 (ROUND_RESTORE_): Likewise.
13981 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13982 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13983 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13984 (ROUND_RESTORE_FE_UPWARD): Likewise.
13985 (RUN_TEST_LOOP_f_f): New macro.
13986 (acos_test_data): New variable.
13987 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13988 (acos_tonearest_test_data): New variable.
13989 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13990
5c637fe5
SP
139912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13992
13993 * benchtests/bench-skeleton.c (startup): Fix coding style.
13994
ab2b9461
JM
139952013-05-10 Joseph Myers <joseph@codesourcery.com>
13996
13997 [BZ #6809]
13998 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13999 negative infinity argument.
14000 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14001 negative infinity argument.
14002 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14003 negative infinity argument.
14004 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14005 domain errors.
14006
4c0fe6fe
FW
140072013-05-10 Florian Weimer <fweimer@redhat.com>
14008
14009 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14010 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14011 * iconv/iconv_prog.c (main): Likewise.
14012 * locale/programs/charmap-dir.c (charmap_readdir)
14013 (fopen_uncompressed): Likewise.
14014 * locale/programs/locfile.c (siblings_uncached)
14015 (write_locale_data): Use lstat64 instead of lstat.
14016 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14017 stat.
14018
a3375d29
AJ
140192013-05-10 Andreas Jaeger <aj@suse.de>
14020
14021 [BZ #15395]
14022 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14023 localization.
14024 Include <locale.h>.
14025
36129722
CD
140262013-05-09 Carlos O'Donell <carlos@redhat.com>
14027
14028 * elf/dl-close.c (_dl_close_worker): Add comments.
14029
faa7f811
JM
140302013-05-09 Joseph Myers <joseph@codesourcery.com>
14031
ed41ffef
JM
14032 [BZ #15359]
14033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14034 high part of pi/2.
14035 (__ieee754_rem_pio2l): Update comments.
14036
d0213cd0
JM
14037 [BZ #15429]
14038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14039 high part of pi/2.
14040 (__ieee754_rem_pio2l): Update comments.
14041
0d3e777a
JM
14042 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14043 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14044
24f56066
JM
14045 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14046 M_PI_4l.
14047
faa7f811
JM
14048 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14049 (M_PI_34_LOG10El): Likewise.
14050 (M_PI2_LOG10El): Likewise.
14051 (M_PI4_LOG10El): Likewise.
14052 (M_PI_LOG10El): Likewise.
14053
e9a5e0fd
AZ
140542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14055
14056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14057
d8cd06db
JM
140582013-05-08 Joseph Myers <joseph@codesourcery.com>
14059
a0d9f9d7
JM
14060 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14061 (MINUS_ZERO_INIT): Likewise.
14062 (PLUS_INFTY_INIT): Likewise.
14063 (MINUS_INFTY_INIT): Likewise.
14064 (QNAN_VALUE_INIT): Likewise.
14065 (MAX_VALUE_INIT): Likewise.
14066 (MIN_VALUE_INIT): Likewise.
14067 (MIN_SUBNORM_VALUE_INIT): Likewise.
14068 (plus_zero): Initialize with PLUS_ZERO_INIT.
14069 (minus_zero): Initialize with MINUS_ZERO_INIT.
14070 (plus_infty): Initialize with PLUS_INFTY_INIT.
14071 (minus_infty): Initialize with MINUS_INFTY_INIT.
14072 (qnan_value): Initialize with QNAN_VALUE_INIT.
14073 (max_value): Initialize with MAX_VALUE_INIT.
14074 (min_value): Initialize with MIN_VALUE_INIT.
14075 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14076
ae08db3b
JM
14077 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14078 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14079 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14080 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14081
f44bf14a
JM
14082 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14083 (RUN_TEST_2_f): Likewise.
14084 (RUN_TEST_ff_f): Likewise.
14085 (RUN_TEST_fi_f): Likewise.
14086 (RUN_TEST_fl_f): Likewise.
14087 (RUN_TEST_fff_f): Likewise.
14088 (RUN_TEST_c_f): Likewise.
14089 (RUN_TEST_f_f1): Likewise.
14090 (RUN_TEST_fF_f1): Likewise.
14091 (RUN_TEST_fI_f1): Likewise.
14092 (RUN_TEST_ffI_f1): Likewise.
14093 (RUN_TEST_c_c): Likewise.
14094 (RUN_TEST_cc_c): Likewise.
14095 (RUN_TEST_f_i): Likewise.
14096 (RUN_TEST_f_i_tg): Likewise.
14097 (RUN_TEST_ff_i_tg): Likewise.
14098 (RUN_TEST_f_b): Likewise.
14099 (RUN_TEST_f_b_tg): Likewise.
14100 (RUN_TEST_f_l): Likewise.
14101 (RUN_TEST_f_L): Likewise.
14102 (RUN_TEST_sincos): Likewise.
14103 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14104 whether to show exceptions. Do not include ");\n" in return
14105 value.
14106 (special_functions): Output call to RUN_TEST_sincos instead of
14107 check_float calls. Update calls to new_test.
14108 (parse_args): Output call to single RUN_TEST_* macro instead of
14109 check_* calls and other assignments. Update calls to new_test.
14110
d8cd06db
JM
14111 [BZ #2546]
14112 [BZ #2560]
14113 [BZ #5159]
14114 [BZ #15426]
14115 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14116 input to result for tgamma overflow.
14117 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14118 (gamma_coeff): New variable.
14119 (NCOEFF): New macro.
14120 (gamma_positive): New function.
14121 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14122 underflow here. Use gamma_positive instead of exp (lgamma) for
14123 other arguments.
14124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14125 (gamma_coeff): New variable.
14126 (NCOEFF): New macro.
14127 (gammaf_positive): New function.
14128 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14129 underflow here. Use gamma_positive instead of exp (lgamma) for
14130 other arguments.
14131 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14132 (gamma_coeff): New variable.
14133 (NCOEFF): New macro.
14134 (gammal_positive): New function.
14135 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14136 underflow here. Use gamma_positive instead of exp (lgamma) for
14137 other arguments.
14138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14139 (gamma_coeff): New variable.
14140 (NCOEFF): New macro.
14141 (gammal_positive): New function.
14142 (__ieee754_gammal_r): Handle positive infinity, overflow and
14143 underflow here. Handle NaN the same as positive infinity. Remove
14144 check x < 0xffffffff for negative integers. Use gamma_positive
14145 instead of exp (lgamma) for other arguments.
14146 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14147 (gamma_coeff): New variable.
14148 (NCOEFF): New macro.
14149 (gammal_positive): New function.
14150 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14151 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14156 * sysdeps/generic/math_private.h (__gamma_productf): New
14157 prototype.
14158 (__gamma_product): Likewise.
14159 (__gamma_productl): Likewise.
14160 * math/Makefile (libm-calls): Add gamma_product.
14161 * math/libm-test.inc (tgamma_test): Add more tests.
14162 * sysdeps/i386/fpu/libm-test-ulps: Update.
14163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14164
bb7cf681
OB
141652013-05-08 Ondřej Bílka <neleai@seznam.cz>
14166
14167 * benchtests/bench-skeleton.c (main): Preheat CPU.
14168
ba853947
AJ
141692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14170
14171 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14172
8347c74c
RM
141732013-05-07 Roland McGrath <roland@hack.frob.com>
14174
14175 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14176 and _dl_skip_args_internal.
14177
e8dd4791
CD
141782013-05-07 Carlos O'Donell <carlos@redhat.com>
14179
14180 * manual/message.texi (Message Translation): Talk about users.
14181 Message to key mapping impacts design.
14182
c7405830
RM
141832013-05-06 Roland McGrath <roland@hack.frob.com>
14184
a9173057
RM
14185 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14186
976e2f03
RM
14187 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14188
9723ffc5
RM
14189 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14190 * sysdeps/wordsize-64/glob64.c: ... here.
14191
962e6658
RM
14192 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14193 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14194 New macros.
14195
ee586a6d
RM
14196 * debug/getlogin_r_chk.c: Moved to ...
14197 * login/getlogin_r_chk.c: ... here.
14198 * debug/Makefile (routines): Move getlogin_r_chk to ...
14199 * login/Makefile (routines): ... here.
14200 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14201 * login/Versions (libc: GLIBC_2.4): ... here.
14202
355f9165
RM
14203 * io/poll.c (__poll): Renamed from poll.
14204 Add libc_hidden_def.
14205 (poll): Define as weak alias.
14206
bd9ffde6
RM
14207 * debug/ptsname_r_chk.c: Moved to ...
14208 * login/ptsname_r_chk.c: ... here.
14209 * debug/Makefile (routines): Move ptsname_r_chk to ...
14210 * login/Makefile (routines): ... here.
14211 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14212 * login/Versions (libc: GLIBC_2.4): ... here.
14213
8fb16a04
RM
14214 * posix/getlogin.c: Moved to ...
14215 * login/getlogin.c: ... here.
14216 * posix/getlogin_r.c: Moved to ...
14217 * login/getlogin_r.c: ... here.
14218 * posix/getlogin_r.c: Moved to ...
14219 * login/getlogin_r.c: ... here.
14220 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14221 * login/Makefile (routines): ... here.
14222 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14223 * login/Versions (libc: GLIBC_2.0): ... here.
14224
b99b892f
RM
14225 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14226 (setrlimit): Define as weak alias.
14227
c7405830
RM
14228 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14229 Call __ names for open, ftruncate, and close.
14230 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14231 (truncate): Define as weak alias.
14232
5bf96de5
JM
142332013-05-06 Joseph Myers <joseph@codesourcery.com>
14234
9ea3513c
JM
14235 * math/gen-libm-test.pl (parse_args): Initialize x before each
14236 test of frexp, modf and remquo.
14237
5bf96de5
JM
14238 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14239 test signgam value.
14240
16e616a7
AZ
142412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14242
14243 [BZ #15418]
14244 [BZ #15419]
14245 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14246 internal tests.
14247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14248
d5e82754
RM
142492013-05-06 Roland McGrath <roland@hack.frob.com>
14250
14251 * elf/dl-writev.h: New file.
14252 * elf/dl-misc.c: Include it.
14253 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14254 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14255
a7548d41
JM
142562013-05-04 Joseph Myers <joseph@codesourcery.com>
14257
b7dab1e4
JM
14258 * math/libm-test.inc (noXFails): Remove variable.
14259 (noXPasses): Likewise.
14260 (BUILD_COMPLEX_INT): Remove macro.
14261 (print_screen): Remove xfail argument.
14262 (print_screen_max_error): Likewise.
14263 (update_stats): Likewise.
14264 (print_max_error): Likewise. Update calls to other affected
14265 functions.
14266 (print_complex_max_error): Likewise.
14267 (test_single_exception): Update calls to print_screen.
14268 (test_single_errno): Likewise.
14269 (check_float_internal): Remove xfail argument. Update calls to
14270 other affected functions.
14271 (check_float): Likewise.
14272 (check_complex): Likewise.
14273 (check_int): Likewise.
14274 (check_long): Likewise.
14275 (check_bool): Likewise.
14276 (check_longlong): Likewise.
14277 (main): Don't print noXFails and noXPasses.
14278 * math/gen-libm-test.pl (top level): Don't mention expected
14279 failure handling in comment.
14280 (new_test): Don't handle expected failures.
14281 (parse_args): Don't mention expected failure handling in comment.
14282 (generate_testfile): Don't handle expected failures.
14283 (parse_ulps): Likewise.
14284 (print_ulps_file): Likewise.
14285 (get_failure): Remove function.
14286 (output_test): Don't handle expected failures.
14287 * make/README.libm-test: Don't mention expected failure handling.
14288
a7548d41
JM
14289 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14290 (minus_zero): Likewise.
14291 (plus_infty): Likewise.
14292 (minus_infty): Likewise.
14293 (qnan_value): Likewise.
14294 (max_value): Likewise.
14295 (min_value): Likewise.
14296 (min_subnorm_value): Likewise.
14297 (initialize): Do not initialize those variables dynamically.
14298
60bfd54c
RM
142992013-05-03 Roland McGrath <roland@hack.frob.com>
14300
cc0e6ed8
RM
14301 * io/open.c (__open_2): Moved to ...
14302 * io/open_2.c: ... this new file.
14303 * io/open64.c (__open64_2): Moved to ...
14304 * io/open64_2.c: ... this new file.
14305 * io/openat.c (__openat_2): Moved to ...
14306 * io/openat_2.c: ... this new file.
14307 * io/openat64.c (__openat64_2): Moved to ...
14308 * io/openat64_2.c: ... this new file.
14309 * io/Makefile (routines): Add them.
14310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14311 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14312 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14313 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14314 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14315 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14316 (__openat64): Add hidden_ver.
14317 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14318 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14319
60bfd54c
RM
14320 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14321 Separately conditionalize setting of GLRO(dl_sysinfo) so
14322 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14323 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14324
83e7640f
AZ
143252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326
14327 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14328 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14329 definition.
14330 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14331 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14332 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14333 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14334 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14335
d5dc2af3
JM
143362013-05-03 Joseph Myers <joseph@codesourcery.com>
14337
c31a5b1e
JM
14338 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14339 test signgam value.
14340
d5dc2af3
JM
14341 * math/libm-test.inc (hypot_test): Do not use
14342 IGNORE_ZERO_INF_SIGN.
14343
164fd39d
AJ
143442013-05-03 Andreas Jaeger <aj@suse.de>
14345
14346 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14347 Linux 3.9.
14348 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14349 (PF_MAX): Adjust for VSOCK change.
14350
8237f48c
AZ
143512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14352
14353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14354
9df02941
CD
143552013-05-02 Carlos O'Donell <carlos@redhat.com>
14356
14357 [BZ #15264]
14358 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14359 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14360 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14361
d422395e
DM
143622013-05-02 David S. Miller <davem@davemloft.net>
14363
14364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14365
a07c5731
OB
143662013-05-01 Ondřej Bílka <neleai@seznam.cz>
14367
14368 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14369
1324e37f
RM
143702013-05-01 Roland McGrath <roland@hack.frob.com>
14371
14372 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14373
0695940b
RS
143742013-05-01 Richard Smith <richard@metafoo.co.uk>
14375
bb5f27ad 14376 [BZ #14952]
0695940b
RS
14377 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14378 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14379 Use __attribute__ ((__gnu_inline__)).
14380 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14381 Don't use __attribute__ ((__gnu_inline__)).
14382
10de07f5
JM
143832013-05-01 Joseph Myers <joseph@codesourcery.com>
14384
14385 [BZ #15423]
14386 * math/s_catan.c (__catan): Handle small real or imaginary part of
14387 input specially to avoid spurious underflow.
14388 * math/s_catanf.c (__catanf): Likewise.
14389 * math/s_catanh.c (__catanh): Likewise.
14390 * math/s_catanhf.c (__catanhf): Likewise.
14391 * math/s_catanhl.c (__catanhl): Likewise.
14392 * math/s_catanl.c (__catanl): Likewise.
14393 * math/libm-test.inc (catan_test): Add more tests.
14394 (catanh_test): Likewise.
14395 * sysdeps/i386/fpu/libm-test-ulps: Update.
14396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14397
cb4d5414
AZ
143982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14399
14400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14401
caf84319
JM
144022013-04-30 Joseph Myers <joseph@codesourcery.com>
14403
14404 [BZ #15416]
14405 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14406 accurately for denominator in atan2.
14407 * math/s_catanf.c (__catanf): Likewise.
14408 * math/s_catanh.c (__catanh): Likewise.
14409 * math/s_catanhf.c (__catanhf): Likewise.
14410 * math/s_catanhl.c (__catanhl): Likewise.
14411 * math/s_catanl.c (__catanl): Likewise.
14412 * math/libm-test.inc (catan_test): Add more tests.
14413 (catanh_test): Likewise.
14414 * sysdeps/i386/fpu/libm-test-ulps: Update.
14415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14416
d569c6ee
SP
144172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14418
6dbe713d
SP
14419 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14420
f0ee064b
SP
14421 * benchtests/Makefile (bench): Remove slow benchmarks.
14422 * benchtests/atan-inputs: Add slow benchmark inputs.
14423 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14424 (BENCH_FUNC): Accept variant offset.
14425 (VARIANT): Define.
14426 * benchtests/bench-skeleton.c (main): Run benchmark for each
14427 variant.
14428 * benchtests/cos-inputs: Add slow benchmark inputs.
14429 * benchtests/exp-inputs: Likewise.
14430 * benchtests/pow-inputs: Likewise.
14431 * benchtests/sin-inputs: Likewise.
14432 * benchtests/slowatan-inputs: Remove.
14433 * benchtests/slowatan.c: Remove.
14434 * benchtests/slowcos-inputs: Remove.
14435 * benchtests/slowcos.c: Remove.
14436 * benchtests/slowexp-inputs: Remove.
14437 * benchtests/slowexp.c: Remove.
14438 * benchtests/slowpow-inputs: Remove.
14439 * benchtests/slowpow.c: Remove.
14440 * benchtests/slowsin-inputs: Remove.
14441 * benchtests/slowsin.c: Remove.
14442 * benchtests/slowtan-inputs: Remove.
14443 * benchtests/slowtan.c: Remove.
14444 * benchtests/tan-inputs: Add slow benchmark inputs.
14445 * scripts/bench.pl: Parse comments and directives.
14446
d569c6ee
SP
14447 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14448 in CPPFLAGS.
14449 ($(objpfx)bench-%.c): Remove *-ITER.
14450 * benchtests/bench-modf.c: Remove definition of ITER.
14451 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14452 (main): Loop for DURATION seconds instead of fixed number of
14453 iterations.
14454 * scripts/bench.pl: Don't expect iterations in parameters.
14455
a6a242fe
RM
144562013-04-29 Roland McGrath <roland@hack.frob.com>
14457
14458 * io/fchdir.c (__fchdir): Renamed from fchdir.
14459 (fchdir): Define as weak alias.
14460
f2da7793
JM
144612013-04-29 Joseph Myers <joseph@codesourcery.com>
14462
14463 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14464 (ERRNO_EDOM): Likewise.
14465 (ERRNO_ERANGE): Likewise.
14466 (noErrnoTests): New variable.
14467 (init_max_error): Set errno to 0.
14468 (test_single_errno): New function.
14469 (test_errno): Likewise.
14470 (check_float_internal): Call test_errno. Set errno to 0.
14471 (check_complex): Refer to errno tests in comment.
14472 (check_int): Call test_errno. Set errno to 0.
14473 (check_long): Likewise.
14474 (check_bool): Likewise.
14475 (check_longlong): Likewise.
14476 (cos_test): Use ERRNO_* flags for errno tests instead of
14477 check_int.
14478 (expm1_test): Likewise.
14479 (fmod_test): Likewise.
14480 (ilogb_test): Likewise.
14481 (lgamma_test): Likewise.
14482 (pow_test): Likewise.
14483 (remainder_test): Likewise.
14484 (sin_test): Likewise.
14485 (tan_test): Likewise.
14486 (yn_test): Likewise.
14487 (initialize): Set errno to 0.
14488 (main): Print number of errno tests.
14489 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14490
b1a36ceb
AJ
144912013-04-29 Andreas Jaeger <aj@suse.de>
14492
c3ed8088
AJ
14493 [BZ #15084]
14494 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14495 and RES_USEVC.
14496
f1a24198
AJ
14497 [BZ #15085]
14498 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14499 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14500 unimplemented.
14501
9ce3b2cb
AJ
14502 [BZ #15380]
14503 * stdlib/random.c (__initstate): Return NULL if
14504 __initstate fails.
14505
f1a24198 14506 [BZ #15086]
b1a36ceb
AJ
14507 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14508 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14509 RES_SNGLKUPREOP.
14510
7e7b6f36
AZ
145112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14512
14513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14514
4d14f449
JM
145152013-04-29 Joseph Myers <joseph@codesourcery.com>
14516
14517 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14518 of individual tests.
14519 (casin_test): Likewise.
14520 (casinh_test): Likewise.
14521
5b4217d7
JM
145222013-04-27 Joseph Myers <joseph@codesourcery.com>
14523
14524 [BZ #15409]
14525 * math/s_catan.c (__catan): Handle arguments with large real or
14526 imaginary part separately without squaring.
14527 * math/s_catanf.c (__catanf): Likewise.
14528 * math/s_catanh.c (__catanh): Likewise.
14529 * math/s_catanhf.c (__catanhf): Likewise.
14530 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14531 and redefine.
14532 (__catanhl): Handle arguments with large real or imaginary part
14533 separately without squaring.
14534 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14535 and redefine.
14536 (__catanl): Handle arguments with large real or imaginary part
14537 separately without squaring.
14538 * math/libm-test.inc (catan_test): Add more tests.
14539 (catanh_test): Likewise.
14540 * sysdeps/i386/fpu/libm-test-ulps: Update.
14541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14542
4220c3ef
AJ
145432013-04-27 Andreas Jaeger <aj@suse.de>
14544
14545 [BZ #15007]
14546 * stdlib/stdlib.h: Update guards for qecvt.
14547 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14548 <stdlib.h>.
14549
4721b2d1
AM
145502013-04-27 Allan McRae <allan@archlinux.org>
14551
14552 * sysdeps/i386/fpu/libm-test-ulps: Update.
14553
f0302940
JM
145542013-04-26 Joseph Myers <joseph@codesourcery.com>
14555
9457fd95
JM
14556 [BZ #15406]
14557 * math/s_catan.c: Include <float.h>.
14558 (__catan): Ensure underflow exception occurs for underflowed
14559 result.
14560 * math/s_catanf.c: Include <float.h>.
14561 (__catanf): Ensure underflow exception occurs for underflowed
14562 result.
14563 * math/s_catanh.c: Include <float.h>.
14564 (__catanh): Ensure underflow exception occurs for underflowed
14565 result.
14566 * math/s_catanhf.c: Include <float.h>.
14567 (__catanhf): Ensure underflow exception occurs for underflowed
14568 result.
14569 * math/s_catanhl.c: Include <float.h>.
14570 (__catanhl): Ensure underflow exception occurs for underflowed
14571 result.
14572 * math/s_catanl.c: Include <float.h>.
14573 (__catanl): Ensure underflow exception occurs for underflowed
14574 result.
14575 * math/libm-test.inc (catan_test): Add more tests.
14576 (catanh_test): Likewise.
14577
f0302940
JM
14578 [BZ #15405]
14579 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14580 underflowed result.
14581 * math/s_ccoshf.c (__ccoshf): Likewise.
14582 * math/s_ccoshl.c (__ccoshl): Likewise.
14583 * math/s_csin.c (__csin): Likewise.
14584 * math/s_csinf.c (__csinf): Likewise.
14585 * math/s_csinh.c (__csinh): Likewise.
14586 * math/s_csinhf.c (__csinhf): Likewise.
14587 * math/s_csinhl.c (__csinhl): Likewise.
14588 * math/s_csinl.c (__csinl): Likewise.
14589 * math/libm-test.inc (ccos_test): Add more tests.
14590 (ccosh_test): Likewise.
14591 (csin_test): Likewise.
14592 (csinh_test): Likewise.
14593
aa630f59
AZ
145942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14595
14596 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14597 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14598 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14599 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14600 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14601 powerpc/power5+/fpu folders.
14602 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14603
14604
1b835983
MT
146052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14606
14607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14608
73709b26
JM
146092013-04-25 Joseph Myers <joseph@codesourcery.com>
14610
14611 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14612 additions to variable.
14613 [$(config-machine) = x86_64] (modules-names): Likewise.
14614 ($(objpfx)tst-audit3): Remove dependency.
14615 ($(objpfx)tst-audit3.out): Likewise.
14616 ($(objpfx)tst-audit4): Likewise.
14617 ($(objpfx)tst-audit4.out): Likewise.
14618 ($(objpfx)tst-audit5): Likewise.
14619 ($(objpfx)tst-audit5.out): Likewise.
14620 ($(objpfx)tst-audit6): Likewise.
14621 ($(objpfx)tst-audit6.out): Likewise.
14622 ($(objpfx)tst-audit7): Likewise.
14623 ($(objpfx)tst-audit7.out): Likewise.
14624 (tst-audit3-ENV): Remove variable.
14625 (tst-audit4-ENV): Likewise.
14626 (tst-audit5-ENV): Likewise.
14627 (tst-audit6-ENV): Likewise.
14628 (tst-audit7-ENV): Likewise.
14629 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14630 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14631 addition to variable.
14632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14637 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14638 tst-audit3, tst-audit4 and tst-audit5.
14639 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14640 tst-audit6 and tst-audit7.
14641 [$(subdir) = elf] (modules-names): Add audit modules for those
14642 tests.
14643 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14644 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14645 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14646 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14647 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14648 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14649 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14650 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14651 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14652 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14653 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14654 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14655 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14656 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14657 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14658 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14659 Likewise.
14660 [$(subdir) = elf && $(config-cflags-avx) = yes]
14661 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14662 [$(subdir) = elf && $(config-cflags-avx) = yes]
14663 (CFLAGS-tst-auditmod4a.c): Likewise.
14664 [$(subdir) = elf && $(config-cflags-avx) = yes]
14665 (CFLAGS-tst-auditmod4b.c): Likewise.
14666 [$(subdir) = elf && $(config-cflags-avx) = yes]
14667 (CFLAGS-tst-auditmod6b.c): Likewise.
14668 [$(subdir) = elf && $(config-cflags-avx) = yes]
14669 (CFLAGS-tst-auditmod6c.c): Likewise.
14670 [$(subdir) = elf && $(config-cflags-avx) = yes]
14671 (CFLAGS-tst-auditmod7b.c): Likewise.
14672 * elf/tst-audit3.c: Move to ...
14673 * sysdeps/x86_64/tst-audit3.c: ... here.
14674 * elf/tst-audit4.c: Move to ...
14675 * sysdeps/x86_64/tst-audit4.c: ... here.
14676 * elf/tst-audit5.c: Move to ...
14677 * sysdeps/x86_64/tst-audit5.c: ... here.
14678 * elf/tst-audit6.c: Move to ...
14679 * sysdeps/x86_64/tst-audit6.c: ... here.
14680 * elf/tst-audit7.c: Move to ...
14681 * sysdeps/x86_64/tst-audit7.c: ... here.
14682 * elf/tst-auditmod3a.c: Move to ...
14683 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14684 * elf/tst-auditmod3b.c: Move to ...
14685 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14686 * elf/tst-auditmod4a.c: Move to ...
14687 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14688 * elf/tst-auditmod4b.c: Move to ...
14689 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14690 * elf/tst-auditmod5a.c: Move to ...
14691 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14692 * elf/tst-auditmod5b.c: Move to ...
14693 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14694 * elf/tst-auditmod6a.c: Move to ...
14695 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14696 * elf/tst-auditmod6b.c: Move to ...
14697 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14698 * elf/tst-auditmod6c.c: Move to ...
14699 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14700 * elf/tst-auditmod7a.c: Move to ...
14701 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14702 * elf/tst-auditmod7b.c: Move to ...
14703 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14704
1ef74943
PP
147052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14706
14707 [BZ #15366]
14708 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14709 define unconditionally.
14710 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14711 define unconditionally.
14712 (INT8_C, INT16_C, etc.): Likewise.
14713
93fd48c5
MR
147142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14715
ae9552cf
MR
14716 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14717 __ehdr_start with hidden visibility.
14718
93fd48c5
MR
14719 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14720
418601aa
CD
147212013-04-24 Carlos O'Donell <carlos@redhat.com>
14722
14723 * math/libm-test.inc (cos_test): Use accurate hex constants.
14724 (sincost_test): Likewise.
14725
2f38fbfe
JM
147262013-04-24 Joseph Myers <joseph@codesourcery.com>
14727
5e221800
JM
14728 * math/libm-test.inc (catan_test): Add more tests.
14729 (catanh_test): Likewise.
14730
77f143fd
JM
14731 * math/s_catanf.c (__catanf): Use suffixed floating-point
14732 constants.
14733 * math/s_catanhf.c (__catanhf): Likewise.
14734 * math/s_catanhl.c (__catanhl): Likewise.
14735 * math/s_catanl.c (__catanl): Likewise.
14736
2f38fbfe
JM
14737 [BZ #15394]
14738 * math/s_catan.c (__catan): Calculate imaginary part of result
14739 with log1p not log unless computing log of number close to 0.
14740 * math/s_catanf.c (__catanf): Likewise.
14741 * math/s_catanl.c (__catanl): Likewise.
14742 * math/s_catanh.c (__catanh): Calculate real part of result with
14743 log1p not log unless computing log of number close to 0.
14744 * math/s_catanhf.c (__catanhf): Likewise.
14745 * math/s_catanhl.c (__catanhl): Likewise.
14746 * math/libm-test.inc (catan_test): Add more tests.
14747 (catanh_test): Likewise.
14748 * sysdeps/i386/fpu/libm-test-ulps: Update.
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14750
45d69176
SP
147512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
14753 * benchtests/Makefile: Mention files in which fast and slow
14754 paths of math functions are implemented.
14755
87f51853
RM
147562013-04-23 Roland McGrath <roland@hack.frob.com>
14757
14758 * sysdeps/posix/timespec_get.c: New file.
14759
3c026539
AZ
147602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14761
14762 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14763 POWER.
14764 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14765 for POWER.
14766 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14767 powerpc/power5/fpu folders.
14768 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14769 * benchtests/Makefile: Add modf testcase.
14770 * benchtests/bench-modf.c: New file: Benchmark test for mo
14771
ff491d14
SP
147722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14773
14774 [BZ #14888]
14775 * time/Makefile (tests): Add tst-strptime-whitespace.
14776 * time/strptime_l.c (get_number): Use ISSPACE.
14777 (__strptime_internal): Likewise.
14778 * time/tst-strptime-whitespace.c: New test case.
14779
7ed3f4e8
AS
147802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14781
14782 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14783 member.
14784 (_nss_files_init): Set it here.
14785
5c95f7b6
HC
147862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14787
14788 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14789 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14790 unsigned.
14791
d34c9158
JBG
147922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14793
14794 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14795
2169712d
SP
147962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
14798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14799 size just once.
14800
29c5de99
DM
148012013-04-21 David S. Miller <davem@davemloft.net>
14802
14803 * po/ru.po: Update Russion translation from translation project.
14804
ccdad15d
AC
148052013-04-17 Adam Conrad <adconrad@0c3.net>
14806
14807 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14808 and setfsgid.
14809
0f122b8d
CD
148102013-04-17 Carlos O'Donell <carlos@redhat.com>
14811
5c5b07da 14812 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14813 * configure: Regenerate.
5c5b07da 14814 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14815 Add example to error message.
14816 * sysdeps/i386/configure: Regenerate.
14817
037714dd
SP
148182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14819
14820 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14821 slowtan.
14822 * benchtests/cos-inputs: New file.
14823 * benchtests/slowcos-inputs: New file.
14824 * benchtests/slowcos.c: New file.
14825 * benchtests/slowtan-inputs: New file.
14826 * benchtests/slowtan.c: New file.
14827 * benchtests/tan-inputs: New file.
14828
e913141d
RM
148292013-04-16 Roland McGrath <roland@hack.frob.com>
14830
14831 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14832 considered kosher.
14833
a2964074
SP
148342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14835
4856bcd2
SP
14836 * benchtests/Makefile: Include cppflags-iterator.mk to add
14837 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14838
a2964074
SP
14839 * Makefile.in (bench-clean): New target.
14840 * benchtests/Makefile (bench-clean): Likewise.
14841
9fbf9aca
DH
148422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14843
14844 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14845
207d1e2a
TS
148462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14847
14848 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14849
306dfba9
AS
148502013-04-15 Andreas Schwab <schwab@suse.de>
14851
14852 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14854 * nscd/pwdcache.c (cache_addpw): Likewise.
14855 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14856 more than recsize.
14857
206a6699
SP
148582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14859
14860 * benchtests/Makefile (bench): Write all output to
14861 bench-out.tmp together.
14862
0582f6b3
AS
148632013-04-15 Andreas Schwab <schwab@suse.de>
14864
14865 * nscd/nscd.c (main): Don't fork again after closing files.
14866
acb4325f
SP
148672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14868
5cb26d0a
SP
14869 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14870
acb4325f
SP
14871 * benchtests/Rules (bench-deps): Collect dependencies into a
14872 single variable. Add Makefile to dependencies.
14873 ($(objpfx)bench-%.c): Depend on bench-deps.
14874
47792506
RM
148752013-04-12 Roland McGrath <roland@hack.frob.com>
14876 Xavier Roche <roche+kml2@exalead.com>
14877
14878 [BZ #15361]
14879 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14880 just that it's a file descriptor.
14881 * manual/llio.texi (Synchronizing AIO Operations): Update description
14882 for EBADF error from aio_fsync.
14883
8fc1bee5
SP
148842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14885
14886 * Rules (bench): Move target definition...
14887 * benchtests/Makefile: ... here.
14888
aba5e333
CD
148892013-04-11 Carlos O'Donell <carlos@redhat.com>
14890
14891 * math/libm-test.inc (cos_test): Fix PI/2 test.
14892 (sincos_test): Likewise.
14893 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14894 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14895
273cdee8
AS
148962013-04-11 Andreas Schwab <schwab@suse.de>
14897
6ecec3b6
AS
14898 [BZ #13988]
14899 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14900 accept exponent character only when digits were seen.
14901 * stdio-common/Makefile (tests): Add bug26.
14902 * stdio-common/bug26.c: New file.
14903
273cdee8
AS
14904 [BZ #14293]
14905 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14906 non-freeable.
14907
8da491f5
SP
149082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14909
01dc6df9
SP
14910 * Makeconfig (rtld-prefix): Define built linker prefix.
14911 * Rules (run-bench): Use it.
14912 * math/Makefile (run-regen-ulps): Likewise.
14913
8da491f5
SP
14914 * Rules (bench): Remove eval.
14915
abe7f530
SP
149162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14917 Roland McGrath <roland@hack.frob.com>
14918 Ondrej Bilka <neleai@seznam.cz>
14919
14920 [BZ #15346]
14921 * time/getdate.c: Include ctype.h and alloca.h.
14922 (__getdate_r): Trim leading and trailing spaces of input.
14923 * time/tst-getdate.c (tests): Add tests with leading and
14924 trailing spaces.
14925
61c23e62
RM
149262013-04-08 Roland McGrath <roland@hack.frob.com>
14927
14928 [BZ #14280]
14929 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14930 when computing value.
14931
7208a313
CD
149322013-04-06 Carlos O'Donell <carlos@redhat.com>
14933
085b2d41
CD
14934 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14935 Use testrun.sh to run libm tests.
14936
7208a313
CD
14937 [BZ #15309]
14938 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14939
872c0acd
MM
149402013-04-06 Marko Myllynen <myllynen@redhat.com>
14941
14942 [BZ #15264]
14943 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14944
26510bdd
CD
149452013-04-06 Carlos O'Donell <carlos@redhat.com>
14946
14947 * Makefile.in (regen-ulps): New target.
14948 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14949 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14950 [ifneq (no,$(PERL)] (regen-ulps): New target.
14951 [ifeq (no,$(PERL)] (regen-ulps): New target.
14952 * math/libm-test.inc (ulps_file_name): Define.
14953 (output_dir): New variable.
14954 (options): Add "output-dir" option.
14955 (parse_opt): Handle 'o' case.
14956 (main): If output_dir is non-NULL use it as a prefix
14957 otherwise use "".
14958 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14959
a01f19c8
CD
149602013-04-06 Carlos O'Donell <carlos@redhat.com>
14961
14962 [BZ #10060, #10062]
14963 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14964 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14965 fail configure if __sync_val_compare_and_swap is not inlined.
14966 * sysdeps/i386/configure: Regenerate.
14967 * configure.in: Build for i686 when configured for i386.
14968 * configure: Regenerate.
14969 * README: Remove i386 reference.
14970
b7a329a5
CD
149712013-04-06 Carlos O'Donell <carlos@redhat.com>
14972
14973 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14975
bf0f50df
TS
149762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14977
ee091edf
TS
14978 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14979 (lmsnanval): New variables.
14980 (F): Add conversion tests.
14981 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14982 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14983
a8b792d6
TS
14984 * stdio-common/tstdiomisc.c (F): Properly collect individual
14985 tests' results.
14986
a1cbf437
TS
14987 [BZ #14686, #15336]
14988 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14989 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14990 Instead, use input NaN values or generate a qNaN by arithmetic
14991 operation. Also fix bugs to comply with the standard.
14992 * math/libm-test.inc (remainder_test): Add more tests.
14993
8b43a0c9
TS
14994 [BZ #15335, #15342]
14995 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14997 input NaN values or generate a qNaN by arithmetic operation.
14998
d91da4ce
TS
14999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15000 unreachable code.
15001
bf0f50df
TS
15002 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15003 definitions.
15004
05e166c8
JM
150052013-04-03 Joseph Myers <joseph@codesourcery.com>
15006
15007 [BZ #14478]
15008 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15009 underflowed result.
15010 * math/s_cexpf.c (__cexpf): Likewise.
15011 * math/s_cexpl.c (__cexpl): Likewise.
15012 * math/libm-test.inc (cexp_test): Add more tests.
15013
1cef1b19
AS
150142013-04-03 Andreas Schwab <schwab@suse.de>
15015
15016 [BZ #15330]
15017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15018 order arrays from heap if bigger than alloca cutoff.
15019
74d87055
TS
150202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15021
15022 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15023 (SNAN_TESTS_double): Refer to GCC PR56831.
15024 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15025 GCC PR56828.
15026
d755bba4
SP
150272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
90d5d5bb
SP
15029 * Rules (bench): Move bench.out after the run is complete.
15030
73e0cd5d
SP
15031 * Rules (bench): Echo currently running benchmark.
15032
64aabd4b
SP
15033 * benchtests/Makefile (bench): Add atan and slowatan.
15034 * benchtests/atan-inputs: New file.
15035 * benchtests/slowatan-inputs: New file.
15036 * benchtests/slowatan.c: New file.
15037
c871eccd
SP
15038 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15040 its value.
15041
d755bba4
SP
15042 [BZ #15305]
15043 * sysdeps/unix/sysv/linux/kernel-features.h
15044 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15045 __ASSUME_XFS_RESTRICTED_CHOWN.
15046 * sysdeps/unix/sysv/linux/pathconf.c
15047 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15048 Save and restore errno.
15049
52ce4860
JM
150502013-04-02 Joseph Myers <joseph@codesourcery.com>
15051
15052 [BZ #15327]
15053 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15054 arguments using __kernel_casinh.
15055 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15056 arguments using __kernel_casinhf.
15057 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15058 arguments using __kernel_casinhl.
15059 * math/libm-test.inc (cacosh_test): Add more tests.
15060 * sysdeps/i386/fpu/libm-test-ulps: Update.
15061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15062
81f311c2
SP
150632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15064
e7906a47
SP
15065 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15067
92e3664b
SP
15068 * bench/Makefile (bench): Add sin and slowsin.
15069 * benchtests/sin-inputs: New file.
15070 * benchtests/slowsin-inputs: New file.
15071 * benchtests/slowsin.c: New file.
15072
81f311c2
SP
15073 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15074 (bench): Add slowexp and slowpow.
15075 (exp-ITER): Increase iterations.
15076 (pow-ITER): Likewise.
15077 * benchtests/exp-inputs: Change input.
15078 * benchtests/pow-inputs: Likewise.
15079 * benchtests/slowexp-inputs: New file.
15080 * benchtests/slowexp.c: New file.
15081 * benchtests/slowpow-inputs: New file.
15082 * benchtests/slowpow.c: New file.
15083
ab0f1aa9
AZ
150842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15085
15086 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15087 instructions.
15088 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15089 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15090 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15091 * benchtests/Makefile: Add rint benchtest.
15092 * benchtests/rint-inputs: Input for rint benchtest.
15093
57267616
TS
150942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15095
15096 * Versions.def (libm): Add GLIBC_2.18.
15097 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15098 hidden libm prototypes.
15099 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15100 * math/Makefile (libm-calls): Add s_issignaling.
15101 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15102 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15103 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15104 declaration.
15105 * math/math.h [__USE_GNU] (issignaling): New macro.
15106 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15107 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15112 * manual/arith.texi (issignaling): New section.
15113 * manual/libm-err-tab.pl (@all_functions): Update comment.
15114 * math/gen-libm-test.pl (parse_args): Apply special handling for
15115 issignaling.
15116 * math/libm-test.inc (print_float, issignaling_test): New
15117 functions.
15118 (check_float_internal): Add issignaling checks.
15119 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15120 default definition.
15121 * sysdeps/powerpc/math-tests.h: New file.
15122 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15123 tests.
15124 * math/test-snan.c (TEST_FUNC): Likewise.
15125
6142896d
DM
151262013-03-30 David S. Miller <davem@davemloft.net>
15127
15128 * po/de.po: Update from translation team.
15129
ccc8cadf
JM
151302013-03-30 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #10357]
15133 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15134 imaginary part less than 1.0 and real part less than 0.5
15135 specially.
15136 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15137 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15138 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15139 (cacos_test): Add more tests.
15140 (casin_test): Likewise.
15141 (casinh_test): Likewise.
15142 * sysdeps/i386/fpu/libm-test-ulps: Update.
15143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144
0f6a8d4b
SP
151452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
0d1029de
SP
15147 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15148 ONE with its value.
15149
c2d94018
SP
15150 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15151 (__pow_mp): Replace ONE and MONE with their values.
15152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15154 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15155 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15156 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15157 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15158
27ec37f1
SP
15159 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15160
a64d7e0e
SP
15161 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15162 (__pow_mp): Replace ZERO and MZERO with their values.
15163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15167 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15168 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15169 (__sqr): Likewise.
15170
d26dd3eb
SP
15171 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15172
0f6a8d4b
SP
15173 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15174
e57b0c61
RM
151752013-03-28 Roland McGrath <roland@hack.frob.com>
15176
15177 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15178 Declare with __attribute__ ((weak)).
15179 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15180 Call __call_tls_dtors only if it's not NULL.
15181
356b3480
RM
151822013-03-28 Roland McGrath <roland@hack.frob.com>
15183
288f7d79
RM
15184 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15185 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15186 magic __ehdr_start linker symbol if it's defined.
15187 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15188 them up here if it was already done.
15189
dc0a0263
RM
15190 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15191 (_dl_aux_init): Use const in cast when setting it.
15192 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15193 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15194 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15195
3d3436ae
RM
15196 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15197 Declare them here.
15198 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15199 * csu/libc-tls.c: Nor here.
15200 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15201
356b3480
RM
15202 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15203 (__libc_message): Never call vsyslog.
15204
b0f1246a
AM
152052013-03-28 Alan Modra <amodra@gmail.com>
15206
15207 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15208 Define as empty.
15209 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15210 Likewise.
15211
fbbe2b9a
AZ
152122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15213
15214 [BZ #15214]
15215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15216 underflow.
15217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15218
1728ab37
SP
152192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15220
7a86be6e
SP
15221 [BZ #15304]
15222 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15223 Don't add gid passed as argument.
15224
1728ab37
SP
15225 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15226
3a7182a1
JM
152272013-03-27 Joseph Myers <joseph@codesourcery.com>
15228
15229 [BZ #15307]
15230 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15231 imaginary part between 1.0 and 1.5 and real part less than 0.5
15232 specially.
15233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15235 * math/libm-test.inc (cacos_test): Add more tests.
15236 (casin_test): Likewise.
15237 (casinh_test): Likewise.
15238 * sysdeps/i386/fpu/libm-test-ulps: Update.
15239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15240
6f2e90e7
SP
152412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15242
5739f705
SP
15243 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15244 constants.
15245 (norm): Likewise.
15246 (denorm): Likewise.
15247 (__dbl_mp): Likewise.
15248 (add_magnitudes): Likewise.
15249 (sub_magnitudes): Likewise.
15250 (__add): Likewise.
15251 (__sub): Likewise.
15252 (__mul): Likewise.
15253 (__sqr): Likewise.
15254 (__inv): Likewise.
15255 (__dvd): Likewise.
15256
e375e83d
SP
15257 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15258 commented code.
15259 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15260 (__dubcos): Likewise.
15261 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15262 (__ieee754_acos): Likewise.
15263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15265 (__exp1): Likewise.
15266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15268 (log1): Likewise.
15269 (my_log2): Likewise.
15270 (checkint): Likewise.
15271 * sysdeps/ieee754/dbl-64/e_remainder.c
15272 (__ieee754_remainder): Likewise.
15273 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15275 (bsloww): Likewise.
15276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15277
6f2e90e7
SP
15278 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15279 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15280 MANTISSA_STORE_T to store computations on mantissa. Use
15281 macros for rounding and division.
15282 (denorm): Likewise.
15283 (__dbl_mp): Likewise.
15284 (add_magnitudes): Likewise.
15285 (sub_magnitudes): Likewise.
15286 (__mul): Likewise.
15287 (__sqr): Likewise.
15288 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15289 powers of two in terms of TWOPOW macro.
15290 (mp_no): Make type of mantissa as MANTISSA_T.
15291 [!RADIXI]: Define RADIXI.
15292 [!TWO52]: Define TWO52.
15293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15294
fce14d4e
AZ
152952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15296
15297 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15298 llroundl symbol when building for PPC32.
15299
9ad027fb
MW
153002013-03-24 Mark H Weaver <mhw@netris.org>
15301
15302 * manual/arith.texi (Normalization Functions): Fix prototypes for
15303 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15304
e42a38dd
AZ
153052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15306
15307 [BZ #13889]
15308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15309 high value to check if expl overflow.
15310 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15311 to check for underflow and overflow.
15312 * math/libm-test.inc: Add exp test.
15313
2e0fb521
DL
153142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15315
15316 [BZ #11120]
15317 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15318 with NOT_IN_libc.
15319
b5784d95
AZ
153202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15321
15322 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15323 symbol.
15324
5aa4a1a1
TS
153252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15326
bdef0be7
TS
15327 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15328 wrap blocks consisting of several statements.
15329
5aa4a1a1
TS
15330 * sysdeps/generic/math-tests.h: New file.
15331 * sysdeps/i386/fpu/math-tests.h: Likewise.
15332 * math/test-snan.c: Include it.
15333 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15334
98c48fe5
JM
153352013-03-21 Joseph Myers <joseph@codesourcery.com>
15336
15337 [BZ #15285]
15338 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15339 (__ieee754_j0l): Do not improve calculations using cos of twice
15340 input for inputs above LDBL_MAX / 2.0L.
15341 (__ieee754_y0l): Likewise.
15342 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15343 (__ieee754_j1l): Do not improve calculations using cos of twice
15344 input for inputs above LDBL_MAX / 2.0L.
15345 (__ieee754_y1l): Likewise.
15346 * math/libm-test.inc (j0_test): Add another test.
15347 (j1_test): Likewise.
15348 (y0_test): Likewise.
15349 (y1_test): Likewise.
15350 * sysdeps/i386/fpu/libm-test-ulps: Update.
15351
3775a8bc
SP
153522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15353
15354 * Rules ($(objpfx)bench-%.c): Include code from a C source
15355 file.
15356
0a1b2ae6
JM
153572013-03-21 Joseph Myers <joseph@codesourcery.com>
15358
15359 [BZ #15287]
15360 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15361 imaginary part 1.0 and real part less than 0.5 specially.
15362 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15363 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15364 * math/libm-test.inc (cacos_test): Add more tests.
15365 (casin_test): Likewise.
15366 (casinh_test): Likewise.
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369
b33d4ce4
SP
153702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15371
15372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15373 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15374
bef0b507
JM
153752013-03-20 Joseph Myers <joseph@codesourcery.com>
15376
15377 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15378 * config.make.in (config-cflags-sse4): Remove variable.
15379 (config-cflags-avx): Likewise.
15380 (config-cflags-sse2avx): Likewise.
15381 (config-cflags-novzeroupper): Likewise.
15382 (config-asflags-i686): Likewise.
15383 (have-mfma4): Likewise.
15384 (have-as-vis3): Likewise.
15385 (MIG): Likewise.
15386 * configure.in (MIG): Do not AC_SUBST.
15387 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15388 (libc_cv_cc_sse4): Do not AC_SUBST.
15389 (libc_cv_cc_avx): Likewise.
15390 (libc_cv_cc_sse2avx): Likewise.
15391 (libc_cv_cc_novzeroupper): Likewise.
15392 (libc_cv_cc_fma4): Likewise.
15393 (libc_cv_as_i686): Likewise.
15394 (libc_cv_sparc_as_vis3): Likewise.
15395 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15396 LIBC_CONFIG_VAR.
15397 (config-asflags-i686): Likewise.
15398 (config-cflags-avx): Likewise.
15399 (config-cflags-sse2avx): Likewise.
15400 (have-mfma4): Likewise.
15401 (config-cflags-novzeroupper): Likewise.
15402 * sysdeps/mach/configure.in (MIG): Likewise.
15403 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15404 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15405 LIBC_CONFIG_VAR.
15406 (config-cflags-avx): Likewise.
15407 (config-cflags-sse2avx): Likewise.
15408 (have-mfma4): Likewise.
15409 (config-cflags-novzeroupper): Likewise.
15410 * configure: Regenerated.
15411 * sysdeps/i386/configure: Likewise.
15412 * sysdeps/mach/configure: Likewise.
15413 * sysdeps/sparc/configure: Likewise.
15414 * sysdeps/x86_64/configure: Likewise.
15415
912cc4b3
RM
154162013-03-20 Roland McGrath <roland@hack.frob.com>
15417
15418 [BZ #14812]
15419 * locale/programs/localedef.c (options): Put N_ translation marker
15420 on argument names, not just descriptions.
15421
04eed2b0
MS
154222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15423
15424 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15425
a065ceff
OB
154262013-03-20 Ondřej Bílka <neleai@seznam.cz>
15427
9bb2a810 15428 [BZ #14176]
a065ceff
OB
15429 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15430
a600e5ce
RM
154312013-03-19 Roland McGrath <roland@hack.frob.com>
15432
15433 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15434 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15435 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15436 [!BEFORE_ABORT] (before_abort): New function.
15437 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15438 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15439 (writev_for_fatal): New function.
15440 (WRITEV_FOR_FATAL): New macro; call that.
15441 (backtrace_and_maps): New function.
15442 (BEFORE_ABORT): New macro; call that.
15443 (struct str_list): Type removed.
15444 (__libc_message, __libc_fatal): Functions removed.
15445 Include <sysdeps/posix/libc_fatal.c> instead.
15446
6b18bea6
JM
154472013-03-19 Joseph Myers <joseph@codesourcery.com>
15448
15449 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15450 constants.
15451 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15452 double constants.
15453
aaa8cb4b
AS
154542013-03-19 Andreas Schwab <schwab@suse.de>
15455
44673770
AS
15456 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15457 * sysdeps/gnu/configure: Regenerate.
15458
aaa8cb4b
AS
15459 * configure.in: Substitute libc_cv_rtlddir.
15460 * configure: Regenerate.
15461 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15462 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15463 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15464 * elf/Makefile (install-others, CFLAGS-interp.c)
15465 (ldso_install, common-ldd-rewrite): Likewise.
15466 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15467 $(inst_slibdir)/$(rtld-installed-name).
15468 * scripts/rellns-sh: Add -p option.
15469 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15470 for source.
15471
d3cfc668
SP
154722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
15474 * manual/nptl.texi: Renamed to ...
15475 * manual/threads.texi: ... this.
15476 * manual/Makefile (chapters): Update.
15477
0e2b9cdd
RM
154782013-03-18 Roland McGrath <roland@hack.frob.com>
15479
15480 [BZ #14812]
15481 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15482 on argument names, not just descriptions.
0e2b9cdd
RM
15483 * malloc/memusagestat.c (options): Likewise.
15484 * nss/getent.c (options): Likewise.
63270c24
RM
15485
154862013-03-18 Benno Schulenberg <bensberg@justemail.net>
15487
15488 [BZ #14812]
15489 * iconv/iconv_prog.c (options): Put N_ translation marker
15490 on argument names, not just descriptions.
15491 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15492
b2e1393c
OB
154932013-03-18 Ondrej Bilka <neleai@seznam.cz>
15494
15495 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15496 implementation which is faster on all x86_64 architectures.
15497 Tested on AMD, Intel Nehalem, SNB, IVB.
15498 * sysdeps/x86_64/strnlen.S: Likewise.
15499
15500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15501 Remove all multiarch strlen and strnlen versions.
15502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15503 Remove strlen and strnlen related parts.
15504
15505 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15506 Inline strlen part.
15507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15508
15509 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15510 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15511 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15512 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15513 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15514 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15515
ec4ff04d
CD
155162013-03-17 Carlos O'Donell <carlos@redhat.com>
15517
15518 * manual/memory.texi (Malloc Tunable Parameters):
15519 Sort parameters alphabetically. Add comments for missing entries.
15520
cd18e90a
DM
155212013-03-17 David S. Miller <davem@davemloft.net>
15522
15523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15524
2a185d32
JM
155252013-03-16 Joseph Myers <joseph@codesourcery.com>
15526
d2f9799e
JM
15527 [BZ #15283]
15528 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15529 for arguments at most half maximum finite value.
15530 * math/libm-test.inc (j0_test): Add more tests.
15531 (j1_test): Likewise.
15532 (y0_test): Likewise.
15533 (y1_test): Likewise.
15534 * sysdeps/i386/fpu/libm-test-ulps: Update.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15536
2a185d32
JM
15537 [BZ #14155]
15538 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15539 1 / x and functions P and Q for arguments above 0x1p256L.
15540 (__ieee754_y0l): Likewise.
15541 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15542 (__ieee754_y1l): Likewise.
15543 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15544 (j1_test): Likewise.
15545 (y0_test): Likewise.
15546 (y1_test): Likewise.
15547
6cbec759
TS
155482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15549
15550 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15551 variable.
15552
bc16e260
RM
155532013-03-15 Roland McGrath <roland@hack.frob.com>
15554
aefc9b8c
RM
15555 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15556 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15557 zero since it's initialized to EXEC_PAGESIZE.
15558
bc16e260
RM
15559 * sysdeps/unix/sysv/linux/ldsodefs.h
15560 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15561 * sysdeps/generic/ldsodefs.h: ... here.
15562
a57da955
TS
155632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15564
af00a34d
TS
15565 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15566
495ded2c
TS
15567 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15568 math/test-snan.c.
15569 * math/test-snan.c: Renamed from
15570 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15571 * math/Makefile (tests): Add test-snan.
15572 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15573 test-powerpc-snan.
15574
777b0332
TS
15575 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15576 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15577 functions.
15578 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15579 __builtin_nan family of functions.
15580 * math/libm-test.inc (initialize): Initialize qnan_value with
15581 __builtin_nan family of functions.
15582 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15583 Remove variables.
15584 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15585 Remove functions.
15586 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15587 storage class. Initialize qNaN_var and sNaN_var with
15588 __builtin_nan and __builtin_nans families of functions,
15589 respectively.
15590
64d063b8
TS
15591 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15592 (sqrt_test): Remove duplicate test with qNaN input.
15593 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15594 (round_test, signbit_test, significand_test): Note missing +/-Inf
15595 as well as qNaN tests.
15596
67e971f1
TS
15597 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15598 qNaN_var. Fix a few strings, too.
15599 * math/libm-test.inc (nan_value): Rename to qnan_value.
15600 * math/gen-libm-test.pl (%beautify): Adjust to that.
15601 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15602 * math/test-misc.c (main): Likewise.
15603 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15604 to __qnan_bytes, and __qnan_union, respectively.
15605 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15606 Likewise.
15607 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15608 and lqnanval, respectively.
15609 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15610 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15611 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15612 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15613
64487e12
TS
15614 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15615 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15616 doubles.
15617
e015e27b
TS
15618 * math/test-misc.c (main): Fix copy'n'pastos.
15619 * misc/tst-efgcvt.c (special): Likewise.
15620
a57da955
TS
15621 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15622 Remove declarations.
15623
1e380345
SP
156242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15625
15626 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15627 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15628 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15629 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15630
ef26eece
AZ
156312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632
15633 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15634 macro to return vdso values correctly in IFUNC implementations.
15635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15636 Optimization by using IFUNC.
15637
8cfdb7e0
SP
156382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 Richard Henderson <rth@redhat.com>
15640 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15641
15642 * Makefile.in (bench): New target.
15643 * NEWS: Mention the benchmark framework.
15644 * Rules (bench): Likewise.
15645 (binaries-bench): Generate binaries for functions to
15646 benchmark.
15647 * benchtests/Makefile: New makefile for benchmark tests.
15648 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15649 programs.
15650 * benchtests/exp-inputs: New input file for EXP function.
15651 * benchtests/pow-inputs: New input file for POW function.
15652 * scripts/bench.pl: New script to generate source files for
15653 benchmark programs.
15654
bcda9880
SP
156552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15656
d22ca8cd
SP
15657 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15658 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15659 computations on mantissa. Use macros for rounding and
15660 division.
15661 (denorm): Likewise.
15662 (__dbl_mp): Likewise.
15663 (add_magnitudes): Likewise.
15664 (sub_magnitudes): Likewise.
15665 (__mul): Likewise.
15666 (__sqr): Likewise.
15667 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15668 powers of two in terms of TWOPOW macro.
15669 (mp_no): Make type of mantissa as MANTISSA_T.
15670 [!RADIXI]: Define RADIXI.
15671 [!TWO52]: Define TWO52.
15672 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15673
bcda9880
SP
15674 * manual/nptl.texi (cindex): Modify threads to pthreads.
15675
06d5adfb
JM
156762013-03-15 Joseph Myers <joseph@codesourcery.com>
15677
15678 * sysdeps/x86_64/preconfigure: Regenerated.
15679
41c7328e
JM
156802013-03-14 Joseph Myers <joseph@codesourcery.com>
15681
15682 [BZ #14155]
15683 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15684 0x1p28 and above.
15685 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15686 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15687 0x1p28 and above.
15688 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15689 * math/libm-test.inc (j0_test): Do not allow one spurious
15690 underflow exception.
15691 (y1_test): Likewise.
15692
e25cfa60
SP
156932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15694
0409959c
SP
15695 * manual/Makefile (chapters): Add nptl.
15696 * manual/debug.texi (Debugging Support): Add link to Threads
15697 chapter.
15698 * manual/nptl.texi: New file.
15699
e25cfa60
SP
15700 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15701
58a1335e
PB
157022013-03-14 Petr Baudis <pasky@ucw.cz>
15703
15704 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15705 for non-NULL pointer before the memory validity test. Pointed
15706 out by Holger Brunck <holger.brunck@keymile.com>.
15707
9dc7c64f
AS
157082013-03-13 Andreas Schwab <schwab@suse.de>
15709
15710 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15711 instead of .os.
15712
54206aa6
JM
157132013-03-13 Joseph Myers <joseph@codesourcery.com>
15714
15715 * timezone/zic.c: Update from tzcode 2013b.
15716
e98cdb38
CD
157172013-03-12 Carlos O'Donell <carlos@redhat.com>
15718
15719 * manual/install.texi (Configuring and compiling):
15720 Mention i686 and i586.
15721 * INSTALL: Regenerate.
15722
9967e003
RM
157232013-03-12 Roland McGrath <roland@hack.frob.com>
15724
15725 * sysdeps/init_array/elf-init.c: New file.
15726 * csu/elf-init.c
15727 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15728 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15729
15730 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15731 __gmon_start__ as global, but as static with a .preinit_array pointer.
15732 * sysdeps/init_array/gmon-start.c: New file. Use that.
15733 * sysdeps/init_array/crti.S: New file, empty except for comments.
15734 * sysdeps/init_array/crtn.S: Likewise.
15735
e6b5a293 157362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15737
15738 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15739 definining bcopy.
80f844c9
OB
15740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15741 Remove Prefer_SSE_for_memop.
15742 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15743 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15744 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15746 memset-x86-64.
80f844c9 15747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15748 Remove bzero, memset ifunc support.
80f844c9
OB
15749 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15750 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15751 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15753
fb6b0fcb
AS
157542013-03-11 Andreas Schwab <schwab@suse.de>
15755
15756 [BZ #15234]
15757 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15758 by SHLIB_COMPAT.
15759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15760 (GLIBC_2.16): Remove pthread_atfork.
15761
3e6bd4b1
PP
157622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15763
15764 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15765 (ptestcases.h): Likewise.
15766
222d7f00
RM
157672013-03-08 Roland McGrath <roland@hack.frob.com>
15768
15769 * Makeconfig ($(common-objpfx)config.status): Depend on
15770 sysdeps/*/preconfigure{,.in} too.
15771
1ba4f030
JM
157722013-03-08 Joseph Myers <joseph@codesourcery.com>
15773
a222d91a
JM
15774 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15775 (__free_hook): Use void * instead of __malloc_ptr_t.
15776 (__malloc_hook): Likewise.
15777 (__realloc_hook): Likewise.
15778 (__memalign_hook): Likewise.
15779 (__after_morecore_hook): Likewise.
15780 * malloc/arena.c (save_malloc_hook): Likewise.
15781 (save_free_hook): Likewise.
15782 * malloc/hooks.c (malloc_hook_ini): Likewise.
15783 (realloc_hook_ini): Likewise.
15784 (memalign_hook_ini): Likewise.
15785 * malloc/malloc.c (malloc_hook_ini): Likewise.
15786 (realloc_hook_ini): Likewise.
15787 (memalign_hook_ini): Likewise.
15788 (__free_hook): Likewise.
15789 (__malloc_hook): Likewise.
15790 (__realloc_hook): Likewise.
15791 (__memalign_hook): Likewise.
15792 (__libc_malloc): Likewise.
15793 (__libc_free): Likewise.
15794 (__libc_realloc): Likewise.
15795 (__libc_memalign): Likewise.
15796 (__libc_valloc): Likewise.
15797 (__libc_pvalloc): Likewise.
15798 (__libc_calloc): Likewise.
15799 (__posix_memalign): Likewise.
15800 * malloc/morecore.c (__sbrk): Likewise.
15801 (__default_morecore): Likewise.
15802
5cc45e10
JM
15803 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15804
dd54b864
JM
15805 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15806 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15807 __malloc_ptrdiff_t.
15808
1ba4f030
JM
15809 * malloc/malloc.h (__malloc_size_t): Remove macro.
15810 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15811 __malloc_size_t.
15812 (old_memalign_hook): Likewise.
15813 (old_realloc_hook): Likewise.
15814 (struct hdr): Likewise.
15815 (flood): Likewise.
15816 (mallochook): Likewise.
15817 (memalignhook): Likewise.
15818 (reallochook): Likewise.
15819 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15820 (tr_old_realloc_hook): Likewise.
15821 (tr_old_memalign_hook): Likewise.
15822 (tr_mallochook): Likewise.
15823 (tr_reallochook): Likewise.
15824 (tr_memalignhook): Likewise.
15825
edf66e57
AZ
158262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15827
15828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15829 default_ldbl_pack and using as default implementation.
15830 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15831 implementation.
15832 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15833 redundant definition.
15834 (ldbl_insert_mantissa): Likewise.
15835 (ldbl_canonicalize): Likewise.
15836 (ldbl_nearbyint): Likewise.
15837 (ldbl_pack): Rename to ldbl_pack_ppc.
15838 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15839 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15840 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15841
6d9145d8
SP
158422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15843
15844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15845 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15847 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15850 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15851 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15852
4dd4e157
AJ
158532013-03-07 Andreas Jaeger <aj@suse.de>
15854
15855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15856 bits/mman-linux.h.
15857
adbb8027
SP
158582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15859
ce544b5b
SP
15860 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15861 Include mpa.h and declare __MPEXP.
15862 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15864 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15867 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15869
4cc149fd
SP
15870 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15871 (__slowpow): Use long double EXPL and LOGL functions to
15872 compute POW.
15873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15874 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15877 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15879
e6ebd4a7
SP
15880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15881 intermediate variable to calculate exponent.
15882 (__sqr): Likewise.
15883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15884 Likewise.
15885 (__sqr): Likewise.
15886
82a9811d
SP
15887 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15888 [!NO__SQR]: Define __sqr.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15890 and NO__SQR. Remove all code except __mul and __sqr. Include
15891 sysdeps/ieee754/dbl-64/mpa.c.
15892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15893
adbb8027
SP
15894 [BZ #12723]
15895 * posix/Makefile (tests): Add tst-pathconf.
15896 * posix/tst-pathconf.c: New test case.
15897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15898 _PC_PIPE_BUF.
15899 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15900
39120df9
PF
159012013-03-06 Patsy Franklin <pfrankli@redhat.com>
15902
15903 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15904
67525cb8
AJ
159052013-03-06 Andreas Jaeger <aj@suse.de>
15906
664a9ce4
AJ
15907 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15908 definition via __MAP_ANONYMOUS.
15909
8e39047d
AJ
15910 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15911 it's not part of Linux headers.
15912
67525cb8
AJ
15913 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15914 (MAP_HUGE_MASK): Define.
15915
15916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15917 Define.
15918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15920 Define.
15921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15922 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15923 Define.
15924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15925 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15926 Define.
15927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15928
15929 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15930 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15931 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15932 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15933 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15934 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15935
15936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15937 Handle f2fs.
15938
15939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15940 Handle f2fs and efivarfs.
15941
15942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15943 f2fs.
15944
15945 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15946 (EFIVARFS_MAGIC): Add.
15947 (F2FS_LINK_MAX): Add.
15948
e1b42695
PP
159492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15950
15951 * stdio-common/vfprintf.c: Replace __builtin_expect with
15952 __glibc_unlikely.
15953
2d67d91a
JM
159542013-03-06 Joseph Myers <joseph@codesourcery.com>
15955
15956 [BZ #13550]
15957 * sysdeps/generic/bp-sym.h: Remove file.
15958 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15959 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15960 <bp-sym.h> and <bp-asm.h>.
15961 (__longjmp): Don't use BP_SYM.
15962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15963 and <bp-asm.h>.
15964 (memcpy): Don't use BP_SYM.
15965 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15966 <bp-sym.h> and <bp-asm.h>.
15967 (memcpy): Don't use BP_SYM.
15968 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15969 <bp-asm.h>.
15970 (memcpy): Don't use BP_SYM.
15971 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15972 <bp-asm.h>.
15973 (memset): Don't use BP_SYM.
15974 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15975 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15976 (__bzero): Don't use BP_SYM.
15977 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15978 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15980 <bp-sym.h> and <bp-asm.h>.
15981 (memcmp): Don't use BP_SYM. Remove comment about bounded
15982 pointers.
15983 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15984 <bp-sym.h> and <bp-asm.h>.
15985 (memcpy): Don't use BP_SYM.
15986 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15987 <bp-sym.h> and <bp-asm.h>.
15988 (memset): Don't use BP_SYM.
15989 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15990 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15991 (__bzero): Don't use BP_SYM.
15992 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15993 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15995 <bp-sym.h> and <bp-asm.h>.
15996 (strncmp): Don't use BP_SYM. Remove comment about bounded
15997 pointers.
15998 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15999 <bp-sym.h> and <bp-asm.h>.
16000 (memcpy): Don't use BP_SYM.
16001 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16002 <bp-sym.h> and <bp-asm.h>.
16003 (memset): Don't use BP_SYM.
16004 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16005 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16006 (__bzero): Don't use BP_SYM.
16007 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16008 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16010 <bp-sym.h> and <bp-asm.h>.
16011 (__memchr): Don't use BP_SYM.
16012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16013 <bp-sym.h> and <bp-asm.h>.
16014 (memcmp): Don't use BP_SYM. Remove comment about bounded
16015 pointers.
16016 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16017 <bp-sym.h> and <bp-asm.h>.
16018 (memcpy): Don't use BP_SYM.
16019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16020 <bp-sym.h> and <bp-asm.h>.
16021 (__mempcpy): Don't use BP_SYM.
16022 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16023 <bp-sym.h> and <bp-asm.h>.
16024 (__memrchr): Don't use BP_SYM.
16025 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16026 <bp-sym.h> and <bp-asm.h>.
16027 (memset): Don't use BP_SYM.
16028 (__bzero): Likewise.
16029 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16030 <bp-sym.h> and <bp-asm.h>.
16031 (__rawmemchr): Don't use BP_SYM.
16032 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16033 <bp-sym.h> and <bp-asm.h>.
16034 (__STRCMP): Don't use BP_SYM.
16035 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16036 <bp-sym.h> and <bp-asm.h>.
16037 (strchr): Don't use BP_SYM.
16038 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16039 <bp-sym.h> and <bp-asm.h>.
16040 (__strchrnul): Don't use BP_SYM.
16041 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16042 <bp-sym.h> and <bp-asm.h>.
16043 (strlen): Don't use BP_SYM.
16044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16045 <bp-sym.h> and <bp-asm.h>.
16046 (strncmp): Don't use BP_SYM. Remove comment about bounded
16047 pointers.
16048 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16049 <bp-sym.h> and <bp-asm.h>.
16050 (__strnlen): Don't use BP_SYM.
16051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16052 <bp-sym.h> and <bp-asm.h>.
16053 (__GI__setjmp): Don't use BP_SYM.
16054 (_setjmp): Likewise.
16055 (__sigsetjmp): Likewise.
16056 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16057 (L(start_addresses)): Don't use BP_SYM.
16058 (_start): Likewise.
16059 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16060 <bp-asm.h>.
16061 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16062 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16063 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16064 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16065 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16066 <bp-asm.h>.
16067 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16068 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16069 about bounded pointers.
16070 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16071 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16072 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16073 <bp-asm.h>.
16074 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16075 about bounded pointers. Remove GKM FIXME comments.
16076 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16077 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16078 <bp-asm.h>.
16079 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16080 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16081 Remove GKM FIXME comments.
16082 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16083 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16084 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16085 <bp-asm.h>.
16086 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16087 about bounded pointers. Remove GKM FIXME comment.
16088 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16089 and <bp-asm.h>.
16090 (strncmp): Don't use BP_SYM. Remove comment about bounded
16091 pointers.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16093 <bp-sym.h> and <bp-asm.h>.
16094 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16096 <bp-sym.h> and <bp-asm.h>.
16097 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16098 comment.
16099
cdcf361f
PP
161002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16101
16102 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16103 call free(NULL).
16104
3c4a2b15
DM
161052013-03-05 David S. Miller <davem@davemloft.net>
16106
16107 * po/es.po: Update from translation team.
16108
cdcf361f 161092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16110
16111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16112 <bits/mman-linux.h>.
16113 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16114 is fine.
16115 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16116 <bits/mman-linux.h> to end of file.
16117 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16118 is fine.
16119 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16120 <bits/mman-linux.h> to end of file.
16121 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16122 is fine.
16123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16124 <bits/mman-linux.h> to end of file.
16125
16126 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16127 (MCL_CURRENT, MCL_FUTURE): Define here.
16128
5f67c04f
AK
161292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16130
8a4473cc 16131 [BZ #15232]
5f67c04f
AK
16132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16133 attribute_hidden.
16134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16135
c3e94a95
AK
161362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16137
16138 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16139 fourth parameter needed for rt_sigprocmask syscall.
16140 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16141 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16142 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16143 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16144 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16145 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16146
cfb6382a
JM
161472013-03-04 Joseph Myers <joseph@codesourcery.com>
16148
16149 [BZ #13550]
16150 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16151 comment about bounded pointers.
16152 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16153 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16154
539d8e01
AJ
161552013-03-04 Andreas Jaeger <aj@suse.de>
16156
16157 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16158 common definitions.
16159
16160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16161 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16162 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16166
2e167a70 161672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16168
16169 [BZ #15055]
16170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16171 __ieee754_sqrl instead of __sqrl.
16172
68508633
JM
161732013-03-01 Joseph Myers <joseph@codesourcery.com>
16174
16175 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16176 * sysdeps/powerpc/fpu_control.h: ... here.
16177 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16178 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16179 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16180 * sysdeps/powerpc/bits/mathinline.h: ... here.
16181
7775448e
RM
161822013-03-01 Roland McGrath <roland@hack.frob.com>
16183
16184 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16185 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16186 to just [NEED_DL_SYSINFO_DSO].
16187 * elf/dl-support.c: Likewise.
16188 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16189 * elf/rtld.c (dl_main): Likewise.
16190 * elf/setup-vdso.h (setup_vdso): Likewise.
16191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16192 * sysdeps/unix/sysv/linux/dl-sysdep.c
16193 (_dl_discover_osversion): Likewise.
16194
4e9b5995
CD
161952013-03-01 Carlos O'Donell <carlos@redhat.com>
16196
16197 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16198 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16199
e23872c8
SP
162002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16201
e5c74c63
SP
16202 * NEWS: Mention libm performance improvements and non-x86 PI
16203 futex support.
16204
e23872c8
SP
16205 * csu/libc-start.c (__pthread_initialize_minimal): Change
16206 function arguments.
16207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16208
b5510883
JM
162092013-02-28 Joseph Myers <joseph@codesourcery.com>
16210
16211 [BZ #13550]
16212 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16213 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16214 <bp-sym.h> and <bp-asm.h>.
16215 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16217 and <bp-asm.h>.
16218 (memcpy): Don't use BP_SYM.
16219 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16220 <bp-asm.h>.
16221 (__mpn_add_n): Don't use BP_SYM.
16222 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16223 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16224 and <bp-asm.h>.
16225 (__mpn_addmul_1): Don't use BP_SYM.
16226 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16227 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16228 <bp-sym.h>.
16229 (_setjmp): Don't use BP_SYM.
16230 (__novmx_setjmp): Likewise.
16231 (__GI__setjmp): Likewise.
16232 (__vmx_setjmp): Likewise.
16233 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16234 <bp-sym.h>.
16235 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16236 (__bzero): Don't use BP_SYM.
16237 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16238 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16240 <bp-sym.h> and <bp-asm.h>.
16241 (memcpy): Don't use BP_SYM.
16242 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16243 <bp-sym.h> and <bp-asm.h>.
16244 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16245 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16246 <bp-sym.h> and <bp-asm.h>.
16247 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16248 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16249 <bp-asm.h>.
16250 (__mpn_lshift): Don't use BP_SYM.
16251 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16252 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16253 <bp-asm.h>.
16254 (memset): Don't use BP_SYM.
16255 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16256 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16257 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16258 <bp-asm.h>.
16259 (__mpn_mul_1): Don't use BP_SYM.
16260 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16262 <bp-sym.h> and <bp-asm.h>.
16263 (memcmp): Don't use BP_SYM.
16264 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16265 <bp-sym.h> and <bp-asm.h>.
16266 (memcpy): Don't use BP_SYM.
16267 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16268 <bp-sym.h> and <bp-asm.h>.
16269 (memset): Don't use BP_SYM.
16270 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16271 <bp-sym.h> and <bp-asm.h>.
16272 (strncmp): Don't use BP_SYM.
16273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16274 <bp-sym.h> and <bp-asm.h>.
16275 (memcpy): Don't use BP_SYM.
16276 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16277 <bp-sym.h> and <bp-asm.h>.
16278 (memset): Don't use BP_SYM.
16279 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16280 <bp-sym.h> and <bp-asm.h>.
16281 (__memchr): Don't use BP_SYM.
16282 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16283 <bp-sym.h> and <bp-asm.h>.
16284 (memcmp): Don't use BP_SYM.
16285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16286 <bp-sym.h> and <bp-asm.h>.
16287 (memcpy): Don't use BP_SYM.
16288 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16289 <bp-sym.h> and <bp-asm.h>.
16290 (__mempcpy): Don't use BP_SYM.
16291 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16292 <bp-sym.h> and <bp-asm.h>.
16293 (__memrchr): Don't use BP_SYM.
16294 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16295 <bp-sym.h> and <bp-asm.h>.
16296 (memset): Don't use BP_SYM.
16297 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16298 <bp-sym.h> and <bp-asm.h>.
16299 (__rawmemchr): Don't use BP_SYM.
16300 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16301 <bp-sym.h> and <bp-asm.h>.
16302 (__STRCMP): Don't use BP_SYM.
16303 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16304 <bp-sym.h> and <bp-asm.h>.
16305 (strchr): Don't use BP_SYM.
16306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16307 <bp-sym.h> and <bp-asm.h>.
16308 (__strchrnul): Don't use BP_SYM.
16309 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16310 <bp-sym.h> and <bp-asm.h>.
16311 (strlen): Don't use BP_SYM.
16312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16313 <bp-sym.h> and <bp-asm.h>.
16314 (strncmp): Don't use BP_SYM.
16315 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16316 <bp-sym.h> and <bp-asm.h>.
16317 (__strnlen): Don't use BP_SYM.
16318 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16319 <bp-asm.h>.
16320 (__mpn_rshift): Don't use BP_SYM.
16321 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16322 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16323 <bp-sym.h> and <bp-asm.h>.
16324 (__sigsetjmp): Don't use BP_SYM.
16325 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16326 (L(start_addresses)): Don't use BP_SYM.
16327 (_start): Likewise.
16328 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16329 <bp-asm.h>.
16330 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16331 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16332 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16333 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16334 <bp-asm.h>.
16335 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16336 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16337 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16338 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16339 <bp-asm.h>.
16340 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16341 comments.
16342 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16343 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16344 <bp-asm.h>.
16345 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16346 FIXME comments.
16347 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16348 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16349 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16350 <bp-asm.h>.
16351 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16352 comment.
16353 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16354 and <bp-asm.h>.
16355 (strncmp): Don't use BP_SYM,
16356 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16357 <bp-asm.h>.
16358 (__mpn_sub_n): Don't use BP_SYM.
16359 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16360 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16361 and <bp-asm.h>.
16362 (__mpn_submul_1): Don't use BP_SYM.
16363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16365 <bp-sym.h> and <bp-asm.h>.
16366 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16368 <bp-sym.h> and <bp-asm.h>.
16369 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16370 comment.
16371
8d19fe64
SP
163722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16373
16374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16375 Use ZK to minimize writes to Z.
16376 (sub_magnitudes): Simplify code a bit.
16377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16378 Use ZK to minimize writes to Z.
16379 (sub_magnitudes): Simplify code a bit.
16380
85bd816a
RM
163812013-02-27 Roland McGrath <roland@hack.frob.com>
16382
16383 * csu/gmon-start.c: Add special exception to license text.
16384
b5977bf2
RH
163852013-02-27 Richard Henderson <rth@redhat.com>
16386
16387 * scripts/config.guess: Update from config.git.
16388 * scripts/config.sub: Likewise.
16389
11d6e2f2
SP
163902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
09c14ed2
SP
16392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16393
a688864e
SP
16394 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16395
6295157a
SP
16396 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16397
b8de2202
SP
16398 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16399
11d6e2f2
SP
16400 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16401
7e80ddb8
RM
164022013-02-26 Roland McGrath <roland@hack.frob.com>
16403
16404 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16405 [$(build-shared = yes].
7e80ddb8 16406
7da6d9ed
SP
164072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16408
45f05884
SP
16409 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16410 (__mul): Reduce iterations for calculating mantissa.
16411
2236d359
SP
16412 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16413 MPTWO.
16414 (__mpranred): Likewise.
16415
7da6d9ed
SP
16416 [BZ #15160]
16417 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16418 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16419
b7688c42
PE
164202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16421
16422 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16423 Define __attribute__.
16424
53a5c423
SP
164252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16426
16427 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16428 unused.
16429 * posix/regex_internal.h (__attribute): Remove.
16430 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16431 (re_string_context_at): Likewise.
16432 (bitset_not): Use __attribute__ and mark function as possibly
16433 unused.
16434 (bitset_merge): Likewise.
16435 (bitset_mask): Likewise.
16436 (re_string_char_size_at): Likewise.
16437 (re_string_wchar_at): Likewise.
16438 (re_string_elem_size_at): Likewise.
16439
60f5a8b5
SP
164402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16441
2a983a2e
SP
16442 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16443 code.
16444 (cc32): Likewise.
16445
e69804d1
SP
16446 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16447 (__acr): Likewise.
16448 (__cpy): Likewise.
16449 (norm): Likewise.
16450 (denorm): Likewise.
16451 (__dbl_mp): Likewise.
16452 (add_magnitudes): Likewise.
16453 (sub_magnitudes): Likewise.
16454 (__mul): Likewise.
16455 (__inv): Likewise.
16456
2f22a1e8
SP
16457 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16458 style.
16459
8930ddc7
SP
16460 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16461 style.
16462
dc60cb11
SP
16463 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16464 code.
16465
60f5a8b5
SP
16466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16467 up changes with default code.
16468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16469 Likewise.
16470
b4d1fd33
AM
164712013-02-24 Allan McRae <allan@archlinux.org>
16472
faf6f8bc
AM
16473 * manual/socket.texi (The Internet Namespace): Order menu items
16474 to match that in the file.
16475
b4d1fd33
AM
16476 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16477 node listing of the info page menu.
16478
2366713d
JM
164792013-02-21 Joseph Myers <joseph@codesourcery.com>
16480
16481 [BZ #13550]
16482 * sysdeps/i386/bp-asm.h: Remove file.
16483 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16484 (PARMS): Do not use macros from bp-asm.h.
16485 (S1): Likewise.
16486 (S2): Likewise.
16487 (SIZE): Likewise.
16488 (__mpn_add_n): Do not use BP_SYM
16489 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16490 "bp-asm.h".
16491 (PARMS): Do not use macros from bp-asm.h.
16492 (S1): Likewise.
16493 (SIZE): Likewise.
16494 (__mpn_addmul_1): Do not use BP_SYM
16495 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16496 "bp-asm.h".
16497 (PARMS): Do not use macros from bp-asm.h.
16498 (SIGMSK): Likewise.
16499 (_setjmp): Likewise. Do not use BP_SYM.
16500 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16501 "bp-asm.h".
16502 (PARMS): Do not use macros from bp-asm.h.
16503 (SIGMSK): Likewise.
16504 (setjmp): Likewise. Do not use BP_SYM.
16505 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16506 "bp-asm.h".
16507 (PARMS): Do not use macros from bp-asm.h.
16508 (__frexp): Do not use BP_SYM.
16509 (frexp): Likewise.
16510 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16511 "bp-asm.h".
16512 (PARMS): Do not use macros from bp-asm.h.
16513 (__frexpf): Do not use BP_SYM.
16514 (frexpf): Likewise.
16515 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16516 "bp-asm.h".
16517 (PARMS): Do not use macros from bp-asm.h.
16518 (__frexpl): Do not use BP_SYM.
16519 (frexpl): Likewise.
16520 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16521 "bp-asm.h".
16522 (PARMS): Do not use macros from bp-asm.h.
16523 (__remquo): Do not use BP_SYM.
16524 (remquo): Likewise.
16525 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16526 "bp-asm.h".
16527 (PARMS): Do not use macros from bp-asm.h.
16528 (__remquof): Do not use BP_SYM.
16529 (remquof): Likewise.
16530 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16531 "bp-asm.h".
16532 (PARMS): Do not use macros from bp-asm.h.
16533 (__remquol): Do not use BP_SYM.
16534 (remquol): Likewise.
16535 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16536 "bp-asm.h".
16537 (PARMS): Do not use macros from bp-asm.h.
16538 (DEST): Likewise.
16539 (SRC): Likewise.
16540 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16541 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16542 "bp-asm.h".
16543 (PARMS): Do not use macros from bp-asm.h.
16544 (strlen): Do not use BP_SYM.
16545 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16546 "bp-asm.h".
16547 (PARMS): Do not use macros from bp-asm.h.
16548 (S1): Likewise.
16549 (S2): Likewise.
16550 (SIZE): Likewise.
16551 (__mpn_add_n): Do not use BP_SYM.
16552 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16553 "bp-asm.h".
16554 (PARMS): Do not use macros from bp-asm.h.
16555 (S1): Likewise.
16556 (SIZE): Likewise.
16557 (__mpn_addmul_1): Do not use BP_SYM.
16558 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16559 weak_alias.
16560 (bzero): Likewise.
16561 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16562 "bp-asm.h".
16563 (PARMS): Do not use macros from bp-asm.h.
16564 (S): Likewise.
16565 (SIZE): Likewise.
16566 (__mpn_lshift): Do not use BP_SYM.
16567 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16568 "bp-asm.h".
16569 (PARMS): Do not use macros from bp-asm.h.
16570 (DEST): Likewise.
16571 (SRC): Likewise.
16572 (LEN): Likewise.
16573 (memcpy): Likewise. Do not use BP_SYM.
16574 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16575 libc_hidden_def and weak_alias.
16576 (mempcpy): Do not use BP_SYM in weak_alias.
16577 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16578 "bp-asm.h".
16579 (PARMS): Do not use macros from bp-asm.h.
16580 (DEST): Likewise.
16581 (LEN): Likewise.
16582 [!BZERO_P] (CHR): Likewise.
16583 (memset): Likewise. Do not use BP_SYM.
16584 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16585 "bp-asm.h".
16586 (PARMS): Do not use macros from bp-asm.h.
16587 (S1): Likewise.
16588 (SIZE): Likewise.
16589 (__mpn_mul_1): Do not use BP_SYM.
16590 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16591 "bp-asm.h".
16592 (PARMS): Do not use macros from bp-asm.h.
16593 (S): Likewise.
16594 (SIZE): Likewise.
16595 (__mpn_rshift): Do not use BP_SYM.
16596 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16597 "bp-asm.h".
16598 (PARMS): Do not use macros from bp-asm.h.
16599 (STR): Likewise.
16600 (CHR): Likewise.
16601 (strchr): Likewise. Do not use BP_SYM.
16602 (index): Do not use BP_SYM in weak_alias.
16603 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16604 "bp-asm.h".
16605 (PARMS): Do not use macros from bp-asm.h.
16606 (DEST): Likewise.
16607 (SRC): Likewise.
16608 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16609 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16610 "bp-asm.h".
16611 (PARMS): Do not use macros from bp-asm.h.
16612 (strlen): Do not use BP_SYM.
16613 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16614 "bp-asm.h".
16615 (PARMS): Do not use macros from bp-asm.h.
16616 (S1): Likewise.
16617 (S2): Likewise.
16618 (SIZE): Likewise.
16619 (__mpn_sub_n): Do not use BP_SYM.
16620 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16621 "bp-asm.h".
16622 (PARMS): Do not use macros from bp-asm.h.
16623 (S1): Likewise.
16624 (SIZE): Likewise.
16625 (__mpn_submul_1): Do not use BP_SYM.
16626 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16627 "bp-asm.h".
16628 (PARMS): Do not use macros from bp-asm.h.
16629 (S1): Likewise.
16630 (S2): Likewise.
16631 (SIZE): Likewise.
16632 (__mpn_add_n): Do not use BP_SYM.
16633 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16634 weak_alias.
16635 (bzero): Likewise.
16636 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16637 "bp-asm.h".
16638 (PARMS): Do not use macros from bp-asm.h.
16639 (BLK2): Likewise.
16640 (LEN): Likewise.
16641 (memcmp): Do not use BP_SYM.
16642 (bcmp): Do not use BP_SYM in weak_alias.
16643 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
16648 (LEN): Likewise.
16649 (memcpy): Likewise. Do not use BP_SYM.
16650 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (DEST): Likewise.
16654 (SRC): Likewise.
16655 (LEN): Likewise.
16656 (memmove): Likewise. Do not use BP_SYM.
16657 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16658 "bp-asm.h".
16659 (PARMS): Do not use macros from bp-asm.h.
16660 (DEST): Likewise.
16661 (SRC): Likewise.
16662 (LEN): Likewise.
16663 (__mempcpy): Likewise. Do not use BP_SYM.
16664 (mempcpy): Do not use BP_SYM in weak_alias.
16665 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16666 "bp-asm.h".
16667 (PARMS): Do not use macros from bp-asm.h.
16668 (DEST): Likewise.
16669 (LEN): Likewise.
16670 [!BZERO_P] (CHR): Likewise.
16671 (memset): Likewise. Do not use BP_SYM.
16672 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16673 "bp-asm.h".
16674 (PARMS): Do not use macros from bp-asm.h.
16675 (STR2): Likewise.
16676 (strcmp): Do not use BP_SYM.
16677 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16678 "bp-asm.h".
16679 (PARMS): Do not use macros from bp-asm.h.
16680 (STR): Likewise.
16681 (DELIM): Likewise.
16682 [USE_AS_STRTOK_R] (SAVE): Likewise.
16683 (FUNCTION): Likewise. Do not use BP_SYM.
16684 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16685 aliases.
16686 (strtok_r): Likewise.
16687 (__GI___strtok_r): Likewise.
16688 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16689 (PARMS): Do not use macros from bp-asm.h.
16690 (S): Likewise.
16691 (SIZE): Likewise.
16692 (__mpn_lshift): Do not use BP_SYM.
16693 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16694 (PARMS): Do not use macros from bp-asm.h.
16695 (STR): Likewise.
16696 (CHR): Likewise.
16697 (__memchr): Do not use BP_SYM.
16698 (memchr): Do not use BP_SYM in weak_alias.
16699 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16700 (PARMS): Do not use macros from bp-asm.h.
16701 (BLK2): Likewise.
16702 (LEN): Likewise.
16703 (memcmp): Do not use BP_SYM.
16704 (bcmp): Do not use BP_SYM in weak_alias.
16705 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16706 (PARMS): Do not use macros from bp-asm.h.
16707 (S1): Likewise.
16708 (SIZE): Likewise.
16709 (__mpn_mul_1): Do not use BP_SYM.
16710 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16711 "bp-asm.h".
16712 (PARMS): Do not use macros from bp-asm.h.
16713 (STR): Likewise.
16714 (CHR): Likewise.
16715 (__rawmemchr): Do not use BP_SYM.
16716 (rawmemchr): Do not use BP_SYM in weak_alias.
16717 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16718 (PARMS): Do not use macros from bp-asm.h.
16719 (S): Likewise.
16720 (SIZE): Likewise.
16721 (__mpn_rshift): Do not use BP_SYM.
16722 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16723 (PARMS): Do not use macros from bp-asm.h.
16724 (SIGMSK): Likewise.
16725 (__sigsetjmp): Likewise. Do not use BP_SYM.
16726 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16727 (_start): Do not use BP_SYM.
16728 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16729 (PARMS): Do not use macros from bp-asm.h.
16730 (DEST): Likewise.
16731 (SRC): Likewise.
16732 (__stpcpy): Likewise. Do not use BP_SYM.
16733 (stpcpy): Do not use BP_SYM in weak_alias.
16734 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16735 "bp-asm.h".
16736 (PARMS): Do not use macros from bp-asm.h.
16737 (DEST): Likewise.
16738 (SRC): Likewise.
16739 (LEN): Likewise.
16740 (__stpncpy): Likewise. Do not use BP_SYM.
16741 (stpncpy): Do not use BP_SYM in weak_alias.
16742 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16743 (PARMS): Do not use macros from bp-asm.h.
16744 (STR): Likewise.
16745 (CHR): Likewise.
16746 (strchr): Likewise. Do not use BP_SYM.
16747 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16748 "bp-asm.h".
16749 (PARMS): Do not use macros from bp-asm.h.
16750 (STR): Likewise.
16751 (CHR): Likewise.
16752 (__strchrnul): Likewise. Do not use BP_SYM.
16753 (strchrnul): Do not use BP_SYM in weak_alias.
16754 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16755 "bp-asm.h".
16756 (PARMS): Do not use macros from bp-asm.h.
16757 (STOP): Likewise.
16758 (strcspn): Do not use BP_SYM.
16759 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16760 "bp-asm.h".
16761 (PARMS): Do not use macros from bp-asm.h.
16762 (STR): Likewise.
16763 (STOP): Likewise.
16764 (strpbrk): Likewise. Do not use BP_SYM.
16765 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16766 "bp-asm.h".
16767 (PARMS): Do not use macros from bp-asm.h.
16768 (STR): Likewise.
16769 (CHR): Likewise.
16770 (strrchr): Likewise. Do not use BP_SYM.
16771 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16772 (PARMS): Do not use macros from bp-asm.h.
16773 (SKIP): Likewise.
16774 (strspn): Do not use BP_SYM.
16775 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16776 (PARMS): Do not use macros from bp-asm.h.
16777 (STR): Likewise.
16778 (DELIM): Likewise.
16779 (SAVE): Likewise.
16780 (FUNCTION): Likewise. Do not use BP_SYM.
16781 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16782 aliases.
16783 (strtok_r): Likewise.
16784 (__GI___strtok_r): Likewise.
16785 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16786 (PARMS): Do not use macros from bp-asm.h.
16787 (S1): Likewise.
16788 (S2): Likewise.
16789 (SIZE): Likewise.
16790 (__mpn_sub_n): Do not use BP_SYM.
16791 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16792 "bp-asm.h".
16793 (PARMS): Do not use macros from bp-asm.h.
16794 (S1): Likewise.
16795 (SIZE): Likewise.
16796 (__mpn_submul_1): Do not use BP_SYM.
16797 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16798 <bp-sym.h>.
16799 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16800 and <bp-asm.h>.
16801 (PARMS): Do not use macros from bp-asm.h.
16802 (FLAGS): Likewise.
16803 (PTID): Likewise.
16804 (TLS): Likewise.
16805 (CTID): Likewise.
16806 (__clone): Do not use BP_SYM.
16807 (clone): Do not use BP_SYM in weak_alias.
16808 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16809 and <bp-asm.h>.
16810 (PARMS): Do not use macros from bp-asm.h.
16811 (LEN): Likewise.
16812 (__mmap64): Do not use BP_SYM.
16813 (mmap64): Do not use BP_SYM in weak_alias.
16814 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (PARMS): Do not use macros from bp-asm.h.
16817 (__posix_fadvise64_l64): Do not use BP_SYM.
16818 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16819 (PARMS): Do not use macros from bp-asm.h.
16820 (NSOPS): Likewise.
16821 (semtimedop): Do not use BP_SYM.
16822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16823 and <bp-asm.h>.
16824
582a3cff
AM
168252013-02-21 Allan McRae <allan@archlinux.org>
16826
16827 * manual/message.texi (Charset conversion in gettext):
16828 Move @end statement to beginning of line.
16829
bab8a695
SP
168302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
80945231
SP
16832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16833 static.
16834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16835 Likewise.
16836
bab8a695
SP
16837 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16838 (denorm): Likewise.
16839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16841
e21d7aa7
AK
168422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16843
16844 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16845 tail-call to the resolved function if pltexit isn't needed.
16846
4c7a4263
SP
168472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16848
16849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16850 or Y being zero as being unlikely.
16851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16852 Likewise.
16853
41f49342
CD
168542013-02-20 Carlos O'Donell <carlos@redhat.com>
16855
16856 * manual/nss.texi (System Databases and Name Service Switch):
16857 Remove frobnicate @pxref.
16858
50022a93
TS
168592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16860
16861 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16862 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16863
08cbd996
PM
168642013-02-20 Petr Machata <pmachata@redhat.com>
16865
16866 * elf/elf.h (R_ARM_TARGET1): New macro.
16867 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16868 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16869 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16870 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16871 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16872 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16873 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16874 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16875 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16876 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16877 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16878 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16879 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16880 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16881 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16882 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16883 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16884 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16885 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16886 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16887 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16888 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16889 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16890 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16891 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16892 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16893 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16894 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16895 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16896 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16897 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16898 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16899 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16900 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16901 (R_ARM_THM_GOT_BREL12): Likewise.
16902 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16903 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16904 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16905 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16906 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16907 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16908 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16909 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16910 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16911
c7b275d6
TS
169122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16913
16914 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16915 __attribute_used__ to __attribute__ ((unused)).
16916
20cd7fb3
SP
169172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16918
16919 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16920 powerpc mpa.c.
16921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16922 comment formatting.
16923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16924
92945b52
JM
169252013-02-19 Joseph Myers <joseph@codesourcery.com>
16926
16927 [BZ #13550]
16928 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16929 Remove macro.
16930 (ENTER): Remove both macro definitions.
16931 (LEAVE): Likewise.
16932 (CHECK_BOUNDS_LOW): Likewise.
16933 (CHECK_BOUNDS_HIGH): Likewise.
16934 (CHECK_BOUNDS_BOTH): Likewise.
16935 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16936 (RETURN_BOUNDED_POINTER): Likewise.
16937 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16938 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16939 (POP_ERRNO_LOCATION_RETURN): Likewise.
16940 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16941 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16942 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16943 macros.
16944 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16946 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16947 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16948 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16949 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16950 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16951 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16952 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16953 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16954 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16955 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16956 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16957 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16958 removed macros.
16959 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16961 macros.
16962 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16963 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16964 * sysdeps/i386/i586/memset.S (memset): Likewise.
16965 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16967 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16968 macros.
16969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16971 Change uses of L(2) to L(out).
16972 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16973 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16974 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16975 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16977 removed macros.
16978 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16980 macros.
16981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16982 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16983 (RETURN): Do not use macro LEAVE.
16984 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16985 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16986 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16987 * sysdeps/i386/i686/memset.S (memset): Likewise.
16988 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16989 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16991 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16992 Likewise.
16993 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16994 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16995 L(1_2) and L(1_3) into L(1).
16996 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16998 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16999 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17000 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17001 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17002 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17003 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17004 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17005 macros.
17006 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17007 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17008 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17009 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17010 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17011 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17012 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17013 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17014 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17015 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17016 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17017 * sysdeps/i386/strspn.S (strspn): Likewise.
17018 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17019 conditional code.
17020 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17021 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17022 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17023 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17024 L(1_3) into L(1_1).
17025 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17027 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17028 macros.
17029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17030
2389741a
JJ
170312013-02-19 Jakub Jelinek <jakub@redhat.com>
17032
17033 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17034 macro.
17035
2016b3cd
SP
170362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17037
e4f22324
SP
17038 * math/atest-exp.c (exp_mpn): Remove ROUND.
17039 * math/atest-exp2.c (exp_mpn): Likewise.
17040 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17041
2016b3cd
SP
17042 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17043 * stdlib/tst-tls-atexit-lib.c: Likewise.
17044 * stdlib/tst-tls-atexit.c: Likewise.
17045
4be9b544
MF
170462013-02-18 Mike Frysinger <vapier@gentoo.org>
17047
17048 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17049 and __attribute_alloc_size__.
17050
2f62b9ee
MF
170512013-02-18 Mike Frysinger <vapier@gentoo.org>
17052
17053 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17054 __attribute_alloc_size__.
17055 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17056 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17057
6ff444c4
MF
170582013-02-18 Mike Frysinger <vapier@gentoo.org>
17059
17060 * include/programs/xmalloc.h: New file.
17061 * catgets/gencat.c: Include it.
17062 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17063 * elf/pldd.c: Likewise.
17064 * iconv/iconv_charmap.c: Likewise.
17065 * iconv/iconvconfig.c: Likewise.
17066 * iconv/strtab.c: Likewise.
17067 * locale/programs/locale.c: Likewise.
17068 * locale/programs/localedef.h: Likewise.
17069 * locale/programs/simple-hash.c: Likewise.
17070 * nscd/nscd.h: Likewise.
17071 * nss/makedb.c: Likewise.
17072 * sysdeps/generic/ldconfig.h: Likewise.
17073
be179c8a
SP
170742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17075
ba384f6e
SP
17076 * Versions.def: Add GLIBC_2.18.
17077 * include/link.h (struct link_map): New member l_tls_dtor_count.
17078 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17079 (__call_tls_dtors): Likewise.
17080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17081 __cxa_thread_atexit_impl.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17083 Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17085 Likewise.
17086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17087 Likewise.
17088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17089 Likewise.
17090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17092 Likewise.
17093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17094 Likewise.
17095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17097 Likewise.
17098 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17099 (tests): Add test case tst-tls-atexit.
17100 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17101 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17102 (GLIBC_PRIVATE): Add __call_tls_dtors.
17103 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17104 for libstdc++.
17105 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17106 * stdlib/tst-tls-atexit.c: New test case.
17107 * stdlib/tst-tls-atexit-lib.c: New test case.
17108
ffaa74cf 17109 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17110
be179c8a
SP
17111 * elf/Versions (ld): Add _dl_find_dso_for_object.
17112 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17113 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17114 (dl_open_worker): Use _dl_find_dso_for_object.
17115 * elf/dl-sym.c (do_sym): Likewise.
17116 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17117
f78b5caa
AK
171182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17119
17120 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17121 Syntactic changes only.
17122 (_dl_runtime_profile): Do a tail-call to the resolved function.
17123
29691210
JM
171242013-02-17 Joseph Myers <joseph@codesourcery.com>
17125
17126 [BZ #13550]
17127 * sysdeps/x86_64/bp-asm.h: Remove file.
17128 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17129 <bp-sym.h> and <bp-asm.h>.
17130 (__clone): Do not use BP_SYM.
17131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17132 <bp-sym.h> and <bp-asm.h>.
17133 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17134 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17135 "bp-asm.h".
17136 (_setjmp): Do not use BP_SYM.
17137 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17138 "bp-asm.h".
17139 (setjmp): Do not use BP_SYM.
17140 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17141 libc_hidden_def.
17142 (mempcpy): Do not use BP_SYM in weak_alias.
17143 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17144 "bp-asm.h".
17145 (strchr): Do not use BP_SYM.
17146 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17147 "bp-asm.h".
17148 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17149 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17150 (_start): Do not use BP_SYM.
17151 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17152 "bp-asm.h".
17153 (strcat): Do not use BP_SYM.
17154 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17155 "bp-asm.h".
17156 (STRCMP): Do not use BP_SYM.
17157 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17158 "bp-asm.h".
17159 (STRCPY): Do not use BP_SYM.
17160 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17161 "bp-asm.h".
17162 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17163 "bp-asm.h".
17164 (FUNCTION): Do not use BP_SYM.
17165 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17166 weak_alias.
17167 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17168
f238fd19
AJ
171692013-02-17 Andreas Jaeger <aj@suse.de>
17170
17171 * time/Versions: Sort entries.
17172 * string/Versions: Likewise.
17173 * resolv/Versions: Likewise.
17174 * posix/Versions: Likewise.
17175 * iconv/Versions: Likewise.
17176 * elf/Versions: Likewise.
17177 * wcsmbs/Versions: Likewise.
17178
bd07f23c 171792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17180
22af19f9
SP
17181 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17182 loop termination condition.
17183
4709fe76
SP
17184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17185 variable to calculate EZ.
17186 (__sqr): Likewise.
2d0e0f29
SP
17187
17188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17189 the lower precision input.
17190
daaa7713
JM
171912013-02-15 Joseph Myers <joseph@codesourcery.com>
17192
17193 [BZ #13550]
17194 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17195 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17196 (run-via-rtld-prefix): Do not handle %-bp tests.
17197 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17198 (all-object-suffixes): Remove .ob.
17199 (bppfx): Remove variable.
17200 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17201 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17202 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17203 [$(build-bounded) = yes] (libtype.ob): Likewise.
17204 * Makerules (elide-routines.ob): Remove variable.
17205 (do-tests-clean): Do not handle *-bp.out.
17206 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17207 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17208 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17209 (tests): Do not include $(tests-bp.out).
17210 (xtests): Do not include $(xtests-bp.out).
17211 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17212 [$(build-bounded) = yes] ($(addprefix
17213 $(objpfx),$(binaries-bounded))): Remove rule.
17214 ($(objpfx)%-bp.out): Remove rule.
17215 * config.make.in (build-bounded): Remove variable.
17216 * crypt/Makefile [$(build-bounded) = yes]
17217 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17218 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17219 append to variable.
17220 [$(build-bounded) = yes] (install-lib): Likewise.
17221 [$(build-bounded) = yes] (generated): Likewise.
17222 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17223 Remove rule.
17224 * intl/Makefile [$(build-bounded) = yes]
17225 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17226 * math/Makefile [$(build-bounded) = yes]
17227 ($(tests:%=$(objpfx)%-bp): Likewise.
17228 * misc/Makefile [$(build-bounded) = yes]
17229 ($(objpfx)tst-tsearch-bp): Likewise.
17230 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17231 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17232 Remove dependency.
17233 * string/Makefile (o-objects.ob): Remove variable.
17234 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17235 (CFLAGS-.ob): Remove variable.
17236 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17237 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17238 both definitions of variable.
17239 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17240 (ASFLAGS-.ob): Remove variable.
17241
e97ed6dd
JM
172422013-02-14 Joseph Myers <joseph@codesourcery.com>
17243
2bdd4ca6
JM
17244 [BZ #13550]
17245 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17246 Remove __BOUNDED_POINTERS__ from condition.
17247 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17248 * string/bits/string2.h [!__NO_STRING_INLINES &&
17249 !__BOUNDED_POINTERS__]: Likewise.
17250 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17251 Likewise.
17252 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17253 Remove conditional code.
17254 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17255 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17256 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17257 condition.
17258
e97ed6dd
JM
17259 [BZ #13550]
17260 * csu/libc-start.c: Do not include <bp-sym.h>.
17261 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17262 * elf/dl-open.c: Do not include <bp-sym.h>.
17263 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17264 * math/fegetenv.c: Do not include <bp-sym.h>.
17265 (fegetenv): Do not use BP_SYM in versioned symbols.
17266 * nptl/sysdeps/pthread/bits/libc-lockP.h
17267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17268 <bp-sym.h>.
17269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17270 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17272 (__pthread_mutex_destroy): Likewise.
17273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17274 (__pthread_mutex_lock): Likewise.
17275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17276 (__pthread_mutex_trylock): Likewise.
17277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17278 (__pthread_mutex_unlock): Likewise.
17279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17280 (__pthread_mutexattr_init): Likewise.
17281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17282 (__pthread_mutexattr_destroy): Likewise.
17283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17284 (__pthread_mutexattr_settype): Likewise.
17285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17286 (__pthread_rwlock_init): Likewise.
17287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17288 (__pthread_rwlock_destroy): Likewise.
17289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17290 (__pthread_rwlock_rdlock): Likewise.
17291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17292 (__pthread_rwlock_tryrdlock): Likewise.
17293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17294 (__pthread_rwlock_wrlock): Likewise.
17295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17296 (__pthread_rwlock_trywrlock): Likewise.
17297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17298 (__pthread_rwlock_unlock): Likewise.
17299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17300 (__pthread_key_create): Likewise.
17301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17302 (__pthread_setspecific): Likewise.
17303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17304 (__pthread_getspecific): Likewise.
17305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17306 Likewise.
17307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17308 (_pthread_cleanup_push_defer): Likewise.
17309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17310 (_pthread_cleanup_pop_restore): Likewise.
17311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17312 (pthread_setcancelstate): Likewise.
17313 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17314 <bp-sym.h>.
17315 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17316 (memchr): Do not use BP_SYM in weak_alias.
17317 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17318 (fegetenv): Do not use BP_SYM in versioned symbols.
17319 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17320 (fesetenv): Do not use BP_SYM in versioned symbols.
17321 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17322 (feupdateenv): Do not use BP_SYM in versioned symbols.
17323 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17324 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17325 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17326 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17327 (open64): Do not use BP_SYM in weak_alias.
17328 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17329 (fegetenv): Do not use BP_SYM in versioned symbols.
17330 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17331 (fesetenv): Do not use BP_SYM in versioned symbols.
17332 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17333 (feupdateenv): Do not use BP_SYM in versioned symbols.
17334 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17335 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17336 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17337 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17338 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17339 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17340 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17341 <bp-sym.h>.
17342 (__libc_start_main): Do not use BP_SYM.
17343
d6752ccd
SP
173442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17345
cb57ce60
SP
17346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17347 redundant return line.
17348 (norm): Likewise.
17349 (denorm): Likewise.
17350 (dbl_mp): Likewise.
17351 (sub_magnitudes): Likewise.
17352 (__add): Likewise.
17353 (__sub): Likewise.
17354 (__mul): Likewise.
17355 (__inv): Likewise.
17356 (__dvd): Likewise.
17357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17358 (norm): Likewise.
17359 (denorm): Likewise.
17360 (dbl_mp): Likewise.
17361 (sub_magnitudes): Likewise.
17362 (__add): Likewise.
17363 (__sub): Likewise.
17364 (__mul): Likewise.
17365 (__inv): Likewise.
17366 (__dvd): Likewise.
17367
f414520d
SP
17368 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17369 instead of __mul.
17370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17371 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17372 (cc32): Likewise.
17373
d6752ccd
SP
17374 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17375 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17377 of __mul for squares.
17378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17379 function
17380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17381 Likewise.
17382 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17383 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17384
70d9946a
JM
173852013-02-13 Joseph Myers <joseph@codesourcery.com>
17386
17387 [BZ #13550]
17388 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17389 code.
17390 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17391 prototype or function definition. Rename ubp_* variables and
17392 parameters. Remove argv definitions conditional on
17393 [__BOUNDED_POINTERS__].
17394 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17395 * elf/dl-runtime.c (_dl_fixup): Likewise.
17396 * include/set-hooks.h (RUN_HOOK): Likewise.
17397 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17398 definition.
17399 * string/strcpy.c (strcpy): Do not use __unbounded.
17400 * sysdeps/generic/frame.h (struct layout): Likewise.
17401 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17402 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17403 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17404 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17405 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17406 (__backtrace): Likewise.
17407 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17408 use __ptrvalue.
17409 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17410 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17411 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17412 Likewise.
17413 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17414 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17415 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17416 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17417 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17418 Do not use __unbounded.
17419 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17420 Rename __unboundedrlimits parameter to rlimits in prototype.
17421 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17422 Do not use __unbounded.
17423 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17424 not use __ptrvalue.
17425 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17426 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17427 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17428 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17429 __ptrvalue or __unbounded.
17430 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17431 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17432 use __unbounded.
17433 (__new_msgctl): Do not use __ptrvalue.
17434 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17435 __unbounded.
17436 (__libc_msgrcv): Do not use __ptrvalue.
17437 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17438 startup_info): Do not use __unbounded.
17439 (__libc_start_main): Likewise. Rename ubp_* variables and
17440 parameters. Remove argv definitions conditional on
17441 [__BOUNDED_POINTERS__].
17442 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17443 __ptrvalue.
17444 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17445 use __unbounded.
17446 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17447 or __ptrvalue.
17448 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17449 use __unbounded.
17450 (__new_shmctl): Do not use __ptrvalue.
17451 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17452 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17455 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17456 (__libc_sigaction): Likewise.
17457 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17458 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17459 Likewise.
17460 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17461
cc7834d6
OB
174622013-02-13 Ondřej Bílka <neleai@seznam.cz>
17463
ffb1ec7b 17464 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17465
17466 * string/mempcpy.c: Implement by calling memcpy.
17467
bdf02814
SP
174682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17469
c2af38aa
SP
17470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17471
4e92d59e
SP
17472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17473 evaluation.
17474
909279a5
SP
17475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17476 values in the mantissa.
17477
bdf02814
SP
17478 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17479 minimize writes to Z.
17480 (sub_magnitudes): Simplify code a bit.
17481
cd525923
RM
174822013-02-12 Roland McGrath <roland@hack.frob.com>
17483
17484 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17485 from the message. The linker prefixes all warnings with that already.
17486
7e2f0d2d
AS
174872013-02-12 Andreas Schwab <schwab@suse.de>
17488
a445af0b
AS
17489 [BZ #15078]
17490 * posix/regexec.c (extend_buffers): Add parameter min_len.
17491 (check_matching): Pass minimum needed length.
17492 (clean_state_log_if_needed): Likewise.
17493 (get_subexp): Likewise.
17494 * posix/Makefile (tests): Add bug-regex34.
17495 (bug-regex34-ENV): Define.
17496 * posix/bug-regex34.c: New file.
17497
7e2f0d2d
AS
17498 [BZ #11561]
17499 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17500 elements compare against the byte sequence of it, not its name.
17501 * posix/Makefile (tests): Add bug-regex35.
17502 (bug-regex35-ENV): Define.
17503 * posix/bug-regex35.c: New file.
17504
a175b684
TV
175052013-02-11 Tom de Vries <tom@codesourcery.com>
17506
17507 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17508 comment.
17509 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17510 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17511 (CHECK_EOL): Add undef.
17512
310998fe 175132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17514
17515 * bits/stdlib-bsearch.h: New file.
17516 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17517 * stdlib/stdlib.h: Likewise.
41eda41d 17518
8ded91fb
RM
175192013-02-11 Roland McGrath <roland@hack.frob.com>
17520
17521 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17522 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17523 declaration.
17524 * manual/search.texi (Array Search Function): Add missing const in
17525 lfind prototype.
17526 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17527 declaration to use rlim_t.
17528 (Basic Scheduling Functions): Remove erroneous const from
17529 sched_getparam prototype. Remove erroneous * from
17530 sched_get_priority_max and sched_get_priority_min prototypes.
17531 (Resource Usage): Fix summary @comment on vtimes to refer to
17532 sys/vtimes.h rather than vtimes.h.
17533 Add missing *s in vtimes prototype.
17534 (Limits on Resources): Fix ulimit prototype to return long int.
17535 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17536 prototypes to use long int rather than double.
17537 (BSD Random): Fix initstate and setstate to use char *, not void *.
17538 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17539 prototype to make second argument 'struct aiocb64 *const[]'.
17540 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17541 (Status of AIO Operations): Remove erroneous const in aio_return and
17542 aio_return64 prototypes.
17543 (Synchronizing I/O): Fix sync prototype to return void.
17544 * manual/startup.texi (Suboptions): Remove an erroneous const in
17545 getsubopt prototype.
17546 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17547 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17548 use size_t rather than int.
17549 (Scanning All Users): Likewise for getpwent_r.
17550 (Setting Groups): Add missing const to setgroups prototype.
17551 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17552 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17553 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17554 'const void *' rather than 'const char *'.
17555 (Host Address Functions): Likewise for inet_ntop.
17556 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17557 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17558 ssize_t for return value.
17559 (Sending Data): Likewise for send, sendto, sendmsg.
17560 (Socket Option Functions): Add a missing const in setsockopt prototype.
17561 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17562 use wchar_t for the argument.
17563 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17564 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17565 take no arguments.
17566 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17567 double/float/long double for second argument.
17568 Fix return types of significand, significandf, significandl.
17569 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17570 argument in fchmod prototype.
17571 (File Owner): Use uid_t and gid_t in fchown prototype.
17572 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17573 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17574 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17575 use 'const struct dirent **' as argument types to CMP function pointer
17576 argument.
17577 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17578 (File Times): Fix summary magic @comment for struct utimbuf and utime
17579 to refer to utime.h, not time.h.
17580 * manual/string.texi (Argz Functions): Add missing const in
17581 argz_extract and argz_next prototypes.
17582 (Finding Tokens in a String): Likewise for basename.
17583 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17584 (Copying and Concatenation): Fix typo in wmemmove prototype.
17585 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17586 (Signal Stack): Remove erroneous const in sigstack prototype.
17587 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17588 prototype.
17589 (Simple Calendar Time): Likewise for stime.
17590 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17591 prototype.
17592 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17593 say sys/sysctl.h instead.
17594 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17595 and vsyslog prototypes.
17596
fe77fe6d
TV
175972013-02-11 Tom de Vries <tom@codesourcery.com>
17598
17599 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17600 Remove.
17601
3a09b620
RM
176022013-02-11 Roland McGrath <roland@hack.frob.com>
17603
17604 * misc/sys/mman.h: Fix typo in mremap comment.
17605
550a0b89
RM
176062013-02-08 Roland McGrath <roland@hack.frob.com>
17607
17608 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17609 the '\0' terminator.
17610
a2da1673
JM
176112013-02-08 Joseph Myers <joseph@codesourcery.com>
17612
17613 [BZ #13550]
17614 * debug/segfault.c: Don't include <bp-checks.h>.
17615 * sysdeps/generic/bp-checks.h: Remove file.
17616 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17617 (__GETDENTS): Don't use CHECK_N.
17618 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17619 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17620 (__getgroups): Don't use CHECK_N.
17621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17622 (setgroups): Don't use CHECK_N.
17623 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17624 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17625 (__libc_msgrcv): Don't use CHECK_N.
17626 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17627 (__libc_msgsnd): Don't use CHECK_N.
17628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17629 <bp-checks.h>.
17630 (__libc_pread): Don't use CHECK_N.
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17632 include <bp-checks.h>.
17633 (__libc_pread64): Don't use CHECK_N.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17635 include <bp-checks.h>.
17636 (__libc_pwrite): Don't use CHECK_N.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17638 include <bp-checks.h>.
17639 (__libc_pwrite64): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17641 <bp-checks.h>.
17642 (__libc_pread): Don't use CHECK_N.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17644 include <bp-checks.h>.
17645 (__libc_pread64): Don't use CHECK_N.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17647 include <bp-checks.h>.
17648 (__libc_pwrite): Don't use CHECK_N.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17650 include <bp-checks.h>.
17651 (__libc_pwrite64): Don't use CHECK_N.
17652 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17653 (do_pread): Don't use CHECK_N.
17654 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17655 (do_pread64): Don't use CHECK_N.
17656 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17657 (do_pwrite): Don't use CHECK_N.
17658 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17659 (do_pwrite64): Don't use CHECK_N.
17660 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17661 (__libc_readv): Don't use CHECK_N.
17662 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17663 (semop): Don't use CHECK_N.
17664 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17665 <bp-checks.h>.
17666 (semtimedop): Don't use CHECK_N.
17667 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17668 (__libc_pread): Don't use CHECK_N.
17669 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17670 <bp-checks.h>.
17671 (__libc_pread64): Don't use CHECK_N.
17672 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17673 <bp-checks.h>.
17674 (__libc_pwrite): Don't use CHECK_N.
17675 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17676 <bp-checks.h>.
17677 (__libc_pwrite64): Don't use CHECK_N.
17678 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17679 <bp-checks.h>.
17680 (__libc_msgrcv): Don't use CHECK_N.
17681 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17682 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17683 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17684 (__libc_writev): Don't use CHECK_N.
17685
b84660a8
RM
176862013-02-08 Roland McGrath <roland@hack.frob.com>
17687
7f3e75f8
RM
17688 * string/strcpy.c: Removed unused variable.
17689
b84660a8
RM
17690 * Makeconfig (+sysdep-includes): Define with := rather than =.
17691 Use an existing include/ subdir of each sysdeps dir before it.
17692
471514d3
CD
176932013-02-08 Carlos O'Donell <carlos@redhat.com>
17694
17695 * nscd/connection.c (register_traced_file): Comment function.
17696 [HAVE_INOTIFY] (union __inev): Define.
17697 [HAVE_INOTIFY] (inotify_check_files): New function.
17698 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17699 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17700 clear_db_cache.
17701 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17702
b2d3c3be
CD
177032013-02-08 Carlos O'Donell <carlos@redhat.com>
17704
17705 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17706 loaded if not already and that a failure is permanent.
17707
b39949d2
CD
177082013-02-08 Carlos O'Donell <carlos@redhat.com>
17709
ddacd1db 17710 [BZ #15006]
b39949d2
CD
17711 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17712 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17713
b2c9eff4
JM
177142013-02-08 Joseph Myers <joseph@codesourcery.com>
17715
f3aae3f3
JM
17716 [BZ #13550]
17717 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17718 (CHECK_1_NULL_OK): Likewise.
17719 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17720 (__fxstat): Do not use CHECK_1.
17721 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17722 <bp-checks.h>.
17723 (___fxstat64): Do not use CHECK_1.
17724 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17725 <bp-checks.h>.
17726 (__fxstatat): Do not use CHECK_1.
17727 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17728 <bp-checks.h>.
17729 (__fxstatat64): Do not use CHECK_1.
17730 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17731 <bp-checks.h>.
17732 (__fxstat): Do not use CHECK_1.
17733 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17734 <bp-checks.h>.
17735 (__fxstatat): Do not use CHECK_1.
17736 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17737 <bp-checks.h>.
17738 (__getresgid): Do not use CHECK_1.
17739 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17740 <bp-checks.h>.
17741 (__getresuid): Do not use CHECK_1.
17742 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17743 <bp-checks.h>.
17744 (__lxstat): Do not use CHECK_1.
17745 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17746 <bp-checks.h>.
17747 (__old_msgctl): Do not use CHECK_1.
17748 (__new_msgctl): Likewise.
17749 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17750 <bp-checks.h>.
17751 (__new_setrlimit): Do not use CHECK_1.
17752 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17753 <bp-checks.h>.
17754 (__old_shmctl): Do not use CHECK_1.
17755 (__new_shmctl): Likewise.
17756 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17757 <bp-checks.h>.
17758 (__xstat): Do not use CHECK_1.
17759 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17760 (__lxstat): Do not use CHECK_1.
17761 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17762 <bp-checks.h>.
17763 (___lxstat64): Do not use CHECK_1.
17764 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17765 (__old_msgctl): Do not use CHECK_1.
17766 (__new_msgctl): Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17768 <bp-checks.h>.
17769 (__gettimeofday): Do not use CHECK_1.
17770 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17771 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17772 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17773 <bp-checks.h>.
17774 (__gettimeofday): Do not use CHECK_1.
17775 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17776 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17777 (__new_shmctl): Do not use CHECK_1.
17778 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17779 <bp-checks.h>.
17780 (do_sigtimedwait): Do not use CHECK_1.
17781 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17782 <bp-checks.h>.
17783 (do_sigwaitinfo): Do not use CHECK_1.
17784 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17785 <bp-checks.h>.
17786 (msgctl): Do not use CHECK_1.
17787 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17788 <bp-checks.h>.
17789 (shmctl): Do not use CHECK_1.
17790 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17791 (ustat): Do not use CHECK_1.
17792 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17793 <bp-checks.h>.
17794 (__fxstat): Do not use CHECK_1.
17795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17796 <bp-checks.h>.
17797 (__fxstatat): Do not use CHECK_1.
17798 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17799 <bp-checks.h>.
17800 (__lxstat): Do not use CHECK_1.
17801 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17802 <bp-checks.h>.
17803 (__xstat): Do not use CHECK_1.
17804 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17805 (__xstat): Do not use CHECK_1.
17806 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17807 (___xstat64): Do not use CHECK_1.
17808
b2c9eff4
JM
17809 [BZ #13550]
17810 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17811 definitions.
17812 (CHECK_BOUNDS_HIGH): Likewise.
17813 * string/strcpy.c: Do not include <bp-checks.h>.
17814 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17815
f1d70dad
RM
178162013-02-07 Roland McGrath <roland@hack.frob.com>
17817
17818 * nscd/nscd-client.h (__nscd_drop_map_ref):
17819 Add __attribute__ ((unused)).
17820 * nis/nss-nisplus.h (niserr2nss): Likewise.
17821
17822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17823 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17824
17825 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17826 Remove inline keyword.
17827 * include/rounding-mode.h (round_away): Likewise.
17828 * libio/wfileops.c (adjust_wide_data): Likewise.
17829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17830 (__m128i_strloadu_tolower): Likewise.
17831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17832 (__m128i_strloadu_tolower): Likewise.
17833 * time/mktime.c (ydhms_diff): Likewise.
17834 * locale/elem-hash.h (elem_hash): Likewise.
17835 * locale/setlocale.c (setdata): Likewise.
17836 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17837 (re_string_wchar_at): Likewise.
17838 (bitset_not, bitset_merge, bitset_mask): Likewise.
17839 [!(__GNUC__ > 3)] (inline): Remove macro.
17840 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17841 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17842 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17843 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17844 * string/memcmp.c (memcmp_bytes): Likewise.
17845 * locale/programs/locarchive.c (compute_hashval): Likewise.
17846 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17847 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17848 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17849 * nss/getent.c (print_rpc, print_protocols): Likewise.
17850 (print_passwd, print_group, print_aliases): Likewise.
17851 * nis/nss-nisplus.h (niserr2nss): Likewise.
17852 * nscd/connections.c (restart_p): Likewise.
17853 Change return type to bool.
17854
eab55bfb
RM
178552013-02-05 Roland McGrath <roland@hack.frob.com>
17856
7bd642f5
RM
17857 * Makeconfig (all-Depend-files): Add existing
17858 $(sorted-subdirs:=/Depend) files.
17859 (all-subdirs): Remove nss.
17860 * sysdeps/unix/inet/Subdirs: Add it here instead.
17861 * hesiod/Depend: New file.
17862
573c29b2
RM
17863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17864 instead of calling alloca.
17865
b2e25af0
RM
17866 * io/lseek.c (__lseek): Rename to __libc_lseek.
17867 Define __lseek as an alias.
17868
eab55bfb
RM
17869 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17870
9a0d1941
CD
178712013-02-04 Carlos O'Donell <carlos@redhat.com>
17872
17873 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17874 else clause and remove check for non-standard endianness.
17875
b83bbec4
DM
178762013-02-04 David S. Miller <davem@davemloft.net>
17877
17878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17879
6277fdab
JM
178802013-02-04 Joseph Myers <joseph@codesourcery.com>
17881
17882 [BZ #13550]
17883 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17884 (__ubp_memchr): Remove prototype.
17885 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17886 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17887 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17888 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17889 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17890 Remove alias.
17891 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17892 (__ubp_memchr): Likewise.
17893 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17894 (__ubp_memchr): Likewise.
17895 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17896 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17897 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17898 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17899 CHECK_STRING.
17900 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17901 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17902 (__getcwd): Do not use CHECK_STRING.
17903 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17904 <bp-checks.h>.
17905 (__real_chown): Do not use CHECK_STRING.
17906 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17907 <bp-checks.h>.
17908 (fchownat): Do not use CHECK_STRING.
17909 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17910 CHECK_STRING.
17911 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17912 <bp-checks.h>.
17913 (__lchown): Do not use CHECK_STRING.
17914 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17915 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17916 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17917 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17919 include <bp-checks.h>.
17920 (truncate64): Do not use CHECK_STRING.
17921 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17922 <bp-checks.h>.
17923 (__real_chown): Do not use CHECK_STRING.
17924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17925 <bp-checks.h>.
17926 (__lchown): Do not use CHECK_STRING.
17927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17928 <bp-checks.h>.
17929 (__chown): Do not use CHECK_STRING.
17930 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17931 <bp-checks.h>.
17932 (truncate64): Do not use CHECK_STRING.
17933 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17934 Likewise.
17935 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17936 (__xmknod): Do not use CHECK_STRING.
17937 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17938 <bp-checks.h>.
17939 (__xmknodat): Do not use CHECK_STRING.
17940 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17941 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17942
903ae060
AS
179432013-02-04 Andreas Schwab <schwab@suse.de>
17944
17945 [BZ #14142]
17946 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17947 * include/netdb.h: Likewise for h_errno.
17948 * elf/tst-stackguard1.c: Include <tls.h>.
17949
542f9466
JK
179502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17951
17952 * elf/link.h (struct link_map): Extend the l_addr comment.
17953 * include/link.h (struct link_map): Likewise.
17954
e782a927
JM
179552013-02-01 Joseph Myers <joseph@codesourcery.com>
17956
17957 [BZ #13550]
17958 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17959 (BOUNDED_1): Remove macro.
17960 * debug/backtrace.c: Don't include <bp-checks.h>.
17961 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17962 (__backtrace): Likewise.
17963 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17964 <bp-checks.h>.
17965 (__backtrace): Don't use BOUNDED_1.
17966 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17967 <bp-checks.h>.
17968 (__backtrace): Don't use BOUNDED_1.
17969 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17970 (__backtrace): Don't use BOUNDED_1.
17971 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17972 (shmat): Don't use BOUNDED_N.
17973
8cf28c5e
JM
179742013-01-31 Joseph Myers <joseph@codesourcery.com>
17975
3a7ac8a0
JM
17976 [BZ #13550]
17977 * sysdeps/generic/bp-start.h: Remove file.
17978 * csu/libc-start.c: Don't include <bp-start.h>.
17979 (LIBC_START_MAIN): Set up __environ directly instead of using
17980 INIT_ARGV_and_ENVIRON.
17981 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17982 <bp-start.h>.
17983
f3499f95
JM
17984 [BZ #13550]
17985 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17986 definitions.
17987 (CHECK_FCNTL): Likewise.
17988 (CHECK_N_PAGES): Likewise.
17989
32a45bea
JM
17990 [BZ #13550]
17991 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17992 definitions.
17993 (CHECK_SIGSET_NULL_OK): Likewise.
17994 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17995 <bp-checks.h>.
17996 (sigpending): Don't use CHECK_SIGSET.
17997 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17998 <bp-checks.h>.
17999 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18000 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18001 <bp-checks.h>.
18002 (do_sigsuspend): Don't use CHECK_SIGSET.
18003 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18004 use CHECK_SIGSET.
18005 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18006 (do_sigwait): Don't use CHECK_SIGSET.
18007 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18008 use CHECK_SIGSET.
18009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18010 include <bp-checks.h>.
18011 (sigpending): Don't use CHECK_SIGSET.
18012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18013 include <bp-checks.h>.
18014 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18015 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18016 <bp-checks.h>.
18017 (sigpending): Don't use CHECK_SIGSET.
18018 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18019 <bp-checks.h>.
18020 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18021
2e8a5c8c
JM
18022 [BZ #13550]
18023 * sysdeps/generic/bp-semctl.h: Remove file.
18024 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18025 <bp-checks.h> and <bp-semctl.h>.
18026 (__old_semctl): Don't use CHECK_SEMCTL.
18027 (__new_semctl): Likewise.
18028 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18029 and <bp-semctl.h>.
18030 (__old_semctl): Don't use CHECK_SEMCTL.
18031 (__new_semctl): Likewise.
18032 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18033 <bp-checks.h> and <bp-semctl.h>.
18034 (__old_semctl): Don't use CHECK_SEMCTL.
18035 (__new_semctl): Likewise.
18036 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18037 <bp-checks.h> and <bp-semctl.h>.
18038 (semctl): Don't use CHECK_SEMCTL.
18039
c2d54929
JM
18040 [BZ #13550]
18041 * Makerules (elide-bp-thunks): Remove variable.
18042 (elide-routines.oS): Don't use $(elide-bp-thunks).
18043 (elide-routines.os): Likewise.
18044 (elide-routines.o): Likewise.
18045 (elide-routines.op): Likewise.
18046 (elide-routines.og): Likewise.
18047 (objects): Don't use $(bp-thunks).
18048 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18049 include.
18050 (common-generated): Do not add s-proto-bp.d.
18051 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18052 (int): Likewise.
18053 (typ): Likewise.
18054 Do not generate makefile rules for bounded-pointer thunks.
18055 * sysdeps/generic/bp-thunks.h: Remove file.
18056 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18057 * sysdeps/unix/s-proto-bp.S: Likewise.
18058
8cf28c5e
JM
18059 [BZ #15062]
18060 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18061 parts of result separately when argument is not close to line from
18062 -i to i and one part of argument is small.
18063 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18064 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18065 * math/libm-test.inc (cacos_test): Add more tests.
18066 (casin_test): Likewise.
18067 (casinh_test): Likewise.
18068 * sysdeps/i386/fpu/libm-test-ulps: Update.
18069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070
c4e33b8d
DM
180712013-01-31 David S. Miller <davem@davemloft.net>
18072
18073 * po/de.po: Update from translation team.
18074
3b60b421
MK
180752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18076
18077 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18078
bb931195
TS
180792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18080
b5a5da23
TS
18081 * configure.in (_AC_PROG_CC_C89): New definition.
18082 * configure: Regenerate.
18083
bb931195
TS
18084 * configure.in (AC_PROG_CPP): New definition.
18085 * configure: Regenerate.
18086
8c53a12c
JM
180872013-01-23 Joseph Myers <joseph@codesourcery.com>
18088
18089 * debug/tst-backtrace.h: New file.
18090 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18091 (ret): Remove variable.
18092 (x): Likewise.
18093 (FAIL): Remove macro.
18094 (NO_INLINE): Likewise.
18095 (fn1): Use match function instead of strstr.
18096 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18097 (ret): Remove variable.
18098 (x): Likewise.
18099 (FAIL): Remove macro.
18100 (NO_INLINE): Likewise.
18101 (fn): Use match function instead of strstr.
18102 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18103 (ret): Remove variable.
18104 (x): Likewise.
18105 (FAIL): Remove macro.
18106 (NO_INLINE): Likewise.
18107 (handle_signal): Use match function instead of strstr.
18108 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18109 (ret): Remove variable.
18110 (x): Likewise.
18111 (FAIL): Remove macro.
18112 (NO_INLINE): Likewise.
18113 (handle_signal): Use match function instead of strstr.
18114
4858fa2a
RM
181152013-01-23 Roland McGrath <roland@hack.frob.com>
18116
18117 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18118
bae8e7f5
DM
181192013-01-23 David S. Miller <davem@davemloft.net>
18120
18121 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18122 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18123 argument of CAS if possible.
18124 * sysdeps/sparc/sparc64/bits/atomic.h
18125 (__arch_compare_and_exchange_val_32_acq): Likewise.
18126 (__arch_compare_and_exchange_val_64_acq): Likewise.
18127
9cbbc4ae
PT
181282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18129
18130 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18131 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18132 Include <limits.h>.
67b3f58c 18133 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18134
5655a0b5
AC
181352013-01-23 Adam Conrad <adconrad@0c3.net>
18136
18137 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18138 (LDFLAGS-tst-array5): Likewise.
18139
052aff95
JM
181402013-01-23 Joseph Myers <joseph@codesourcery.com>
18141
18142 [BZ #15036]
18143 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18144 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18145 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18146 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18147
7c1e01aa
DM
181482013-01-21 David S. Miller <davem@davemloft.net>
18149
18150 * sysdeps/sparc/backtrace.c: New file.
18151 * sysdeps/sparc/sparc32/backtrace.h: New file.
18152 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18153 * sysdeps/sparc/sparc64/backtrace.h: New file.
18154 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18155 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18156 -funwind-tables.
18157
ab087e0a
AS
181582013-01-21 Andreas Schwab <schwab@suse.de>
18159
18160 [BZ #15020]
18161 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18162 closed its stdout.
18163
ed689c2f
AS
181642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18165
18166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18167 "mpa2.h".
18168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18169
31d470ac
JM
181702013-01-18 Joseph Myers <joseph@codesourcery.com>
18171 Mark Mitchell <mark@codesourcery.com>
18172 Tom de Vries <tom@codesourcery.com>
18173 Paul Pluzhnikov <ppluzhnikov@google.com>
18174
18175 * debug/tst-backtrace2.c: New file.
18176 * debug/tst-backtrace3.c: Likewise.
18177 * debug/tst-backtrace4.c: Likewise.
18178 * debug/tst-backtrace5.c: Likewise.
18179 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18180 (CFLAGS-tst-backtrace3.c): Likewise.
18181 (CFLAGS-tst-backtrace4.c): Likewise.
18182 (CFLAGS-tst-backtrace5.c): Likewise.
18183 (LDFLAGS-tst-backtrace2): Likewise.
18184 (LDFLAGS-tst-backtrace3): Likewise.
18185 (LDFLAGS-tst-backtrace4): Likewise.
18186 (LDFLAGS-tst-backtrace5): Likewise.
18187 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18188 tst-backtrace4 and tst-backtrace5.
18189
90567f30 181902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18191 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18192
18193 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18194 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18195 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18196 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18198 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18199 "+r" and remove output regs list as redundant. Add explicit inline
18200 asm to specify register of return val to work around compiler codegen
18201 bug. Remove (int) cast on return value. Add return type parameter to
18202 use in macro so that this macro does not truncate return value for
18203 64-bit values.
18204 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18205 pass to INTERNAL_VSYSCALL_NCS.
18206 (INLINE_VSYSCALL): Add 'long int' as return type to
18207 INTERNAL_VSYSCALL_NCS macro invocation.
18208 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18209 INTERNAL_VSYSCALL_NCS macro invocation.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18211
d3b9ea61
SP
182122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18213
0b57daeb
SP
18214 [BZ #14496]
18215 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18216 Fix application of SIMD FP exception mask.
18217
caa99d06
SP
18218 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18219 mp_no from a power of two.
18220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18221 __mpexp_twomm1. Use __pow_mp.
18222
d3b9ea61
SP
18223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18224 multiplication.
18225
1dbaee3c
DM
182262013-01-17 David S. Miller <davem@davemloft.net>
18227
18228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18229
728d7b43
JM
182302013-01-17 Joseph Myers <joseph@codesourcery.com>
18231
18232 [BZ #15023]
18233 * include/complex.h: Condition contents on [!_COMPLEX_H].
18234 (__kernel_casinhf): New prototype.
18235 (__kernel_casinh): Likewise.
18236 (__kernel_casinhl): Likewise.
18237 * math/Makefile (libm_calls): Add k_casinh.
18238 * math/k_casinh.c: New file.
18239 * math/k_casinhf.c: Likewise.
18240 * math/k_casinhl.c: Likewise.
18241 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18242 finite nonzero arguments.
18243 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18244 finite nonzero arguments.
18245 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18246 finite nonzero arguments.
18247 * math/s_casinh.c: Do not include <float.h>.
18248 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18249 * math/s_casinhf.c: Do not include <float.h>.
18250 (__casinhf): Move code for finite nonzero arguments to
18251 k_casinhf.c.
18252 * math/s_casinhl.c: Do not include <float.h>.
18253 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18254 redefine.
18255 (__casinhl): Move code for finite nonzero arguments to
18256 k_casinhl.c.
18257 * math/libm-test.inc (cacos_test): Add more tests.
18258 * sysdeps/i386/fpu/libm-test-ulps: Update.
18259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18260
2a26ef3a
PT
182612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18262
18263 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18264 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18265 [!HAVE_MREMAP]: Remove [defined linux] case.
18266 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18267
a897655d
SP
182682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18269
18270 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18271
881ebe89 182722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18273
18274 * elf/elf.h (R_386_SIZE32): New relocation.
18275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18276 R_386_SIZE32.
18277 (elf_machine_rela): Likewise.
18278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18279 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18280
59981e9b
JM
182812013-01-17 Joseph Myers <joseph@codesourcery.com>
18282
18283 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18284 (FP_FAST_FMA): Do not define.
18285 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18286 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18287 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18288 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18289 !_SOFT_FLOAT]: Likewise.
18290 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18292 value.
18293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18294 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18297 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18298 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18299 file.
18300
cfa8054f
AS
183012013-01-16 Andreas Schwab <schwab@suse.de>
18302
18303 [BZ #14327]
18304 * include/stdlib.h (__mktemp): Add declaration.
18305 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18306 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18307
dd930cc5
SP
183082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18309
881ebe89
SP
18310 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18311 definitions.
18312 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18313 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18314 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18315 definitions here.
18316 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18317 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18318 definitions.
18319 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18320 and ONE.
18321 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18322 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18323 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18324 definitions.
18325 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18326 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18327 definitions.
18328 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18329
dd930cc5
SP
18330 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18331
c19a9f89
DM
183322013-01-15 David S. Miller <davem@davemloft.net>
18333
1aa61767
DM
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18335 trunc{,f} to libm-sysdep_routes.
18336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18338 file.
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18341 file.
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18343 file.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18352
c42d5e98
DM
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18354 nearbyint{,f} to libm-sysdep_routes.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18357 New file.
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18359 file.
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18361 New file.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18363 file.
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18367 file.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18370 file.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18372 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18373 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18374
c19a9f89
DM
18375 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18376 libc_feholdexcept and libc_fesetenv.
18377
357679d2
MF
183782013-01-15 Mike Frysinger <vapier@gentoo.org>
18379
18380 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18381
65a82e3d
DM
183822013-01-14 David S. Miller <davem@davemloft.net>
18383
8b954ab9
DM
18384 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18385 (SPARC_ASM_VIS2_IFUNC): Likewise.
18386 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18388 use of 'siam' instruction.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18390 Likewise.
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18392 Likewise.
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18394 Likewise.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18400 file.
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18402 file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18404 file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18406 file.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18412 new VIS2 routines.
18413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18416 Likewise.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18422 routines to libm-sysdep_routines.
18423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18424
65a82e3d
DM
18425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18426 fdim/fdimf to libm-sysdep_routines.
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18428 file.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18431 file.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18435 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18436 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18437 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18438 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18439
e34ab705
SP
184402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
2a91b573
SP
18442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18443 to optimize copies.
18444
1066a534
SP
18445 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18448
e34ab705
SP
18449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18450 local variable MPTWO.
18451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18452 Likewise.
18453
aba5e596
MF
184542013-01-13 Mike Frysinger <vapier@gentoo.org>
18455
18456 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18457 GLOB_NOESCAPE.
18458
e557e9e5
MF
184592013-01-13 Mike Frysinger <vapier@gentoo.org>
18460
18461 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18462
0428cec9
MF
184632013-01-13 Mike Frysinger <vapier@gentoo.org>
18464
18465 * manual/pattern.texi (glob_t): Document gl_flags.
18466 (glob64_t): Likewise.
18467
8794a964
DM
184682013-01-11 David S. Miller <davem@davemloft.net>
18469
66438c3f
RM
18470 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18471 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18472 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18473 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18475 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18476 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18477 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18478 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18479 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18480 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18481 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18482 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18483
4ae4244d
DM
18484 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18485 sparc V9 rather than using V8 code.
18486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18488
8794a964
DM
18489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18490 Move to...
18491 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18492 Here.
18493
6270516e
RM
184942013-01-11 Roland McGrath <roland@hack.frob.com>
18495
18496 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18497 not in the main loop.
18498 * configure: Regenerated.
18499
6a57d931
JM
185002013-01-11 Joseph Myers <joseph@codesourcery.com>
18501
18502 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18503 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18504 to just #else.
18505 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18506 [!__GLIBC_HAVE_LONG_LONG] case.
18507 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18508 condition to just #else.
18509 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18510 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18511 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18512 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18513 unconditional.
18514 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18515 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18516 #elif condition to just #else.
18517 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18518 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18519 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18520 #elif condition to just #else.
18521
0e8529e9
SE
185222013-01-11 Steve Ellcey <sellcey@mips.com>
18523
18524 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18525 (EF_MIPS_ARCH_64): Fix value.
18526 (EF_MIPS_ARCH_32R2): New.
18527 (EF_MIPS_ARCH_64R2): New.
18528
740b3dbe
L
185292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * Makeconfig (+link-pie-before-libc): New.
18532 (+link-pie-after-libc): Likewise.
18533 (+link-pie-tests): Likewise.
18534 (+link-pie): Rewritten.
18535 (link-before-libc): Remove $(config-LDFLAGS).
18536 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18537 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18538 (config-LDFLAGS): Renamed to ...
18539 (rtld-LDFLAGS): This.
18540 (rtld-tests-LDFLAGS): New macro.
18541 (link-libc-rpath-link): Likewise.
18542 (link-libc-tests-rpath-link): Likewise.
18543 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18544 (link-libc): Prepand $(link-libc-rpath-link).
18545 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18546 (test-program-prefix): New macro.
18547 (test-via-rtld-prefix): Likewise.
18548 (test-program-cmd): Likewise.
18549 (host-test-program-cmd): Likewise.
18550 * Makefile ($(common-objpfx)testrun.sh): Replace
18551 $(run-program-prefix) with $(test-program-prefix).
18552 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18553 $(rtld-LDFLAGS).
18554 ($(common-objpfx)shlib.lds): Likewise.
18555 (build-module-helper): Likewise.
18556 ($(common-objpfx)format.lds): Likewise.
18557 * Rules (binaries-pie-tests): New.
18558 (binaries-pie-notests): Likewise.
18559 (binaries-pie): Rewritten.
18560 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18561 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18562 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18563 (make-test-out): Replace $(host-built-program-cmd) with
18564 $(host-test-program-cmd).
18565 * config.make.in (build-hardcoded-path-in-tests): New variable.
18566 * configure.in (--enable-hardcoded-path-in-tests): New configure
18567 option.
18568 (hardcoded_path_in_tests): New AC_SUBST.
18569 * configure: Regenerated.
18570 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18571 $(built-program-cmd) with $(test-program-cmd).
18572 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18573 (test_program_cmd): This.
18574 * elf/Makefile ($(objpfx)order.out): Run test with
18575 $(test-program-prefix).
18576 ($(objpfx)order2.out): Likewise.
18577 ($(objpfx)tst-initorder.out): Likewise.
18578 ($(objpfx)tst-initorder2.out): Likewise.
18579 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18580 $(test-program-cmd).
18581 ($(objpfx)tst-array1-static.out): Likewise.
18582 ($(objpfx)tst-array2.out): Likewise.
18583 ($(objpfx)tst-array3.out): Likewise.
18584 ($(objpfx)tst-array4.out): Likewise.
18585 ($(objpfx)tst-array5.out): Likewise.
18586 ($(objpfx)tst-array5-static.out): Likewise.
18587 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18588 $(test-program-cmd).
18589 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18590 $(run-program-prefix) with $(test-program-prefix).
18591 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18592 (test_program_prefix): This.
18593 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18594 $(run-program-prefix) with $(test-program-prefix).
18595 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18596 (test_program_prefix): This.
18597 * iconvdata/tst-tables.sh: Likewise.
18598 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18599 $(run-program-prefix) with $(test-program-prefix).
18600 ($(objpfx)tst-translit.out): Likewise.
18601 ($(objpfx)tst-gettext2.out): Likewise.
18602 ($(objpfx)tst-gettext4.out): Likewise.
18603 ($(objpfx)tst-gettext6.out): Likewise.
18604 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18605 (test_program_prefix): This.
18606 * intl/tst-gettext2.sh: Likewise.
18607 * intl/tst-gettext4.sh Likewise.
18608 * intl/tst-gettext6.sh: Likewise.
18609 * intl/tst-translit.sh: Likewise.
18610 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18611 with $(test-program-cmd).
18612 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18613 $(run-program-prefix) with $(test-program-prefix).
18614 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18615 (test_program_prefix): This.
18616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18617 $(run-program-prefix) with $(test-program-prefix).
18618 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18619 (test_program_prefix): This.
18620 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18621 * posix/Makefile ($(objpfx)globtest.out): Replace
18622 $(run-via-rtld-prefix) and $(test-wrapper) with
18623 $(test-program-prefix) and $(test-via-rtld-prefix).
18624 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18625 $(test-program-prefix).
18626 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18627 $(host-test-program-cmd).
18628 (tst-spawn-ARGS): Likewise.
18629 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18630 $(test-program-prefix).
18631 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18632 (test_via_rtld_prefix): This.
18633 (test_wrapper): Renamed to ...
18634 (test_program_prefix): This.
18635 (run_program_prefix): Replaced by test_program_prefix.
18636 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18637 (test_program_prefix): This.
18638 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18639 with $(host-test-program-cmd).
18640 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18641 $(run-program-prefix) with $(test-program-prefix).
18642 ($(objpfx)tst-printf.out): Likewise.
18643 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18644 $(test-program-cmd).
18645 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18646 (test_program_prefix): This.
18647 * stdio-common/tst-unbputc.sh: Likewise.
18648 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18649 $(run-program-prefix) with $(test-program-prefix).
18650 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18651 (test_program_prefix): This.
18652 * string/Makefile ($(objpfx)tst-svc.out): Replace
18653 $(built-program-cmd) with $(test-program-cmd).
18654
c6fe55cf
AJ
186552013-01-11 Andreas Jaeger <aj@suse.de>
18656
18657 [BZ #15003]
18658 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18659 value. Sync with Linux 3.7.
18660
9e6919c8
DM
186612013-01-10 David S. Miller <davem@davemloft.net>
18662
18663 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18664 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18665 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18666
1c9f1a02
RM
186672013-01-10 Roland McGrath <roland@hack.frob.com>
18668
18669 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18670 never set.
18671 * configure: Regenerated.
18672
b9de2dde
DM
186732013-01-10 David S. Miller <davem@davemloft.net>
18674
18675 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18676 sparc V9 rather than using V8 code.
18677 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18678 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18679
e7f68ef4
RM
186802013-01-10 Roland McGrath <roland@hack.frob.com>
18681
18682 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18683 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18684 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18685 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18686 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18687 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18688 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18689 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18690 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18691 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18692 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18693 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18694 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18695 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18696 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18697 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18698 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18699 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18700 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18701 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18702 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18703 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18704 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18705 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18706 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18707 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18708 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18709
5a47cc9c
DM
187102013-01-10 David S. Miller <davem@davemloft.net>
18711
18712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18713
4cf8f209
L
187142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * posix/Makefile (tests-static): New variable.
18717 (tests): Add $(tests-static).
18718 (tst-exec-static-ARGS): New variable.
18719 (tst-spawn-static-ARGS): Likewise.
18720 * posix/tst-exec-static.c: New file.
18721 * posix/tst-spawn-static.c: Likewise.
18722 * posix/tst-exec.c: Support run directly.
18723 * posix/tst-spawn.c: Likewise.
18724
fed0faa1
JM
187252013-01-10 Joseph Myers <joseph@codesourcery.com>
18726
828beb13
JM
18727 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18728 long.
18729 * math/bits/mathcalls.h (llrint): Likewise.
18730 (llround): Likewise.
18731 * stdlib/stdlib.h (struct drand48_data): Likewise.
18732 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18733 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18735 Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18737 Likewise.
18738 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18739 (elf_greg_t): Likewise.
18740 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18741 (__jmp_buf): Likewise.
18742 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18743 definitions.
18744 (llrint): Likewise, for all definitions.
18745 (llrintl): Likewise.
18746
fed0faa1
JM
18747 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18748 Remove [__GNUC__] condition.
18749 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18750 condition to just [__USE_ISOC99].
18751 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18752
1a20cb20
L
187532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 [BZ #14200]
18756 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18757 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18758 defined.
18759 (_POSIX_V6_ILP32_OFF32): Likewise.
18760 (_XBS5_ILP32_OFF32): Likewise.
18761 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18762 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18763
751b85f7
SP
187642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18765
7490eb81
SP
18766 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18767
751b85f7
SP
18768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18769 doubles __mpexp_twomm1. Adjust usage.
18770 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18771 Remove.
18772
988197f0
AS
187732013-01-10 Andreas Schwab <schwab@suse.de>
18774
18775 [BZ #14964]
18776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18777 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18778
e83d7298
DM
187792013-01-09 David S. Miller <davem@davemloft.net>
18780
034ed64b 18781 [BZ #15003]
e83d7298
DM
18782 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18783 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18784 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18785 TCP_FASTOPEN): Define.
18786 (tcp_repair_opt): New structure.
18787 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18788 enum values.
18789 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18790 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18791 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18792 (tcp_cookie_transactions): New structure.
18793
d5e0b9bd
AB
187942013-01-09 Anton Blanchard <anton@samba.org>
18795
18796 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18797 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18798 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18799 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18800
0c07e3ea
JM
188012013-01-09 Joseph Myers <joseph@codesourcery.com>
18802
18803 * include/features.h (__USE_ANSI): Remove.
18804
232f7002
RM
188052013-01-09 Roland McGrath <roland@hack.frob.com>
18806
ad98e30c
RM
18807 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18808
232f7002
RM
18809 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18810
950c99ca
SP
188112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18812
b5792741
SP
18813 * sysdeps/s390/fpu/libm-test-ulps: Update.
18814
47cf2278
SP
18815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18816
950c99ca
SP
18817 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18818 (__acr): Likewise.
18819 (__cpy): Likewise.
18820 (norm): Likewise.
18821 (denorm): Likewise.
18822 (__mp_dbl): Likewise.
18823 (__dbl_mp): Likewise.
18824 (add_magnitudes): Likewise.
18825 (sub_magnitudes): Likewise.
18826 (__add): Likewise.
18827 (__sub): Likewise.
18828 (__mul): Likewise.
18829 (__inv): Likewise.
18830 (__dvd): Likewise.
18831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18832 (__acr): Likewise.
18833 (__cpy): Likewise.
18834 (norm): Likewise.
18835 (denorm): Likewise.
18836 (__mp_dbl): Likewise.
18837 (__dbl_mp): Likewise.
18838 (add_magnitudes): Likewise.
18839 (sub_magnitudes): Likewise.
18840 (__add): Likewise.
18841 (__sub): Likewise.
18842 (__mul): Likewise.
18843 (__inv): Likewise.
18844 (__dvd): Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18846 (__acr): Likewise.
18847 (__cpy): Likewise.
18848 (norm): Likewise.
18849 (denorm): Likewise.
18850 (__mp_dbl): Likewise.
18851 (__dbl_mp): Likewise.
18852 (add_magnitudes): Likewise.
18853 (sub_magnitudes): Likewise.
18854 (__add): Likewise.
18855 (__sub): Likewise.
18856 (__mul): Likewise.
18857 (__inv): Likewise.
18858 (__dvd): Likewise.
18859
eede9df9
JM
188602013-01-08 Joseph Myers <joseph@codesourcery.com>
18861
18862 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18863 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18864 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18865 2 && __USE_EXTERN_INLINES]: Likewise.
18866
c40ea3d9
AJ
188672013-01-08 Andreas Jaeger <aj@suse.de>
18868
18869 [BZ# 14985]
18870 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18871 Remove.
18872 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18873 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18874
2ccdea26
AB
188752013-01-07 Anton Blanchard <anton@samba.org>
18876
18877 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18878 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18879 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18880 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18881 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18882 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18883 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18884 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18889 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18901 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18902 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18903 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18904 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18906 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18907 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18916 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18919 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18920
a9708fed
JM
189212013-01-07 Joseph Myers <joseph@codesourcery.com>
18922
375607b9
JM
18923 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18924 (__MALLOC_PMT): Likewise.
18925 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18926 [__GNUC__], only on [_LIBC].
18927 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18928 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18929 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18930 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18931 forward declaration.
18932 (realloc_hook_ini): Likewise.
18933 (memalign_hook_ini): Likewise.
18934 (__libc_memalign): Do not use __MALLOC_PMT in variable
18935 declaration.
18936 (__libc_valloc): Likewise.
18937 (__libc_pvalloc): Likewise.
18938 (__libc_calloc): Likewise.
18939 (__posix_memalign): Likewise.
18940
a9708fed
JM
18941 [BZ #14996]
18942 * math/s_casinh.c: Include <float.h>.
18943 (__casinh): Do not do computation with squaring and square root
18944 for large arguments.
18945 * math/s_casinhf.c: Include <float.h>.
18946 (__casinhf): Do not do computation with squaring and square root
18947 for large arguments.
18948 * math/s_casinhl.c: Include <float.h>.
18949 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18950 (__casinhl): Do not do computation with squaring and square root
18951 for large arguments.
18952 * math/libm-test.inc (casin_test): Add more tests.
18953 (casinh_test): Likewise.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956
afec409a
L
189572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18958
18959 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18960 (__x86_64_raw_data_cache_size): Likewise.
18961 (__x86_64_data_cache_size_half): Likewise.
18962 (__x86_64_raw_data_cache_size_half): Likewise.
18963 (__x86_64_shared_cache_size): Likewise.
18964 (__x86_64_raw_shared_cache_size): Likewise.
18965 (__x86_64_shared_cache_size_half): Likewise.
18966 (__x86_64_raw_shared_cache_size_half): Likewise.
18967 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18968 to ...
18969 (__x86_data_cache_size): This.
18970 (__x86_64_raw_data_cache_size): Renamed to ...
18971 (__x86_raw_data_cache_size): This.
18972 (__x86_64_data_cache_size_half): Renamed to ...
18973 (__x86_data_cache_size_half): This.
18974 (__x86_64_raw_data_cache_size_half): Renamed to ...
18975 (__x86_raw_data_cache_size_half): This.
18976 (__x86_64_shared_cache_size): Renamed to ...
18977 (__x86_shared_cache_size): This.
18978 (__x86_64_raw_shared_cache_size): Renamed to ...
18979 (__x86_raw_shared_cache_size): This.
18980 (__x86_64_shared_cache_size_half): Renamed to ...
18981 (__x86_shared_cache_size_half): This.
18982 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18983 (__x86_raw_shared_cache_size_half): This.
18984 * sysdeps/x86_64/memcpy.S: Updated.
18985 * sysdeps/x86_64/memset.S: Likewise.
18986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18987 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18989
0b3986d0
DM
189902013-01-04 David S. Miller <davem@davemloft.net>
18991
18992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18993
e47686e9
AS
189942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18995
d643bac1
AS
18996 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18997 1 to avoid redefinition warning.
18998 (__USE_GNU): Don't define.
18999 (init_signaling_nan): Protoize.
19000
e47686e9
AS
19001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19002
b18decba
SP
190032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19004
fffb407f
SP
19005 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19007 (__cpymn): Likewise.
19008 (norm): Remove commented code.
19009 (denorm): Likewise.
19010 (__mp_dbl): Likewise.
19011 (__inv): Likewise.
19012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19013 (__cpymn): Likewise.
19014 (norm): Remove commented code.
19015 (denorm): Likewise.
19016 (__mp_dbl): Likewise.
19017 (__inv): Likewise.
19018
b18decba
SP
19019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19020 mp_no value for 1.0 and 2.0.
19021 (norm): Use RADIXI instead of radixi.d.
19022 (denorm): Likewise.
19023 (__mul): Use 0.0 instead of zero.d.
19024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19025 mp_no value for 1.0 and 2.0.
19026 (norm): Use RADIXI instead of radixi.d.
19027 (denorm): Likewise.
19028 (__mul): Use 0.0 instead of zero.d.
19029
cdc1c96f
JM
190302013-01-04 Joseph Myers <joseph@codesourcery.com>
19031
19032 [BZ #14994]
19033 * math/s_casinh.c (__casinh): Reduce finite argument to first
19034 quadrant then set signs of results at the end.
19035 * math/s_casinhf.c (__casinhf): Likewise.
19036 * math/s_casinhl.c (__casinhl): Likewise.
19037 * math/libm-test.inc (casin_test): Add more tests.
19038 (casinh_test): Likewise.
19039 * sysdeps/i386/fpu/libm-test-ulps: Update.
19040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19041
302913e1
SP
190422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19043
6420d207
SP
19044 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19045
a9e48ab4
SP
19046 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19047
b7837264
SP
19048 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19049 declarations.
19050 (denorm): Likewise.
19051 (__mp_dbl): Likewise.
19052 (__inv): Likewise.
19053
f8af25d2
SP
19054 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19055 and adjust the header comment.
19056
302913e1
SP
19057 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19058 variable name from declaration.
19059
5d7dd1ca
L
190602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19061
19062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19063 Initialize COMMON_CPUID_INDEX_7 element.
19064 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19065 (CPUID_RTM): Likewise.
19066 (HAS_RTM): Likewise.
19067 (COMMON_CPUID_INDEX_7): New enum.
19068
2f5f40f4
AS
190692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19070
19071 [BZ #14981]
19072 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19073 size is zero, record memory as freed.
19074
4056f4a0
AJ
190752013-01-03 Andreas Jaeger <aj@suse.de>
19076
19077 * po/ia.po: Add new Interlingua translation.
19078
ab15736f 190792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19080
19081 * locale/programs/localedef.c: Fix description of '--posix' flag.
19082
568035b7
JM
190832013-01-02 Joseph Myers <joseph@codesourcery.com>
19084
e6898b8d
JM
19085 * NEWS: Update dates in second copyright notice.
19086 * README: Update copyright dates in example.
19087 * manual/libc.texinfo: Update copyright dates.
19088 * scripts/test-installation.pl: Update copyright date in --version
19089 output.
19090
0e2f9562
JM
19091 * hurd/ctty-input.c: Fix copyright notice formatting.
19092 * hurd/ctty-output.c: Likewise.
19093 * hurd/dtable.c: Likewise.
19094 * hurd/hurd-raise.c: Likewise.
19095 * hurd/hurdprio.c: Likewise.
19096 * hurd/msgportdemux.c: Likewise.
19097 * misc/sys/file.h: Likewise.
19098 * misc/sys/ioctl.h: Likewise.
19099 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19100 * sysdeps/mach/hurd/chdir.c: Likewise.
19101 * sysdeps/mach/hurd/fchdir.c: Likewise.
19102 * sysdeps/mach/hurd/rename.c: Likewise.
19103 * sysdeps/mach/hurd/rmdir.c: Likewise.
19104 * sysdeps/mach/hurd/seekdir.c: Likewise.
19105 * sysdeps/mach/hurd/setsid.c: Likewise.
19106 * sysdeps/posix/wait3.c: Likewise.
19107
568035b7
JM
19108 * All files with FSF copyright notices: Update copyright dates
19109 using scripts/update-copyrights.
19110 * intl/plural.c: Regenerated.
19111 * locale/programs/charmap-kw.h: Likewise.
19112 * locale/programs/locfile-kw.h: Likewise.
19113
da08f647
SP
191142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19115
0f5477af
SP
19116 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19117 four values.
19118
44e0d4c2
SP
19119 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19120 calculation loop and add branch prediction.
19121
4d55b4e5
SP
19122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19123 check access beyond bounds of m1np.
19124
da08f647
SP
19125 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19126 MPTWO.
19127 (__inv): Remove local variable MPTWO to use the global
19128 constant.
19129 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19130 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19131 variable MPTWO.
19132 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19133 MP3HALFS static const.
19134
8e051029
DM
191352013-01-01 David S. Miller <davem@davemloft.net>
19136
19137 * po/ca.po: Update from translation team.
19138
f4cf5f2d
JM
191392013-01-01 Joseph Myers <joseph@codesourcery.com>
19140
19141 * scripts/update-copyrights: New file.
19142 * Makeconfig: Reformat copyright notice.
19143 * ctype/ctype.h: Likewise.
19144 * debug/swprintf_chk.c: Likewise.
19145 * elf/dl-cache.c: Likewise.
19146 * elf/dl-debug.c: Likewise.
19147 * elf/dl-object.c: Likewise.
19148 * grp/initgroups.c: Likewise.
19149 * hurd/Makefile: Likewise.
19150 * hurd/hurd/signal.h: Likewise.
19151 * hurd/hurdfault.c: Likewise.
19152 * hurd/hurdioctl.c: Likewise.
19153 * hurd/hurdlookup.c: Likewise.
19154 * hurd/intr-msg.c: Likewise.
19155 * iconv/gconv_open.c: Likewise.
19156 * libio/swprintf.c: Likewise.
19157 * locale/lc-ctype.c: Likewise.
19158 * locale/nl_langinfo.c: Likewise.
19159 * mach/Machrules: Likewise.
19160 * mach/Makefile: Likewise.
19161 * malloc/obstack.h: Likewise.
19162 * manual/Makefile: Likewise.
19163 * manual/tsort.awk: Likewise.
19164 * misc/bits/stab.def: Likewise.
19165 * nis/nis_print_group_entry.c: Likewise.
19166 * nis/nis_table.c: Likewise.
19167 * nis/nss_compat/compat-pwd.c: Likewise.
19168 * nis/nss_compat/compat-spwd.c: Likewise.
19169 * po/Makefile: Likewise.
19170 * posix/fnmatch.c: Likewise.
19171 * posix/regex.h: Likewise.
19172 * resolv/Makefile: Likewise.
19173 * resolv/nss_dns/dns-network.c: Likewise.
19174 * resolv/res_hconf.c: Likewise.
19175 * scripts/gen-sorted.awk: Likewise.
19176 * soft-fp/soft-fp.h: Likewise.
19177 * stdio-common/printf.h: Likewise.
19178 * stdlib/monetary.h: Likewise.
19179 * stdlib/random.c: Likewise.
19180 * stdlib/random_r.c: Likewise.
19181 * sysdeps/generic/Makefile: Likewise.
19182 * sysdeps/gnu/Makefile: Likewise.
19183 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19211 * sysdeps/mach/hurd/errnos.awk: Likewise.
19212 * sysdeps/mach/hurd/fork.c: Likewise.
19213 * sysdeps/mach/hurd/getcwd.c: Likewise.
19214 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19215 * sysdeps/mach/hurd/mmap.c: Likewise.
19216 * sysdeps/mach/hurd/utimes.c: Likewise.
19217 * sysdeps/mach/hurd/xmknod.c: Likewise.
19218 * sysdeps/posix/profil.c: Likewise.
19219 * sysdeps/posix/readdir_r.c: Likewise.
19220 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19221 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19223 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19227 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19229 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19230 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19231 * sysdeps/pthread/lio_listio.c: Likewise.
19232 * sysdeps/sparc/dl-procinfo.h: Likewise.
19233 * sysdeps/unix/i386/sysdep.S: Likewise.
19234 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19235 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19236 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19237 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19239 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19240 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19241 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19242 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19243 * sysdeps/wordsize-32/divdi3.c: Likewise.
19244 * time/sys/time.h: Likewise.
19245 * wcsmbs/Makefile: Likewise.
19246
0549fbba
DM
192472013-01-01 David S. Miller <davem@davemloft.net>
19248
a141f1a7
DM
19249 * po/fr.po: Update from translation team.
19250
0549fbba
DM
19251 * catgets/gencat.c: Update copyright year.
19252 * csu/version.c: Likewise.
19253 * debug/catchsegv.sh: Likewise.
19254 * debug/pcprofiledump.c: Likewise.
19255 * debug/xtrace.sh: Likewise.
19256 * elf/ldconfig.c: Likewise.
19257 * elf/ldd.bash.in: Likewise.
19258 * elf/pldd.c: Likewise.
19259 * elf/sotruss.ksh: Likewise.
19260 * elf/sprof.c: Likewise.
19261 * iconv/iconv_prog.c: Likewise.
19262 * iconv/iconvconfig.c: Likewise.
19263 * locale/programs/locale.c: Likewise.
19264 * locale/programs/localedef.c: Likewise.
19265 * login/programs/pt_chown.c: Likewise.
19266 * malloc/memusage.sh: Likewise.
19267 * malloc/memusagestat.c: Likewise.
19268 * malloc/mtrace.pl: Likewise.
19269 * nscd/nscd.c: Likewise.
19270 * nss/getent.c: Likewise.
19271 * nss/makedb.c: Likewise.
19272 * posix/getconf.c: Likewise.
19273
18ea052c
SP
192742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19275
19276 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19277 numbers.
19278
9c89fca6
MF
192792012-12-30 Mike Frysinger <vapier@gentoo.org>
19280
19281 * math/bits/mathcalls.h (modf): Use __nonnull.
19282
085ec079
SP
192832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19284
19285 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19286 (split): Use macro CN instead of the bare value.
19287 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19288 could be used.
19289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19290 instead of the bare value.
19291 (power1): Likewise.
19292
6d9f97e1
SP
192932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19294
d63f73be
SP
19295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19296 __ATAN_TWOM.
19297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19298
6d9f97e1
SP
19299 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19300 their values.
19301 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19303 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19304 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19305
4c4febf5
AJ
193062012-12-28 Andreas Jaeger <aj@suse.de>
19307
af5843ef
AJ
19308 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19309 values are from Linux 3.7.
19310
4c4febf5
AJ
19311 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19312 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19313
99136f82
SP
193142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19315
2f216c3c 19316 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19317 TRUE case.
19318
99136f82
SP
19319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19320 (norm): Likewise.
19321 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19322 variables with preprocessor constants.
19323 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19324 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19326
7fffbdff
BH
193272012-12-27 Bruno Haible <bruno@clisp.org>
19328
19329 [BZ #14317]
19330 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19331 only if needed.
19332
b76eb5f0
SP
193332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
31a7fe5c
SP
19335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19336 and use variable directly.
19337 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19338
b76eb5f0
SP
19339 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19340 MPONE.
19341 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19343 variable MPONE.
19344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19346 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19347 include directive. Remove local variable MPONE.
19348 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19351
2c8bfe7d
DM
193522012-12-25 David S. Miller <davem@davemloft.net>
19353
19354 * version.h (RELEASE): Set to "development".
19355 (VERSION): Set to "2.17.90".
19356 * NEWS: Add 2.18 section.
19357
147d03b0
DM
193582012-12-21 David S. Miller <davem@davemloft.net>
19359
19360 * po/hr.po: Update from translation team.
19361
a8ebb2b9
AK
193622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19363
19364 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19365
95b4f1b6
SE
193662012-12-19 Steve Ellcey <sellcey@mips.com>
19367
b2d94007 19368 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19369
cedb2a90
MS
193702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19371
19372 * manual/contrib.texi (Contributors): Spelling correction.
19373
bbf527d6
DM
193742012-12-15 David S. Miller <davem@davemloft.net>
19375
19376 * po/ru.po: Update from translation team.
19377
bc38c906
DM
193782012-12-13 David S. Miller <davem@davemloft.net>
19379
85429b1a
DM
19380 * NEWS: Mention IFUNC testsuite enhancements.
19381
d283e353
DM
19382 * po/pl.po: Update from translation team.
19383 * po/bg.po: Likewise.
19384
bc38c906
DM
19385 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19386 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19387
a181b0d7
DM
193882012-12-11 David S. Miller <davem@davemloft.net>
19389
4641d57e
DM
19390 * po/sv.po: Update from translation team.
19391
f7bc6495
DM
19392 * po/vi.po: Update from translation team.
19393
6fc9048f
DM
19394 * po/cs.po: Update from translation team.
19395
a181b0d7
DM
19396 * po/de.po: Update from translation team.
19397 * po/eo.po: Likewise.
19398 * po/nl.po: Likewise.
19399
f70bfe80
SP
194002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19401
3c8b4190
SP
19402 [BZ #14246]
19403 * manual/argp.texi (Argp Helper Functions): Move node to follow
19404 Argp Parsing State.
19405
f70bfe80
SP
19406 [BZ #14872]
19407 * manual/conf.texi (Limits on File System Capacity): Mention if
19408 terminating null is included in the max size.
19409
188f0adf
AJ
194102012-12-10 Andreas Jaeger <aj@suse.de>
19411
19412 * po/cs.po: Update from translation team.
19413
56e7d3ad
SP
194142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19415
19416 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19417 void pointer and cast to uintptr_t.
19418 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19419 path.
19420 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19421 * sysdeps/s390/s390-64/memset.S: Likewise.
19422
76f2d2ea 194232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19424
19425 [BZ #14833]
19426 * menual/message.texi (Message Translation): Fix typos.
19427 (Helper programs for gettext): Likewise.
19428
67cbf9a2
AS
194292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19430
19431 [BZ #14898]
19432 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19433 Change to -1.
19434
682d0e9a
DM
194352012-12-07 David S. Miller <davem@davemloft.net>
19436
19437 * po/libc.pot: Update.
19438
573cd484
RH
194392012-12-07 Richard Henderson <rth@redhat.com>
19440
7e9da188 19441 [BZ #10114]
573cd484
RH
19442 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19443 normal/normal case to before the switch.
19444 (_FP_DIV): Likewise.
19445
e933a943
MF
194462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19447 Mike Frysinger <vapier@gentoo.org>
19448
19449 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19450 check for __NR_fadvise64_64.
19451
82123268
CM
194522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19453
19454 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19455 0, not just to plain "0" as a statement.
19456 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19457 with cw.
19458
d9814526
JM
194592012-12-06 Joseph Myers <joseph@codesourcery.com>
19460
19461 * NEWS: Use sourceware.org in Bugzilla URL.
19462
7728c574
SP
194632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
f16946dd
SP
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19466 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19467
5704bbcb
SP
19468 * stdio-common/tst-put-error.c (do_test): Add newline to the
19469 padded test to ensure flush.
19470
17aa0516
JL
194712012-12-05 Jeff Law <law@redhat.com>
19472
19473 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19474
363313b5
JM
194752012-12-05 Joseph Myers <joseph@codesourcery.com>
19476
effbd42a
JM
19477 * README: Don't refer to ports add-on as distributed separately.
19478 Mention AArch64 in list of systems supported in the ports add-on.
19479
87600365
JM
19480 * LICENSES: Add more non-FSF copyright and license notices.
19481
a0d7066a
JM
19482 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19483 ((unused)).
19484
66ca5a5b
JM
19485 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19486
363313b5
JM
19487 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19488 10000 as width of padded output.
19489
b37984ad
JM
194902012-12-04 Joseph Myers <joseph@codesourcery.com>
19491
9003570a
JM
19492 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19493
b37984ad
JM
19494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19495 variable LX with __attribute__ ((unused)).
19496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19497 Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19501 with __attribute__ ((unused)).
19502
c8df52ec
DM
195032012-12-04 David S. Miller <davem@abraco.davemloft.net>
19504
19505 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19506
b3b099af
JM
195072012-12-04 Joseph Myers <joseph@codesourcery.com>
19508
c33aa6e3
JM
19509 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19510 (CFLAGS-nldbl-acos.c): New variable.
19511 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19608
20f0018d
JM
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19610 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19611
b3b099af
JM
19612 [BZ #14914]
19613 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19614 whole low double instead of just low 47 bits when splitting values
19615 into two parts.
19616
029264d1
AM
196172012-12-03 Allan McRae <allan@archlinux.org>
19618
19619 * manual/stdio.texi (Predefined Printf Handlers): Remove
19620 @hsep and @vsep usage.
19621
c9d6789e
MF
196222012-12-03 Mike Frysinger <vapier@gentoo.org>
19623
19624 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19625 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19626
4b7634a5
JL
196272012-12-03 Jeff Law <law@redhat.com>
19628
19629 * time/sys/time.h (settimeofday): Do not mark TV argument
19630 as __nonnull.
19631
eb6cbd24
MF
196322012-12-01 Mike Frysinger <vapier@gentoo.org>
19633
19634 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19635 when currently writing and seek to current position when not.
19636 * libio/Makefile (tests): Remove bug-fclose1.
19637 * libio/bug-fclose1.c: Delete.
19638
f638872a
JM
196392012-12-01 Joseph Myers <joseph@codesourcery.com>
19640
19641 * manual/arith.texi (feenableexcept): Fix typo.
19642 (fedisableexcept): Likewise.
19643
48085d14
RM
196442012-11-30 Roland McGrath <roland@hack.frob.com>
19645
19646 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19647 second, differently-typed declaration, rather than a cast.
19648
1a538b9f
SP
196492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19650
19651 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19652 * include/rpc/svc.h: ... here.
19653
d07f2ff1 196542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19655
19656 [BZ #13013]
19657 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19658 depending n and resplen2 to catch cases where answer
19659 equals answerp2.
19660
c93ec1f0
CD
196612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19662
19663 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19664 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19665
37db69de
MF
196662012-11-29 Mike Frysinger <vapier@gentoo.org>
19667
19668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19669
e10c4e4f
RM
196702012-11-29 Roland McGrath <roland@hack.frob.com>
19671
19672 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19673
2af1b328
JL
196742012-11-28 Jeff Law <law@redhat.com>
19675
19676 [BZ #13761]
19677 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19678 dataset_temporary. Track alloca usage into alloca_used.
19679 If dataset is large allocate and release it via malloc/free.
19680
111db5b1
FW
196812012-06-04 Florian Weimer <fweimer@redhat.com>
19682
f06cc227 19683 [BZ #14197]
111db5b1
FW
19684 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19685
dd694abd
DM
196862012-11-28 David S. Miller <davem@davemloft.net>
19687
19688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19689
9984dd01
JM
196902012-11-28 Joseph Myers <joseph@codesourcery.com>
19691
19692 [BZ #14803]
19693 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19694 of pi/2 rounded to nearest to 64 bits.
19695 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19696 nearest to 64 bits.
19697 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19698 bits.
19699
14bc93a9
JL
197002012-11-28 Jeff Law <law@redhat.com>
19701 Martin Osvald <mosvald@redhat.com>
19702
19703 [BZ #14889]
19704 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19705 * sunrpc/svc.c: Include time.h.
19706 (__svc_accept_failed): New function.
19707 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19708 any reason other than EINTR, call __svc_accept_failed.
19709 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19710 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19711
e3c6aa3a
AS
197122012-11-28 Andreas Schwab <schwab@suse.de>
19713
19714 * scripts/abilist.awk: Also handle indirect functions in .opd
19715 section.
19716
1bead169
JM
197172012-11-28 Joseph Myers <joseph@codesourcery.com>
19718
19719 [BZ #13881]
19720 * sysdeps/x86/fpu/powl_helper.c: New file.
19721 * sysdeps/x86/fpu/Makefile: Likewise.
19722 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19723 (p3): New object.
19724 (__ieee754_powl): Use __powl_helper for finite arguments except
19725 integer exponents below 8.
19726 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19727 (p3): New object.
19728 (__ieee754_powl): Use __powl_helper for finite arguments except
19729 integer exponents below 8.
19730 * math/libm-test.inc (pow_test): Add more tests and enable some
19731 previously disabled tests.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734
0817d63d
SP
197352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19736 Carlos O'Donell <carlos_odonell@mentor.com>
19737
19738 * nss/makedb.c (is_prime): Assert that input is odd and greater
19739 than 4. Note that fact in a comment too.
19740 (next_prime): Add 4 to input.
19741
de2fd463
SP
197422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19743
19744 [BZ #11741]
19745 * libio/Makefile (tests): Add test case tst-fwrite-error.
19746 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19747 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19748 * libio/tst-fwrite-error.c: New test case.
19749
c515fb51
L
197502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19753 before casting to void *.
19754 * include/libc-internal.h (__pointer_type): New macro.
19755 (__integer_if_pointer_type_sub): Likewise.
19756 (__integer_if_pointer_type): Likewise.
19757 (cast_to_integer): Likewise.
19758 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19759 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19760 before casting to atomic64_t.
19761 (atomic_exchange_acq): Likewise.
19762 (__arch_exchange_and_add_body): Likewise.
19763 (__arch_add_body): Likewise.
19764 (atomic_add_negative): Likewise.
19765 (atomic_add_zero): Likewise.
19766
4cf77aa9
JM
197672012-11-26 Joseph Myers <joseph@codesourcery.com>
19768
19769 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19770 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19771 (add_fdes): Likewise.
19772 (linear_search_fdes): Likewise.
19773 (binary_search_unencoded_fdes): Likewise.
19774
d260b3b4
AS
197752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19776
19777 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19778
67060746
AC
197792012-11-24 Adam Conrad <adconrad@0c3.net>
19780
19781 * configure.in: Autodetect C++ header directories.
19782 * configure: Regenerated.
19783
800938a1
MF
197842012-11-23 Mike Frysinger <vapier@gentoo.org>
19785
19786 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19787
4e6e34e6
AS
197882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19789
19790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19791
7c7feb47
JM
197922012-11-22 Joseph Myers <joseph@codesourcery.com>
19793
7184dcdf
JM
19794 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19795 LDBL_MANT_DIG == 106]: Disable some tests.
19796 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19797 Likewise.
19798 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19799 Likewise.
19800
0a42601f
JM
19801 [BZ #14871]
19802 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19803 input for small inputs. Return +/- pi/2 for large inputs.
19804 * math/libm-test.inc (atan_test): Add more tests.
19805
79c9b9fe
JM
19806 * sysdeps/generic/unwind-dw2-fde-glibc.c
19807 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19808 __attribute__ ((unused)).
19809
c60d3bf2
JM
19810 [BZ #14645]
19811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19812 x * y if x and y are nonzero and z is zero.
19813
ef1e0867
JM
19814 [BZ #14811]
19815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19816 nonzero exponents with absolute value below 0x1p-117 to +/-
19817 0x1p-117.
19818
1468ded3
JM
19819 [BZ #14869]
19820 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19821 up arguments below 2**-450, not just those below 2**-500.
19822 * math/libm-test.inc (hypot_test): Add another test.
19823
8e27e3cc
JM
19824 [BZ #14868]
19825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19826 Return a+b for ratio over 2**120, not 2**60.
19827 * math/libm-test.inc (hypot_test): Add another test.
19828
c9c0279b
JM
19829 * math/libm-test.inc (clog_test): Use
19830 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19831 (clog10_test): Likewise.
19832
7c7feb47
JM
19833 [BZ #6778]
19834 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19835
fff1530e
AS
198362012-11-22 Andreas Schwab <schwab@suse.de>
19837
19838 * sysdeps/i386/fpu/libm-test-ulps: Update.
19839
94558d30
PT
198402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19841
19842 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19843 printf output with newline.
19844
7e1be741
L
198452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19846
6bfea974
L
19847 [BZ #14865]
19848 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19849 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19850 -z nodlopen, -z initfirst and -z execstack support.
19851 * configure: Regenerated.
19852
7e1be741
L
19853 * elf/elf.h (DF_1_NODIRECT): New macro.
19854 (DF_1_IGNMULDEF): Likewise.
19855 (DF_1_NOKSYMS): Likewise.
19856 (DF_1_NOHDR): Likewise.
19857 (DF_1_EDITED): Likewise.
19858 (DF_1_NORELOC): Likewise.
19859 (DF_1_SYMINTPOSE): Likewise.
19860 (DF_1_GLOBAUDIT): Likewise.
19861 (DF_1_SINGLETON): Likewise.
19862 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19863 DT_1_SUPPORTED_MASK bits.
19864 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19865
105ce2ce
CD
198662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19867
19868 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19869
123be9de
TS
198702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19871
d072f3f7
TS
19872 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19873 macro.
19874
123be9de
TS
19875 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19876 (sendmmsg): Move declarations...
19877 * socket/sys/socket.h: ... here.
19878 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19879 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19880 include it from...
19881 * socket/recvmmsg.c: ... this new file.
19882 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19883 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19884 definition of __sendmmsg hidden.
19885 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19886 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19887 Move ENOSYS stub into and include it from...
19888 * socket/sendmmsg.c: ... this new file.
19889 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19890 (sysdep_routines): Move recvmmsg and sendmmsg...
19891 * socket/Makefile (routines): ... here.
19892 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19893 (GLIBC_PRIVATE): Add __sendmmsg.
19894 * include/sys/socket.h (__sendmmsg): Add declarations.
19895 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19896 sendmmsg.
19897
cf9a5d18
JM
198982012-11-20 Joseph Myers <joseph@codesourcery.com>
19899
19900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19901 variable I1 with __attribute__ ((unused)).
19902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19903
ecd4caf9
JM
199042012-11-19 Joseph Myers <joseph@codesourcery.com>
19905
be14d48f
JM
19906 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19907 DUMMY variables with __attribute__ ((unused)).
19908
ecd4caf9
JM
19909 * bits/byteswap.h: Include <bits/types.h>.
19910 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19911
986cab95
PT
199122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19913
19914 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19915 string_t. Do not manually set errno.
19916 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19917 length with __strnlen. Make sure to both set errno and return it on
19918 failure.
19919
6d33cc9d
DM
199202012-11-19 David S. Miller <davem@davemloft.net>
19921
19922 With help from Joseph Myers.
19923 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19924 very large arguments properly.
19925 * math/libm-test.inc (atan_test): New tests.
19926 (atan2_test): New tests.
19927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19929
ee663277
JM
199302012-11-19 Joseph Myers <joseph@codesourcery.com>
19931
877f2d8e
JM
19932 [BZ #14856]
19933 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19934 Define to 3.
19935
116fc08a
JM
19936 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19937 [POSIX] (EADDRNOTAVAIL): Likewise.
19938 [POSIX] (EAFNOSUPPORT): Likewise.
19939 [POSIX] (EALREADY): Likewise.
19940 [POSIX] (ECONNABORTED): Likewise.
19941 [POSIX] (ECONNREFUSED): Likewise.
19942 [POSIX] (ECONNRESET): Likewise.
19943 [POSIX] (EDESTADDRREQ): Likewise.
19944 [POSIX] (EDQUOT): Likewise.
19945 [POSIX] (EHOSTUNREACH): Likewise.
19946 [POSIX] (EIDRM): Likewise.
19947 [POSIX] (EISCONN): Likewise.
19948 [POSIX] (ELOOP): Likewise.
19949 [POSIX] (EMULTIHOP): Likewise.
19950 [POSIX] (ENETDOWN): Likewise.
19951 [POSIX] (ENETUNREACH): Likewise.
19952 [POSIX] (ENOBUFS): Likewise.
19953 [POSIX] (ENODATA): Likewise.
19954 [POSIX] (ENOLINK): Likewise.
19955 [POSIX] (ENOMSG): Likewise.
19956 [POSIX] (ENOPROTOOPT): Likewise.
19957 [POSIX] (ENOSR): Likewise.
19958 [POSIX] (ENOSTR): Likewise.
19959 [POSIX] (ENOTCONN): Likewise.
19960 [POSIX] (ENOTSOCK): Likewise.
19961 [POSIX] (EOPNOTSUPP): Likewise.
19962 [POSIX] (EOVERFLOW): Likewise.
19963 [POSIX] (EPROTO): Likewise.
19964 [POSIX] (EPROTONOSUPPORT): Likewise.
19965 [POSIX] (EPROTOTYPE): Likewise.
19966 [POSIX] (ESTALE): Likewise.
19967 [POSIX] (ETIME): Likewise.
19968 [POSIX] (ETXTBSY): Likewise.
19969 [POSIX] (EWOULDBLOCK): Likewise.
19970 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19971 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19972 [POSIX] (SEEK_CUR): Likewise.
19973 [POSIX] (SEEK_END): Likewise.
19974 [POSIX || UNIX98] (mode_t): Do not require.
19975 [POSIX] (off_t): Likewise.
19976 [POSIX] (pid_t): Likewise.
19977 [POSIX] (sys/stat.h): Do not allow header.
19978 [POSIX] (unistd.h): Likewise.
19979 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19980 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19981 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19982 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19983 require.
19984 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19985 sigevent): Specify elements.
19986 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19987 entry.
19988 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19989 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19990
a483863f
JM
19991 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19992 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19993 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19994 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19995 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19996 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19997 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19998 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20000 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20001 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20002 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20003 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20005 Likewise.
20006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20007 Likewise.
20008 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20009 Likewise.
20010 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20011 Likewise.
20012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20015 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20017 Specify lower bound on value.
20018 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20024 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20025 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20026 value.
20027 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20028 as optional.
20029 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20045 entry.
20046 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20047 optional.
20048 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20054 Likewise.
20055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20060 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20062 as optional.
20063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20067 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20068 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20069 specify as optional.
20070 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20073 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20074 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20075 [XPG3] (NL_LANGMAX): Likewise.
20076 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20077 [POSIX || XPG3] (NL_NMAX): Likewise.
20078 [POSIX || XPG3] (NL_SETMAX): Likewise.
20079 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20080 [XPG3] (NZERO): Likewise.
20081 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20082 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20083 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20084 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20085 (REG_ERANGE): Expect.
20086 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20087 optional-constant.
20088 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20089 Use (void) in prototype.
20090 [POSIX] (*_t): Allow.
20091 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20092 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20093 (WRDE_BADVAL): Expect.
20094
5ba924e3
JM
20095 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20096 expect.
20097 [XPG3 || XPG4] (O_RSYNC): Likewise.
20098 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20099 Likewise.
20100 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20101 [XPG3 || XPG4] (sigqueue): Likewise.
20102 [XPG3 || XPG4] (sigtimedwait): Likewise.
20103 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20104 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20105 [XPG3 || XPG4] (vsnprintf): Likewise.
20106 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20107 Likewise.
20108 [XPG3 || XPG4] (blksize_t): Likewise.
20109 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20110 Likewise.
20111 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20112 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20113 [XPG3 || XPG4] (struct itimerspec): Likewise.
20114 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20115 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20116 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20117 [XPG3 || XPG4] (clockid_t): Likewise.
20118 [XPG3 || XPG4] (timer_t): Likewise.
20119 [XPG3 || XPG4] (clock_getres): Likewise.
20120 [XPG3 || XPG4] (clock_gettime): Likewise.
20121 [XPG3 || XPG4] (clock_settime): Likewise.
20122 [XPG3 || XPG4] (nanosleep): Likewise.
20123 [XPG3 || XPG4] (timer_create): Likewise.
20124 [XPG3 || XPG4] (timer_delete): Likewise.
20125 [XPG3 || XPG4] (timer_gettime): Likewise.
20126 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20127 [XPG3 || XPG4] (timer_settime): Likewise.
20128 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20129 [XPG3 || XPG4] (getlogin_r): Likewise.
20130 [XPG3 || XPG4] (pread): Likewise.
20131 [XPG3 || XPG4] (pthread_atfork): Likewise.
20132 [XPG3 || XPG4] (pwrite): Likewise.
20133
ee663277
JM
20134 [BZ #14835]
20135 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20136 <bits/siginfo.h>.
20137
942caa16
PT
201382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20139
e19af380
PT
20140 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20141 finalizing MALLSTREAM.
20142
942caa16
PT
20143 * sysdeps/mach/hurd/syncfs.c: New file.
20144
cfde9b46
SP
201452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20146
20147 [BZ #14719]
20148 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20149 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20151 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20152 (_nss_dns_gethostbyname4_r): Likewise.
20153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20154 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20155
f6da27e5
PH
201562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20157
20158 [BZ #13763]
20159 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20160
6665d4a2
SM
201612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20162
1f51ee92
SM
20163 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20164 * elf/cache.c (print_entry): Print ",AArch64" for
20165 FLAG_AARCH64_LIB64
20166
6665d4a2
SM
20167 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20168 * elf/cache.c (print_entry): Print ",hard-float" for
20169 FLAG_ARM_LIBHF.
20170
05b227bd
DM
201712012-11-18 David S. Miller <davem@davemloft.net>
20172
20173 With help from Joseph Myers.
20174 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20175 cutoff to 2**-13.
20176 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20177 cutoff to 2**-25.
20178 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20179 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20180 small.
20181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20182 * math/libm-test.inc (y0_test): New tests.
20183 (y1_test): New tests.
20184 * sysdeps/i386/fpu/libm-test-ulps: Update.
20185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20187
786b0b67
AS
201882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20189
20190 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20191 64-bit targets.
20192 * configure: Regenerated.
20193
8e18b86d
DM
201942012-11-17 David S. Miller <davem@davemloft.net>
20195
20196 [BZ #14811]
20197 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20198 nonzero exponents with absolute value below 0x1p-128 to +/-
20199 0x1p-128.
20200
531f1ae0
JM
202012012-11-17 Joseph Myers <joseph@codesourcery.com>
20202
12df29e2
JM
20203 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20204
150dc1a0
JM
20205 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20206
531f1ae0
JM
20207 * posix/getconf-speclist.c: New file.
20208 * posix/posix-envs.def: Likewise.
20209 * posix/confstr.c (START_ENV_GROUP): New macro.
20210 (END_ENV_GROUP): Likewise.
20211 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20212 (KNOWN_PRESENT_ENV_STRING): Likewise.
20213 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20214 (UNKNOWN_ENVIRONMENT): Likewise.
20215 (confstr): Include posix-envs.def instead of handling
20216 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20217 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20218 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20219 (END_ENV_GROUP): Likewise.
20220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20221 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20222 (UNKNOWN_ENVIRONMENT): Likewise.
20223 (__sysconf): Include posix-envs.def instead of handling associated
20224 cases directly here.
20225 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20226 preprocessing getconf-speclist.c rather than running getconf or
20227 generating empty file.
20228
a93f9cbc
PT
202292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20230
20231 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20232
d64d9f87
AL
202332012-11-16 Andrej Lajovic <natrij@gmail.com>
20234
20235 [BZ #14672]
20236 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20237
447885eb
DM
202382012-11-16 David S. Miller <davem@davemloft.net>
20239
20240 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20241 smaller than LDBL_EPSILON/2.0L, just return xm1.
20242
bcbf9830
L
202432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20244
20245 * elf/tst-array1.c (init): Set constructor priority to 1000.
20246 (fini): Set destructor priority to 1000.
20247 * elf/tst-array2dep.c: Likewise.
20248
2b766585
SP
202492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20250
20251 [BZ #11741]
20252 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20253 (_IO_new_file_xsputn): Also return EOF if none of the input
20254 data was written when overflow failed.
20255 * libio/iopadn.c (_IO_padn): Likewise.
20256 * libio/iowpadn.c (_IO_wpadn): Likewise.
20257 * stdio-common/tst-put-error.c: Add copyright notice.
20258 (do_test): Add case for printing padded string.
20259 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20260 _IO_padn returned error.
20261 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20262 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20263 return EOF.
20264
b1848fde
SP
202652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20266
20267 * libio/libioP.h: Add comment note that the references to C++
20268 bits are now obsolete.
20269
2fd89785
MS
202702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20271
20272 * math/libm-test.inc (check_complex): Use asprintf.
20273
e3ea5409
JM
202742012-11-14 Joseph Myers <joseph@codesourcery.com>
20275
20276 * debug/pcprofiledump.c (print_version): Update copyright year.
20277 * malloc/memusagestat.c (print_version): Likewise.
20278
2e64d265
L
202792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20280
20281 [BZ #14831]
20282 * elf/Makefile (tests): Add tst-audit8.
20283 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20284 ($(objpfx)tst-audit8.out): New target.
20285 (tst-audit8-ENV): New variable.
20286 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20287 audit if l_reloc_result is NULL.
20288 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20289 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20290 * elf/tst-audit8.c: New file.
20291
c485e4d2
MS
202922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20293
20294 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20295 * misc/Makefile (CFLAGS-select.c): Define.
20296 * posix/Makefile (CFLAGS-pause.c): Define.
20297
3a0d900a
DM
202982012-11-13 David S. Miller <davem@davemloft.net>
20299
20300 * crypt/Makefile: Move test targets after toplevel Rules
20301 inclusion. Grab any necessary sysdep routines when linking.
20302 * crypt/md5.c (md5_process_block): Remove define, we will always
20303 name it __md5_process_block.
20304 (md5_finish_ctx): Update md5_process_block call.
20305 (md5_stream): Likewise.
20306 (md5_process_bytes): Likewise.
20307 (md5_process_block): Rename to __md5_process_block and move to ...
20308 * crypt/md5-block.c: ... here.
20309 * crypt/sha256.c (sha256_process_block): Move to ...
20310 * crypt/sha256-block.c: ... here.
20311 * crypt/sha512.c (sha512_process_block): Move to ...
20312 * crypt/sha512-block.c: ... here.
20313 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20314 path.
20315 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20316 * sysdeps/sparc/sparc64/multiarch/Makefile
20317 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20318 crypt subdir.
20319 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20321 multiarch changes.
20322 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20323 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20324 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20325 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20326 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20327 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20328 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20329 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20331 file.
20332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20334 file.
20335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20336
8ca89318
JM
203372012-11-13 Joseph Myers <joseph@codesourcery.com>
20338
e27d476a
JM
20339 * timezone/tzselect.ksh: Update from tzcode git revision
20340 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20341 * timezone/zdump.c: Likewise.
20342 * timezone/zic.c: Likewise.
20343 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20344 in TZVERSION setting, not $(PKGVERSION).
20345 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20346 REPORT_BUGS_TO settings.
20347
8ca89318
JM
20348 [BZ #14838]
20349 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20350 macro.
20351
47594329
MS
203522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20353
20354 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20355 detection to immediately after _FP_ROUND().
20356 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20357 bits are 0.
20358
640ac3f1
DM
203592012-11-11 David S. Miller <davem@davemloft.net>
20360
20361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20362 inttypes.h
20363 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20364 __close rather than their public counterparts.
20365
3d2577bb
JM
203662012-11-10 Joseph Myers <joseph@codesourcery.com>
20367
20368 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20369 file.
20370 [UNIX98] (sem_timedwait): Do not expect.
20371 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20372 [XPG4 || UNIX98] (sockatmark): Do not expect.
20373 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20374 (clock_getcpuclockid): Do not expect.
20375 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20376 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20377 Do not expect.
20378 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20379 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20380 [UNIX98] (vwscanf): Likewise.
20381 [UNIX98] (vswscanf): Likewise.
20382
fb1ae1ee
JM
203832012-11-09 Joseph Myers <joseph@codesourcery.com>
20384
9ec6f8bd
JM
20385 * timezone/version.h: Remove file.
20386 * timezone/README: Do not refer to version.h.
20387 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20388 $(objpfx)version.h.
20389 ($(objpfx)zdump.o): Likewise.
c3f81911 20390 ($(objpfx)version.h): New target.
9ec6f8bd 20391
0aa8f8a1
JM
20392 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20393 2012i.
20394 * timezone/README: Don't mention modification to tzselect.ksh.
20395 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20396 work on unmodified tzselect.ksh. Substitute version numbers in
20397 tzselect.ksh.
20398
4e87147f
JM
20399 * Makefile (format-me): Remove.
20400 (INSTALL): Adjust indentation. Use commands directly instead of
20401 using $(format-me).
20402
8b748aed
JM
20403 * aclocal.m4 (ACX_PKGVERSION): New macro.
20404 (ACX_BUGURL): Likewise.
20405 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20406 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20407 (REPORT_BUGS_TO): Likewise.
20408 * configure: Regenerated.
20409 * config.h.in (PKGVERSION): New macro.
20410 (REPORT_BUGS_TO): Likewise.
20411 * config.make.in (PKGVERSION): New variable.
20412 (PKGVERSION_TEXI): Likewise.
20413 (REPORT_BUGS_TO): Likewise.
20414 (REPORT_BUGS_TEXI): Likewise.
20415 * Makefile (format-me): Use -I$(common-objpfx)manual.
20416 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20417 ($(common-objpfx)manual/%): New target.
20418 (manual/%): Remove target.
20419 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20420 (print_version): Use PKGVERSION.
20421 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20422 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20423 and REPORT_BUGS_TO.
20424 ($(objpfx)xtrace): Likewise.
20425 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20426 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20427 (print_version): Use PKGVERSION.
20428 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20429 (do_version): Use PKGVERSION.
20430 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20431 REPORT_BUGS_TO.
20432 (common-ldd-rewrite): Likewise.
20433 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20434 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20435 (print_version): Use PKGVERSION.
20436 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20437 * elf/pldd.c (argp_program_bug_address): Remove variable.
20438 (more_help): New function.
20439 (argp): Use more_help.
20440 (print_version): Use PKGVERSION.
20441 * elf/sln.c (main): Use PKGVERSION.
20442 (usage): Use REPORT_BUGS_TO.
20443 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20444 (top level): Use PKGVERSION.
20445 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20446 (print_version): Use PKGVERSION.
20447 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20448 (print_version): Use PKGVERSION.
20449 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20450 (print_version): Use PKGVERSION.
20451 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20452 (print_version): Use PKGVERSION.
20453 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20454 (print_version): Use PKGVERSION.
20455 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20456 (print_version): Use PKGVERSION.
20457 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20458 and BUGURL.
20459 ($(objpfx)memusage): Likewise.
20460 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20461 (do_version): Use PKGVERSION.
20462 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20463 (print_version): Use PKGVERSION.
20464 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20465 ($PKGVERSION): New variable.
20466 ($REPORT_BUGS_TO): Likewise.
20467 (usage): Use $REPORT_BUGS_TO.
20468 (top level): Use $PKGVERSION.
20469 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20470 ($(objpfx)pkgvers.texi): New rule.
20471 ($(objpfx)stamp-pkgvers): Likewise.
20472 * manual/install.texi: Include pkgvers.texi.
20473 (--with-pkgversion): Document new configure option.
20474 (--with-bugurl): Likewise.
20475 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20476 than necessarily for this particular distribution. Use
20477 REPORT_BUGS_TO for where to report bugs.
20478 * INSTALL: Regenerated.
20479 * manual/libc.texinfo: Include pkgvers.texi.
20480 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20481 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20482 (print_version): Use PKGVERSION.
20483 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20484 (print_version): Use PKGVERSION.
20485 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20486 (print_version): Use PKGVERSION.
20487 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20488 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20489 macro.
20490 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20491 (print_version): Use PKGVERSION.
20492 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20493 (print_version): Use PKGVERSION.
20494 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20495 and PKGVERSION.
20496
92e4b6a9
JM
20497 * timezone/checktab.awk: Update from tzcode 2012i.
20498 * timezone/ialloc.c: Likewise.
20499 * timezone/private.h: Likewise.
20500 * timezone/scheck.c: Likewise.
20501 * timezone/tzfile.h: Likewise.
20502 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20503 (TZVERSION): Hardcode tzcode version number.
20504 * timezone/zdump.c: Update from tzcode 2012i.
20505 * timezone/zic.c: Likewise.
20506 * timezone/version.h: New file.
20507 * timezone/README: Describe version.h. Update upstream location.
20508
9bde902c
JM
20509 [BZ #14824]
20510 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20511 (mktemp): Enable declaration.
20512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20516 Likewise.
20517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20518 Likewise.
20519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20520 Likewise.
20521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20522 Likewise.
20523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20524 Likewise.
20525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20526 Likewise.
20527
fb1ae1ee
JM
20528 [BZ #14821]
20529 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20530 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20531 for copies of such integer values.
20532 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20533 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20534
2c1adbcb
AJ
205352012-11-09 Andreas Jaeger <aj@suse.de>
20536
20537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20538 definitions and declarations that are provided by
20539 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20540
d0f8457e
AK
205412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20542
3a235abb 20543 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20544 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20545 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20546 definition.
20547
57241e26
MS
205482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20549
20550 * elf/elf.h: Update comment before AArch64 relocations.
20551
60e8270d
DM
205522012-11-07 David S. Miller <davem@davemloft.net>
20553
20554 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20555 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20556 (__start_context): Declare.
20557 (__makecontext_ret): Delete.
20558 (__makecontext): Hook up __start_context instead of
20559 __makecontext_ret.
20560 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20561 (sysdep_routines): Add __start_context when in stdlib.
20562
0fbb0fbc
JM
205632012-11-07 Joseph Myers <joseph@codesourcery.com>
20564
20565 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20566 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20567 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20568 hardcoded "nm".
20569 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20570 (READELF): New variable. Use it instead of hardcoded "readelf".
20571
eb48db7e
L
205722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20575 * sysdeps/x86/Makefile: Here.
20576 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20577 * sysdeps/x86/tst-xmmymm.sh: This.
20578
05bcf62a
JM
205792012-11-07 Joseph Myers <joseph@codesourcery.com>
20580
c4b6cf53
JM
20581 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20582 expectations.
20583 [UNIX98] (pthread_barrier_t): Do not expect.
20584 [UNIX98] (pthread_barrierattr_t): Likewise.
20585 [UNIX98] (pthread_spinlock_t): Likewise.
20586 [UNIX98] (pthread_barrier_destroy): Likewise.
20587 [UNIX98] (pthread_barrier_init): Likewise.
20588 [UNIX98] (pthread_barrier_wait): Likewise.
20589 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20590 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20591 [UNIX98] (pthread_barrierattr_init): Likewise.
20592 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20593 [UNIX98] (pthread_getcpuclockid): Likewise.
20594 [UNIX98] (pthread_mutex_timedlock): Likewise.
20595 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20596 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20597 [UNIX98] (pthread_sigmask): Likewise.
20598 [UNIX98] (pthread_spin_destroy): Likewise.
20599 [UNIX98] (pthread_spin_init): Likewise.
20600 [UNIX98] (pthread_spin_lock): Likewise.
20601 [UNIX98] (pthread_spin_trylock): Likewise.
20602 [UNIX98] (pthread_spin_unlock): Likewise.
20603 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20604 Do not expect.
20605 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20607 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20608 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20609 [XPG3 || XPG4] (pthread_key_t): Likewise.
20610 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20611 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20612 [XPG3 || XPG4] (pthread_once_t): Likewise.
20613 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20614 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20616 [XPG3 || XPG4] (pthread_t): Likewise.
20617
cbe6e120
JM
20618 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20619 not expect.
20620 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20621
1b126443
JM
20622 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20623 Change function return type to int.
20624
b961a573
JM
20625 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20626 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20627 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20628 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20629 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20630 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20631 [!POSIX] (posix_madvise): Likewise.
20632 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20633 && !UNIX98].
20634 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20635 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20636 (mode_t): Likewise.
20637 (posix_mem_offset): Likewise.
20638 (posix_typed_mem_get_info): Likewise.
20639 (posix_typed_mem_open): Likewise.
20640
9e188909
JM
20641 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20642 Change condition to [XOPEN2K8].
20643
05bcf62a
JM
20644 * conform/conformtest.pl: Preprocess allow-header data with -x c
20645 instead of from stdin.
20646 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20647 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20648 [C99-based standards] (cerfc): Likewise.
20649 [C99-based standards] (cexp2): Likewise.
20650 [C99-based standards] (cexpm1): Likewise.
20651 [C99-based standards] (clog10): Likewise.
20652 [C99-based standards] (clog1p): Likewise.
20653 [C99-based standards] (clog2): Likewise.
20654 [C99-based standards] (clgamma): Likewise.
20655 [C99-based standards] (ctgamma): Likewise.
20656 [C99-based standards] (cerff): Likewise.
20657 [C99-based standards] (cerfcf): Likewise.
20658 [C99-based standards] (cexp2f): Likewise.
20659 [C99-based standards] (cexpm1f): Likewise.
20660 [C99-based standards] (clog10f): Likewise.
20661 [C99-based standards] (clog1pf): Likewise.
20662 [C99-based standards] (clog2f): Likewise.
20663 [C99-based standards] (clgammaf): Likewise.
20664 [C99-based standards] (ctgammaf): Likewise.
20665 [C99-based standards] (cerfl): Likewise.
20666 [C99-based standards] (cerfcl): Likewise.
20667 [C99-based standards] (cexp2l): Likewise.
20668 [C99-based standards] (cexpm1l): Likewise.
20669 [C99-based standards] (clog10l): Likewise.
20670 [C99-based standards] (clog1pl): Likewise.
20671 [C99-based standards] (clog2l): Likewise.
20672 [C99-based standards] (clgammal): Likewise.
20673 [C99-based standards] (ctgammal): Likewise.
20674 * conform/data/inttypes.h-data [C99-based standards]: Include
20675 stdint.h-data. Remove all expectations for stdint.h contents.
20676 [C99-based standards] (PRI*): Do not allow.
20677 [C99-based standards] (SCN*): Likewise.
20678 [C99-based standards] (*_t): Likewise.
20679 [C99-based-standards] (PRId8): Expect macro.
20680 [C99-based-standards] (PRIi8): Likewise.
20681 [C99-based-standards] (PRIo8): Likewise.
20682 [C99-based-standards] (PRIu8): Likewise.
20683 [C99-based-standards] (PRIx8): Likewise.
20684 [C99-based-standards] (PRIX8): Likewise.
20685 [C99-based-standards] (SCNd8): Likewise.
20686 [C99-based-standards] (SCNi8): Likewise.
20687 [C99-based-standards] (SCNo8): Likewise.
20688 [C99-based-standards] (SCNu8): Likewise.
20689 [C99-based-standards] (SCNx8): Likewise.
20690 [C99-based-standards] (PRIdLEAST8): Likewise.
20691 [C99-based-standards] (PRIiLEAST8): Likewise.
20692 [C99-based-standards] (PRIoLEAST8): Likewise.
20693 [C99-based-standards] (PRIuLEAST8): Likewise.
20694 [C99-based-standards] (PRIxLEAST8): Likewise.
20695 [C99-based-standards] (PRIXLEAST8): Likewise.
20696 [C99-based-standards] (SCNdLEAST8): Likewise.
20697 [C99-based-standards] (SCNiLEAST8): Likewise.
20698 [C99-based-standards] (SCNoLEAST8): Likewise.
20699 [C99-based-standards] (SCNuLEAST8): Likewise.
20700 [C99-based-standards] (SCNxLEAST8): Likewise.
20701 [C99-based-standards] (PRIdFAST8): Likewise.
20702 [C99-based-standards] (PRIiFAST8): Likewise.
20703 [C99-based-standards] (PRIoFAST8): Likewise.
20704 [C99-based-standards] (PRIuFAST8): Likewise.
20705 [C99-based-standards] (PRIxFAST8): Likewise.
20706 [C99-based-standards] (PRIXFAST8): Likewise.
20707 [C99-based-standards] (SCNdFAST8): Likewise.
20708 [C99-based-standards] (SCNiFAST8): Likewise.
20709 [C99-based-standards] (SCNoFAST8): Likewise.
20710 [C99-based-standards] (SCNuFAST8): Likewise.
20711 [C99-based-standards] (SCNxFAST8): Likewise.
20712 [C99-based-standards] (PRId16): Likewise.
20713 [C99-based-standards] (PRIi16): Likewise.
20714 [C99-based-standards] (PRIo16): Likewise.
20715 [C99-based-standards] (PRIu16): Likewise.
20716 [C99-based-standards] (PRIx16): Likewise.
20717 [C99-based-standards] (PRIX16): Likewise.
20718 [C99-based-standards] (SCNd16): Likewise.
20719 [C99-based-standards] (SCNi16): Likewise.
20720 [C99-based-standards] (SCNo16): Likewise.
20721 [C99-based-standards] (SCNu16): Likewise.
20722 [C99-based-standards] (SCNx16): Likewise.
20723 [C99-based-standards] (PRIdLEAST16): Likewise.
20724 [C99-based-standards] (PRIiLEAST16): Likewise.
20725 [C99-based-standards] (PRIoLEAST16): Likewise.
20726 [C99-based-standards] (PRIuLEAST16): Likewise.
20727 [C99-based-standards] (PRIxLEAST16): Likewise.
20728 [C99-based-standards] (PRIXLEAST16): Likewise.
20729 [C99-based-standards] (SCNdLEAST16): Likewise.
20730 [C99-based-standards] (SCNiLEAST16): Likewise.
20731 [C99-based-standards] (SCNoLEAST16): Likewise.
20732 [C99-based-standards] (SCNuLEAST16): Likewise.
20733 [C99-based-standards] (SCNxLEAST16): Likewise.
20734 [C99-based-standards] (PRIdFAST16): Likewise.
20735 [C99-based-standards] (PRIiFAST16): Likewise.
20736 [C99-based-standards] (PRIoFAST16): Likewise.
20737 [C99-based-standards] (PRIuFAST16): Likewise.
20738 [C99-based-standards] (PRIxFAST16): Likewise.
20739 [C99-based-standards] (PRIXFAST16): Likewise.
20740 [C99-based-standards] (SCNdFAST16): Likewise.
20741 [C99-based-standards] (SCNiFAST16): Likewise.
20742 [C99-based-standards] (SCNoFAST16): Likewise.
20743 [C99-based-standards] (SCNuFAST16): Likewise.
20744 [C99-based-standards] (SCNxFAST16): Likewise.
20745 [C99-based-standards] (PRId32): Likewise.
20746 [C99-based-standards] (PRIi32): Likewise.
20747 [C99-based-standards] (PRIo32): Likewise.
20748 [C99-based-standards] (PRIu32): Likewise.
20749 [C99-based-standards] (PRIx32): Likewise.
20750 [C99-based-standards] (PRIX32): Likewise.
20751 [C99-based-standards] (SCNd32): Likewise.
20752 [C99-based-standards] (SCNi32): Likewise.
20753 [C99-based-standards] (SCNo32): Likewise.
20754 [C99-based-standards] (SCNu32): Likewise.
20755 [C99-based-standards] (SCNx32): Likewise.
20756 [C99-based-standards] (PRIdLEAST32): Likewise.
20757 [C99-based-standards] (PRIiLEAST32): Likewise.
20758 [C99-based-standards] (PRIoLEAST32): Likewise.
20759 [C99-based-standards] (PRIuLEAST32): Likewise.
20760 [C99-based-standards] (PRIxLEAST32): Likewise.
20761 [C99-based-standards] (PRIXLEAST32): Likewise.
20762 [C99-based-standards] (SCNdLEAST32): Likewise.
20763 [C99-based-standards] (SCNiLEAST32): Likewise.
20764 [C99-based-standards] (SCNoLEAST32): Likewise.
20765 [C99-based-standards] (SCNuLEAST32): Likewise.
20766 [C99-based-standards] (SCNxLEAST32): Likewise.
20767 [C99-based-standards] (PRIdFAST32): Likewise.
20768 [C99-based-standards] (PRIiFAST32): Likewise.
20769 [C99-based-standards] (PRIoFAST32): Likewise.
20770 [C99-based-standards] (PRIuFAST32): Likewise.
20771 [C99-based-standards] (PRIxFAST32): Likewise.
20772 [C99-based-standards] (PRIXFAST32): Likewise.
20773 [C99-based-standards] (SCNdFAST32): Likewise.
20774 [C99-based-standards] (SCNiFAST32): Likewise.
20775 [C99-based-standards] (SCNoFAST32): Likewise.
20776 [C99-based-standards] (SCNuFAST32): Likewise.
20777 [C99-based-standards] (SCNxFAST32): Likewise.
20778 [C99-based-standards] (PRId64): Likewise.
20779 [C99-based-standards] (PRIi64): Likewise.
20780 [C99-based-standards] (PRIo64): Likewise.
20781 [C99-based-standards] (PRIu64): Likewise.
20782 [C99-based-standards] (PRIx64): Likewise.
20783 [C99-based-standards] (PRIX64): Likewise.
20784 [C99-based-standards] (SCNd64): Likewise.
20785 [C99-based-standards] (SCNi64): Likewise.
20786 [C99-based-standards] (SCNo64): Likewise.
20787 [C99-based-standards] (SCNu64): Likewise.
20788 [C99-based-standards] (SCNx64): Likewise.
20789 [C99-based-standards] (PRIdLEAST64): Likewise.
20790 [C99-based-standards] (PRIiLEAST64): Likewise.
20791 [C99-based-standards] (PRIoLEAST64): Likewise.
20792 [C99-based-standards] (PRIuLEAST64): Likewise.
20793 [C99-based-standards] (PRIxLEAST64): Likewise.
20794 [C99-based-standards] (PRIXLEAST64): Likewise.
20795 [C99-based-standards] (SCNdLEAST64): Likewise.
20796 [C99-based-standards] (SCNiLEAST64): Likewise.
20797 [C99-based-standards] (SCNoLEAST64): Likewise.
20798 [C99-based-standards] (SCNuLEAST64): Likewise.
20799 [C99-based-standards] (SCNxLEAST64): Likewise.
20800 [C99-based-standards] (PRIdFAST64): Likewise.
20801 [C99-based-standards] (PRIiFAST64): Likewise.
20802 [C99-based-standards] (PRIoFAST64): Likewise.
20803 [C99-based-standards] (PRIuFAST64): Likewise.
20804 [C99-based-standards] (PRIxFAST64): Likewise.
20805 [C99-based-standards] (PRIXFAST64): Likewise.
20806 [C99-based-standards] (SCNdFAST64): Likewise.
20807 [C99-based-standards] (SCNiFAST64): Likewise.
20808 [C99-based-standards] (SCNoFAST64): Likewise.
20809 [C99-based-standards] (SCNuFAST64): Likewise.
20810 [C99-based-standards] (SCNxFAST64): Likewise.
20811 [C99-based-standards] (PRIdMAX): Likewise.
20812 [C99-based-standards] (PRIiMAX): Likewise.
20813 [C99-based-standards] (PRIoMAX): Likewise.
20814 [C99-based-standards] (PRIuMAX): Likewise.
20815 [C99-based-standards] (PRIxMAX): Likewise.
20816 [C99-based-standards] (PRIXMAX): Likewise.
20817 [C99-based-standards] (SCNdMAX): Likewise.
20818 [C99-based-standards] (SCNiMAX): Likewise.
20819 [C99-based-standards] (SCNoMAX): Likewise.
20820 [C99-based-standards] (SCNuMAX): Likewise.
20821 [C99-based-standards] (SCNxMAX): Likewise.
20822 [C99-based-standards] (PRIdPTR): Likewise.
20823 [C99-based-standards] (PRIiPTR): Likewise.
20824 [C99-based-standards] (PRIoPTR): Likewise.
20825 [C99-based-standards] (PRIuPTR): Likewise.
20826 [C99-based-standards] (PRIxPTR): Likewise.
20827 [C99-based-standards] (PRIXPTR): Likewise.
20828 [C99-based-standards] (SCNdPTR): Likewise.
20829 [C99-based-standards] (SCNiPTR): Likewise.
20830 [C99-based-standards] (SCNoPTR): Likewise.
20831 [C99-based-standards] (SCNuPTR): Likewise.
20832 [C99-based-standards] (SCNxPTR): Likewise.
20833 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20834 allow.
20835 * conform/data/stdint.h-data: Update comments to clarify
20836 requirements.
20837 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20838 type.
20839 [C99-based standards] (INT8_MAX): Likewise.
20840 [C99-based standards] (INT16_MIN): Likewise.
20841 [C99-based standards] (INT16_MAX): Likewise.
20842 [C99-based standards] (INT32_MIN): Likewise.
20843 [C99-based standards] (INT32_MAX): Likewise.
20844 [C99-based standards] (INT64_MIN): Likewise.
20845 [C99-based standards] (INT64_MAX): Likewise.
20846 [C99-based standards] (UINT8_MAX): Likewise.
20847 [C99-based standards] (UINT16_MAX): Likewise.
20848 [C99-based standards] (UINT32_MAX): Likewise.
20849 [C99-based standards] (UINT64_MAX): Likewise.
20850 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20851 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20852 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20853 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20854 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20855 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20856 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20857 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20858 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20859 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20860 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20861 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20862 [C99-based standards] (INT_FAST8_MIN): Likewise.
20863 [C99-based standards] (INT_FAST8_MAX): Likewise.
20864 [C99-based standards] (INT_FAST16_MIN): Likewise.
20865 [C99-based standards] (INT_FAST16_MAX): Likewise.
20866 [C99-based standards] (INT_FAST32_MIN): Likewise.
20867 [C99-based standards] (INT_FAST32_MAX): Likewise.
20868 [C99-based standards] (INT_FAST64_MIN): Likewise.
20869 [C99-based standards] (INT_FAST64_MAX): Likewise.
20870 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20871 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20872 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20873 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20874 [C99-based standards] (INTPTR_MIN): Likewise.
20875 [C99-based standards] (INTPTR_MAX): Likewise.
20876 [C99-based standards] (UINTPTR_MAX): Likewise.
20877 [C99-based standards] (INTMAX_MIN): Likewise.
20878 [C99-based standards] (INTMAX_MAX): Likewise.
20879 [C99-based standards] (UINTMAX_MAX): Likewise.
20880 [C99-based standards] (PTRDIFF_MIN): Likewise.
20881 [C99-based standards] (PTRDIFF_MAX): Likewise.
20882 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20883 [C99-based standards] (SIZE_MAX): Likewise.
20884 [C99-based standards] (WCHAR_MAX): Likewise.
20885 [C99-based standards] (WINT_MAX): Likewise.
20886 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20887 constraint on value.
20888 [C99-based standards] (WCHAR_MIN): Likewise.
20889 [C99-based standards] (WINT_MIN): Likewise.
20890 [C99-based standards] (*_t): Allow.
20891 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20892 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20893 Include math.h-data and complex.h-data. Remove all expectations
20894 of math.h and complex.h contents.
20895 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20896 at end of line.
20897 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20898 (struct tm): Expect tag.
20899 [C99-based-standards] (wcstof): Expect function.
20900 [C99-based-standards] (wcstold): Likewise.
20901 [C99-based-standards] (wcstoll): Likewise.
20902 [C99-based-standards] (wcstoull): Likewise.
20903 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20904 macro-int-constant. Specify type.
20905 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20906 constraint on value.
20907 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20908 Specify type.
20909 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20910 Specify value.
20911 [ISO C standards]: Do not allow headers.
20912 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20913 wcs[abcdefghijklmnopqrstuvwxyz]*.
20914 [ISO C standards] (*_t): Do not allow.
20915 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20916 Expect function.
20917 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20918 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20919 Specify type.
20920 [ISO C standards]: Do not allow headers.
20921 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20922 is[abcdefghijklmnopqrstuvwxyz]*.
20923 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20924 to[abcdefghijklmnopqrstuvwxyz]*.
20925 [ISO C standards] (*_t): Do not allow.
20926 * conform/data/stdalign.h-data: New file.
20927 * conform/data/stdbool.h-data: Likewise.
20928 * conform/data/stdnoreturn.h-data: Likewise.
20929
7514feb8
RM
209302012-11-07 Roland McGrath <roland@hack.frob.com>
20931
20932 [BZ #14815]
20933 * manual/filesys.texi (Directory Entries): Typo fix.
20934 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20935
19b2ecfc
MS
209362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20937
20938 * elf/elf.h (EM_AARCH64): New macro.
20939 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20940 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20941 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20942 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20943 (R_AARCH64_TLSDESC): Likewise.
20944 (NT_ARM_TLS): Likewise.
20945 (NT_ARM_HW_BREAK): Likewise.
20946 (NT_ARM_HW_WATCH): Likewise.
20947
60e235ee
JM
209482012-11-07 Joseph Myers <joseph@codesourcery.com>
20949
20950 [BZ #14811]
20951 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20952 (__ieee754_powl): Saturate nonzero exponents with absolute value
20953 below 0x1p-79 to +/- 0x1p-79.
20954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20955 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20956 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20957 nonzero exponents with absolute value below 0x1p-32 to +/-
20958 0x1p-32.
20959 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20960 (__ieee754_powl): Saturate nonzero exponents with absolute value
20961 below 0x1p-79 to +/- 0x1p-79.
20962 * math/libm-test.inc (pow_test): Add more tests.
20963
0ab234b7
AK
209642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20965
20966 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20967 _dl_s390_cap_flags with kernel. Increase string length.
20968 (_dl_s390_platforms): Add z196 and zEC12.
20969
45832f74
JM
209702012-11-07 Joseph Myers <joseph@codesourcery.com>
20971
20972 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20973 Change XOPEN21K to XOPEN2K.
20974
19218757
MK
209752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20976
20977 * string/memmove.c: Use memcpy when possible.
20978
c5f45721
AJ
209792012-11-06 Andreas Jaeger <aj@suse.de>
20980
20981 * po/eo.po: Update from translation team.
20982
82477c28
JM
209832012-11-06 Joseph Myers <joseph@codesourcery.com>
20984
20985 [BZ #14793]
20986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20987 exponent and small x and y exponents, scale x or y up. Increase
20988 by 2 the exponent used in scaling up.
20989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20990 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20991 * math/libm-test.inc (fma_test): Add more tests.
20992 (fma_test_towardzero): Likewise.
20993 (fma_test_downward): Likewise.
20994 (fma_test_upward): Likewise.
20995
99252c8c
JM
209962012-11-05 Joseph Myers <joseph@codesourcery.com>
20997
acfa885f
JM
20998 [BZ #14805]
20999 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21000 fenv_t *.
21001
99252c8c
JM
21002 [BZ #14801]
21003 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21004 namespace for names of struct fields.
21005 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21006 fenv_t fields.
21007 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21008 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21009
d6d98dea
ST
210102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21011
21012 [BZ #3665]
21013 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21014
e10bb107
TS
210152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21016
21017 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21018 PTR_DEMANGLE.
21019
21020 [BZ #5246]
21021 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21022 PTR_DEMANGLE.
21023
a0c2940d
JM
210242012-11-04 Joseph Myers <joseph@codesourcery.com>
21025
21026 [BZ #14797]
21027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21028 definitely overflow as x * y not x * y + z.
21029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21031 * math/libm-test.inc (fma_test): Add more tests.
21032 (fma_test_towardzero): Likewise.
21033 (fma_test_downward): Likewise.
21034 (fma_test_upward): Likewise.
21035
b830319d
TS
210362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21037
21038 [BZ #157]
21039
21040 * include/stub-tag.h: Remove file.
21041 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21042 '#include' of it.
21043 * manual/maint.texi (Porting): Don't reference it.
21044 * Makerules ($(objpfx)stubs): Likewise.
21045 * dirent/closedir.c: Don't include <stub-tag.h>.
21046 * dirent/dirfd.c: Likewise.
21047 * dirent/fdopendir.c: Likewise.
21048 * dirent/getdents.c: Likewise.
21049 * dirent/getdents64.c: Likewise.
21050 * dirent/opendir.c: Likewise.
21051 * dirent/readdir.c: Likewise.
21052 * dirent/readdir64.c: Likewise.
21053 * dirent/readdir64_r.c: Likewise.
21054 * dirent/readdir_r.c: Likewise.
21055 * dirent/rewinddir.c: Likewise.
21056 * dirent/seekdir.c: Likewise.
21057 * dirent/telldir.c: Likewise.
21058 * gmon/profil.c: Likewise.
21059 * grp/setgroups.c: Likewise.
21060 * inet/if_index.c: Likewise.
21061 * io/access.c: Likewise.
21062 * io/chdir.c: Likewise.
21063 * io/chmod.c: Likewise.
21064 * io/chown.c: Likewise.
21065 * io/close.c: Likewise.
21066 * io/dup.c: Likewise.
21067 * io/dup2.c: Likewise.
21068 * io/dup3.c: Likewise.
21069 * io/euidaccess.c: Likewise.
21070 * io/faccessat.c: Likewise.
21071 * io/fchdir.c: Likewise.
21072 * io/fchmod.c: Likewise.
21073 * io/fchmodat.c: Likewise.
21074 * io/fchown.c: Likewise.
21075 * io/fchownat.c: Likewise.
21076 * io/fcntl.c: Likewise.
21077 * io/flock.c: Likewise.
21078 * io/fstatfs.c: Likewise.
21079 * io/fstatfs64.c: Likewise.
21080 * io/fstatvfs.c: Likewise.
21081 * io/fstatvfs64.c: Likewise.
21082 * io/futimens.c: Likewise.
21083 * io/fxstat.c: Likewise.
21084 * io/fxstat64.c: Likewise.
21085 * io/fxstatat.c: Likewise.
21086 * io/fxstatat64.c: Likewise.
21087 * io/getcwd.c: Likewise.
21088 * io/isatty.c: Likewise.
21089 * io/lchmod.c: Likewise.
21090 * io/lchown.c: Likewise.
21091 * io/link.c: Likewise.
21092 * io/linkat.c: Likewise.
21093 * io/lseek.c: Likewise.
21094 * io/lseek64.c: Likewise.
21095 * io/lxstat64.c: Likewise.
21096 * io/mkdir.c: Likewise.
21097 * io/mkdirat.c: Likewise.
21098 * io/mkfifo.c: Likewise.
21099 * io/mkfifoat.c: Likewise.
21100 * io/open.c: Likewise.
21101 * io/open64.c: Likewise.
21102 * io/openat.c: Likewise.
21103 * io/openat64.c: Likewise.
21104 * io/pipe.c: Likewise.
21105 * io/pipe2.c: Likewise.
21106 * io/poll.c: Likewise.
21107 * io/posix_fadvise.c: Likewise.
21108 * io/posix_fadvise64.c: Likewise.
21109 * io/posix_fallocate.c: Likewise.
21110 * io/posix_fallocate64.c: Likewise.
21111 * io/read.c: Likewise.
21112 * io/readlink.c: Likewise.
21113 * io/readlinkat.c: Likewise.
21114 * io/rmdir.c: Likewise.
21115 * io/sendfile.c: Likewise.
21116 * io/sendfile64.c: Likewise.
21117 * io/statfs.c: Likewise.
21118 * io/statfs64.c: Likewise.
21119 * io/statvfs.c: Likewise.
21120 * io/statvfs64.c: Likewise.
21121 * io/symlink.c: Likewise.
21122 * io/symlinkat.c: Likewise.
21123 * io/ttyname.c: Likewise.
21124 * io/ttyname_r.c: Likewise.
21125 * io/umask.c: Likewise.
21126 * io/unlink.c: Likewise.
21127 * io/unlinkat.c: Likewise.
21128 * io/utime.c: Likewise.
21129 * io/utimensat.c: Likewise.
21130 * io/write.c: Likewise.
21131 * io/xmknod.c: Likewise.
21132 * io/xmknodat.c: Likewise.
21133 * io/xstat.c: Likewise.
21134 * io/xstat64.c: Likewise.
21135 * login/getpt.c: Likewise.
21136 * login/grantpt.c: Likewise.
21137 * login/unlockpt.c: Likewise.
21138 * math/e_acoshl.c: Likewise.
21139 * math/e_acosl.c: Likewise.
21140 * math/e_asinl.c: Likewise.
21141 * math/e_atan2l.c: Likewise.
21142 * math/e_atanhl.c: Likewise.
21143 * math/e_coshl.c: Likewise.
21144 * math/e_expl.c: Likewise.
21145 * math/e_fmodl.c: Likewise.
21146 * math/e_gammal_r.c: Likewise.
21147 * math/e_hypotl.c: Likewise.
21148 * math/e_j0l.c: Likewise.
21149 * math/e_j1l.c: Likewise.
21150 * math/e_jnl.c: Likewise.
21151 * math/e_lgammal_r.c: Likewise.
21152 * math/e_log10l.c: Likewise.
21153 * math/e_log2l.c: Likewise.
21154 * math/e_logl.c: Likewise.
21155 * math/e_powl.c: Likewise.
21156 * math/e_rem_pio2l.c: Likewise.
21157 * math/e_sinhl.c: Likewise.
21158 * math/e_sqrtl.c: Likewise.
21159 * math/fclrexcpt.c: Likewise.
21160 * math/fedisblxcpt.c: Likewise.
21161 * math/feenablxcpt.c: Likewise.
21162 * math/fegetenv.c: Likewise.
21163 * math/fegetexcept.c: Likewise.
21164 * math/fegetround.c: Likewise.
21165 * math/feholdexcpt.c: Likewise.
21166 * math/fesetenv.c: Likewise.
21167 * math/fesetround.c: Likewise.
21168 * math/feupdateenv.c: Likewise.
21169 * math/fgetexcptflg.c: Likewise.
21170 * math/fraiseexcpt.c: Likewise.
21171 * math/fsetexcptflg.c: Likewise.
21172 * math/ftestexcept.c: Likewise.
21173 * math/k_cosl.c: Likewise.
21174 * math/k_rem_pio2l.c: Likewise.
21175 * math/k_sinl.c: Likewise.
21176 * math/k_tanl.c: Likewise.
21177 * math/s_asinhl.c: Likewise.
21178 * math/s_atanl.c: Likewise.
21179 * math/s_cbrtl.c: Likewise.
21180 * math/s_erfl.c: Likewise.
21181 * math/s_expm1l.c: Likewise.
21182 * math/s_log1pl.c: Likewise.
21183 * math/s_tanhl.c: Likewise.
21184 * misc/acct.c: Likewise.
21185 * misc/brk.c: Likewise.
21186 * misc/chflags.c: Likewise.
21187 * misc/chroot.c: Likewise.
21188 * misc/fchflags.c: Likewise.
21189 * misc/fgetxattr.c: Likewise.
21190 * misc/flistxattr.c: Likewise.
21191 * misc/fremovexattr.c: Likewise.
21192 * misc/fsetxattr.c: Likewise.
21193 * misc/fsync.c: Likewise.
21194 * misc/ftruncate.c: Likewise.
21195 * misc/futimes.c: Likewise.
21196 * misc/futimesat.c: Likewise.
21197 * misc/getdomain.c: Likewise.
21198 * misc/getdtsz.c: Likewise.
21199 * misc/gethostid.c: Likewise.
21200 * misc/gethostname.c: Likewise.
21201 * misc/getloadavg.c: Likewise.
21202 * misc/getpagesize.c: Likewise.
21203 * misc/getsysstats.c: Likewise.
21204 * misc/getxattr.c: Likewise.
21205 * misc/gtty.c: Likewise.
21206 * misc/ioctl.c: Likewise.
21207 * misc/lgetxattr.c: Likewise.
21208 * misc/listxattr.c: Likewise.
21209 * misc/llistxattr.c: Likewise.
21210 * misc/lremovexattr.c: Likewise.
21211 * misc/lsetxattr.c: Likewise.
21212 * misc/lutimes.c: Likewise.
21213 * misc/madvise.c: Likewise.
21214 * misc/mincore.c: Likewise.
21215 * misc/mlock.c: Likewise.
21216 * misc/mlockall.c: Likewise.
21217 * misc/mmap.c: Likewise.
21218 * misc/mprotect.c: Likewise.
21219 * misc/msync.c: Likewise.
21220 * misc/munlock.c: Likewise.
21221 * misc/munlockall.c: Likewise.
21222 * misc/munmap.c: Likewise.
21223 * misc/preadv.c: Likewise.
21224 * misc/preadv64.c: Likewise.
21225 * misc/ptrace.c: Likewise.
21226 * misc/pwritev.c: Likewise.
21227 * misc/pwritev64.c: Likewise.
21228 * misc/readv.c: Likewise.
21229 * misc/reboot.c: Likewise.
21230 * misc/remap_file_pages.c: Likewise.
21231 * misc/removexattr.c: Likewise.
21232 * misc/revoke.c: Likewise.
21233 * misc/select.c: Likewise.
21234 * misc/setdomain.c: Likewise.
21235 * misc/setegid.c: Likewise.
21236 * misc/seteuid.c: Likewise.
21237 * misc/sethostid.c: Likewise.
21238 * misc/sethostname.c: Likewise.
21239 * misc/setregid.c: Likewise.
21240 * misc/setreuid.c: Likewise.
21241 * misc/setxattr.c: Likewise.
21242 * misc/sstk.c: Likewise.
21243 * misc/stty.c: Likewise.
21244 * misc/swapoff.c: Likewise.
21245 * misc/swapon.c: Likewise.
21246 * misc/sync.c: Likewise.
21247 * misc/syncfs.c: Likewise.
21248 * misc/syscall.c: Likewise.
21249 * misc/truncate.c: Likewise.
21250 * misc/ualarm.c: Likewise.
21251 * misc/usleep.c: Likewise.
21252 * misc/ustat.c: Likewise.
21253 * misc/utimes.c: Likewise.
21254 * misc/vhangup.c: Likewise.
21255 * misc/writev.c: Likewise.
21256 * posix/_exit.c: Likewise.
21257 * posix/alarm.c: Likewise.
21258 * posix/execve.c: Likewise.
21259 * posix/fexecve.c: Likewise.
21260 * posix/fork.c: Likewise.
21261 * posix/fpathconf.c: Likewise.
21262 * posix/getaddrinfo.c: Likewise.
21263 * posix/getegid.c: Likewise.
21264 * posix/geteuid.c: Likewise.
21265 * posix/getgid.c: Likewise.
21266 * posix/getgroups.c: Likewise.
21267 * posix/getlogin.c: Likewise.
21268 * posix/getlogin_r.c: Likewise.
21269 * posix/getpgid.c: Likewise.
21270 * posix/getpid.c: Likewise.
21271 * posix/getppid.c: Likewise.
21272 * posix/getresgid.c: Likewise.
21273 * posix/getresuid.c: Likewise.
21274 * posix/getsid.c: Likewise.
21275 * posix/getuid.c: Likewise.
21276 * posix/glob64.c: Likewise.
21277 * posix/nanosleep.c: Likewise.
21278 * posix/pathconf.c: Likewise.
21279 * posix/pause.c: Likewise.
21280 * posix/posix_madvise.c: Likewise.
21281 * posix/pread.c: Likewise.
21282 * posix/pread64.c: Likewise.
21283 * posix/pwrite.c: Likewise.
21284 * posix/pwrite64.c: Likewise.
21285 * posix/sched_getaffinity.c: Likewise.
21286 * posix/sched_getp.c: Likewise.
21287 * posix/sched_gets.c: Likewise.
21288 * posix/sched_primax.c: Likewise.
21289 * posix/sched_primin.c: Likewise.
21290 * posix/sched_rr_gi.c: Likewise.
21291 * posix/sched_setaffinity.c: Likewise.
21292 * posix/sched_setp.c: Likewise.
21293 * posix/sched_sets.c: Likewise.
21294 * posix/sched_yield.c: Likewise.
21295 * posix/setgid.c: Likewise.
21296 * posix/setlogin.c: Likewise.
21297 * posix/setpgid.c: Likewise.
21298 * posix/setresgid.c: Likewise.
21299 * posix/setresuid.c: Likewise.
21300 * posix/setsid.c: Likewise.
21301 * posix/setuid.c: Likewise.
21302 * posix/sleep.c: Likewise.
21303 * posix/spawni.c: Likewise.
21304 * posix/sysconf.c: Likewise.
21305 * posix/times.c: Likewise.
21306 * posix/wait.c: Likewise.
21307 * posix/wait3.c: Likewise.
21308 * posix/wait4.c: Likewise.
21309 * posix/waitpid.c: Likewise.
21310 * resolv/gai_sigqueue.c: Likewise.
21311 * resource/getpriority.c: Likewise.
21312 * resource/getrlimit.c: Likewise.
21313 * resource/getrusage.c: Likewise.
21314 * resource/nice.c: Likewise.
21315 * resource/setpriority.c: Likewise.
21316 * resource/setrlimit.c: Likewise.
21317 * resource/ulimit.c: Likewise.
21318 * rt/aio_cancel.c: Likewise.
21319 * rt/aio_fsync.c: Likewise.
21320 * rt/aio_read.c: Likewise.
21321 * rt/aio_sigqueue.c: Likewise.
21322 * rt/aio_suspend.c: Likewise.
21323 * rt/aio_write.c: Likewise.
21324 * rt/clock_getres.c: Likewise.
21325 * rt/clock_gettime.c: Likewise.
21326 * rt/clock_nanosleep.c: Likewise.
21327 * rt/clock_settime.c: Likewise.
21328 * rt/lio_listio.c: Likewise.
21329 * rt/mq_close.c: Likewise.
21330 * rt/mq_getattr.c: Likewise.
21331 * rt/mq_notify.c: Likewise.
21332 * rt/mq_open.c: Likewise.
21333 * rt/mq_receive.c: Likewise.
21334 * rt/mq_send.c: Likewise.
21335 * rt/mq_setattr.c: Likewise.
21336 * rt/mq_timedreceive.c: Likewise.
21337 * rt/mq_timedsend.c: Likewise.
21338 * rt/mq_unlink.c: Likewise.
21339 * rt/shm_open.c: Likewise.
21340 * rt/shm_unlink.c: Likewise.
21341 * rt/timer_create.c: Likewise.
21342 * rt/timer_delete.c: Likewise.
21343 * rt/timer_getoverr.c: Likewise.
21344 * rt/timer_gettime.c: Likewise.
21345 * rt/timer_settime.c: Likewise.
21346 * setjmp/__longjmp.c: Likewise.
21347 * setjmp/setjmp.c: Likewise.
21348 * signal/kill.c: Likewise.
21349 * signal/killpg.c: Likewise.
21350 * signal/raise.c: Likewise.
21351 * signal/sigaction.c: Likewise.
21352 * signal/sigaltstack.c: Likewise.
21353 * signal/sigblock.c: Likewise.
21354 * signal/sigignore.c: Likewise.
21355 * signal/sigintr.c: Likewise.
21356 * signal/signal.c: Likewise.
21357 * signal/sigpause.c: Likewise.
21358 * signal/sigpending.c: Likewise.
21359 * signal/sigqueue.c: Likewise.
21360 * signal/sigreturn.c: Likewise.
21361 * signal/sigset.c: Likewise.
21362 * signal/sigsetmask.c: Likewise.
21363 * signal/sigstack.c: Likewise.
21364 * signal/sigsuspend.c: Likewise.
21365 * signal/sigtimedwait.c: Likewise.
21366 * signal/sigvec.c: Likewise.
21367 * signal/sigwait.c: Likewise.
21368 * signal/sigwaitinfo.c: Likewise.
21369 * signal/sysv_signal.c: Likewise.
21370 * socket/accept.c: Likewise.
21371 * socket/accept4.c: Likewise.
21372 * socket/bind.c: Likewise.
21373 * socket/connect.c: Likewise.
21374 * socket/getpeername.c: Likewise.
21375 * socket/getsockname.c: Likewise.
21376 * socket/getsockopt.c: Likewise.
21377 * socket/isfdtype.c: Likewise.
21378 * socket/listen.c: Likewise.
21379 * socket/recv.c: Likewise.
21380 * socket/recvfrom.c: Likewise.
21381 * socket/recvmsg.c: Likewise.
21382 * socket/send.c: Likewise.
21383 * socket/sendmsg.c: Likewise.
21384 * socket/sendto.c: Likewise.
21385 * socket/setsockopt.c: Likewise.
21386 * socket/shutdown.c: Likewise.
21387 * socket/sockatmark.c: Likewise.
21388 * socket/socket.c: Likewise.
21389 * socket/socketpair.c: Likewise.
21390 * stdio-common/ctermid.c: Likewise.
21391 * stdio-common/cuserid.c: Likewise.
21392 * stdio-common/remove.c: Likewise.
21393 * stdio-common/rename.c: Likewise.
21394 * stdio-common/renameat.c: Likewise.
21395 * stdio-common/tempname.c: Likewise.
21396 * stdlib/getcontext.c: Likewise.
21397 * stdlib/makecontext.c: Likewise.
21398 * stdlib/setcontext.c: Likewise.
21399 * stdlib/swapcontext.c: Likewise.
21400 * stdlib/system.c: Likewise.
21401 * streams/fattach.c: Likewise.
21402 * streams/fdetach.c: Likewise.
21403 * streams/getmsg.c: Likewise.
21404 * streams/getpmsg.c: Likewise.
21405 * streams/putmsg.c: Likewise.
21406 * streams/putpmsg.c: Likewise.
21407 * sysdeps/unix/bsd/getpt.c: Likewise.
21408 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21409 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21410 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21412 Likewise.
21413 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21414 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21415 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21416 * sysvipc/msgctl.c: Likewise.
21417 * sysvipc/msgget.c: Likewise.
21418 * sysvipc/msgrcv.c: Likewise.
21419 * sysvipc/msgsnd.c: Likewise.
21420 * sysvipc/semctl.c: Likewise.
21421 * sysvipc/semget.c: Likewise.
21422 * sysvipc/semop.c: Likewise.
21423 * sysvipc/semtimedop.c: Likewise.
21424 * sysvipc/shmat.c: Likewise.
21425 * sysvipc/shmctl.c: Likewise.
21426 * sysvipc/shmdt.c: Likewise.
21427 * sysvipc/shmget.c: Likewise.
21428 * termios/tcdrain.c: Likewise.
21429 * termios/tcflow.c: Likewise.
21430 * termios/tcflush.c: Likewise.
21431 * termios/tcgetattr.c: Likewise.
21432 * termios/tcgetpgrp.c: Likewise.
21433 * termios/tcsendbrk.c: Likewise.
21434 * termios/tcsetattr.c: Likewise.
21435 * termios/tcsetpgrp.c: Likewise.
21436 * time/adjtime.c: Likewise.
21437 * time/clock.c: Likewise.
21438 * time/getitimer.c: Likewise.
21439 * time/gettimeofday.c: Likewise.
21440 * time/setitimer.c: Likewise.
21441 * time/settimeofday.c: Likewise.
21442 * time/stime.c: Likewise.
21443 * time/time.c: Likewise.
21444
214452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21446
a20492cf
PT
21447 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21448 /usr/old/bin.
21449
72e182e3
PT
21450 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21451 instead of spaces.
21452 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21453
fbeafede
JM
214542012-11-03 Joseph Myers <joseph@codesourcery.com>
21455
5b5b04d6
JM
21456 [BZ #14796]
21457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21458 FE_TONEAREST before applying Dekker multiplication and Knuth
21459 addition. Clear inexact exceptions and check for exact zero
21460 results afterwards.
21461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21462 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21464 * math/libm-test.inc (fma_test): Add more tests.
21465 (fma_test_towardzero): Likewise.
21466 (fma_test_downward): Likewise.
21467 (fma_test_upward): Likewise.
21468 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21469 function.
21470 (libc_fesetround): New macro.
21471 (libc_fesetroundf): Likewise.
21472 (libc_fesetroundl): Likewise.
21473 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21474 function.
21475 (libc_fesetround_387): Likewise.
21476 (libc_fesetroundf): New macro.
21477 (libc_fesetround): Likewise.
21478 (libc_fesetroundl): Likewise.
21479 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21480 function.
21481 (libc_fesetroundf): New macro.
21482 (libc_fesetround): Likewise.
21483 (libc_fesetroundl): Likewise.
21484 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21485 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21486 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21487 libm_hidden_ver.
21488 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21489 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21490 libm_hidden_def.
21491 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21492 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21493 libm_hidden_ver.
21494 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21495 libm_hidden_def.
21496
fbeafede
JM
21497 [BZ #3439]
21498 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21499 integer constant usable in #if and use that to give value to enum
21500 constant.
21501 (FE_DIVBYZERO): Likewise.
21502 (FE_UNDERFLOW): Likewise.
21503 (FE_OVERFLOW): Likewise.
21504 (FE_INVALID): Likewise.
21505 (FE_INVALID_SNAN): Likewise.
21506 (FE_INVALID_ISI): Likewise.
21507 (FE_INVALID_IDI): Likewise.
21508 (FE_INVALID_ZDZ): Likewise.
21509 (FE_INVALID_IMZ): Likewise.
21510 (FE_INVALID_COMPARE): Likewise.
21511 (FE_INVALID_SOFTWARE): Likewise.
21512 (FE_INVALID_SQRT): Likewise.
21513 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21514 (FE_TONEAREST): Likewise.
21515 (FE_TOWARDZERO): Likewise.
21516 (FE_UPWARD): Likewise.
21517 (FE_DOWNWARD): Likewise.
21518 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21519 (FE_DIVBYZERO): Likewise.
21520 (FE_OVERFLOW): Likewise.
21521 (FE_UNDERFLOW): Likewise.
21522 (FE_INEXACT): Likewise.
21523 (FE_TONEAREST): Likewise.
21524 (FE_DOWNWARD): Likewise.
21525 (FE_UPWARD): Likewise.
21526 (FE_TOWARDZERO): Likewise.
21527 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21528 (FE_UNDERFLOW): Likewise.
21529 (FE_OVERFLOW): Likewise.
21530 (FE_DIVBYZERO): Likewise.
21531 (FE_INVALID): Likewise.
21532 (FE_TONEAREST): Likewise.
21533 (FE_TOWARDZERO): Likewise.
21534 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21535 (FE_OVERFLOW): Likewise.
21536 (FE_UNDERFLOW): Likewise.
21537 (FE_DIVBYZERO): Likewise.
21538 (FE_INEXACT): Likewise.
21539 (FE_TONEAREST): Likewise.
21540 (FE_TOWARDZERO): Likewise.
21541 (FE_UPWARD): Likewise.
21542 (FE_DOWNWARD): Likewise.
21543 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21544 (FE_DIVBYZERO): Likewise.
21545 (FE_OVERFLOW): Likewise.
21546 (FE_UNDERFLOW): Likewise.
21547 (FE_INEXACT): Likewise.
21548 (FE_TONEAREST): Likewise.
21549 (FE_DOWNWARD): Likewise.
21550 (FE_UPWARD): Likewise.
21551 (FE_TOWARDZERO): Likewise.
21552
105ca950
CM
215532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21554
21555 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21556
a542b389
AS
215572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21558
21559 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21560 commands. Quote $PWD.
21561 (blacklist_exports): Don't use remove_newlines. Replace "declare
21562 -x" by "export".
21563 (remove_newlines): Remove.
21564
f62c8abc
L
215652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21566
21567 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21568 * stdlib/stdlib.h (atof): Moved to ...
21569 * include/bits/stdlib-float.h: Here. New file.
21570 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21571 * stdlib/bits/stdlib-float.h: New file.
21572 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21573 -mno-sse -mno-mmx.
21574 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21575 <xmmintrin.h>.
21576
0155d5b2
JM
215772012-11-02 Joseph Myers <joseph@codesourcery.com>
21578
a68d0680
JM
21579 * conform/conformtest.pl (@headers): Add fenv.h.
21580 * conform/data/fenv.h-data: New file.
21581 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21582 include of <math/fenv.h>.
21583
caf7f573
JM
21584 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21585 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21586 && !UNIX98]. Enables tests for XOPEN2K8.
21587 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21588 POSIX2008]: Likewise.
21589
6c073ad6
JM
21590 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21591 (struct rusage): Do not expect type or its members.
21592
0155d5b2
JM
21593 [BZ #3439]
21594 * math/math.h (FP_NAN): Define macro to integer constant usable in
21595 #if and use that to give value to enum constant.
21596 (FP_INFINITE): Likewise.
21597 (FP_ZERO): Likewise.
21598 (FP_SUBNORMAL): Likewise.
21599 (FP_NORMAL): Likewise.
21600
b5dcacb4
AS
216012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21602
21603 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21604 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21605 arguments.
21606
f7934be8
RM
216072012-11-02 Roland McGrath <roland@hack.frob.com>
21608
21609 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21610 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21611 autoconf-time if not.
21612 * configure.in: Remove AC_PREREQ.
21613
d7d08bde
TMQMF
216142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21615
21616 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21617 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21618 of the internal implementation.
21619
dcdae19a
JM
216202012-11-02 Joseph Myers <joseph@codesourcery.com>
21621
21622 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21623 except include of <misc/sys/syslog.h>.
21624
d6cffd3e
AS
216252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21626
21627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21628 function returns with a NULL context exit with zero.
21629
b3563932
TMQMF
216302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21631
21632 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21633
b288a93d
L
216342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21637 (run_program_cmd): This.
21638 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21639 (tst_langinfo): New variable. Use it.
21640
a2421a68
SAS
216412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21642
21643 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21644 floating point opcodes.
21645
6f796e1b
TS
216462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21647
7402596b
TS
21648 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21649 variable.
21650
d0d4f868
TS
21651 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21652
6f796e1b
TS
21653 * sysdeps/mach/hurd/powerpc: Remove directory.
21654 * sysdeps/mach/powerpc: Likewise.
21655
4da224a2
AS
216562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21657
21658 * scripts/check-local-headers.sh: Ignore c++ headers.
21659
341dd673
TS
216602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21661
21662 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21663 __libc_cleanup_region_start argument.
21664
473611b2
JM
216652012-11-01 Joseph Myers <joseph@codesourcery.com>
21666
21667 [BZ #14784]
21668 [BZ #14785]
21669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21670 x * y using scaling, not as x * y + z.
21671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21673 * math/libm-test.inc (fma_test): Add more tests.
21674 (fma_test_towardzero): Likewise.
21675 (fma_test_downward): Likewise.
21676 (fma_test_upward): Likewise.
21677
4078da3d
TS
216782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21679
21680 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21681
903252aa
JM
216822012-10-31 Joseph Myers <joseph@codesourcery.com>
21683
21684 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21685 New variable.
21686
cbc818d0
TS
216872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21688
21689 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21690
5a03cb1e
AS
216912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21692
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21694 Fix sort order.
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21696 Likewise.
21697
90aff2ff
TMQMF
216982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21699
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21701 Fix the order of the list for glibc 2.17.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21703 Likewise.
21704
1818fcb7
AS
217052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21706
21707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21708
ef82f4da
JM
217092012-10-31 Joseph Myers <joseph@codesourcery.com>
21710
16a0e2ec
JM
21711 [BZ #14610]
21712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21713 for low part of x being zero before using __atanl (y).
21714 * math/libm-test.inc (atan2_test): Add another test.
21715
0eb69512
JM
21716 * manual/install.texi (Configuring and compiling): Document
21717 general use of test-wrapper and test-wrapper-env.
21718 * INSTALL: Regenerated.
21719
ef82f4da
JM
21720 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21721 (__fma): Do not extract and scale down low bits on after-rounding
21722 systems when result rounded to normal precision would have normal
21723 exponent.
21724 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21725 (__fmal): Do not extract and scale down low bits on after-rounding
21726 systems when result rounded to normal precision would have normal
21727 exponent.
21728 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21729 (__fmal): Do not extract and scale down low bits on after-rounding
21730 systems when result rounded to normal precision would have normal
21731 exponent.
21732 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21733 macro.
21734 (fma_test): Add more tests.
21735 (fma_test_towardzero): Likewise.
21736 (fma_test_downward): Likewise.
21737 (fma_test_upward): Likewise.
21738
954ef0d9
L
217392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21740
21741 * sysdeps/i386/tininess.h: Renamed to ...
21742 * sysdeps/x86/tininess.h: This.
21743 * sysdeps/x86_64/tininess.h: Removed.
21744
df61ffb2
JM
217452012-10-30 Joseph Myers <joseph@codesourcery.com>
21746
21747 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21748 input. Use $(build-program-cmd).
21749 ($(objpfx)tst-array1-static.out): Likewise.
21750 ($(objpfx)tst-array2.out): Likewise.
21751 ($(objpfx)tst-array3.out): Likewise.
21752 ($(objpfx)tst-array4.out): Likewise.
21753 ($(objpfx)tst-array5.out): Likewise.
21754 ($(objpfx)tst-array5-static.out): Likewise.
21755
01767843
CM
217562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21757
47cc1490
CM
21758 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21759 if defined.
21760
01767843
CM
21761 * nss/nsswitch.h (nss_interface_function): Provide new
21762 macro for use with NSS functions.
21763 * grp/initgroups.c: Use new macro.
21764 * nss/getXXbyYY.c: Likewise.
21765 * nss/getXXbyYY_r.c: Likewise.
21766 * nss/getXXent.c: Likewise.
21767 * nss/getXXent_r.c: Likewise.
21768 * sysdeps/posix/getaddrinfo.c: Likewise.
21769
8321aa97
AJ
217702012-10-30 Andreas Jaeger <aj@suse.de>
21771
21772 * po/ru.po: Update Russion translation from translation project.
21773
2a27fd6d
JM
217742012-10-30 Joseph Myers <joseph@codesourcery.com>
21775
8627a232
JM
21776 [BZ #14152]
21777 [BZ #14783]
21778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21779 result and shift together with sticky bit instead of replicating
21780 round-to-nearest rounding.
21781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21783 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21784 missing underflow exceptions.
21785 (fma_test_towardzero): Add more tests.
21786 (fma_test_downward): Likewise.
21787 (fma_test_upward): Likewise.
21788
2a27fd6d
JM
21789 [BZ #14047]
21790 * sysdeps/generic/tininess.h: New file.
21791 * sysdeps/i386/tininess.h: Likewise.
21792 * sysdeps/sh/tininess.h: Likewise.
21793 * sysdeps/x86_64/tininess.h: Likewise.
21794 * stdlib/tst-strtod-underflow.c: Likewise.
21795 * stdlib/tst-tininess.c: Likewise.
21796 * stdlib/strtod_l.c: Include <tininess.h>.
21797 (round_and_return): Do not set errno for exact underflow cases.
21798 Force an underflow exception when setting errno for underflow.
21799 Determine underflow based on rounding to normal precision if
21800 TININESS_AFTER_ROUNDING.
21801 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21802 ERANGE for exact underflow cases.
21803 * stdlib/Makefile (tests): Add tst-tininess and
21804 tst-strtod-underflow.
21805 ($(objpfx)tst-tininess): Use $(link-libm).
21806 ($(objpfx)tst-strtod-underflow): Likewise.
21807
e7170363
AJ
218082012-10-30 Andreas Jaeger <aj@suse.de>
21809
e5088dc6
AJ
21810 [BZ#14767]
21811 * elf/Makefile (tests): Remove conditional for have-initfini-array
21812 since this is now always required and the variable does not exist
21813 anymore.
21814 (tests-static): Likewise.
21815 (modules-names): Likewise.
21816
e7170363 21817 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21818
21819 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21820 merged with constructor/destructor.
21821 (init_array): Likewise.
21822 * elf/tst-array2dep.c (fini_array): Likewise.
21823 (init_array): Likewise.
21824
60457d8a
MF
218252012-10-29 Mike Frysinger <vapier@gentoo.org>
21826
21827 * manual/message.texi: Delete @cartouche tags.
21828
8bece752
PT
218292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21830
94ce799f
PT
21831 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21832 EOPNOTSUPP.
21833 * sysdeps/mach/hurd/fsync.c: Likewise.
21834
8bece752
PT
21835 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21836 [_POSIX_REALTIME_SIGNALS]: Change condition to
21837 [_POSIX_REALTIME_SIGNALS > 0].
21838
86ebe6b1
AJ
218392012-10-27 Andreas Jaeger <aj@suse.de>
21840
21841 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21842 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21844 [__WORDSIZE != 64]: Likewise.
21845
54399c08
L
218462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 * iconvdata/tst-table.sh: Remove ${SHELL}.
21849 * iconvdata/tst-tables.sh: Likewise.
21850
e2211bed
DM
218512012-10-25 David S. Miller <davem@davemloft.net>
21852
21853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21854 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21855 of strtoull.
21856
f303f97c
DM
21857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21858 ifunc-impl-list.c
21859 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21860 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21861 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21862 file.
21863
1e9d84cd
RM
218642012-10-25 Roland McGrath <roland@hack.frob.com>
21865
21866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21867 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21868 __getdirentries.
21869
df381762
JM
218702012-10-25 Joseph Myers <joseph@codesourcery.com>
21871 Jim Blandy <jimb@codesourcery.com>
21872
21873 * scripts/cross-test-ssh.sh: New file.
21874 * manual/install.texi (Configuring and compiling): Document use of
21875 cross-test-ssh.sh.
21876 * INSTALL: Regenerated.
21877
bff64913
PT
218782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21879
21880 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21881 EOPNOTSUPP.
21882
25fe8932
JM
218832012-10-25 Joseph Myers <joseph@codesourcery.com>
21884
21885 * Makeconfig (run-program-prefix): Fix comment.
21886
cc1290d0
JM
218872012-10-24 Joseph Myers <joseph@codesourcery.com>
21888 Jim Blandy <jimb@codesourcery.com>
21889
21890 * Makeconfig (test-wrapper): New variable,
21891 (test-wrapper-env): Likewise.
21892 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21893 (run-built-tests): Define to yes.
21894 (run-program-prefix): Use $(test-wrapper).
21895 (built-program-cmd): Likewise.
21896 * Rules (make-test-out): Use $(test-wrapper-env) and
21897 $(host-built-program-cmd).
21898 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21899 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21900 tst-pathopt.sh.
21901 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21902 $(test-wrapper-env) to tst-rtld-load-self.sh.
21903 ($(objpfx)order2.out): Use $(test-wrapper).
21904 ($(objpfx)tst-initorder.out): Likewise.
21905 ($(objpfx)tst-initorder2.out): Likewise.
21906 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21907 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21908 (test_wrapper_env): New variable. Use it to run ld.so.
21909 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21910 Use it to run ld.so.
21911 (test_wrapper_env): Likewise.
21912 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21913 $(test-wrapper) to run-iconv-test.sh.
21914 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21915 (ICONV): Use $test_wrapper.
21916 * posix/Makefile ($(objpfx)globtest.out): Pass
21917 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21918 globtest.sh, not $(run-program-prefix).
21919 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21920 (test_wrapper): Likewise.
21921 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21922 set together with run_via_rtld_prefix.
21923 (run_program_prefix): Define in terms of test_wrapper and
21924 run_via_rtld_prefix.
21925
6e6249d0
RM
219262012-10-24 Roland McGrath <roland@hack.frob.com>
21927
21928 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21929 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21930 Targets removed.
21931
21932 [BZ #14743]
21933 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21934 Declare __clock_getres, __clock_gettime, __clock_settime,
21935 __clock_nanosleep, and __clock_getcpuclockid.
21936 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21937 Remove librt_hidden_def (clock_gettime).
21938 * sysdeps/unix/clock_gettime.c: Likewise.
21939 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21941 * rt/clock_getres.c: Define __clock_getres as an alias.
21942 * sysdeps/posix/clock_getres.c: Likewise.
21943 * rt/clock_settime.c: Define __clock_settime as an alias.
21944 * sysdeps/unix/clock_settime.c: Likewise.
21945 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21946 * sysdeps/unix/clock_nanosleep.c: Likewise.
21947 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21948 * rt/clock-compat.c: New file.
21949 * rt/Makefile (librt-routines): Add clock-compat and move
21950 $(clock-routines) to ...
21951 (routines): ... here, new variable.
21952 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21953 Don't add get_clockfreq here.
21954 * rt/Versions (libc: GLIBC_2.17): New version set.
21955 Add clock_* symbols here.
21956 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21958 (GLIBC_2.17): Add clock_* symbols.
21959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21963 Likewise.
21964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21965 Likewise.
21966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21970 * NEWS: Mention the move.
21971
21972 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21973 Use __open, __read, __close rather than their public counterparts.
21974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21975 (__get_clockfreq_via_cpuinfo): Likewise.
21976 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21977 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21978
21979 * config.h.in (HAVE_IFUNC): New #undef.
21980 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21981 was successful.
21982 * configure: Regenerated.
21983
0cae3f4b
MF
219842012-10-24 Mike Frysinger <vapier@gentoo.org>
21985
21986 * configure.in: Move READELF check to start of file.
21987 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21988 libc_cv_asm_gnu_indirect_function in the process.
21989 * configure: Regenerated.
21990
8175a253
MF
219912012-10-24 Mike Frysinger <vapier@gentoo.org>
21992
21993 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21994 send the output to /dev/null.
21995 (libc_cv_cc_with_libunwind): Likewise.
21996 (libc_cv_as_noexecstack): Likewise.
21997 * configure: Regenerate.
21998
0708a7d1
JM
219992012-10-24 Joseph Myers <joseph@codesourcery.com>
22000
10b40d85
JM
22001 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22002
0708a7d1
JM
22003 * posix/globtest.sh (TMPDIR): Do not set.
22004 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22005 (testout): Likewise.
22006
9fddec1a
AJ
220072012-10-24 Andreas Jaeger <aj@suse.de>
22008
3a8db22f
AJ
22009 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22010 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22011 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22012 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22013 posix_fadvise64, posix_fallocate64.
22014
9fddec1a
AJ
22015 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22016 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22017 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22018 Likewise.
22019 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22020 Likewise.
22021 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22022
22023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22024 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22025 <bits/fcntl-linux.h>.
22026 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22027
22028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22029 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22030 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22031 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22032 [__WORDSIZE != 64]: Likewise.
22033
ebfd1bbd
JM
220342012-10-23 Joseph Myers <joseph@codesourcery.com>
22035
03ac099f
JM
22036 * Makeconfig (run-built-tests): New variable.
22037 * Rules [$(cross-compiling) = yes]: Change condition to
22038 [$(run-built-tests) = no].
22039 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22040 to [$(run-built-tests) = yes].
22041 * elf/Makefile [$(cross-compiling) = no]: Likewise
22042 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22043 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22044 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22045 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22046 * io/Makefile [$(cross-compiling) = no]: Likewise.
22047 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22048 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22049 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22050 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22051 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22052 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22053 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22054 * string/Makefile [$(cross-compiling) = no]: Likewise.
22055
ebfd1bbd
JM
22056 * posix/Makefile ($(objpfx)globtest.out): Pass
22057 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22058 $(rtld-installed-name).
22059 * posix/globtest.sh (elf_objpfx): Remove variable.
22060 (rtld_installed_name): Likewise.
22061 (library_path): Likewise.
22062 (run_program_prefix): New variable. Use for running globtest
22063 binary.
22064
166bca24
JB
220652012-10-23 Jim Blandy <jimb@codesourcery.com>
22066 Joseph Myers <joseph@codesourcery.com>
22067
22068 * Makeconfig (host-built-program-cmd): New variable.
22069 * elf/Makefile (tst-stackguard1-ARGS): Use
22070 $(host-built-program-cmd).
22071 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22072 (tst-spawn-ARGS): Likewise.
22073 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22074
88866099
JM
220752012-10-23 Joseph Myers <joseph@codesourcery.com>
22076 Jim Blandy <jimb@codesourcery.com>
22077
22078 * Makeconfig (run-via-rtld-prefix): New variable.
22079 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22080 (built-program-cmd): Likewise.
22081
b4b4c296
AJ
220822012-10-22 Andreas Jaeger <aj@suse.de>
22083
22084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22085 __O_RSYNC if it exists, otherwise to O_SYNC.
22086
6fb54a22
JB
220872012-10-22 Jim Blandy <jimb@codesourcery.com>
22088 Joseph Myers <joseph@codesourcery.com>
22089
22090 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22091 /dev/null.
22092 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22093 from /dev/null
22094 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22095 /dev/null.
22096
481b90b9
AJ
220972012-10-22 Andreas Jaeger <aj@suse.de>
22098
2a0e2669
AJ
22099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22100 Define always.
22101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22102
76e38f9a
AJ
22103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22104 bits/fcntl-linux.h.
22105
7cd37b43
AJ
22106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22107 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22108
481b90b9
AJ
22109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22110 to __O_LARGEFILE.
22111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22112 to __O_LARGEFILE.
22113
aba75984
JB
221142012-10-21 Jim Blandy <jimb@codesourcery.com>
22115 Joseph Myers <joseph@codesourcery.com>
22116
22117 * config.make.in (NM): New variable.
22118
88d4247f
AJ
221192012-10-21 Andreas Jaeger <aj@suse.de>
22120
22121 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22122 definitions and declarations that are provided by
22123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22124
f2eed205
L
221252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 [BZ #14683]
22128 * elf/Makefile (tests-static): Add tst-leaks1-static.
22129 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22130 ($(objpfx)tst-leaks1-static): New rule.
22131 ($(objpfx)tst-leaks1-static-mem): Likewise.
22132 (tst-leaks1-static-ENV): New macro.
22133 * elf/dl-open.c (dl_open_worker): Check the main application
22134 only if SHARED is defined.
22135 * elf/tst-leaks1-static.c: New file.
22136
335e6931
AJ
221372012-10-20 Andreas Jaeger <aj@suse.de>
22138
22139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22140 generic values for Linux.
22141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22142 and declarations that are provided by <bits/fcntl-linux.h> and
22143 include <bits/fcntl-linux.h>.
22144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22146
ac5c94d3
RM
221472012-10-20 Roland McGrath <roland@hack.frob.com>
22148
22149 * io/fcntl.h: Move include of <bits/types.h> to the top and
22150 include it unconditionally.
22151
de54b33a
L
221522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22153
228cfb01
L
22154 * wcsmbs/Makefile (tests-ifunc): New variable.
22155 (tests): Add $(tests-ifunc).
22156 * wcsmbs/test-wcschr-ifunc.c: New file.
22157 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22158 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22159 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22160 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22161 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22162
69f07e5f
L
22163 * string/Makefile (tests-ifunc): New variable.
22164 (tests): Add $(tests-ifunc).
22165 * string/test-memccpy.c (TEST_NAME): New macro.
22166 * string/test-memchr.c (TEST_NAME): Likewise.
22167 * string/test-memcmp.c (TEST_NAME): Likewise.
22168 * string/test-memcpy.c (TEST_NAME): Likewise.
22169 * string/test-memmem.c (TEST_NAME): Likewise.
22170 * string/test-memmove.c (TEST_NAME): Likewise.
22171 * string/test-memset.c (TEST_NAME): Likewise.
22172 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22173 * string/test-stpcpy.c (TEST_NAME): Likewise.
22174 * string/test-stpncpy.c (TEST_NAME): Likewise.
22175 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22176 * string/test-strcasestr.c (TEST_NAME): Likewise.
22177 * string/test-strcat.c (TEST_NAME): Likewise.
22178 * string/test-strchr.c (TEST_NAME): Likewise.
22179 * string/test-strcmp.c(TEST_NAME): Likewise.
22180 * string/test-strcpy.c (TEST_NAME): Likewise.
22181 * string/test-strcspn.c (TEST_NAME): Likewise.
22182 * string/test-strlen.c (TEST_NAME): Likewise.
22183 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22184 * string/test-strncmp.c (TEST_NAME): Likewise.
22185 * string/test-strncpy.c (TEST_NAME): Likewise.
22186 * string/test-strnlen.c (TEST_NAME): Likewise.
22187 * string/test-strpbrk.c (TEST_NAME): Likewise.
22188 * string/test-strrchr.c (TEST_NAME): Likewise.
22189 * string/test-strspn.c (TEST_NAME): Likewise.
22190 * string/test-strstr.c (TEST_NAME): Likewise.
22191 * string/test-bcopy-ifunc.c: New file.
22192 * string/test-bzero-ifunc.c: Likewise.
22193 * string/test-memccpy-ifunc.c: Likewise.
22194 * string/test-memchr-ifunc.c: Likewise.
22195 * string/test-memcmp-ifunc.c: Likewise.
22196 * string/test-memcpy-ifunc.c: Likewise.
22197 * string/test-memmem-ifunc.c: Likewise.
22198 * string/test-memmove-ifunc.c: Likewise.
22199 * string/test-mempcpy-ifunc.c: Likewise.
22200 * string/test-memset-ifunc.c: Likewise.
22201 * string/test-rawmemchr-ifunc.c: Likewise.
22202 * string/test-stpcpy-ifunc.c: Likewise.
22203 * string/test-stpncpy-ifunc.c: Likewise.
22204 * string/test-strcasecmp-ifunc.c: Likewise.
22205 * string/test-strcasestr-ifunc.c: Likewise.
22206 * string/test-strcat-ifunc.c: Likewise.
22207 * string/test-strchr-ifunc.c: Likewise.
22208 * string/test-strchrnul-ifunc.c: Likewise.
22209 * string/test-strcmp-ifunc.c: Likewise.
22210 * string/test-strcpy-ifunc.c: Likewise.
22211 * string/test-strcspn-ifunc.c: Likewise.
22212 * string/test-strlen-ifunc.c: Likewise.
22213 * string/test-strncasecmp-ifunc.c: Likewise.
22214 * string/test-strncat-ifunc.c: Likewise.
22215 * string/test-strncmp-ifunc.c: Likewise.
22216 * string/test-strncpy-ifunc.c: Likewise.
22217 * string/test-strnlen-ifunc.c: Likewise.
22218 * string/test-strpbrk-ifunc.c: Likewise.
22219 * string/test-strrchr-ifunc.c: Likewise.
22220 * string/test-strspn-ifunc.c: Likewise.
22221 * string/test-strstr-ifunc.c: Likewise.
22222
de54b33a
L
22223 * debug/Makefile (tests-ifunc): New variable.
22224 (tests): Add $(tests-ifunc).
22225 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22226 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22227 * debug/test-stpcpy_chk-ifunc.c: New file.
22228 * debug/test-strcpy_chk-ifunc.c: Likewise.
22229
88481c16
SP
222302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22231
22232 [BZ #13601]
22233 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22234 header is not read in.
22235
135948bd
JM
222362012-10-19 Joseph Myers <joseph@codesourcery.com>
22237
89f1c388
JM
22238 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22239 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22240 directly. Pass built executable to script as
22241 $(built-program-cmd).
22242 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22243 $testprogram without using LD_LIBRARY_PATH and $ldso.
22244
e40a0d21
JM
22245 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22246 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22247 $(rtld-installed-name).
22248 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22249 (rtld_installed_name): Likewise.
22250 (library_path): Likewise.
22251 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22252 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22253 $(run-program-prefix) to tst-tables.sh.
22254 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22255 it to run tst-table-from and tst-table-to.
22256 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22257 Pass it to tst-table.sh.
22258 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22259 $(run-program-prefix) to tst-gettext.sh.
22260 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22261 tst-translit.sh.
22262 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22263 tst-gettext2.sh.
22264 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22265 to run tst-gettext.
22266 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22267 to run tst-gettext2.
22268 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22269 to run tst-translit.
22270 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22271 $(run-program-prefix) to tst-mtrace.sh.
22272 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22273 to run tst-mtrace.
22274 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22275 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22276 $(rtld-installed-name).
22277 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22278 (rtld_installed_name): Likewise.
22279 (run_program_prefix): New variable. Use it to run wordexp-test.
22280
728e272a
JM
22281 * Makeconfig (ARCH): Remove all definitions.
22282 (machine): Likewise.
22283 [ARCH]: Remove conditional code.
22284 [!objdir]: Give error.
22285 [!objdir] (objpfx): Remove.
22286 [!objdir] (common-objpfx): Likewise.
22287 [!objdir] (common-objdir): Likewise.
22288 * configure.in (config_makefile): Remove. Hardcode Makefile in
22289 AC_CONFIG_FILES call.
22290 * configure: Regenerated.
22291
d528cdcf
JM
22292 [BZ #13888]
22293 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22294 or TMPDIR.
22295 (testout): Likewise.
22296
135948bd
JM
22297 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22298 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22299 $(rtld-installed-name).
22300 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22301 (rtld_installed_name): Likwise.
22302 (runit): Remove function.
22303 (run_getconf): New variable, Use it for running getconf binary.
22304
38c78296
L
223052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22306
22307 [BZ #14716]
22308 * string/test-memmem.c (check_result): New function.
22309 (do_one_test): Use it.
22310 (check1): New function.
22311 (test_main): Use it.
22312
d077f65f
MT
223132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22314
22315 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22316
ced52c71
JM
223172012-10-18 Joseph Myers <joseph@codesourcery.com>
22318
22319 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22320 (_G_LSEEK64): Likewise.
22321 (_G_MMAP64): Likewise.
22322 (_G_FSTAT64): Likewise.
22323 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22324 (_G_LSEEK64): Likewise.
22325 (_G_MMAP64): Likewise.
22326 (_G_FSTAT64): Likewise.
22327 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22328 unconditional. Call __mmap64 directly.
22329 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22330 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22331 __lseek64 directly.
22332 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22333 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22334 __mmap64 directly.
22335 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22336 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22337 __lseek64 directly.
22338 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22339 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22340 __lseek64 directly.
22341 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22342 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22343 __lseek64 directly.
22344 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22345 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22346 __fxstat64 directly.
22347 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22348 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22349 unconditional.
22350 (freopen64) [!_G_OPEN64]: Remove conditional code.
22351 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22352 unconditional.
22353 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22354 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22355 unconditional.
22356 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22357 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22358 unconditional.
22359 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22360 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22361 unconditional.
22362 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22363 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22364 unconditional.
22365 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22366 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22367 unconditional.
22368 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22369 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22370 unconditional.
22371 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22372
b741de23
SP
223732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22374
22375 [BZ #12140]
22376 * manual/memory.texi (Malloc Tunable Parameters): Add note
22377 about free list pointers overwriting some perturb bytes.
22378 Wording suggested by Roland McGrath.
22379
f9b9d9c9
JM
223802012-10-17 Joseph Myers <joseph@codesourcery.com>
22381
22382 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22383 (lgamma_test): Likewise.
22384 (tgamma_test): Likewise.
22385
172a631a
FW
223862012-10-16 Florian Weimer <fweimer@redhat.com>
22387
22388 [BZ #14700]
22389 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22390 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22391
e9f37252
MK
223922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22393
22394 * NEWS: Mention BZ #14716.
22395 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22396 when removing AVAILABLE1_USES_J macro.
22397
d394eb74
L
223982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22399
22400 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22401 (__bswap_64): __uint64_t for unsigned 64-bit int.
22402
ca38dc17
AS
224032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22404
22405 * include/string.h (memmem): Declare libc hidden alias.
22406 * string/memmem.c (memmem): Define libc hidden alias.
22407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22408 __read, __close instead of open, read, close.
22409
9a387d1f
L
224102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22411
ac49ecaf
L
22412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22413 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22414 global and hidden.
22415 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22416 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22417 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22418 Likewise.
22419 (__rawmemchr_sse2): Likewise.
22420 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22421 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22422 (__strchr_sse2): Likewise.
22423 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22424 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22425 (__strcasecmp_sse2): Likewise.
22426 (__strncasecmp_sse2): Likewise.
22427 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22428 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22429 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22430 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22431 (__strrchr_sse2): Likewise.
22432 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22433 ifunc-impl-list.c.
22434 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22435 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22436 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22437 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22438 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22439 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22440 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22441 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22442 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22443 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22444 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22445 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22446 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22447 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22448 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22449 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22450 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22451 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22452 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22453 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22454 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22455 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22456 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22457 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22458 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22459 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22460 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22461 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22462 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22463 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22464
b090e8ea
L
22465 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22466 global and hidden.
22467 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22468 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22469 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22470 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22471 Likewise.
22472 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22473 Likewise.
22474 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22475 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22476 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22477 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22478 ifunc-impl-list.c.
22479 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22480 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22481 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22491 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22492 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22493 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22497 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22498 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22504 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22505 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22506 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22507 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22508 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22511 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22513 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22514 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22515 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22516 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22517 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22518 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22519 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22520
11dd4af6
L
22521 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22522 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22523 * include/ifunc-impl-list.h: New file.
22524 * misc/ifunc-impl-list.c: Likewise.
22525 * misc/Makefile (routines): Add ifunc-impl-list.
22526 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22527 * string/test-string.h: Include <ifunc-impl-list.h>.
22528 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22529 impl_array): New variables.
22530 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22531 are defined.
22532 (test_init): Call __libc_ifunc_impl_list to initialize
22533 func_list if TEST_IFUNC and TEST_NAME are defined.
22534
9a387d1f
L
22535 * string/Makefile (strop-tests): Add bcopy and bzero.
22536 * string/test-bcopy.c: New file.
22537 * string/test-bzero.c: Likewise.
22538 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22539 defined.
22540 * string/test-memset.c: Support bzero test if TEST_BZERO is
22541 defined.
22542 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22543 __libc_memmove.
22544 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22545 __libc_memset.
22546 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22547 of memset.
22548
472371b9
JM
225492012-10-10 Joseph Myers <joseph@codesourcery.com>
22550
1e4a9536
JM
22551 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22552 * configure: Regenerated.
22553
d173d12e
JM
22554 * Makeconfig (+link-static-before-libc): Don't include
22555 $(link-static-libc).
22556
472371b9
JM
22557 * libio/libio.h (_IO_pos_t): Remove.
22558
89a3ad0b
AO
225592012-10-10 Alexandre Oliva <aoliva@redhat.com>
22560
22561 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22562 McGrath.
22563
e7451425
AO
225642012-10-10 Alexandre Oliva <aoliva@redhat.com>
22565
22566 * crypt/crypt-entry.c: Include fips-private.h.
22567 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22568 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22569 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22570 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22571
4ba74a35
AO
225722012-10-10 Alexandre Oliva <aoliva@redhat.com>
22573
22574 * crypt/crypt-private.h: Include stdbool.h.
22575 (_ufc_setup_salt_r): Return bool.
22576 * crypt/crypt-entry.c: Include errno.h.
22577 (__crypt_r): Return NULL with EINVAL for bad salt.
22578 * crypt/crypt_util.c (bad_for_salt): New.
22579 (_ufc_setup_salt_r): Check that salt is long enough and within
22580 the specified alphabet.
22581 * crypt/badsalttest.c: New file.
22582 * crypt/Makefile (tests): Add it.
22583 ($(objpfx)badsalttest): New.
22584
f96f1242
MK
225852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22586
22587 * NEWS: Add entry for BZ #14602.
22588
0e8e0c1c
JM
225892012-10-09 Joseph Myers <joseph@codesourcery.com>
22590
22591 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22592 type-generic.
22593 * math/libm-test.inc: Update comment listing what functions and
22594 macros are tested.
22595 (isgreater_test): New function.
22596 (isgreaterequal_test): Likewise.
22597 (isless_test): Likewise.
22598 (islessequal_test): Likewise.
22599 (islessgreater_test): Likewise.
22600 (isunordered_test): Likewise.
22601 (main): Call the new functions.
22602
273edc5e
RM
226032012-10-09 Roland McGrath <roland@hack.frob.com>
22604
b8493de0
RM
22605 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22606 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22607 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22608 * sysdeps/i386/configure: Regenerated.
22609 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22610 * sysdeps/mach/configure: Regenerated.
22611 * sysdeps/mach/hurd/configure: Regenerated.
22612 * sysdeps/powerpc/configure: Regenerated.
22613 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22614 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22615 * sysdeps/s390/s390-32/configure: Regenerated.
22616 * sysdeps/s390/s390-64/configure: Regenerated.
22617 * sysdeps/sh/configure: Regenerated.
22618 * sysdeps/sparc/configure: Regenerated.
22619 * sysdeps/unix/sysv/linux/configure: Regenerated.
22620 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22621 * sysdeps/x86_64/configure: Regenerated.
22622
273edc5e
RM
22623 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22624 defined. Don't check if MAP is NULL.
22625
c8450f70
JM
226262012-10-09 Joseph Myers <joseph@codesourcery.com>
22627
22628 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22629 (_G_stat64): Likewise.
22630 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22631 (_G_stat64): Likewise.
22632 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22633 instead of struct _G_stat64.
22634 * libio/fileops.c (mmap_remap_check): Likewise.
22635 (decide_maybe_mmap): Likewise.
22636 (_IO_new_file_seekoff): Likewise.
22637 (_IO_file_stat): Likewise.
22638 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22639 _G_off64_t.
22640 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22641 instead of struct _G_stat64.
22642 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22643
57e605ba
MK
226442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22645
22646 [BZ #14602]
22647 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22648 Replace with ...
22649 (CHECK_EOL): New macro.
22650 (two_way_short_needle): Check beginning of haystack for EOL. Use
22651 CHECK_EOL.
22652 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22653 Replace with CHECK_EOL.
22654 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22655 Replace with CHECK_EOL.
22656
ef1bb361
JM
226572012-10-08 Joseph Myers <joseph@codesourcery.com>
22658
22659 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22660 type-generic.
22661 * math/libm-test.inc: Update comment listing what functions and
22662 macros are tested.
22663 (finite_test): New function.
22664 (isinf_test): Likewise.
22665 (isnan_test): Likewise.
22666 (fpclassify_test): Test subnormal input.
22667 (isfinite_test): Likewise.
22668 (isnormal_test): Likewise.
22669 (main): Call the new functions.
22670
55f11534
JN
226712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22672
22673 [BZ #14660]
22674 * Makerules (%.dynsym): Force C locale when running
22675 $(OBJDUMP) --dynamic-syms.
22676
1ab29350
AS
226772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22678
22679 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22680 <stdint.h>.
22681
f1ecb7ef
DM
226822012-10-06 David S. Miller <davem@davemloft.net>
22683
22684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22685 upper 32-bits of the length value in %o2 since we use branch-on-register
22686 tests which consider the entire 64-bit register.
22687
5d41d91a
L
226882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 * string/test-strstr.c (check2): Add a test for page boundary.
22691
3baddb72
DM
226922012-10-05 David S. Miller <davem@davemloft.net>
22693
22694 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22696 file.
22697 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22698 sysdep_routines.
22699 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22700 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22701 and bzero when HWCAP_SPARC_CRYPTO is present.
22702
9cee5585
L
227032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22704
d7e0dab9
L
22705 [BZ #14602]
22706 * string/test-strstr.c (check2): New function.
22707 (test_main): Call check2.
22708
03759f47
L
22709 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22710 and bug-strchr1.
22711 * string/bug-strcasestr1.c (do_test): Moved to ...
22712 * string/test-strcasestr.c (check1): Here. New function.
22713 (do_one_test): Break out result checking code into ...
22714 (check_result): This. New function.
22715 (do_one_test): Call check_result.
22716 (test_main): Call check1.
22717 * string/bug-strchr1.c (do_test): Moved to ...
22718 * string/test-strchr.c (check1): Here. New function.
22719 (do_one_test): Break out result checking code into ...
22720 (check_result): This. New function.
22721 (do_one_test): Call check_result.
22722 (test_main): Call check1.
22723 * string/bug-strstr1.c (main): Moved to ...
046f153e 22724 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22725 (do_one_test): Break out result checking code into ...
22726 (check_result): This. New function.
22727 (do_one_test): Call check_result.
22728 (test_main): Call check1.
22729 * string/bug-strcasestr1.c: Removed.
22730 * string/bug-strchr1.c: Likewise.
22731 * string/bug-strstr1.c: Likewise.
22732
53cea63e
L
22733 * elf/Makefile (dl-routines): Add hwcaps.
22734 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22735 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22736 (_dl_important_hwcaps): Moved to ...
22737 * elf/dl-hwcaps.c: Here. New file.
22738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22739
9cee5585 22740 [BZ #14557]
bb859b06
L
22741 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22742 if IS_IN_rtld isn't defined.
22743
9cee5585
L
22744 * elf/dl-support.c (_dl_sysinfo_map): New.
22745 Include "get-dynamic-info.h" and "setup-vdso.h".
22746 (_dl_non_dynamic_init): Call setup_vdso.
22747 * elf/dynamic-link.h: Don't include <assert.h>.
22748 (elf_get_dynamic_info): Moved to ...
22749 * elf/get-dynamic-info.h: Here. New file.
22750 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22751 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22752 * elf/setup-vdso.h: Here. New file.
22753 * elf/rtld.c: Include "setup-vdso.h".
22754 (dl_main): Call setup_vdso.
22755
23c31b76
JM
227562012-10-05 Joseph Myers <joseph@codesourcery.com>
22757
28234b07
JM
22758 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22759 creal in comment listing functions tested. List finite, isinf,
22760 isnan, isless, islessequal, isgreater, isgreaterequal,
22761 islessgreater, isunordered, lgamma_r and pow10 as functions and
22762 macros not tested. Mention which functions not tested are aliases
22763 for other functions. Fix typo. Note that signs of NaNs are not
22764 tested.
22765
23c31b76
JM
22766 * scripts/config.guess: Update from config.git.
22767 * scripts/config.sub: Likewise.
22768
9043e228
RM
227692012-10-04 Roland McGrath <roland@hack.frob.com>
22770
22771 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22772 * misc/madvise.c (madvise): Renamed to __madvise.
22773 Make madvise a weak alias.
22774 * include/sys/mman.h: Declare __madvise.
22775 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22776 * sysdeps/unix/syscalls.list
22777 (madvise): Make __madvise the strong name, and madvise a weak alias.
22778 * sysdeps/unix/sysv/linux/syscalls.list
22779 (madvise, mmap): Remove redundant entries.
22780 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22781 * malloc/malloc.c (mtrim): Likewise.
22782 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22783
f57f8055
RM
227842012-10-03 Roland McGrath <roland@hack.frob.com>
22785
22786 * sysdeps/mach/hurd/dl-cache.c: File removed.
22787 * config.h.in (USE_LDCONFIG): New #undef.
22788 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22789 * configure: Regenerated.
22790 * elf/Makefile (dl-routines): Add dl-cache only under
22791 [$(use-ldconfig) = yes].
22792 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22793 cache on [USE_LDCONFIG].
22794 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22795 [USE_LDCONFIG].
22796 * elf/rtld.c (dl_main): Likewise.
22797
5bb0c10a
PT
227982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22799
22800 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22801 _SC_LEVEL4_CACHE_LINESIZE.
22802
010188c6
RM
228032012-10-03 Roland McGrath <roland@hack.frob.com>
22804
22805 * sysdeps/unix/bsd/confstr.h: File removed.
22806
b6c5ec07
AO
228072012-10-02 Alexandre Oliva <aoliva@redhat.com>
22808
22809 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22810 sys/sdt-config.h.
22811
408223d4
RM
228122012-10-02 Roland McGrath <roland@hack.frob.com>
22813
22814 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22815 Make 'mapoff' field ElfW(Off) rather than off_t.
22816
bb9510dc
DL
228172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22818
fc997c6e
DL
22819 * nscd/Makefile: Remove nscd-cflags and all its users.
22820 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22821 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22822
bb9510dc
DL
22823 [BZ #10631]
22824 * malloc.c (malloc_printerr): Clarify error message.
22825
05699367
L
228262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22827
22828 [BZ #14648]
22829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22830 Set bit_FMA_Usable if FMA is supported.
22831 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22832 macro.
22833 (bit_FMA4_Usable): Updated.
22834 (index_FMA_Usable): New macro.
22835 (CPUID_FMA): Likewise
22836 (HAS_FMA): Defined with bit_FMA_Usable.
22837
51367701
RM
228382012-10-01 Roland McGrath <roland@hack.frob.com>
22839
22840 * bits/types.h (__swblk_t): Type removed.
22841 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22842 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22844 (__SWBLK_T_TYPE): Likewise.
22845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22846 (__SWBLK_T_TYPE): Likewise.
22847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22848 (__SWBLK_T_TYPE): Likewise.
22849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22850 (__SWBLK_T_TYPE): Likewise.
22851
4d57bf63 228522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22853 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22854
22855 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22856 (xdr_mapname): Use YPMAXMAP as maxsize.
22857 (xdr_peername): Use YPMAXPEER as maxsize.
22858 (xdr_keydat): Use YPAXRECORD as maxsize.
22859 (xdr_valdat): Use YPMAXRECORD as maxsize.
22860
93c65d43
RM
228612012-10-01 Roland McGrath <roland@hack.frob.com>
22862
497a03d6
RM
22863 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22864
93c65d43
RM
22865 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22866 * csu/init-first.c: ... here.
22867 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22868 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22869 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22871 * sysdeps/i386/init-first.c: File removed.
22872 * sysdeps/sh/init-first.c: File removed.
22873
bec749fd
JM
228742012-10-01 Joseph Myers <joseph@codesourcery.com>
22875
22876 [BZ #14645]
22877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22878 if x * y might underflow to zero and z is zero.
22879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22881 * math/libm-test.inc (min_subnorm_value): New variable.
22882 (fma_test): Add more tests.
22883 (fma_test_towardzero): Likewise.
22884 (fma_test_downward): Likewise
22885 (fma_test_upward): Likewise.
22886 (initialize): Set min_subnorm_value.
22887
8ec5b013
JM
228882012-09-29 Joseph Myers <joseph@codesourcery.com>
22889
22890 [BZ #14638]
22891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22892 0 + 0.
22893 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22894 mode for addition resulting in exact zero.
22895 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22897 exact 0 + 0.
22898 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22900 * math/libm-test.inc (fma_test): Add more tests.
22901 (fma_test_towardzero): New function.
22902 (fma_test_downward): Likewise.
22903 (fma_test_upward): Likewise.
22904 (main): Call the new functions.
22905
b1fa802e
DM
229062012-09-28 David S. Miller <davem@davemloft.net>
22907
22908 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22909
d3b9fd9e
RM
229102012-09-28 Roland McGrath <roland@hack.frob.com>
22911
ea4d37b3
RM
22912 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22913 instead of SIGALRM.
22914
ac51c949
RM
22915 * sysdeps/gnu/_G_config.h: Moved to ...
22916 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22917 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22918 * sysdeps/generic/_G_config.h: ... here.
22919
28c195f7
RM
22920 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22921
848917f9
RM
22922 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22923
6bacf05b
RM
22924 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22925 Conditionalize target on [libnss_test1.so-version].
22926
91363dbb
RM
22927 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22928
cc87f7d8
RM
22929 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22930 (elfobjdir): Move out of conditionals.
22931
b1c608fe
RM
22932 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22933 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22934 (__nss_lookup_function): Conditionalize label remove_from_tree on
22935 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22936
1d9a6d96
DM
229372012-09-28 David S. Miller <davem@davemloft.net>
22938
22939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22940 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22941 file.
22942 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22943 sysdep_routines.
22944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22946 when HWCAP_SPARC_CRYPTO is present.
22947
72581615
PT
229482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22949
22950 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22951
715a900c
JL
229522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22953
22954 [BZ #6530]
22955 * stdio-common/vfprintf.c (process_string_arg): Revert
22956 2000-07-22 change.
22957
229582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22959
22960 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22961 for testcase.
22962 * stdio-common/tst-sprintf.c: Include <locale.h>
22963 (main): Test sprintf's handling of incomplete multibyte
22964 characters.
22965
9bac1d86
L
229662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22967
22968 * elf/dl-runtime.c (VERSYMIDX): Removed.
22969 * elf/dl-version.c (VERSYMIDX): Likewise.
22970 * elf/do-rel.h (VERSYMIDX): Likewise.
22971 (VALIDX): Likewise.
22972 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22973 * elf/rtld.c (VALIDX): Likewise.
22974 (ADDRIDX): Likewise.
9bac1d86
L
22975 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22976 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22977 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22978 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22979 (VALIDX): Likewise.
22980 (ADDRIDX): Likewise.
9bac1d86 22981
b31606c0
PT
229822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22983
22984 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22985
11541177
JL
229862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22987
22988 [BZ #11438]
22989 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22990 to global scope.
22991 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22992 addresses are in the same scope as 192.0.2/24.
22993 * posix/gai.conf: Document new scope table defaults.
22994
adb26fae
SP
229952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22996
22997 [BZ #5298]
22998 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22999 for ftell. Compute offsets from write pointers instead.
23000 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23001
4573c6b0
SP
230022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23003
23004 [BZ #14543]
23005 * libio/Makefile (tests): New test case tst-fseek.
23006 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23007 combination works in wide mode.
23008 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23009 state when the external buffer state changes.
23010
aa9bbfe6
DM
230112012-09-27 David S. Miller <davem@davemloft.net>
23012
23013 [BZ #14376]
23014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23015 pass reloc->r_addend in as the 'high' argument to
23016 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23017
784421e7
DM
23018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23019
c39bc8b8
PT
230202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23021
23022 * rt/tst-aio2.c: Include <pthread.h>.
23023 * rt/tst-aio3.c: Likewise.
23024
1ccc2399
SE
230252012-09-27 Steve Ellcey <sellcey@mips.com>
23026
23027 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23028
31ed4153
L
230292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23030
25f5f885
L
23031 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23032 contents on [SHARED].
31ed4153 23033
b7bfe116
MP
230342012-09-26 Marek Polacek <polacek@redhat.com>
23035
23036 [BZ #14530]
23037 [BZ #13741]
23038 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23039 for C++ and GCC <4.3 as well as for non GCC compilers.
23040
43c4edba
MT
230412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23042
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23044
6a1bf82f
RM
230452012-09-25 Roland McGrath <roland@hack.frob.com>
23046
23047 * Makefile.in (all, install): Declare with .PHONY.
23048 Reported by Michael Hope <michael.hope@linaro.org>.
23049
8ad11b9a
TMQMF
230502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23051
23052 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23053 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23054 system header.
23055 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23056 Likewise.
23057 (sydep_routines): Add the new and the internal functions.
23058 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23059 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23061 (GLIBC_2.17): Add the new function.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23063 (GLIBC_2.17): Likewise.
23064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23065 (GLIBC_2.17): Likewise.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23067 (GLIBC_2.17): Likewise.
23068 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23069
7e2fca8d
AM
230702012-09-25 Alan Modra <amodra@gmail.com>
23071
23072 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23073 Add release barrier before setting once_control to say
23074 initialisation is done. Add hints on lwarx. Use macro in
23075 place of isync.
23076 (clear_once_control): Add release barrier.
23077
b87c4b24
JM
230782012-09-25 Joseph Myers <joseph@codesourcery.com>
23079
d032e0d2
JM
23080 [BZ #13629]
23081 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23082 specially.
23083 * math/s_clog10.c (__clog10): Likewise.
23084 * math/s_clog10f.c (__clog10f): Likewise.
23085 * math/s_clog10l.c (__clog10l): Likewise.
23086 * math/s_clogf.c (__clogf): Likewise.
23087 * math/s_clogl.c (__clogl): Likewise.
23088 * math/Makefile (libm-calls): Add x2y2m1.
23089 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23090 (__x2y2m1): Likewise.
23091 (__x2y2m1l): Likewise.
23092 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23093 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23094 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23095 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23096 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23097 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23098 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23099 * sysdeps/i386/fpu/libm-test-ulps: Update.
23100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23101
b87c4b24
JM
23102 [BZ #14621]
23103 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23104 int as type of variable DEPTH.
23105 (glob): Use size_t instead of int as type of variables NEWCOUNT
23106 and OLD_PATHC.
23107
6d3bf199
LD
231082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23109
22bf5c17
LD
23110 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23111 Add s_sincosf-sse2.
23112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23113 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23114 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23115 macros for using routine as __sincosf_ia32.
23116 Use macro for function declaration and weak_alias.
23117 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118
23119 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23121
23122 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23123 subnormal argument.
23124 * math/s_cexpf.c (__cexpf): Likewise.
23125 * math/s_csinf.c (__csinf): Likewise.
23126 * math/s_csinhf.c (__csinhf): Likewise.
23127 * math/s_ctanf.c (__ctanf): Likewise.
23128 * math/s_ctanhf.c (__ctanhf): Likewise.
23129 * math/s_ccosh.c (__ccoshf): Likewise.
23130 * math/s_cexp.c (__cexpl): Likewise.
23131 * math/s_csin.c (__csin): Likewise.
23132 * math/s_csinh.c (__csinh): Likewise.
23133 * math/s_ctan.c (__ctan): Likewise.
23134 * math/s_ctanh.c (ctanh): Likewise.
23135 * math/s_ccoshl.c (__ccoshl): Likewise.
23136 * math/s_cexpl.c (__cexpl): Likewise.
23137 * math/s_csinl.c (__csinl): Likewise.
23138 * math/s_csinhl.c (__csinhl): Likewise.
23139 * math/s_ctanl.c (__ctanl): Likewise.
23140 * math/s_ctanhl.c (__ctanhl): Likewise.
23141
203e5603
JM
231422012-09-25 Joseph Myers <joseph@codesourcery.com>
23143
23144 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23145 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23146 (_IO_off_t): Define to __off_t, not _G_off_t.
23147 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23148 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23149 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23150 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23151 type of __dummy and __dummy2 fields.
23152 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23153 (_G_ssize_t): Likewise.
23154 (_G_off_t): Likewise.
23155 (_G_pid_t): Likewise.
23156 (_G_uid_t): Likewise.
23157 (_G_wchar_t): Likewise.
23158 (_G_wint_t): Likewise.
23159 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23160 (_G_ssize_t): Likewise.
23161 (_G_off_t): Likewise.
23162 (_G_pid_t): Likewise.
23163 (_G_uid_t): Likewise.
23164 (_G_wchar_t): Likewise.
23165 (_G_wint_t): Likewise.
23166 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23167 (_G_ssize_t): Likewise.
23168 (_G_off_t): Likewise.
23169 (_G_pid_t): Likewise.
23170 (_G_uid_t): Likewise.
23171 (_G_wchar_t): Likewise.
23172 (_G_wint_t): Likewise.
23173
9fab36eb
SP
231742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23175
23176 * malloc/arena.c: Include malloc-sysdep.h.
23177 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23178 is sufficient to shrink the heap or an unmap is needed.
23179 * sysdeps/generic/malloc-sysdep.h: New file. Define
23180 new function check_may_shrink_heap.
23181 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23182 new function check_may_shrink_heap.
23183
2b4f00d1
SP
231842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23185
23186 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23187 comments.
23188
9a9028b1
DL
231892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23190
57c69bef
DL
23191 * catgets/test-gencat.sh: Add "set -e".
23192 * elf/tst-pathopt.sh: Likewise.
23193 * grp/tst_fgetgrent.sh: Likewise.
23194 * iconvdata/run-iconv-test.sh: Likewise.
23195 * intl/tst-gettext.sh: Likewise.
23196 * intl/tst-gettext2.sh: Likewise.
23197 * intl/tst-gettext4.sh: Likewise.
23198 * intl/tst-gettext6.sh: Likewise.
23199 * intl/tst-translit.sh: Likewise.
23200 * io/ftwtest-sh: Likewise.
23201 * libio/test-freopen.sh: Likewise.
23202 * malloc/tst-mtrace.sh: Likewise.
23203 * posix/globtest.sh: Likewise.
23204 * posix/tst-getconf.sh: Likewise.
23205 * posix/wordexp-tst.sh: Likewise.
23206 * stdio-common/tst-printf.sh: Likewise.
23207 * stdio-common/tst-unbputc.sh: Likewise.
23208 * stdlib/tst-fmtmsg.sh: Likewise.
23209 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23210 * catgets/Makefile: Do not specify -e option when running
23211 testsuite shell scripts.
23212 * elf/Makefile: Likewise.
23213 * grp/Makefile: Likewise.
23214 * iconvdata/Makefile: Likewise.
23215 * intl/Makefile: Likewise.
23216 * io/Makefile: Likewise.
23217 * libio/Makefile: Likewise.
23218 * malloc/Makefile: Likewise.
23219 * posix/Makefile: Likewise.
23220 * stdio-common/Makefile: Likewise.
23221 * stdlib/Makefile: Likewise.
23222 * sysdeps/x86_64/Makefile: Likewise.
23223
9a9028b1
DL
23224 * io/ftwtest-sh: Add copyright header.
23225 * posix/globtest.sh: Likewise.
23226 * posix/tst-getconf.sh: Likewise.
23227 * posix/wordexp-tst.sh: Likewise.
23228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23229
ced6f16e
L
232302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23231
94b32c39
L
23232 [BZ #13679]
23233 * Makeconfig (+link): Defined as $(+link-static) if
23234 $(build-shared) isn't yes.
23235 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23236 isn't yes.
23237 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23238
189e935b
L
23239 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23240
ced6f16e
L
23241 [BZ #14562]
23242 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23243 new chunk size with MALLOC_ALIGN_MASK.
23244
a9f8e53a
JM
232452012-09-24 Joseph Myers <joseph@codesourcery.com>
23246
23247 [BZ #5044]
23248 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23249 <rounding-mode.h>.
23250 (__printf_fphex): Determine rounding using get_rounding_mode and
23251 round_away.
23252 * stdio-common/tst-printf-round.c (struct hex_test): New
23253 structure.
23254 (hex_tests): New variable.
23255 (test_hex_in_one_mode): New function.
23256 (do_test): Also run tests for hex float output.
23257
43153109
JM
232582012-09-21 Joseph Myers <joseph@codesourcery.com>
23259
23260 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23261 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23262 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23263 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23264 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23265 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23266 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23268
8a26625d
JM
232692012-09-20 Joseph Myers <joseph@codesourcery.com>
23270
23271 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23272 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23273 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23274 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23275
f3fd569c
DL
232762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23277
23278 [BZ #14579]
23279 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23280 mode only.
23281 * elf/tst-rtld-load-self.sh: New test.
23282 * elf/Makefile: Run it.
23283
63bbedd4
JM
232842012-09-18 Joseph Myers <joseph@codesourcery.com>
23285
23286 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23287 (tst-writev-ENV): Remove.
23288 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23289
626f8b6a
CM
232902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23291
23292 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23293
b7aaa4d6
JM
232942012-09-17 Joseph Myers <joseph@codesourcery.com>
23295
23296 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23297 unconditional.
23298 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23299 Likewise.
23300 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23301 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23303 Likewise.
23304
65513990
L
233052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23306
23307 [BZ #14587]
23308 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23309 * config.make.in (have-cpp-asm-debuginfo): Removed.
23310 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23311 * configure: Regenerated.
23312
784761be
JM
233132012-09-14 Joseph Myers <joseph@codesourcery.com>
23314
23315 [BZ #5044]
23316 * stdio-common/printf_fp.c: Include <stdbool.h> and
23317 <rounding-mode.h>.
23318 (___printf_fp): Determine rounding using get_rounding_mode and
23319 round_away.
23320 * stdio-common/tst-printf-round.c: New file.
23321 * stdio-common/Makefile (tests): Add tst-printf-round.
23322 (link-libm): New variable.
23323 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23324
9503345f
L
233252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 [BZ #14576]
23328 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23329 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23330 Likewise.
23331 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23332 Likewise.
23333
ad35fc00
JM
233342012-09-13 Joseph Myers <joseph@codesourcery.com>
23335
23336 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23337 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23338 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23339 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23340
6c9b0f68
JM
233412012-09-12 Joseph Myers <joseph@codesourcery.com>
23342
23343 [BZ #14518]
23344 * include/rounding-mode.h: New file.
23345 * sysdeps/generic/get-rounding-mode.h: Likewise.
23346 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23347 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23348 (MAX_VALUE): New macro.
23349 (MIN_VALUE): Likewise.
23350 (overflow_value): New function.
23351 (underflow_value): Likewise.
23352 (round_and_return): Use overflow_value and underflow_value to
23353 determine return values in overflow and underflow cases. Use
23354 round_away to determine rounding depending on rounding mode.
23355 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23356 determine return values in overflow and underflow cases.
23357 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23358 (struct test_results): New structure.
23359 (struct test): Use struct test_results to store expected results
23360 for all rounding modes.
23361 (TEST): Include expected results for all rounding modes.
23362 (test_in_one_mode): New function.
23363 (do_test): Use test_in_one_mode to compute and check results.
23364 Check results for all rounding modes.
23365 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23366 $(link-libm).
23367
19fcedd5
AM
233682012-12-09 Allan McRae <allan@archlinux.org>
23369
1e9d84cd 23370 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23371
8bbfd2f1
JM
233722012-09-11 Joseph Myers <joseph@codesourcery.com>
23373
23374 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23375 (_G_int32_t): Likewise.
23376 (_G_uint16_t): Likewise.
23377 (_G_uint32_t): Likewise.
23378 (_G_HAVE_BOOL): Likewise.
23379 (_G_HAVE_ATEXIT): Likewise.
23380 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23381 (_G_HAVE_IO_FILE_OPEN): Likewise.
23382 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23383 (_G_int32_t): Likewise.
23384 (_G_uint16_t): Likewise.
23385 (_G_uint32_t): Likewise.
23386 (_G_HAVE_BOOL): Likewise.
23387 (_G_HAVE_ATEXIT): Likewise.
23388 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23389 (_G_HAVE_IO_FILE_OPEN): Likewise.
23390 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23391 (_G_int32_t): Likewise.
23392 (_G_uint16_t): Likewise.
23393 (_G_uint32_t): Likewise.
23394 (_G_HAVE_BOOL): Likewise.
23395 (_G_HAVE_ATEXIT): Likewise.
23396 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23397 (_G_HAVE_IO_FILE_OPEN): Likewise.
23398
b1dc5912
L
233992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23400
23401 * csu/libc-tls.c: Update copyright years.
23402
0e886ef9
JM
234032012-09-10 Joseph Myers <joseph@codesourcery.com>
23404
28361c5e
JM
23405 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23406 [!_G_USING_THUNKS]: Remove conditional code.
23407 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23408 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23409
0e886ef9
JM
23410 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23411 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23412 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23413 (_G_VTABLE_LABEL_PREFIX): Likewise.
23414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23415 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23416 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23417 (_G_VTABLE_LABEL_PREFIX): Likewise.
23418 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23419 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23420 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23421 (_G_VTABLE_LABEL_PREFIX): Likewise.
23422 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23423
bcba7aa2
L
234242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23425
23426 * libio/Makefile: Include ../Makeconfig before tests.
23427 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23428 only if $(build-shared) is yes.
23429
06585ee8
L
23430 * iconv/gconv_db.c: Update copyright years.
23431
80ccd52c
LD
234322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23433
23434 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23435 unwind info if defined PIC. Fix special cases description.
23436 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23437
23438 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23439 DP_HI_MASK entry.
23440 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23441
691bc9c1
L
234422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23443
3d9b46b3
L
23444 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23445
de2139a9
L
23446 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23447 is NULL.
23448
5ca78dd0
L
23449 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23450 (LDLIBS-tst-chk4): This.
23451 (LDFLAGS-tst-chk5): Renamed to ...
23452 (LDLIBS-tst-chk5): This.
23453 (LDFLAGS-tst-chk6): Renamed to ...
23454 (LDLIBS-tst-chk6): This.
23455 (LDFLAGS-tst-lfschk4): Renamed to ...
23456 (LDLIBS-tst-lfschk4): This.
23457 (LDFLAGS-tst-lfschk5): Renamed to ...
23458 (LDLIBS-tst-lfschk5): This.
23459 (LDFLAGS-tst-lfschk6): Renamed to ...
23460 (LDLIBS-tst-lfschk6): This.
23461
691bc9c1
L
23462 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23463 on $(common-objpfx)soversions.mk.
23464
65cafb1c
JM
234652012-09-07 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #10014]
23468 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23469 example host name.
23470
c78ab094
SP
234712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23472
23473 * malloc/arena.c (arena_get_retry): New function that gets
23474 another arena for the caller to try its request on.
23475 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23476 current arena cannot fulfill the request.
23477 (__libc_memalign): Likewise.
23478 (__libc_memalign): Likewise.
23479 (__libc_pvalloc): Likewise.
23480 (__libc_calloc): Likewise.
23481
01f49f59
JT
234822012-09-05 John Tobey <john.tobey@gmail.com>
23483
23484 [BZ #13542]
23485 * manual/arith.texi (Operations on Complex): Fix description
23486 of carg branch cut.
23487
4c23fed5
JM
234882012-09-06 Joseph Myers <joseph@codesourcery.com>
23489
1d3c8572
JM
23490 [BZ #10014]
23491 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23492 host name.
23493
4c23fed5
JM
23494 [BZ #10038]
23495 * manual/memory.texi (Memory): Make order of menu items match
23496 order of sections.
23497
04570aaa
L
234982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23499
23500 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23501 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23502 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23503
b80af2f4
L
235042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23505
23506 * csu/libc-tls.c (static_dtv): Renamed to ...
23507 (_dl_static_dtv): This. Make it global.
23508 (_dl_initial_dtv): Removed.
23509 (__libc_setup_tls): Updated.
23510 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23511 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23512 DL_INITIAL_DTV.
23513
2abe9f15
PM
235142012-09-06 Petr Machata <pmachata@redhat.com>
23515
23516 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23517 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23518 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23519 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23520
0948c3af
L
235212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23522
23523 [BZ #14545]
23524 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23525 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23526 freeing dtv[-1].
23527
a5055ad1
L
235282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23529
23530 [BZ #14544]
23531 * Makeconfig (link-static-before-libc): Replace $(+prector)
23532 with $(+prectorT).
23533 (link-static-after-libc): Replace $(+postctor) with
23534 $(+postctorT).
23535 (link-bounded): Replace $(+prector)/$(+postctor) with
23536 $(+prectorT)/$(+postctorT).
23537 (+prectorT): New macro.
23538 (+postctorT): Likewise.
23539
ed8c2ecd
JM
235402012-09-06 Joseph Myers <joseph@codesourcery.com>
23541
23542 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23543 (round_str): Handle values above the maximum for IBM long double
23544 as inexact.
23545 * stdlib/tst-strtod-round.c (tests): Regenerated.
23546
14c996c8
AK
235472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23548
23549 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23550 assembler flag.
23551 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23552 zarch_nohighgprs around the zarch optimized routines.
23553 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23554 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23555 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23556 for zarch.
23557
430d6ce6
DM
235582012-09-05 David S. Miller <davem@davemloft.net>
23559
23560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23561
ff04dda4
DM
23562 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23563 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23564 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23565 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23566 entries.
23567
24d4e01b
AO
235682012-09-05 Alexandre Oliva <aoliva@redhat.com>
23569
23570 * malloc/arena.c: Fold copyright years.
23571 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23572
61d58174
AO
235732012-09-05 Alexandre Oliva <aoliva@redhat.com>
23574
23575 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23576
20196a5e
AO
235772012-09-05 Alexandre Oliva <aoliva@redhat.com>
23578
23579 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23580
5c447383
AO
235812012-09-05 Alexandre Oliva <aoliva@redhat.com>
23582
23583 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23584 change internal state upon failure.
23585
fad64255
AO
235862012-09-05 Alexandre Oliva <aoliva@redhat.com>
23587
23588 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23589 * malloc/memusage.c (mmap): Likewise.
23590 (mmap64, mremap): Likewise. Adjust name in comment.
23591
1ffb8c90
SP
235922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23593
23594 * libio/fileops.c: Fix typos in comments.
23595 * libio/oldfileops.c: Likewise.
23596 * libio/wfileops.c: Likewise.
23597
6ef9cc37
SP
235982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23599
23600 [BZ #1349]
23601 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23602 (tst-malloc-usable-ENV): Set environment for test case.
23603 * malloc/hooks.c (malloc_check_get_size): New function to get
23604 requested size.
23605 * malloc/malloc.c (musable): Use malloc_check_get_size.
23606 * malloc/tst-malloc-usable.c: New test case.
23607
4d038ae3
AS
236082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23609
23610 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23611
c4e85184
AM
236122012-09-05 Allan McRae <allan@archlinux.org>
23613
b9dafc56 23614 [BZ #13966]
c4e85184
AM
23615 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23616 determine header location.
23617 * configure: Regenerated.
23618
e1343020
AS
236192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23620
23621 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23622 float format.
23623 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23624 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23625 format.
e1343020
AS
23626 (test): Regenerate.
23627
0a9f1987
DM
236282012-09-04 David S. Miller <davem@davemloft.net>
23629
23630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23633
29237804
FW
236342012-09-04 Florian Weimer <fweimer@redhat.com>
23635
23636 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23637 failures.
23638
edb3cb88
FW
23639 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23640
60160d83
JM
236412012-09-04 Joseph Myers <joseph@codesourcery.com>
23642
23643 [BZ #9914]
23644 * libio/iogetdelim.c: Include <limits.h>.
23645 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23646 + len + 1 would overflow.
23647
bcd6c8dc
AJ
236482012-09-03 Andreas Jaeger <aj@suse.de>
23649
23650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23651 * sysdeps/i386/fpu/libm-test-ulps: Update.
23652
4ffffbd2
LD
236532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23654
23655 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23656 Add s_sinf-sse2, s_conf-sse2.
23657
23658 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23659 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23660 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23661 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23662
23663 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23664 for using routine as __sinf_ia32.
23665 Use macro for function declaration and weak_alias.
23666 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23667 for using routine as __cosf_ia32.
23668 Use macro for function declaration and weak_alias.
23669
23670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23671 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23672
23673 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23674 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23676
23677 * math/libm-test.inc (cos_test): Add more test cases.
23678 (sin_test): Likewise.
23679 (sincos_test): Likewise.
23680
511fa286
AK
236812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23682
23683 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23684 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23685 hidden.
23686 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23687
5f30cfec
L
236882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23689
23690 [BZ #14538]
23691 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23692 first element of the GOT.
23693 (elf_machine_load_address): Return the difference between
23694 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23695
0786794f
AM
236962012-09-01 Allan McRae <allan@archlinux.org>
23697
5f30cfec
L
23698 [BZ #13412]
23699 * configure.in (AWK): Require gawk version 3.0 or later.
23700 * configure: Regenerated.
0786794f 23701
26889eac
JM
237022012-09-01 Joseph Myers <joseph@codesourcery.com>
23703
23704 * sysdeps/unix/sysv/linux/kernel-features.h
23705 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23706 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23707 [__NR_clock_getres]: Make code unconditional.
23708 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23709 (clock_getcpuclockid): Remove code left unreachable by removal of
23710 conditionals.
23711 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23712 code unconditional.
23713 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23714 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23715 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23716 Make code unconditional.
23717 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23718 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23719 * sysdeps/unix/sysv/linux/clock_settime.c
23720 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23721 conditional code.
23722 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23724
d22e28b0
L
237252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 [BZ #14476]
23728 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23729 scripts/test-installation.pl.
23730
23731 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23732 and $ld_so_version if it is set.
23733
050af9c4
SP
237342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23735
23736 [BZ #14516]
23737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23738 failure if reading from procfs failed.
23739 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23740
ad845c0b
JM
237412012-08-27 Joseph Myers <joseph@codesourcery.com>
23742
23743 * sysdeps/unix/sysv/linux/kernel-features.h
23744 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23745 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23746 Remove conditional code.
23747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23748 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23749 Remove conditional code.
23750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23751 * sysdeps/unix/sysv/linux/i386/fxstat.c
23752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23754 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23757 * sysdeps/unix/sysv/linux/i386/lxstat.c
23758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23760 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23761 Remove conditional code.
23762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23763 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23764 Remove conditional code.
23765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23766 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23767 <kernel-features.h>.
23768 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23769 Remove.
23770 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23771 Remove conditional code.
23772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23773 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23774 Remove conditional.
23775
5dbf56af
MF
237762012-08-27 Mike Frysinger <vapier@gentoo.org>
23777
23778 [BZ #5400]
23779 * NEWS: Add fixed bug number.
23780
d6e70f43
JM
237812012-08-27 Joseph Myers <joseph@codesourcery.com>
23782
7efb4737
JM
23783 [BZ #14519]
23784 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23785 underflowing exponent in case of negative sign.
23786 * stdlib/tst-strtod-round-data: Add more tests.
23787 * stdlib/tst-strtod-round.c (tests): Regenerated.
23788
af92131a
JM
23789 [BZ #3479]
23790 * stdlib/strtod_l.c (NDIG): Remove.
23791 (HEXNDIG): Likewise.
23792 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23793 smallest representable value.
23794 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23795 lie within an exact representation of 1/2 ulp of the result.
23796 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23797 unconditionally.
23798 (TENS_P9_IDX): Define unconditionally.
23799 (TENS_P9_SIZE): Likewise.
23800 (TENS_P10_IDX): Likewise.
23801 (TENS_P10_SIZE): Likewise.
23802 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23803 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23804 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23805 entries for 10^2^13 and 10^2^14.
23806 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23807 (TENS_P13_IDX): Define.
23808 (TENS_P13_SIZE): Likewise.
23809 (TENS_P14_IDX): Likewise.
23810 (TENS_P14_SIZE): Likewise.
23811 (_fpioconst_pow10): Change array size to
23812 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23813 unconditional.
23814 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23815 1024]: Add entries for 10^2^13 and 10^2^14.
23816 [LAST_POW10 > _LAST_POW10]: Remove #error.
23817 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23818 (_fpioconst_pow10): Change array size to
23819 FPIOCONST_POW10_ARRAY_SIZE.
23820 * stdlib/gen-fpioconst.c: New file.
23821 * stdlib/gen-tst-strtod-round.c: Likewise.
23822 * stdlib/tst-strtod-round-data: Likewise.
23823 * stdlib/tst-strtod-round.c: Likewise.
23824 * stdlib/Makefile (tests): Add tst-strtod-round.
23825
d6e70f43
JM
23826 [BZ #14459]
23827 * stdlib/strtod_l.c: Include <stdint.h>.
23828 (NDEBUG): Do not define.
23829 (round_and_return): Change EXPONENT parameter to type intmax_t.
23830 Rearrange calculations to avoid internal overflow possibilities.
23831 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23832 Rearrange calculations to avoid internal overflow possibilities.
23833 Assert that number fits inside MPNSIZE limbs.
23834 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23835 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23836 calculations and add assertions to avoid internal overflow
23837 possibilities. Add casts to avoid signed/unsigned operations.
23838 * stdlib/tst-strtod-overflow.c: New file.
23839 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23840
1f529f7d
MP
238412012-08-25 Marek Polacek <polacek@redhat.com>
23842
23843 * time/time.h: Fix some typos in comments.
23844
59a629f1
RM
238452012-08-23 Roland McGrath <roland@hack.frob.com>
23846
23847 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23848 * posix/tst-rfc3484-2.c: Likewise.
23849 * posix/tst-rfc3484-3.c: Likewise.
23850
d3bafbc9
SM
238512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23852
23853 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23854 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23855
4efcc022
JM
238562012-08-23 Joseph Myers <joseph@codesourcery.com>
23857
23858 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23859 #include of fxstatat64.c.
23860
3cc3ef96
RM
238612012-08-22 Roland McGrath <roland@hack.frob.com>
23862
f04e2132
RM
23863 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23864 * shadow/getspent_r.c: Likewise.
23865 * shadow/getspnam.c: Likewise.
23866 * shadow/getspnam_r.c: Likewise.
23867 * gshadow/getsgent.c: Likewise.
23868 * gshadow/getsgent_r.c: Likewise.
23869 * gshadow/getsgnam.c: Likewise.
23870 * gshadow/getsgnam_r.c: Likewise.
23871 * inet/getnetbyad.c: Likewise.
23872 * inet/getnetbyad_r.c: Likewise.
23873 * inet/getnetbynm.c: Likewise.
23874 * inet/getnetbynm_r.c: Likewise.
23875 * inet/getnetent.c: Likewise.
23876 * inet/getnetent_r.c: Likewise.
23877 * inet/getproto.c: Likewise.
23878 * inet/getproto_r.c: Likewise.
23879 * inet/getprtent.c: Likewise.
23880 * inet/getprtent_r.c: Likewise.
23881 * inet/getprtname.c: Likewise.
23882 * inet/getprtname_r.c: Likewise.
23883 * inet/getrpcbyname.c: Likewise.
23884 * inet/getrpcbyname_r.c: Likewise.
23885 * inet/getrpcbynumber.c: Likewise.
23886 * inet/getrpcbynumber_r.c: Likewise.
23887 * inet/getrpcent.c: Likewise.
23888 * inet/getrpcent_r.c: Likewise.
23889 * inet/getaliasent.c: Likewise.
23890 * inet/getaliasent_r.c: Likewise.
23891 * inet/getaliasname.c: Likewise.
23892 * inet/getaliasname_r.c: Likewise.
23893 * nscd/getgrgid_r.c: Likewise.
23894 * nscd/getgrnam_r.c: Likewise.
23895 * nscd/gethstbyad_r.c: Likewise.
23896 * nscd/gethstbynm3_r.c: Likewise.
23897 * nscd/getpwnam_r.c: Likewise.
23898 * nscd/getpwuid_r.c: Likewise.
23899 * nscd/getsrvbynm_r.c: Likewise.
23900 * nscd/getsrvbypt_r.c: Likewise.
23901 * nscd/gai.c: Likewise.
23902
c53d909c
RM
23903 * configure.in (build_nscd): New substituted variable, set
23904 by --disable-build-nscd and defaults to $use_nscd.
23905 * configure: Regenerated.
23906 * config.make.in (build-nscd): New substituted variable.
23907 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23908 Change conditional to require [$(build-nscd) = yes] as well.
23909 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23910
3cc3ef96
RM
23911 [BZ# 13696]
23912 * configure.in (use_nscd): New substituted variable, set by
23913 --disable-nscd. If enabled, define USE_NSCD.
23914 * configure: Regenerated.
23915 * config.h.in: Add USE_NSCD.
23916 * config.make.in (use-nscd): New substituted variable.
23917 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23918 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23919 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23920 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23921 (CFLAGS-getgrnam_r.c): Likewise.
23922 (CFLAGS-initgroups.c): Likewise.
23923 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23924 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23925 Variables removed.
23926 * inet/getnetgrent_r.c
23927 (nscd_setnetgrent): New function, broken out of ...
23928 (setnetgrent): ... here. Call it.
23929 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23930 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23931 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23932 * nscd/Makefile (routines, aux): Move definitions after include of
23933 Makeconfig. Conditionalize on [$(use-nscd) != no].
23934 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23935 Conditionalize on [USE_NSCD].
23936 (is_nscd, nscd_init_cb): Likewise.
23937 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23938 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23939 * nss/nss_db/db-init.c: Likewise.
23940 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23941 [USE_NSCD].
23942 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23943 (make_request): Use it.
23944 (cache_valid_p): New function.
23945 (__check_pf): Use it.
23946 * NEWS: Add item for --disable-nscd.
23947
07e51550
DL
239482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23949
23950 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23951 to support sed >= 4.2.1-20-ga9bf076.
23952 * configure: Regenerated.
23953
35a5b08b
RM
239542012-08-22 Roland McGrath <roland@hack.frob.com>
23955
23956 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23957 Conditionalize whole body on [IREL].
23958
8479f23a
JL
239592012-08-22 Jeff Law <law@redhat.com>
23960
23961 [BZ #14505]
23962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23963 if the family is PF_UNSPEC.
23964
48da0b21
MF
239652012-08-22 Mike Frysinger <vapier@gentoo.org>
23966
23967 * Makerules (lib-version): Rename from V.
23968 (install-lib-nosubdir): Change V to lib-version.
23969
15d0da8c
WS
239702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23971
23972 [BZ #14252]
23973 * powerpc32/power6/wcschr.c: New file.
23974 * powerpc32/power6/wcscpy.c: New file.
23975 * powerpc32/power6/wcsrchr.c: New file.
23976 * powerpc64/power6/wcschr.c: New file.
23977 * powerpc64/power6/wcscpy.c: New file.
23978 * powerpc64/power6/wcsrchr.c: New file.
23979
bcca0895
MK
239802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23981
23982 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23983 (two_way_short_needle): Use it.
5a4aaa33
RM
23984 * string/strstr.c (AVAILABLE1_USES_J): Define.
23985 * string/strcasestr.c: Likewise.
99677e57
MK
23986
23987 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23988 array references.
23989 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23990
400726de
MK
23991 [BZ #11607]
23992 * NEWS: Add an entry.
23993 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23994 define their defaults.
23995 (two_way_short_needle): Detect end-of-string on-the-fly.
23996 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23997 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23998 * string/bug-strcasestr1.c: New test.
23999 * string/Makefile: Run it.
24000
20a71f2c
MK
240012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24002
24003 [BZ #11607]
24004 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24005 the first character.
24006
21ad0558
RM
240072012-08-21 Roland McGrath <roland@hack.frob.com>
24008
24009 * csu/elf-init.c (__libc_csu_irel): Function removed.
24010 * csu/libc-start.c (apply_irel): New function.
24011 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24012
0e1d9911
JM
240132012-08-21 Joseph Myers <joseph@codesourcery.com>
24014
24015 * sysdeps/unix/sysv/linux/kernel-features.h
24016 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24017 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24018 <kernel-features.h>.
24019 [__NR_fadvise64_64]: Make code unconditional.
24020 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24021 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24022 !__NR_fadvise64_64)]: Likewise.
24023 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24024 !__NR_fadvise64_64))]: Likewise.
24025 [__NR_fadvise64]: Make code unconditional.
24026 [!__NR_fadvise64]: Remove conditional code.
24027 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24028 <kernel-features.h>.
24029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24030 unconditional.
24031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24032 conditional code.
24033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24034 not include <kernel-features.h>.
24035 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24036 unconditional.
24037 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24038 conditional code.
24039 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24040 include <kernel-features.h>.
24041 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24042 unconditional.
24043 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24044 conditional code.
24045
14a50c9d
WS
240462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24047
24048 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24049 slight instruction rearrangements per scrollpipe analysis.
24050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24051
c0f4faf0
RM
240522012-08-20 Roland McGrath <roland@hack.frob.com>
24053
696da859
RM
24054 * manual/syslog.texi (syslog; vsyslog, closelog):
24055 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24056 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24057
c0f4faf0
RM
24058 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24059 DSOCAPS to match condition on defining it.
24060
348363b2
JM
240612012-08-20 Joseph Myers <joseph@codesourcery.com>
24062
a35cbf28
JM
24063 * sysdeps/unix/sysv/linux/kernel-features.h
24064 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24074
445f7ecd
JM
24075 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24076 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24077
348363b2
JM
24078 * sysdeps/unix/sysv/linux/kernel-features.h
24079 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24080 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24081 unconditional.
24082 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24083 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24084 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24085 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24086 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24087 Make code unconditional.
24088 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24089 (__mmap64) [!__NR_mmap2]: Likewise.
24090 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24091 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24092 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24094 [__NR_mmap2]: Make code unconditional.
24095 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24096 (__mmap64) [!__NR_mmap2]: Likewise.
24097
bc5bc0e5
AK
240982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24099
24100 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24101
88d506de
AJ
241022012-08-18 Andreas Jaeger <aj@suse.de>
24103
24104 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24105
493387d2
MF
241062012-08-18 Mike Frysinger <vapier@gentoo.org>
24107
24108 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24109 * include/unistd.h (__have_sock_cloexec): Likewise.
24110 (__have_pipe2): Likewise.
24111 (__have_dup3): Likewise.
24112
a277af22
MF
241132012-08-18 Mike Frysinger <vapier@gentoo.org>
24114
24115 [BZ #9685]
24116 * include/unistd.h (__have_pipe2): Change define into an extern int.
24117 (__have_dup3): Likewise.
24118 * socket/have_sock_cloexec.c: Include fcntl.h.
24119 (__have_pipe2): New variable.
24120 (__have_dup3): Likewise.
24121
fdab8fd3
MF
241222012-08-17 Mike Frysinger <vapier@gentoo.org>
24123
24124 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24125
31035e80
MP
241262012-08-17 Marek Polacek <polacek@redhat.com>
24127
24128 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24129 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24130
3bd9e993
RM
241312012-08-17 Roland McGrath <roland@hack.frob.com>
24132
c91c505f
RM
24133 * configure.in: Add AC_SUBST for sysheaders.
24134 * configure: Regenerated.
24135 * config.make.in (sysheaders): New substituted variable.
24136
7c6f9d53
RM
24137 * sysdeps/unix/mkfifo.c: Moved ...
24138 * sysdeps/posix/mkfifo.c: ... here.
24139 * sysdeps/unix/mkfifoat.c: Moved ...
24140 * sysdeps/posix/mkfifoat.c: ... here.
24141
24142 * sysdeps/unix/utime.c: Moved ...
24143 * sysdeps/posix/utime.c: ... here.
24144
24145 * sysdeps/unix/time.c: Moved ...
24146 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24147 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24149
24150 * sysdeps/unix/nice.c: Moved ...
24151 * sysdeps/posix/nice.c: ... here.
24152
24153 * sysdeps/unix/alarm.c: Moved ...
24154 * sysdeps/posix/alarm.c: ... here.
24155
3bd9e993
RM
24156 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24157
d1f09384
JL
241582012-08-17 Jeff Law <law@redhat.com>
24159
24160 * intl/Makefile (codeset_mo): New variable.
24161 ($(codeset_mo)): New target.
24162 (tst-codeset.out): Depend on that. Remove explicit rule.
24163 (tst-gettext3.out, tst-gettext5.out): Likewise.
24164 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24165 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24166 * intl/tst-codeset.sh: Remove.
24167 * intl/tst-gettext3.sh: Likewise.
24168 * intl/tst-gettext5.sh: Likewise.
24169
2ae1ae5c
RM
241702012-08-17 Roland McGrath <roland@hack.frob.com>
24171
c31fdb83
RM
24172 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24173 * sysdeps/unix/syscalls.list: ... here.
24174
a0844057
RM
24175 * sysdeps/posix/getaddrinfo.c
24176 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24177 (gaiconf_init, gaiconf_reload): Use them.
24178 [!_STATBUF_ST_NSEC]
24179 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24180 Define using time_t rather than struct timespec.
24181
750c1f2a
RM
24182 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24183 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24184 Macros removed.
24185 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24186 [!NO_THREADS].
24187 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24188 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24189 Likewise.
24190
2ae1ae5c
RM
24191 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24192 __libc_cleanup_push argument.
24193
e66a42f5
RM
24194 * bits/param.h: New file.
24195 * misc/sys/param.h: New file.
24196 * include/sys/param.h: New file.
24197 * misc/Makefile (headers): Add bits/param.h.
24198 * sysdeps/generic/sys/param.h: File removed.
24199 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24200 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24201 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24202 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24203
b7c08a66
RM
24204 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24205 last change.
24206
b2e1c562
RM
24207 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24208 [_IO_MTSAFE_IO].
24209 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24210 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24211 New macros.
24212
c75ccd4c
RM
24213 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24214 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24215 rather than -D_IO_MTSAFE_IO conditionally.
24216 * stdio-common/Makefile (CPPFLAGS): Likewise.
24217 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24218 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24219 Use $(libio-mtsafe).
24220 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24221 of -D_IO_MTSAFE_IO.
24222 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24223 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24224 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24225 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24226 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24227 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24228 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24229 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24230 (CFLAGS-fread_u_chk.c): Likewise.
24231 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24232 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24233 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24234 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24235 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24236 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24237 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24238 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24239 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24240
24241 * libio/Makefile: Test [$(libc-reentrant) = yes]
24242 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24243
24244 * Makeconfig
24245 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24246 * sysdeps/pthread/configure: File removed.
24247 * sysdeps/pthread/Makeconfig: New file.
24248 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24249 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24250
d9195db8
GB
242512012-08-16 Gary Benson <gbenson@redhat.com>
24252
24253 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24254 unmapping the first object in a namespace.
24255
86466cd9
RM
242562012-08-16 Roland McGrath <roland@hack.frob.com>
24257
24258 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24259 (__internal_setnetgrent): ... this. Add internal_function to
24260 definition. Add libc_hidden_def.
24261 (setnetgrent): Update caller.
24262 (internal_endnetgrent): Renamed to ...
24263 (__internal_endnetgrent): ... this. Add internal_function to
24264 definition. Add libc_hidden_def.
24265 (endnetgrent): Update caller.
24266 (internal_getnetgrent_r): Renamed to ...
24267 (__internal_getnetgrent_r): ... this. Add internal_function to
24268 definition. Add libc_hidden_def.
24269 (__getnetgrent_r): Update caller.
24270 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24271
c3c8283c
JM
242722012-08-16 Joseph Myers <joseph@codesourcery.com>
24273
24274 * stdlib/longlong.h: Update from GCC.
24275
db1ee0a8
RM
242762012-08-16 Roland McGrath <roland@hack.frob.com>
24277
24278 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24279 on _QL, which is set by umul_ppmm but never used.
24280 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24281 variables, which are set by GMP macros but never used.
24282 * stdio-common/_itowa.c (_itowa): Likewise.
24283 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24284 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24285
30f69637
CD
242862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24287
24288 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24289 struct La_sh_regs is not constant.
24290 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24291 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24292 and struct La_sparc64_regs are not constant.
24293
93a78ac4
JM
242942012-08-16 Joseph Myers <joseph@codesourcery.com>
24295
24296 * sysdeps/unix/sysv/linux/kernel-features.h
24297 (__ASSUME_POSIX_TIMERS): Remove.
24298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24300 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24301 Make code unconditional.
24302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24303 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24304 Make code unconditional.
24305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24306 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24307 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24309 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24310 Make code unconditional.
24311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24312 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24313 (__libc_missing_posix_timers): Remove.
24314
dd924cd7
RM
243152012-08-15 Roland McGrath <roland@hack.frob.com>
24316
4b4f2771
RM
24317 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24318 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24319
601c888b
RM
24320 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24321
176790a7
RM
24322 * elf/dl-sym.c: Include <stdlib.h>.
24323
329bc018
RM
24324 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24325 constants, which avoids warnings in 32-bit builds.
24326
e04e272d
RM
24327 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24328 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24329
952bf94a
RM
24330 * misc/lseek.c: File moved to ...
24331 * io/lseek.c: ... here.
24332
7c99b50a
RM
24333 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24334
dd924cd7
RM
24335 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24336 shifting LEN more than 31 bits at once.
24337
b3f479a8
LD
243382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24339
24340 [BZ #14195]
8c4ae0d4
RM
24341 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24342 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24343 * string/test-strncasecmp.c (check1): Renamed to...
24344 (bz12205): ...this.
24345 (bz14195): Add new testcase for two empty input strings and N > 0.
24346 (test_main): Call new testcase, adapt for renamed function.
24347
9c55864e
AJ
243482012-08-15 Andreas Jaeger <aj@suse.de>
24349
24350 [BZ #14090]
24351 * crypt/md5test2.c: New test, based on test supplied by Serge
24352 Belyshev <belyshev@depni.sinp.msu.ru>.
24353 * crypt/Makefile (xtests): Add md5test-giant..
24354 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24355
02dcb6c5
PE
243562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24357
24358 [BZ #14090]
24359 * crypt/md5.c (md5_process_block): Don't assume the buffer
24360 length is less than 2**32.
24361 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24362 length is less than 2**64.
24363
a3f95dcc
RM
243642012-08-15 Roland McGrath <roland@hack.frob.com>
24365
be75d758
RM
24366 * string/str-two-way.h: Include <sys/param.h>.
24367 (MAX): Macro removed.
24368
7312ca90
RM
24369 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24370 Move #define and #undef of memmove to just before and after
24371 including <string.h>.
24372
9a0a5486
RM
24373 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24374 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24375 and after including <string.h>. Move declarations of
24376 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24377 to before #include "string/memmove.c".
24378
67cc348d
RM
24379 * include/dirent.h: Declare __getdirentries.
24380
a3f95dcc
RM
24381 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24382 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24383
ca98e171
MF
243842012-08-14 Mike Frysinger <vapier@gentoo.org>
24385
24386 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24387 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24388 * sysdeps/i386/configure: Regenerated.
24389 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24390 STABS_CURRENT_FILE, and STABS_FUN.
24391 (END): Remove call to STABS_FUN_END.
24392 (STABS_CURRENT_FILE1): Delete.
24393 (STABS_CURRENT_FILE): Likewise.
24394 (STABS_FUN): Likewise.
24395 (STABS_FUN_END): Likewise.
24396 (STABS_FUN2): Likewise.
24397 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24398 * sysdeps/x86_64/configure: Regenerated.
24399
5908bf46
RM
244002012-08-14 Roland McGrath <roland@hack.frob.com>
24401
24402 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24403 * elf/dl-lookup.c: Likewise.
5908bf46 24404
f2c05b9e
JM
244052012-08-14 Joseph Myers <joseph@codesourcery.com>
24406
24407 * sysdeps/unix/sysv/linux/kernel-features.h
24408 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24409 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24410 unconditionally.
24411 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24412 unconditionally.
24413 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24414 condition on __ASSUME_CLONE_THREAD_FLAGS.
24415
e11f5155
AJ
244162012-08-14 Andreas Jaeger <aj@suse.de>
24417
24418 * sysdeps/i386/fpu/libm-test-ulps: Update.
24419
51a9ba86
MK
244202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24421
2fdd4f78
AJ
24422 * include/atomic.h (atomic_exchange_and_add): Split into ...
24423 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24424 New atomic macros.
51a9ba86 24425
ba6cba9e
MT
244262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24427
24428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24429
42443a47
JL
244302012-08-13 Jeff Law <law@redhat.com>
24431
24432 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24433 null byte in the output string.
24434
121dce05
JM
244352012-08-10 Joseph Myers <joseph@codesourcery.com>
24436
24437 * sysdeps/unix/sysv/linux/kernel-features.h
24438 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24439 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24440 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24441 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24442 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24443 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24444 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24445
bf51f568
JL
244462012-08-09 Jeff Law <law@redhat.com>
24447
24448 [BZ #13939]
24449 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24450 When avoid_arena is set, don't retry in the that arena. Pick the
24451 next one, whatever it might be.
24452 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24453 (arena_lock): Pass in new parameter to arena_get2.
24454 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24455 arena_get2.
24456 (__libc_malloc): Unify retrying after main arena failure with
24457 __libc_memalign version.
24458 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24459
f85fa270
L
244602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24461
24462 [BZ #14166]
24463 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24464 to __redirect_strstr.
24465 (__strstr_sse42): Use typeof __redirect_strstr.
24466 (__strstr_ia32): Likewise.
24467 (__libc_strstr): New prototype.
24468 (strstr): Renamed to ...
24469 (__libc_strstr): This.
24470 (strstr): New strong alias of __libc_strstr.
24471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24472 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24473 __redirect_time.
24474 Include <time.h>.
24475 (__libc_time): New prototype.
24476 (time_ifunc): Replace time with __libc_time.
24477 (time): New strong alias and hidden definition of __libc_time.
24478 (__GI_time): Remove strong alias.
24479 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24480 Include <stddef.h>.
24481 (memmove): Redefined to __redirect_memmove.
24482 (__memmove_sse2): Use typeof __redirect_memmove.
24483 (__memmove_ssse3): Likewise.
24484 (__memmove_ssse3_back): Likewise.
24485 (__libc_memmove): New prototype.
24486 (memmove): Renamed to ...
24487 (__libc_memmove): This.
24488 (memmove): New strong alias of __libc_memmove.
24489
33b4a91e
MS
244902012-08-08 Mark Salter <msalter@redhat.com>
24491
24492 * elf/elf.h
24493 (R_MN10300_TLS_GD): Define.
24494 (R_MN10300_TLS_LD): Likewise.
24495 (R_MN10300_TLS_LDO): Likewise.
24496 (R_MN10300_TLS_GOTIE): Likewise.
24497 (R_MN10300_TLS_IE): Likewise.
24498 (R_MN10300_TLS_LE): Likewise.
24499 (R_MN10300_TLS_DTPMOD): Likewise.
24500 (R_MN10300_TLS_DTPOFF): Likewise.
24501 (R_MN10300_TLS_TPOFF): Likewise.
24502 (R_MN10300_SYM_DIFF): Likewise.
24503 (R_MN10300_ALIGN): Likewise.
24504 (R_MN10300_NUM): Update.
24505
b36137f1
JM
245062012-08-08 Joseph Myers <joseph@codesourcery.com>
24507
24508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24509 Remove.
24510
cdd915fd
RM
245112012-08-08 Roland McGrath <roland@hack.frob.com>
24512
a2433aac
RM
24513 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24514
cdd915fd
RM
24515 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24516 sysdeps/unix -> sysdeps/posix move.
24517 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24518
bf9b740a
AM
245192012-08-07 Allan McRae <allan@archlinux.org>
24520
24521 [BZ #14303]
24522 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24523 (SUNOS_CPP): Likewise.
24524 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24525 not found.
24526 (open_input): Call CPP using execvp.
24527
93df14ee
JM
245282012-08-07 Joseph Myers <joseph@codesourcery.com>
24529
24530 * sysdeps/unix/sysv/linux/kernel-features.h
24531 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24532 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24533 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24534 (__ASSUME_WAITID_SYSCALL): Likewise.
24535 * sysdeps/unix/sysv/linux/dl-execstack.c
24536 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24537 code unconditional.
24538 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24539 conditional code.
24540 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24541 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24542 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24543 code.
24544 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24545 unconditional.
24546 [__ASSUME_WAITID_SYSCALL]: Likewise.
24547 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24548
d34689de
RM
245492012-08-07 Roland McGrath <roland@hack.frob.com>
24550
a281decc
RM
24551 * sysdeps/unix/closedir.c: Renamed to ...
24552 * sysdeps/posix/closedir.c: ... here.
24553 * sysdeps/unix/dirfd.c: Renamed to ...
24554 * sysdeps/posix/dirfd.c: ... here.
24555 * sysdeps/unix/dirstream.h: Renamed to ...
24556 * sysdeps/posix/dirstream.h: ... here.
24557 * sysdeps/unix/fdopendir.c: Renamed to ...
24558 * sysdeps/posix/fdopendir.c: ... here.
24559 * sysdeps/unix/opendir.c: Renamed to ...
24560 * sysdeps/posix/opendir.c: ... here.
24561 * sysdeps/unix/readdir.c: Renamed to ...
24562 * sysdeps/posix/readdir.c: ... here.
24563 * sysdeps/unix/readdir_r.c: Renamed to ...
24564 * sysdeps/posix/readdir_r.c: ... here.
24565 * sysdeps/unix/rewinddir.c: Renamed to ...
24566 * sysdeps/posix/rewinddir.c: ... here.
24567 * sysdeps/unix/seekdir.c: Renamed to ...
24568 * sysdeps/posix/seekdir.c: ... here.
24569 * sysdeps/unix/telldir.c: Renamed to ...
24570 * sysdeps/posix/telldir.c: ... here.
24571 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24572 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24573 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24574 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24575
22895b47
RM
24576 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24577 * bits/fcntl.h: ... here.
24578
707a53b6
RM
24579 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24580 not 0.
24581 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24582 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24583 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24584 (struct flock): Move l_start, l_len to the beginning.
24585 Use __pid_t for l_pid.
24586 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24587 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24588 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24589 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24590 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24591 [__USE_LARGEFILE64] (struct flock64): New type.
24592 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24593
f0bd3e25
RM
24594 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24595 * bits/dirent.h: ... here.
24596
d34689de
RM
24597 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24598 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24599
6dad2c06
JM
246002012-08-07 Joseph Myers <joseph@codesourcery.com>
24601
24602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24603 Change from 2.6.0 to 2.6.16.
24604 * sysdeps/unix/sysv/linux/configure: Regenerated.
24605 * sysdeps/unix/sysv/linux/kernel-features.h
24606 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24607 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24608 version.
24609 (__ASSUME_UTIMES): Likewise.
24610 (__ASSUME_CLONE_STOPPED): Remove.
24611 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24612 architectures, not kernel version.
24613 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24614 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24615 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24616 (__ASSUME_WAITID_SYSCALL): Likewise.
24617 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24618 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24619 * README: State 2.6.16 as minimum Linux kernel version. Do not
24620 refer to older versions.
24621
03af9520
RM
246222012-08-06 Roland McGrath <roland@hack.frob.com>
24623
8e49df1d
RM
24624 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24625 Define alphasort64 as an alias.
24626 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24627 Define versionsort64 as an alias.
24628 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24629 Define scandir64 as an alias.
24630 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24631 Define scandirat64 as an alias.
24632 * dirent/alphasort64.c (alphasort64):
24633 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24634 * dirent/versionsort64.c: Likewise.
24635 * dirent/scandir64.c: Likewise.
24636 * dirent/scandirat64.c: Likewise.
24637 * sysdeps/wordsize-64/alphasort.c: File removed.
24638 * sysdeps/wordsize-64/alphasort64.c: File removed.
24639 * sysdeps/wordsize-64/scandir.c: File removed.
24640 * sysdeps/wordsize-64/scandir64.c: File removed.
24641 * sysdeps/wordsize-64/scandirat.c: File removed.
24642 * sysdeps/wordsize-64/scandirat64.c: File removed.
24643 * sysdeps/wordsize-64/versionsort.c: File removed.
24644 * sysdeps/wordsize-64/versionsort64.c: File removed.
24645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24646 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24650 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24653
24654 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24656 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24658 [defined __arch64__ || defined __sparcv9]
24659 (__INO_T_MATCHES_INO64_T): New macro.
24660 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24661 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24662 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24663 * sysdeps/unix/sysv/linux/bits/dirent.h
24664 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24665 (_DIRENT_MATCHES_DIRENT64): New macro.
24666
03af9520
RM
24667 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24668 Define lockf64 as an alias.
24669 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24670 Define fseeko64 as an alias.
24671 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24672 Define ftello64 as an alias.
24673 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24674 Define _IO_fgetpos64 and fgetpos64 as aliases.
24675 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24676 Define _IO_fsetpos64 and fsetpos64 as aliases.
24677 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24678 Conditionalize body on this.
24679 * libio/fseeko64.c: Likewise.
24680 * libio/ftello64.c: Likewise.
24681 * libio/iofgetpos64.c: Likewise.
24682 * libio/iofsetpos64.c: Likewise.
24683 * sysdeps/wordsize-64/lockf.c: File removed.
24684 * sysdeps/wordsize-64/lockf64.c: File removed.
24685 * sysdeps/wordsize-64/fseeko.c: File removed.
24686 * sysdeps/wordsize-64/fseeko64.c: File removed.
24687 * sysdeps/wordsize-64/ftello.c: File removed.
24688 * sysdeps/wordsize-64/ftello64.c: File removed.
24689 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24690 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24691 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24692 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24694 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24702 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24703
24704 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24706 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24708 [defined __arch64__ || defined __sparcv9]
24709 (__OFF_T_MATCHES_OFF64_T): New macro.
24710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24711 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24713 (__OFF_T_MATCHES_OFF64_T): New macro.
24714
c5757acd
L
247152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24716
24717 * stdlib/secure-getenv.c (__secure_getenv): Replace
24718 GLIBC_2_16 with GLIBC_2_17.
24719
3a31811e
L
247202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24721
24722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24724
faa2bccb
DM
247252012-08-03 David S. Miller <davem@davemloft.net>
24726
24727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24728
85fe1997
JM
247292012-08-03 Joseph Myers <joseph@codesourcery.com>
24730
24731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24732 Remove.
24733 (__ASSUME_CORRECT_SI_PID): Likewise.
24734 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24735 (__ASSUME_TMPFS_NAME): Likewise.
24736 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24737 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24738 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24739 (HAVE_AUX_SECURE): Make definition unconditional.
24740 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24741 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24742
4f75b7a0
RM
247432012-08-03 Roland McGrath <roland@hack.frob.com>
24744
24745 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24746 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24747 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24748 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24749 __eloop_threshold instead of SYMLOOP_MAX.
24750
24751 * sysdeps/generic/eloop-threshold.h: New file.
24752 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24753 of MAXSYMLINKS.
24754 * elf/chroot_canon.c (chroot_canon): Likewise.
24755
7aab07e4
JM
247562012-08-03 Joseph Myers <joseph@codesourcery.com>
24757
24758 [BZ #13717]
24759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24760 Change to 2.6.0 everywhere.
24761 * sysdeps/unix/sysv/linux/configure: Regenerated.
24762 * sysdeps/unix/sysv/linux/kernel-features.h
24763 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24764 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24765 kernel versions.
24766 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24767 (__ASSUME_FUTEX_REQUEUE): Remove.
24768 (__ASSUME_STATFS64): Define unconditionally.
24769 (__ASSUME_AT_SECURE): Likewise.
24770 (__ASSUME_CORRECT_SI_PID): Likewise.
24771 (__ASSUME_TGKILL): Define without depending on kernel version for
24772 i386.
24773 (__ASSUME_UTIMES): Likewise.
24774 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24775 kernel version.
24776 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24777 (__ASSUME_TMPFS_NAME): Likewise.
24778 * README: Update reference to Linux kernel versions.
24779
b67e9372
MP
247802012-08-02 Marek Polacek <polacek@redhat.com>
24781
1f529f7d 24782 [BZ# 14150]
b67e9372
MP
24783 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24784 libc_cv_asm_type_prefix with %.
24785 * configure: Regenerated.
d2441631
RM
24786 * include/libc-symbols.h: Remove comment about
24787 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24788 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24789 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24790 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24791 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24792 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24793 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24794 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24795 * elf/tst-unique2mod1.c: Likewise.
24796 * elf/tst-unique1mod2.c: Likewise.
24797 * elf/tst-unique1mod1.c: Likewise.
24798 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24799 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24800 Replace ASM_TYPE_DIRECTIVE with .type.
24801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24802 * sysdeps/i386/sysdep.h: Likewise.
24803 * sysdeps/x86_64/sysdep.h: Likewise.
24804 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24806 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24807 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24808 * sysdeps/powerpc/powerpc32/sysdep.h:
24809 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24810 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24811 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24812 * sysdeps/i386/fpu/e_powf.S: Likewise.
24813 * sysdeps/i386/fpu/e_expl.S: Likewise.
24814 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24815 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24816 * sysdeps/i386/fpu/e_pow.S: Likewise.
24817 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24818 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24819 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24820 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24821 * sysdeps/i386/fpu/e_log2.S: Likewise.
24822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24824 * sysdeps/i386/fpu/e_powl.S: Likewise.
24825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24826 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24827 * sysdeps/i386/fpu/e_logl.S: Likewise.
24828 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24829 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24830 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24831 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24832 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24833 * sysdeps/i386/fpu/e_log.S: Likewise.
24834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24835 * sysdeps/i386/fpu/e_logf.S: Likewise.
24836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24839 * sysdeps/i386/fpu/e_log10.S: Likewise.
24840 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24841 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24842 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24843 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24844 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24845 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24847 * sysdeps/i386/i686/strtok.S: Likewise.
24848 * sysdeps/i386/i386-mcount.S: Likewise.
24849 * sysdeps/i386/strtok.S: Likewise.
24850 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24851 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24852 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24853 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24854 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24855 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24856 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24857 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24859 * sysdeps/x86_64/_mcount.S: Likewise.
24860 * sysdeps/x86_64/strtok.S: Likewise.
24861 * sysdeps/sh/_mcount.S: Likewise.
24862
2747bf9a
RM
248632012-08-01 Roland McGrath <roland@hack.frob.com>
24864
24865 * libio/iofopen.c: Include <fcntl.h>.
24866 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24867 (_IO_fopen64, fopen64): Define as aliases.
24868 * libio/iofopen64.c: Include <fcntl.h>.
24869 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24870 Conditionalize body on this.
24871 * sysdeps/wordsize-64/iofopen.c: File removed.
24872 * sysdeps/wordsize-64/iofopen64.c: File removed.
24873
3fb791b8
MP
248742012-08-01 Marek Polacek <polacek@redhat.com>
24875
24876 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24877 Use dlfcn directly instead of a variable.
24878 (binfmt-subdir): Do not define.
24879 (dlfcn): Likewise.
24880
a9f1039f
JM
248812012-08-01 Joseph Myers <joseph@codesourcery.com>
24882
23bddc06
JM
24883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24884 Remove all definitions.
24885 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24886 <kernel-features.h>.
24887 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24888 (miss_F_GETOWN_EX): Remove all definitions.
24889 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24890 macro definition.
24891 [!__ASSUME_FCNTL64]: Remove conditional code.
24892 [__ASSUME_FCNTL64]: Make code unconditional.
24893 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24894 <kernel-features.h>.
24895 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24896 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24897 (lockf64) [__NR_fcntl64]: Make code unconditional.
24898 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24899
a9f1039f
JM
24900 * sysdeps/unix/sysv/linux/kernel-features.h
24901 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24902 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24903 Make code unconditional.
24904 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24905 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24907 [__NR_vfork]: Make code unconditional.
24908 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24909 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24911 [__NR_vfork]: Make code unconditional.
24912 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24913 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24914
09c0ee5f
RM
249152012-08-01 Roland McGrath <roland@hack.frob.com>
24916
48aec5b9
RM
24917 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24918 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24919
cd97c966
RM
24920 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24921 Define mkstemp64 as an alias.
3f55550c
RM
24922 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24923 Define mkstemps64 as an alias.
cd97c966
RM
24924 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24925 Define mkostemp64 as an alias.
b8625cfc
RM
24926 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24927 Define mkostemps64 as an alias.
cd97c966
RM
24928 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24929 Conditionalize body on this.
24930 * misc/mkostemp64.c: Likewise.
b8625cfc 24931 * misc/mkostemps64.c: Likewise.
3f55550c 24932 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24933 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24934 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24935 * sysdeps/wordsize-64/mkostemp.c: File removed.
24936 * sysdeps/wordsize-64/mkstemp.c: File removed.
24937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24939 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24941
09c0ee5f
RM
24942 [BZ #14138]
24943 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24944 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24945 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24946 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24947
24948 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24949 compat_symbol macros from <shlib-compat.h> rather than the underlying
24950 default_symbol_version and symbol_version macros, so that DEFAULT
24951 lines in shlib-versions are respected.
24952 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24953
7e66ee51
FW
249542012-08-01 Florian Weimer <fweimer@redhat.com>
24955
24956 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24957 Declare with warn_unused_result.
24958 (setgid, setregid, setegid, setresgid): Likewise.
24959 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24960 Likewise.
24961 * WUR-REPORT: Remove set*id functions.
24962
d2a54255
PT
249632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24964
24965 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24966
7ecdb005
RM
249672012-07-31 Roland McGrath <roland@hack.frob.com>
24968
b4180a5e 24969 [BZ #10191]
789bd351
RM
24970 * include/sys/socket.h (__libc_accept, __libc_accept4):
24971 Add attribute_hidden.
24972 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24973
40ce302d
RM
24974 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24975 use of PTR_MANGLE.
24976 * inet/getnetgrent_r.c (setup): Likewise.
24977
7ecdb005
RM
24978 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24979
e2eabb2c
DM
249802012-07-31 David S. Miller <davem@davemloft.net>
24981
24982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24983
d0419dbf
JM
249842012-07-31 Joseph Myers <joseph@codesourcery.com>
24985
24986 [BZ #13629]
24987 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24988 value between 1.0 and 2.0 and smaller part has absolute value less
24989 than 1.0.
24990 * math/s_clog10.c (__clog10): Likewise.
24991 * math/s_clog10f.c (__clog10f): Likewise.
24992 * math/s_clog10l.c (__clog10l): Likewise.
24993 * math/s_clogf.c (__clogf): Likewise.
24994 * math/s_clogl.c (__clogl): Likewise.
24995 * math/libm-test.inc (clog_test): Add more tests.
24996 (clog10_test): Likewise.
24997 * sysdeps/i386/fpu/libm-test-ulps: Update.
24998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24999
2bc13872
FW
250002012-07-31 Florian Weimer <fweimer@redhat.com>
25001
25002 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25003 Exit with zero in case no suitable GID is found, and write a
25004 message to standard error.
25005
bea9b193
RM
250062012-07-30 Roland McGrath <roland@hack.frob.com>
25007
25008 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25009 rather than to 1.
25010 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25011 (MAXPATHLEN): Removed.
25012 (NOGROUP, NODEV): New macros.
25013 (setbit, clrbit, isset, isclr): New macros.
25014 (howmany, roundup, powerof2): New macros.
25015 (DEV_BSIZE): New macro.
25016
25017 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25018 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25019
25020 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25021 definition on [!__NO_LONG_DOUBLE_MATH].
25022
25023 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25024 PTR_MANGLE and PTR_DEMANGLE.
25025
25026 * socket/accept4.c (accept4): Rename to __libc_accept4.
25027 Define accept4 as a weak alias.
25028
25029 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25030 on [_DIRENT_HAVE_D_TYPE].
25031 * io/ftw.c (ftw_dir): Likewise.
25032
25033 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25034
25035 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25036
25037 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25038 Use the BSD numbers rather than the arbitrary ones we had.
25039 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25040 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25041 (SIGXCPU, SIGXFSZ): New macros.
25042 (_NSIG): Now 32.
25043
25044 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25045 initializer on [_LIBC_REENTRANT].
25046
25047 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25048 definitions inside [_POSIX_MAPPED_FILES].
25049
25050 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25051
25052 * dirent/opendir.c: Include <fcntl.h>.
25053
25054 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25055 (__libc_getspecific): Likewise.
25056 (__libc_key_create): Likewise.
25057
25058 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25059 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25060 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25061 (tmpfile64): Define as alias.
25062 * sysdeps/wordsize-64/tmpfile.c: File removed.
25063 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25066
25067 * stdio-common/vfscanf.c: Include <stdbool.h>.
25068 * nss/makedb.c: Likewise.
25069 * stdio-common/_i18n_number.h: Likewise.
25070 * argp/argp-help.c: Likewise.
25071 * posix/wordexp.c: Likewise.
25072 * sysdeps/posix/spawni.c: Likewise.
25073 * nss/nss_files/files-initgroups.c: Likewise.
25074 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25075 * nss/nss_files/files-initgroups.c: Likewise.
25076 * nss/nss_db/db-netgrp.c: Likewise.
25077 * nss/nss_db/db-initgroups.c: Likewise.
25078 * io/fchmodat.c: Include <sys/stat.h>.
25079
25080 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25081 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25082
25083 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25084 [HAVE_MMAP].
25085
25086 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25087 Add multiple inclusion protection.
25088
e5abc686
DM
250892012-07-27 David S. Miller <davem@davemloft.net>
25090
25091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25092
815e6fa3
GB
250932012-07-27 Gary Benson <gbenson@redhat.com>
25094
25095 [BZ #14298]
25096 * elf/rtld.c: Include <stap-probe.h>.
25097 (dl_main): Added static probes "init_start" and "init_complete".
25098 * elf/dl-load.c: Include <stap-probe.h>.
25099 (lose): Take new parameter "nsid".
25100 Added static probe "map_failed".
25101 (_dl_map_object_from_fd): Pass namespace id to lose.
25102 Added static probe "map_start".
25103 (open_verify): Pass namespace id to lose.
25104 * elf/dl-open.c: Include <stap-probe.h>.
25105 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25106 and "reloc_complete".
25107 * elf/dl-close.c: Include <stap-probe.h>.
25108 (_dl_close_worker): Added static probes "unmap_start" and
25109 "unmap_complete".
25110 * elf/rtld-debugger-interface.txt: New file documenting the above.
25111
9f98c16c
RM
251122012-07-26 Roland McGrath <roland@hack.frob.com>
25113
25114 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25115 rather than a string variable.
25116 * sunrpc/rpc_main.c (h_output): Likewise.
25117 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25118
f3c22df3
PT
251192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25120
25121 * inet/check_native.c: New file.
25122
3129cfc6
JM
251232012-07-26 Joseph Myers <joseph@codesourcery.com>
25124
da865e95
JM
25125 [BZ #13629]
25126 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25127 if larger part has absolute value 1.0.
25128 * math/s_clog10.c (__clog10): Likewise.
25129 * math/s_clog10f.c (__clog10f): Likewise.
25130 * math/s_clog10l.c (__clog10l): Likewise.
25131 * math/s_clogf.c (__clogf): Likewise.
25132 * math/s_clogl.c (__clogl): Likewise.
25133 * math/libm-test.inc (clog_test): Add more tests.
25134 (clog10_test): Likewise.
25135 * sysdeps/i386/fpu/libm-test-ulps: Update.
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25137
3129cfc6
JM
25138 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25139 (pltexit): Likewise.
25140 (La_regs): Likewise.
25141 (La_retval): Likewise.
25142 (int_retval): Likewise.
25143 Update #error for removed macros to refer only to definitions in
25144 tst-audit.h.
25145 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25146 macro.
25147 (pltexit): Likewise.
25148 (La_regs): Likewise.
25149 (La_retval): Likewise.
25150 (int_retval): Likewise.
25151 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25152 macro.
25153 (pltexit): Likewise.
25154 (La_regs): Likewise.
25155 (La_retval): Likewise.
25156 (int_retval): Likewise.
25157 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25158 macro.
25159 (pltexit): Likewise.
25160 (La_regs): Likewise.
25161 (La_retval): Likewise.
25162 (int_retval): Likewise.
25163 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25164 macro.
25165 (pltexit): Likewise.
25166 (La_regs): Likewise.
25167 (La_retval): Likewise.
25168 (int_retval): Likewise.
25169 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25170 macro.
25171 (pltexit): Likewise.
25172 (La_regs): Likewise.
25173 (La_retval): Likewise.
25174 (int_retval): Likewise.
25175 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25176 macro.
25177 (pltexit): Likewise.
25178 (La_regs): Likewise.
25179 (La_retval): Likewise.
25180 (int_retval): Likewise.
25181 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25182 macro definitions in tst-audit.h.
25183 * sysdeps/i386/tst-audit.h: New file.
25184 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25185 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25186 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25187 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25188 * sysdeps/sh/tst-audit.h: Likewise.
25189 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25190 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25191 * sysdeps/x86_64/tst-audit.h: Likewise.
25192
bfc07087
AJ
251932012-07-26 Andreas Jaeger <aj@suse.de>
25194
b1b2aaf8
AJ
25195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25196 ptrace.
25197
25198 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25199 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25200 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25201 PTRACE_O_MASK.
25202 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25203 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25204 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25205
bfc07087
AJ
25206 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25207 value.
25208
25209 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25210 _sigsys.
25211 (si_call_addr, si_syscall, si_arch): Define new macro.
25212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25213 _sigsys.
25214 (si_call_addr, si_syscall, si_arch): Define new marcro.
25215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25216 _sigsys.
25217 (si_call_addr, si_syscall, si_arch): Define new macro.
25218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25219 _sigsys.
25220 (si_call_addr, si_syscall, si_arch): Define new macro.
25221
89b4b02f
JM
252222012-07-25 Joseph Myers <joseph@codesourcery.com>
25223
25224 [BZ #13717]
25225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25226 Change to 2.4.21 where previously 2.4.1.
25227 * sysdeps/unix/sysv/linux/configure: Regenerated.
25228 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25229 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25230 Linux kernel version.
25231 (__ASSUME_STD_AUXV): Remove.
25232 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25233 kernel version.
25234 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25235 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25236 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25237 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25238 (__ASSUME_NETLINK_SUPPORT): Likewise.
25239 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25240 (__no_netlink_support): Remove conditional definition.
25241 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25242 Remove.
25243 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25244 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25246 (if_nameindex_ioctl): Remove.
25247 (if_nameindex_netlink): Do not handle __no_netlink_support.
25248 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25249 code.
25250 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25251 Remove conditional code.
25252 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25253 code.
25254 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25255 unconditional.
25256 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25257 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25258 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25259 Remove.
25260 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25261 [!__ASSUME_STD_AUXV]: Remove conditional code.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25263 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25264 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25267 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25268 code.
25269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25271 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25272 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25273 conditional code.
25274 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25277 code.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25279 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25280 conditional code.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25282 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25283 code unconditional.
25284 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25285 conditional code.
25286 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25287 unconditional.
25288 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25289 conditional code.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25291 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25292 unconditional.
25293 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25294 conditional code.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25296 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25297 code unconditional.
25298 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25299 conditional code.
25300 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25301 unconditional.
25302 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25303 conditional code.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25305 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25306 code unconditional.
25307 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25308 conditional code.
25309 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25310 unconditional.
25311 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25312 conditional code.
25313
842a39cd
AS
253142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25315
25316 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25318 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25319 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25320 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25321 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25322 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25323 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25324 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25325 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25326 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25327 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25328 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25329 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25330 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25334 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25336 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25337 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25339
84b3fd84
FW
253402012-07-25 Florian Weimer <fweimer@redhat.com>
25341
25342 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25343 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25344 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25345 Introduce __libc_secure_getenv.
0c7936d5
FW
25346 * stdlib/Versions (2.17): Add secure_getenv
25347 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25348 * stdlib/secure-getenv.c: Rename __secure_getenv to
25349 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25350 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25351 * stdlib/tst-secure-getenv.c: New.
25352 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25353 * manual/startup.texi (Environment Access): Document
25354 secure_getenv.
84b3fd84
FW
25355 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25356 __libc_secure_getenv.
25357 * inet/ruserpass.c (ruserpass): Likewise.
25358 * malloc/mtrace.c (mtrace): Likewise.
25359 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25360 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25361 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25362 * sysdeps/posix/tempname.c: Likewise. Evaluate
25363 HAVE_SECURE_GETENV.
25364 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25365 __secure_getenv to __libc_secure_getenv.
84b3fd84 25366 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25368 Likewise.
25369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25370 Likewise.
25371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25378
56e49b71
JM
253792012-07-25 Joseph Myers <joseph@codesourcery.com>
25380
25381 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25382 (struct La_i86_retval): Likewise.
25383 (struct La_x86_64_regs): Likewise.
25384 (struct La_x86_64_retval): Likewise.
25385 (struct La_x32_regs): Likewise.
25386 (struct La_x32_retval): Likewise.
25387 (struct La_ppc32_regs): Likewise.
25388 (struct La_ppc32_retval): Likewise.
25389 (struct La_ppc64_regs): Likewise.
25390 (struct La_ppc64_retval): Likewise.
25391 (struct La_sh_regs): Likewise.
25392 (struct La_sh_retval): Likewise.
25393 (struct La_s390_32_regs): Likewise.
25394 (struct La_s390_32_retval): Likewise.
25395 (struct La_s390_64_regs): Likewise.
25396 (struct La_s390_64_retval): Likewise.
25397 (struct La_sparc32_regs): Likewise.
25398 (struct La_sparc32_retval): Likewise.
25399 (struct La_sparc64_regs): Likewise.
25400 (struct La_sparc64_retval): Likewise.
25401 (struct audit_ifaces): Remove architecture-specific pltenter and
25402 pltexit members.
25403 * sysdeps/i386/ldsodefs.h: New file.
25404 * sysdeps/powerpc/ldsodefs.h: Likewise.
25405 * sysdeps/s390/ldsodefs.h: Likewise.
25406 * sysdeps/sh/ldsodefs.h: Likewise.
25407 * sysdeps/sparc/ldsodefs.h: Likewise.
25408 * sysdeps/x86_64/ldsodefs.h: Likewise.
25409
354691b7
MP
254102012-07-25 Marek Polacek <polacek@redhat.com>
25411
25412 [BZ #6808]
25413 * math/libm-test.inc (yn_test): Add another test.
25414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25415 to ERANGE when the result is +-Inf.
25416 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25417 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25419 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25420
bf9e2071
JM
254212012-07-24 Joseph Myers <joseph@codesourcery.com>
25422
25423 * conform/data/time.h-data (NULL): Use macro-constant. Require
25424 equal to 0.
25425 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25426 clock_t.
25427 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25428
57633811
TS
254292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25430
25431 * configure.in <sysdeps resolving>: Correct printing
25432 Implies_before.
25433 * configure: Regenerate.
25434
c23c33b0
TS
254352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25436
25437 * math/w_ilogb.c: Include <limits.h>.
25438 * math/w_ilogbl.c: Likewise.
25439
b5982523
JM
254402012-07-20 Joseph Myers <joseph@codesourcery.com>
25441
25442 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25443 va_copy. Document allowing for unavailable va_copy only as
25444 pre-C99 compatibility.
25445 * manual/string.texi (Copying and Concatenation): Use va_copy
25446 instead of __va_copy in concat example.
25447
ac4ea442
PT
254482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25449
25450 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25451 (__sendto): Use create_address_port. Initialize APORT and deallocate
25452 it if not null.
25453
f98eafbd
PT
25454 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25455 with O_NOLINK passed to __file_name_lookup.
25456
898c7aab
PT
25457 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25458 with O_NOLINK passed to __file_name_lookup.
25459
0ced335a
PT
25460 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25461 negative N or less than NGIDS.
25462
b3404dbd
PT
25463 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25464 type to string_t. Set ERANGE as errno and return it if NAME is not big
25465 enough. Use memcpy instead of strncpy.
25466
0f48659e
JM
254672012-07-20 Joseph Myers <joseph@codesourcery.com>
25468
25469 * elf/Makefile (check-data): Remove.
25470 (localplt.data): New vpath directive.
25471 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25472 instead of $(check-data).
25473 * scripts/data/localplt-generic.data: Move to ...
25474 * sysdeps/generic/localplt.data: ... here.
25475 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25476 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25477 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25479 ... here.
25480 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25482 ... here.
25483 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25485 ... here.
25486 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25488 ... here.
25489 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25491 ... here.
25492 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25494 ... here.
25495
d37cbdaa
AZ
254962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25497
25498 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25499 PPC32 and PPC64 files.
25500 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25501 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25502
46f85fc2
AK
255032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25504
25505 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25506 __makecontext_ret to ...
25507 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25508 ... here and call exit if uc_link is NULL. New file.
25509 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25510 __makecontext_ret.S.
25511 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25512 __makecontext_ret to ...
25513 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25514 ... here and call exit if uc_link is NULL. New file.
25515 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25516 __makecontext_ret.S.
25517
08f43f9b
AK
255182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25519
25520 * elf/elf.h (R_390_IRELATIVE): New definition.
25521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25522 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25523 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25525 (elf_machine_lazy_rel): Likewise.
25526 * sysdeps/s390/dl-irel.h: New file.
25527 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25528 * sysdeps/s390/s390-64/memset.S: New asm code.
25529 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25530 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25531 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25532 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25533 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25534 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25535 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25536 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25537 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25538 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25539 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25540 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25541 * sysdeps/s390/s390-32/memset.S: New asm code.
25542 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25543
3b05db33
MP
255442012-07-17 Marek Polacek <polacek@redhat.com>
25545
25546 [BZ #14349]
25547 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25548 * sysdeps/s390/s390-64/configure.in: Likewise.
25549 * sysdeps/sparc/configure.in: Likewise.
25550 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25551 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25552 * sysdeps/i386/configure.in: Likewise.
25553 * sysdeps/x86_64/configure.in: Likewise.
25554 * sysdeps/sh/configure.in: Likewise.
25555 * sysdeps/s390/s390-32/configure: Regenerated.
25556 * sysdeps/s390/s390-64/configure: Likewise.
25557 * sysdeps/x86_64/configure: Likewise.
25558 * sysdeps/sh/configure: Likewise.
25559 * sysdeps/powerpc/powerpc64/configure: Likewise.
25560 * sysdeps/powerpc/powerpc32/configure: Likewise.
25561 * sysdeps/sparc/configure: Likwise.
25562 * sysdeps/i386/configure: Likewise.
25563
a66877c6
MP
25564 * elf/dl-open.c: Comment fixes.
25565
cfc82fd8
JM
255662012-07-17 Joseph Myers <joseph@codesourcery.com>
25567
bd29910a
JM
25568 * Makefile [CXX] (check-data): Remove.
25569 [CXX] (c++-types.data): New vpath directive.
25570 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25571 vpath. Do not allow for C++ type data being missing.
25572 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25573 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25574 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25575 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25576 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25577 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25578 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25580 ... here.
25581 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25583 ... here.
25584 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25586 ... here.
25587 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25589 ... here.
25590 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25592 ... here.
25593 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25595 ... here.
25596 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25598 ... here.
25599 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25601
cfc82fd8
JM
25602 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25603 definitions to architecture-specific files.
25604 (TLS_IE): Likewise.
25605 (TLS_LD): Likewise.
25606 (TLS_GD): Likewise.
25607 * sysdeps/i386/tls-macros.h: New file.
25608 * sysdeps/powerpc/tls-macros.h: Likewise.
25609 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25610 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25611 * sysdeps/sh/tls-macros.h: Likewise.
25612 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25613 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25614 * sysdeps/x86_64/tls-macros.h: Likewise.
25615
f7db3170
TS
256162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25617
07cbfc23
TS
25618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25619 zero value for regular exit case.
25620
f7db3170
TS
25621 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25622 (__start_context): Preserve zero value for regular exit case.
25623
dc97c227
TS
256242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25625 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25626
25627 * manual/setjmp.texi (setcontext): Clarify normal process
25628 termination when uc_link is the null pointer.
25629 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25630 exit call.
25631
d0cd7d02
AS
256322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25633
25634 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25635 preprocessor. Test for each exception mask separately.
25636
dd318934
AJ
256372012-07-16 Andreas Jaeger <aj@suse.de>
25638
25639 * po/ru.po: Update from translation team.
25640
8048311a
JM
256412012-07-15 Joseph Myers <joseph@codesourcery.com>
25642
25643 * conform/data/string.h-data (NULL): Use macro-constant. Require
25644 equal to 0.
25645 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25646 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25647 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25648 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25650
b637d46e
AJ
256512012-07-13 Andreas Jaeger <aj@suse.de>
25652
25653 * po/fr.po: Update from translation team.
25654
541428fe
MP
256552012-07-12 Marek Polacek <polacek@redhat.com>
25656
25657 [BZ #14173]
25658 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25659 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25660 loop condition.
25661
ec332e94
JM
256622012-07-12 Joseph Myers <joseph@codesourcery.com>
25663
25664 [BZ #13717]
25665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25666 Change to 2.4.1 where previously 2.4.0.
25667 * sysdeps/unix/sysv/linux/configure: Regenerated.
25668 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25669 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25670 version.
25671 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25672 (__ASSUME_AT_CLKTCK): Remove.
25673 (__ASSUME_AT_PAGESIZE): Likewise.
25674 (__ASSUME_AT_XID): Likewise.
25675 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25676 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25677 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25678 unconditionally.
25679 (HAVE_AUX_PAGESIZE): Likewise.
25680 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25681 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25682 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25683
7b6e99be
JB
256842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25685
25686 [BZ #14307]
25687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25688 the temporary buffer used to invoke __gethostbyname2_r,
25689 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25690 host_data / struct gaih_addrtuple.
25691 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25692 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25693 header file nss/nsswitch.h.
25694 * nss/nsswitch.h (global scope): Add definition of implementation
25695 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25696 resolv/nss_dns/dns-host.c).
25697
608404eb
AJ
256982012-07-11 Andreas Jaeger <aj@suse.de>
25699
25700 * po/fr.po: Update from translation team.
25701
71220aca
AJ
25702 * po/sv.po: Update from translation team
25703 * po/fr.po: Another update from translation team.
25704
28cfe843
AZ
257052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25706
25707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25708 for subnormals or multiply small sinh result by itself.
25709 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25711
6b90f981
DM
257122012-07-11 David S. Miller <davem@davemloft.net>
25713
25714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25715
c6825772
AS
257162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25717
25718 [BZ #14347]
25719 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25720 (INTERNAL_MARK): Shift it here.
25721
7b8e0d49
MP
257222012-07-10 Marek Polacek <polacek@redhat.com>
25723
25724 [BZ #14151]
25725 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25726 libc_cv_asm_global_directive with .globl.
25727 * configure: Regenerated.
25728 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25729 with .globl.
25730 * sysdeps/i386/configure: Regenerated.
25731 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25732 with .globl.
25733 * sysdeps/x86_64/configure: Regenerated.
25734 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25735 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25736 * elf/tst-unique2mod2.c: Likewise.
25737 * elf/tst-unique2mod1.c: Likewise.
25738 * elf/tst-unique1mod2.c: Likewise.
25739 * elf/tst-unique1mod1.c: Likewise.
25740 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25741 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25744 * sysdeps/mach/sysdep.h: Likewise.
25745 * sysdeps/i386/sysdep.h: Likewise.
25746 * sysdeps/i386/i386-mcount.S: Likewise.
25747 * sysdeps/x86_64/_mcount.S: Likewise.
25748 * sysdeps/x86_64/sysdep.h: Likewise.
25749 * sysdeps/sh/_mcount.S: Likewise.
25750 * sysdeps/sh/sysdep.h: Likewise.
25751 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25752 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25753 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25754 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25755 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25756 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25757 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25758 * locale/localeinfo.h: Likewise.
25759 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25760 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25761
6c55cda3
RM
257622012-07-09 Roland McGrath <roland@hack.frob.com>
25763
25764 [BZ #14336]
25765 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25766 system".
25767 * manual/message.texi (The Uniforum approach): Likewise.
25768 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25769 (glibc iconv Implementation): Likewise.
25770
638a572e
JM
257712012-07-09 Joseph Myers <joseph@codesourcery.com>
25772
25773 [BZ #14337]
25774 * math/s_clog.c (__clog): Avoid scaling a value down where that
25775 could result in underflow.
25776 * math/s_clog10.c (__clog10): Likewise.
25777 * math/s_clog10f.c (__clog10f): Likewise.
25778 * math/s_clog10l.c (__clog10l): Likewise.
25779 * math/s_clogf.c (__clogf): Likewise.
25780 * math/s_clogl.c (__clogl): Likewise.
25781 * math/libm-test.inc (clog_test): Add more tests.
25782 (clog10_test): Likewise.
25783 * sysdeps/i386/fpu/libm-test-ulps: Update.
25784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25785
261f4859
AS
257862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25787
0abaf3e4
AS
25788 [BZ #14283]
25789 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25790 by 7 not 8 to examine high bit of fractional part.
25791
261f4859
AS
25792 [BZ #14042]
25793 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25794 for call to __mcount_internal.
25795 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25796 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25797 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25798
f17ac40d
JM
257992012-07-06 Joseph Myers <joseph@codesourcery.com>
25800
9ad63c23
JM
25801 [BZ #14154]
25802 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25803 approximation for values within 0x1p-13f of an odd multiple of
25804 pi/4.
25805 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25806 exception. Add more tests.
25807 * sysdeps/i386/fpu/libm-test-ulps: Update.
25808
f17ac40d
JM
25809 [BZ #6778]
25810 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25811 inputs and return -1 for them. Do not check for +Inf in case not
25812 reachable for +Inf.
25813 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25814 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25816 and return -1 for them. Do not check for +Inf in case not
25817 reachable for +Inf.
25818 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25819 define.
25820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25821 and return -1 for them. Do not check for +Inf in case not
25822 reachable for +Inf.
25823 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25824 spurious underflow.
25825 * sysdeps/i386/fpu/libm-test-ulps: Update.
25826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25827
fb21f89b
MF
258282012-07-06 Mike Frysinger <vapier@gentoo.org>
25829
25830 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25831
cdfe2c5e
JM
258322012-07-05 Joseph Myers <joseph@codesourcery.com>
25833
25834 [BZ #14157]
25835 [BZ #14331]
25836 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25837 could result in spurious underflow. Scale down values above
25838 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25839 * math/s_csqrtf.c (__csqrtf): Likewise.
25840 * math/s_csqrtl.c (__csqrtl): Likewise.
25841 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25842 spurious underflow.
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25845
70d35b67
AS
258462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25847
704bc459
AS
25848 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25849 xopen-msg.sed.
25850 * catgets/xopen-msg.awk: New file.
25851 * catgets/xopen-msg.sed: Removed.
25852
70d35b67
AS
25853 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25854 po2text.sed.
25855 * intl/po2test.awk: New file.
25856 * intl/po2test.sed: Removed.
25857
ca61cf32
JM
258582012-07-04 Joseph Myers <joseph@codesourcery.com>
25859
25860 [BZ #14328]
25861 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25862 or multiply small sinh result by itself.
25863 * math/s_ctanf.c (__ctanf): Likewise.
25864 * math/s_ctanh.c (__ctanh): Likewise.
25865 * math/s_ctanhf.c (__ctanhf): Likewise.
25866 * math/s_ctanhl.c (__ctanhl): Likewise.
25867 * math/s_ctanl.c (__ctanl): Likewise.
25868 * math/libm-test.inc (ctan_test_tonearest): New function.
25869 (ctan_test_towardzero): Likewise.
25870 (ctan_test_downward): Likewise.
25871 (ctan_test_upward): Likewise.
25872 (ctanh_test_tonearest): Likewise.
25873 (ctanh_test_towardzero): Likewise.
25874 (ctanh_test_downward): Likewise.
25875 (ctanh_test_upward): Likewise.
25876 (main): Call these new functions.
25877 * sysdeps/i386/fpu/libm-test-ulps: Update.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25879
ca48a46a
MF
258802012-07-03 Mike Frysinger <vapier@gentoo.org>
25881
25882 * .gitignore: Delete /ports entry.
25883
9d63d37d
AJ
258842012-07-03 Andreas Jaeger <aj@suse.de>
25885
25886 * po/bg.po: Update from translation team.
25887 * po/cs.po: Likewise.
25888 * po/de.po: Likewise.
25889 * po/hr.po: Likewise.
25890 * po/nl.pl: Likewise.
25891 * po/pl.po: Likewise.
25892 * po/vi.po: Likewise.
25893
370ca3d2
JM
258942012-07-03 Joseph Myers <joseph@codesourcery.com>
25895
95f5a9a8
JM
25896 * Makeconfig [!+link] (+link-before-libc): New variable.
25897 [!+link] (+link-after-libc): Likewise.
25898 [!+link] (+link-tests): Likewise.
25899 [!+link] (+link): Define in terms of $(+link-before-libc) and
25900 $(+link-after-libc).
25901 [!+link-static] (+link-static-before-libc): New variable.
25902 [!+link-static] (+link-static-after-libc): Likewise.
25903 [!+link-static] (+link-static-tests): Likewise.
25904 [!+link-static] (+link-static): Define in terms of
25905 $(+link-static-before-libc) and $(+link-static-after-libc).
25906 [build-shared] (link-libc-before-gnulib): New variable.
25907 [build-shared] (link-libc-tests): Likewise.
25908 [build-shared] (link-libc): Define in terms of
25909 $(link-libc-before-gnulib).
25910 [!build-shared] (link-libc-tests): New variable.
25911 (link-libc-static-tests): New variable.
25912 [!gnulib] (gnulib-arch): New variable.
25913 [!gnulib] (gnulib-tests): Likewise.
25914 [!gnulib] (static-gnulib-arch): Likewise.
25915 [!gnulib] (static-gnulib-tests): Likewise.
25916 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25917 Define with "=" instead of ":=".
25918 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25919 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25920 * Rules (binaries-all-notests): New variable.
25921 (binaries-all-tests): Likewise.
25922 (binaries-static-notests): Likewise.
25923 (binaries-static-tests): Likewise.
25924 (binaries-all): Define using $(binaries-all-notests) and
25925 $(binaries-all-tests).
25926 (binaries-static): Define using $(binaries-static-notests) and
25927 $(binaries-static-tests).
25928 (binaries-shared-tests): New variable.
25929 (binaries-shared-notests): Likewise.
25930 (binaries-shared): Remove variable.
25931 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25932 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25933 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25934 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25935 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25936 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25937 * elf/Makefile (sln-modules): New variable.
25938 (extra-objs): Add $(sln-modules:=.o).
25939 (ldconfig-modules): Add static-stubs.
25940 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25941 * elf/static-stubs.c: New file.
25942
7a845b2c
JM
25943 [BZ #14283]
25944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25945 by 7 not 8 to examine high bit of fractional part. Use volatile
25946 variables when splitting into final array of floats if
25947 __FLT_EVAL_METHOD__ != 0.
25948 * math/libm-test.inc (cos_test): Add another test.
25949 (sin_test): Likewise.
25950 * sysdeps/i386/fpu/libm-test-ulps: Update.
25951
e2283f38
JM
25952 [BZ #14273]
25953 * math/libm-test.inc (cosh_test): Add more tests.
25954
370ca3d2
JM
25955 * version.h (RELEASE): Set to "development".
25956 (VERSION): Set to "2.16.90".
25957
ee9247c3
CD
259582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25959
25960 * NEWS: Update copyright. Remove last-updated date.
25961 Mention math library bug fixes and timezone data changes.
25962 * README: Mention GNU/Hurd, x32, and HPPA support status.
25963
4648c381
TS
259642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25965
25966 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25967
aac78a43
AJ
259682012-06-27 Andreas Jaeger <aj@suse.de>
25969
25970 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25971
ed3dbfad
AJ
259722012-06-25 Andreas Jaeger <aj@suse.de>
25973
25974 * sysdeps/s390/fpu/libm-test-ulps: Update.
25975
4d0ee855
AS
259762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25977 Thomas Schwinge <thomas@codesourcery.com>
25978
25979 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25980 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25982 fanotify_mark.
25983
af1bce34
TS
259842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25985
a9fa33ba
TS
25986 * sysdeps/mach/start.c: Remove file.
25987 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25988 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25989 * sysdeps/sh/init-first.c: Likewise.
25990
58f902b8
TS
25991 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25992 registers for frame unwinding purposes, add CFI directives.
25993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25994 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25995 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25996 Likewise.
25997
1518f58b
TS
25998 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25999 __fortify_fail returning.
26000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26001
db9b5059
TS
26002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26003 sysdeps/sh/____longjmp_chk.S.
26004 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26005 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26006 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26007 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26008
967705fe
TS
26009 * sysdeps/sh/abort-instr.h: New file.
26010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26011 process in case exit returns.
26012
a9def8c4
TS
26013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26014 initialize the GOT register before use.
26015
2a649725
TS
26016 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26017 calculation of ARGC > 4.
26018
af1bce34
TS
26019 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26020 meaningful names to some local labels.
26021
d230f50a
KK
260222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26023 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26024
26025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26026 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26027 (__arch_compare_and_exchange_val_16_acq): Likewise.
26028 (__arch_compare_and_exchange_val_32_acq): Likewise.
26029 (atomic_exchange_and_add): Fix gUSA sequence.
26030 (atomic_add): Likewise.
26031 (atomic_add_negative): Likewise.
26032 (atomic_add_zero): Likewise.
26033 (atomic_bit_test_set): Likewise.
26034
0479b305
AS
260352012-06-22 Andreas Schwab <schwab@redhat.com>
26036
26037 [BZ #13579]
26038 * include/link.h (struct link_map): Add l_free_initfini.
26039 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26040 l_initfini.
26041 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26042 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26043 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26044 set.
26045
0e3933b9
CD
260462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26047
26048 * configure.in: Use AC_LANG_SOURCE.
26049 * configure: Regenerate.
26050
4248b1b1
RM
260512012-06-22 Roland McGrath <roland@hack.frob.com>
26052
26053 * configure.in (libc_cv_localstatedir): New substituted variable.
26054 * configure: Regenerated.
26055 * config.make.in (localstatedir): New variable, substituted from
26056 libc_cv_localstatedir.
26057 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26058 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26059 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26060 * sysdeps/gnu/configure: Regenerated.
26061
006dd861
JL
260622012-06-21 Jeff Law <law@redhat.com>
26063
26064 [BZ #14277]
26065 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26066 free. Simplify list management for _LIBC case.
26067
79662d42
JM
260682012-06-21 Joseph Myers <joseph@codesourcery.com>
26069
b7abb4bf
JM
26070 [BZ #14273]
26071 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26072 Clear sign bit of 64-bit integer value before comparing against
26073 overflow value.
26074
79662d42
JM
26075 * sysdeps/mach/configure: Regenerated.
26076
1f150908
L
260772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 [BZ #14278]
26080 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26081
28363bbf
JL
260822012-06-21 Jeff Law <law@redhat.com>
26083
26084 [BZ #13882]
26085 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26086 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26087 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26088 * elf/dl-open.c (dl_open_worker): Likewise.
26089
09615db4
CD
260902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26091
26092 * scripts/list-sources.sh: Scan PORTS for translations.
26093 * po/libc.pot: Regenerated.
26094
2174c6dd
AJ
260952012-06-21 Andreas Jaeger <aj@suse.de>
26096
26097 [BZ #12194]
26098 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26099 warning.
26100 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26101 * bits/byteswap-16.h (__bswap_16): Likewise.
26102 * bits/byteswap.h (__bswap_constant_16): Likewise.
26103
3ee947b1
L
261042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26105
26106 [BZ #14117]
a2f34833
L
26107 * sysdeps/i386/fpu_control.h: Removed.
26108 * sysdeps/x86_64/fpu_control.h: Moved to ...
26109 * sysdeps/x86/fpu_control.h: Here.
26110
3ee947b1
L
26111 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26112 (_FPU_SETCW): Likewise.
26113
ed1825f8
L
261142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26115
25f1282a
L
26116 [BZ #14117]
26117 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26118 * sysdeps/x86/fpu/bits/mathinline.h: This.
26119 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26120
ed1825f8
L
26121 [BZ #14050]
26122 [BZ #14117]
26123 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26124 functions if __x86_64__ is defined.
26125
36d54b74
CLT
261262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26127
26128 * string/endian.h: Add !__ASSEMBLER__ condition for including
26129 conversion interfaces.
26130
10285c21
JM
261312012-06-15 Joseph Myers <joseph@codesourcery.com>
26132
26133 [BZ #14241]
26134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26135 of ABS(x) in calculating zero to negative powers other than odd
26136 integers.
26137 * math/libm-test.inc (pow_test): Add more tests.
26138
06c5abbd
AJ
261392012-06-15 Andreas Jaeger <aj@suse.de>
26140
26141 * manual/contrib.texi (Contributors): Update entry of Liubov
26142 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26143 Machado Filho.
26144
a3aeac40
CH
261452012-06-15 Cyril Hrubis <metan@ucw.cz>
26146
26147 * string/string.h: Add __wur to GNU version of strerror_r.
26148
49bdf4c1
L
261492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26150
26151 [BZ #14229]
26152 * string/Makefile (tests): Add tst-strtok_r.
26153 * string/tst-strtok_r.c: New file.
26154 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26155 RAX_LP/RDX_LP on SAVE_PTR.
26156
834f9b8d
RM
261572012-06-14 Roland McGrath <roland@hack.frob.com>
26158
26159 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26160
75fa1921
JM
261612012-06-14 Joseph Myers <joseph@codesourcery.com>
26162
26163 * libm_test.inc (csqrt_test): Allow more spurious underflow
26164 exceptions.
26165 (j0_test): Likewise.
26166 (j1_test): Likewise.
26167 (y0_test): Likewise.
26168 (y1_test): Likewise.
26169
771766df
CD
261702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26171
26172 * po/Makefile (libc.pot): Use UTF-8 charset.
26173
ceb9e56b
PP
261742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26175
26176 [BZ #14210]
26177 Suppress sign-conversion warning from FD_SET.
26178 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26179 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26180 not unsigned long int.
26181 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26182
ddb28975
L
261832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26184
26185 [BZ #14050]
26186 [BZ #14117]
26187 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26188 __extern_always_inline instead of __extern_inline.
26189 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26190 (__signbit): Likewise.
26191 (__signbitl): Support C++ namespace.
26192 (lrintf): New inline function.
26193 (lrint): Likewise.
26194 (llrintf): Likewise.
26195 (llrint): Likewise.
26196 (fmaxf): Likewise.
26197 (fmax): Likewise.
26198 (fminf): Likewise.
26199 (fmin): Likewise.
26200 (rint): Likewise.
26201 (rintf): Likewise.
26202 (ceil): Likewise.
26203 (ceilf): Likewise.
26204 (floor): Likewise.
26205 (floorf): Likewise.
26206 (nearbyint): Likewise.
26207 (nearbyintf): Likewise.
26208
d7b4fb26
TS
262092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26210
26211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26212 non-default versions.
26213
eb55f5c2
RM
262142012-06-11 Roland McGrath <roland@hack.frob.com>
26215
26216 [BZ #14218]
26217 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26218
366af02c
TS
262192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26220
99ff6e5c
TS
26221 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26222 (FE_UPWARD, FE_DOWNWARD): Don't define.
26223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26225
366af02c
TS
26226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26227 reading it.
26228 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26230
793ea851
KK
262312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26232
26233 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26235 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26237
a728a38f
L
262382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26239
26240 [BZ #14117]
c08010c7
L
26241 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26242 * sysdeps/i386/fpu/Implies: New file.
26243 * sysdeps/x86_64/fpu/Implies: Likewise.
26244 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26245 * sysdeps/x86/fpu/bits/fenv.h: This.
26246
a728a38f
L
26247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26248 __SSE_MATH__.
26249
6e230d11
SP
262502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26251
26252 [BZ #14134]
26253 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26254 character 0xffff that matches the last element of the
26255 conversion table.
26256
1b671feb
AZ
262572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26258
26259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26260 fmodl commit.
26261
6043738b
AZ
262622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26263
26264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26265 values higher than 25.6283.
26266
34ae0b32
AZ
262672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26268
26269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26270 subnormal exponent extraction and add some __builtin_expect.
26271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26272 Fix for subnormal mantissa calculation.
26273
1214ec8f
MF
262742012-06-04 Mike Frysinger <vapier@gentoo.org>
26275
26276 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26277 cpu2 is -1 and errno is not ENOSYS.
26278
f3d1f93c
L
262792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 [BZ #14117]
0e4a3cd7
L
26282 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26283 * sysdeps/x86/bits/string.h: This.
26284 * sysdeps/x86_64/bits/string.h: Removed.
26285
6704c645
L
26286 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26287 if not compiling for x86-64, but compiling for >= i486.
26288
48495318
L
26289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26290 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26291
14adcbfc
L
26292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26293 New macro from Linux kernel 3.4.0.
26294 (FP_XSTATE_MAGIC2): Likewise.
26295 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26296 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26297 (struct _fpx_sw_bytes): New struct.
26298 (struct _xsave_hdr): Likewise.
26299 (struct _ymmh_state): Likewise.
26300 (struct _xstate): Likewise.
26301
68e408ab
L
26302 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26303 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26305 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26307 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26308
f3d1f93c
L
26309 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26311 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26312 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26313 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26314 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26315
d9dc34cd
TMQMF
263162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26317
26318 [BZ #13743]
26319 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26320 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26321 (sysdep_headers): Include sys/platform/ppc.h.
26322 * sysdeps/powerpc/test-gettimebase.c: Test for
26323 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26324 * manual/Makefile (appendices): Include platform.texi.
26325 * manual/contrib.texi (Contributors): Update @node pointers.
26326 * manual/maint.texi (Maintenance): Likewise.
26327 (Platform): New node.
26328 * manual/platform.texi: New file. Document the new features.
26329
4af3879c
SP
263302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26331 Jakub Jelinek <jakub@redhat.com>
26332
26333 [BZ #14188]
26334 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26335 where __builtin_expect is unavailable.
26336
2fd6ff13
DM
263372012-06-03 David S. Miller <davem@davemloft.net>
26338
26339 * stdlib/longlong.h: Updated from GCC.
26340
173f7220
AS
263412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26342
26343 [BZ #14042]
26344 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26345 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26346 __mcount_internal.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26348 (GLIBC_2.16): Likewise.
26349
f34a1c6f
L
263502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26351
26352 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26353
88a4576f
JM
263542012-06-01 Joseph Myers <joseph@codesourcery.com>
26355
ea32bcdd
JM
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26357 (default-abi): New variable.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26360 variable.
26361 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26362 Likewise.
26363 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26364 Likewise.
26365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26366 Likewise.
26367
88a4576f
JM
26368 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26369 definition. Document in comment.
26370
402fe938
DM
263712012-06-01 David S. Miller <davem@davemloft.net>
26372
26373 * stdlib/longlong.h: Updated from GCC.
26374
3553723f
L
263752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26376
26377 [BZ #14117]
3bd872c4
L
26378 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26379 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26380 sys/debugreg.h sys/io.h here.
26381 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26382 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26383 sys/io.h.
26384 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26385 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26386 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26387 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26388 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26389 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26390
3553723f
L
26391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26392 Define only if __x86_64__ is defined.
26393
4842e4fe
JM
263942012-06-01 Joseph Myers <joseph@codesourcery.com>
26395
c5bfe3d5
JM
26396 [BZ #14048]
26397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26398 Use int64_t for variable i.
26399 * math/libm-test.inc (fmod_test): Add more tests.
26400
4842e4fe
JM
26401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26402 z computation is not scheduled after fetestexcept.
26403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26404 Use math_force_eval instead of asm to ensure calculation scheduled
26405 before exception test.
26406 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26407 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26408
efb73488
AJ
264092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26410
26411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26412 computation is not scheduled after fetestexcept.
26413
29bcce7c
L
264142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26415
26416 [BZ #14117]
26417 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26419
73a68f94
AZ
264202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26421
26422 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26423 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26424
67b6df78
L
264252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26426
edf2933a 26427 [BZ #14117]
ebc64a18
L
26428 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26429 <bits/wordsize.h>.
26430 (__WCHAR_MIN): Support __WORDSIZE == 64.
26431 (__WCHAR_MAX): Likewise.
26432
edf2933a
L
26433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26435
57c6cf40
L
26436 [BZ #14183]
26437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26438 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26439
67b6df78 26440 [BZ #14117]
8eb6281e
L
26441 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26443
aac639f4
L
26444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26446
67b6df78
L
26447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26448 Defined to 1 if __x86_64__ isn't defined.
26449 (_STAT_VER_LINUX_OLD): New.
26450 (st_atime): Remove duplicate.
26451 (st_mtime): Likewise.
26452 (st_ctime): Likewise.
26453
1c2cfe81
DM
264542012-05-31 David S. Miller <davem@davemloft.net>
26455
26456 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26457 entries.
26458
5be8418c
AS
264592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26460
e7725326
AS
26461 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26462 gen-libm-test.pl.
26463
5be8418c
AS
26464 [BZ #14132]
26465 * elf/dl-reloc.c: Include <_itoa.h>.
26466 (_dl_reloc_bad_type): Remove use of INTUSE.
26467 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26468 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26469 * stdio-common/psiginfo.c (psiginfo): Likewise.
26470 * stdio-common/psignal.c (psignal): Likewise.
26471 * string/strsignal.c (strsignal): Likewise.
26472 * include/signal.h (_sys_siglist): Declare hidden proto.
26473 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26474 INTVARDEF with libc_hidden_data_def.
26475 * stdio-common/itoa-udigits.c: Likewise.
26476 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26477 (_itoa_lower_digits_internal): Remove declaration.
26478 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26479 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26480 (_sys_sigabbrev_internal): Remove aliases.
26481 (_sys_siglist): Define hidden alias.
26482
507352f1
MT
264832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26484
26485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26486 bits/sysctl.h.
26487
42bbb1c3
L
264882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 [BZ #14117]
6bd784b6
L
26491 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26492 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26493
8bca20f0
L
26494 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26496 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26497 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26499 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26500
f9e890a9
L
26501 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26502 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26503 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26504
471101a1
L
26505 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26506 with __addr.
26507 (insw): Likewise.
26508 (insl): Likewise.
26509 (outsb): Likewise.
26510 (outsw): Likewise.
26511 (outsl): Likewise.
26512
6451c862
L
26513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26516
a254b8c9
L
26517 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26518 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26520 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26521 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26522 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26523
b8dfdd92
L
26524 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26525 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26526
578cd270
L
26527 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26528 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26529
de662f5f
L
26530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26533
25653439
L
26534 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26535 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26536 to ...
26537 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26538
6bad24a0
L
26539 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26541 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26542
42bbb1c3
L
26543 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26544 for x86-64.
26545 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26546
2d10d547
JM
265472012-05-31 Joseph Myers <joseph@codesourcery.com>
26548
26549 * math/math.h (M_El): Use two more decimal places.
26550 (M_LOG2El): Likewise.
26551 (M_LOG10El): Likewise.
26552 (M_LN2l): Likewise.
26553 (M_LN10l): Likewise.
26554 (M_PIl): Likewise.
26555 (M_PI_2l): Likewise.
26556 (M_PI_4l): Likewise.
26557 (M_1_PIl): Likewise.
26558 (M_2_PIl): Likewise.
26559 (M_2_SQRTPIl): Likewise.
26560 (M_SQRT2l): Likewise.
26561 (M_SQRT1_2l): Likewise.
26562
f230c29b
DM
265632012-05-31 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26566 values between float registers.
26567 * sysdeps/sparc/sparc64/memset.S: Likewise.
26568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26569
fed806c3
MF
265702012-05-31 Mike Frysinger <vapier@gentoo.org>
26571
26572 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26573 -D_FORTIFY_SOURCE=1.
26574 (CPPFLAGS-tst-longjmp_chk.c): Define.
26575 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26576 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26577 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26578 CFLAGS-tst-wchar-h.c.
26579
30917259
MP
265802012-05-31 Marek Polacek <polacek@redhat.com>
26581
26582 [BZ #14132]
26583 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26584 __endmntent_internal): Remove declaration.
26585 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26586 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26587 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26588
1c58d5dc
DM
265892012-05-30 David S. Miller <davem@davemloft.net>
26590
26591 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26592 (___Q_simulate_exceptions): Use real FP ops rather than writing
26593 into the %fsr.
26594 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26595 Likewise.
26596
7dc00e0d
L
265972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 [BZ #14117]
0bd53985
L
26600 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26601 * sysdeps/x86/bits/xtitypes.h: This.
26602
3a257e66
L
26603 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26604 * sysdeps/x86/bits/wordsize.h: This.
26605
62f62904
L
26606 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26607 * sysdeps/x86/bits/huge_vall.h: This.
26608
404fe9d9
L
26609 * sysdeps/i386/bits/select.h: Removed.
26610 * sysdeps/x86_64/bits/select.h: Renamed to ...
26611 * sysdeps/x86/bits/select.h: This.
26612
d48d0446
L
26613 * sysdeps/i386/bits/setjmp.h: Removed.
26614 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26615 * sysdeps/x86/bits/setjmp.h: This.
26616
7dc00e0d
L
26617 * sysdeps/i386/bits/mathdef.h: Removed.
26618 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26619 * sysdeps/x86/bits/mathdef.h: This.
26620
03277f8f
AS
266212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26622
26623 [BZ #14132]
26624 * include/sys/socket.h (__connect_internal)
26625 (__libc_sa_len_internal): Remove declaration.
26626 (__connect, __libc_sa_len): Declare hidden_proto.
26627 (SA_LEN): Remove use of INTUSE.
26628 * socket/connect.c: Add libc_hidden_def.
26629 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26630 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26631 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26632 alias.
26633 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26634 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26635 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26636 of adding _internal alias.
26637
13764867
L
266382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 [BZ #14117]
6bd97696
L
26641 * sysdeps/i386/bits/link.h: Removed.
26642 * sysdeps/i386/bits/linkmap.h: Likewise.
26643 * sysdeps/x86_64/bits/link.h: Renamed to ...
26644 * sysdeps/x86/bits/link.h: This.
26645 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26646 * sysdeps/x86/bits/linkmap.h: This.
26647
f726f0bb
L
26648 * sysdeps/i386/bits/endian.h: Removed.
26649 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26650 * sysdeps/x86/bits/endian.h: This.
26651
13764867
L
26652 * sysdeps/i386/bits/byteswap.h: Removed.
26653 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26654 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26655 * sysdeps/x86/bits/byteswap.h: This.
26656 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26657 * sysdeps/x86/bits/byteswap-16.h: This.
26658 * sysdeps/i386/Implies: Add x86.
26659 * sysdeps/x86_64/Implies: Likewise.
26660
ae251b0b
DM
266612012-05-30 David S. Miller <davem@davemloft.net>
26662
26663 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26664 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26666 (FP_TRAPPING_EXCEPTIONS): Define.
26667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26668 (FP_TRAPPING_EXCEPTIONS): Define.
26669 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26670 subnormals only when inexact has been signalled or underflow
26671 exceptions are enabled.
26672 (_FP_PACK_CANONICAL): Likewise.
26673
d5c90867
L
266742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26675
26676 [BZ #14183]
26677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26678 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26679
63f1549e
RH
266802012-05-30 Richard Henderson <rth@twiddle.net>
26681
8d8f2279
RH
26682 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26683 with #ifndef NOT_IN_libc.
26684
63f1549e
RH
26685 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26686 marked to avoid plt entry.
26687
0ab0291b
L
266882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 [BZ #14112]
26691 * Makeconfig (default-abi): New macro.
26692 (abi-includes): Likewise.
26693 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26694 $(abi-$(default-abi)-lib-soname) for soname if defined.
26695 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26696 abi-variants.
26697 * Makefile (installed-stubs): Likewise.
26698 * include/stubs-biarch.h: Removed.
26699 * scripts/lib-names.awk: Only handle one library at a time.
26700 * scripts/soversions.awk: Remove WORDSIZE support.
26701 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26702 entries.
26703 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26704 Removed.
26705 (syscall-list-default-condition): Likewise.
26706 (syscall-list-default-condition): Likewise.
26707 (syscall-list-includes): Likewise.
26708 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26709 syscall-list-* with abi-*. Handle undefined abi-variants.
26710 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26711 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26712 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26713 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26714 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26715 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26716 Removed.
26717 (syscall-list-32-options): Likewise.
26718 (syscall-list-32-condition): Likewise.
26719 (syscall-list-64-options): Likewise.
26720 (syscall-list-64-condition): Likewise.
26721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26722 macro.
26723 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26724 Renamed to ...
26725 (abi-*): This.
26726 (abi-64-ld-soname): New macro.
26727 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26728 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26729 Renamed to ...
26730 (abi-*): This.
26731 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26732 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26733
4da0431d
JM
267342012-05-30 Joseph Myers <joseph@codesourcery.com>
26735
3a85279c
JM
26736 * sysdeps/unix/sysv/linux/kernel-features.h
26737 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26738 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26739 include <kernel-features.h>.
26740 [!__NR_ftruncate64]: Remove conditional code.
26741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26742 [__NR_ftruncate64]: Make code unconditional.
26743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26744 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26745 include <kernel-features.h>.
26746 [!__NR_ftruncate64]: Remove conditional code.
26747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26748 [__NR_ftruncate64]: Make code unconditional.
26749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26751 include <kernel-features.h>.
26752 [!__NR_ftruncate64]: Remove conditional code.
26753 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26754 [__NR_ftruncate64]: Make code unconditional.
26755 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26757 include <kernel-features.h>.
26758 [!__NR_ftruncate64]: Remove conditional code.
26759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26760 [__NR_ftruncate64]: Make code unconditional.
26761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26762
4da0431d
JM
26763 * configure.in (libc_cv_fpie): Weaken to a compile test using
26764 LIBC_TRY_CC_OPTION.
26765 * configure: Regenerated.
26766
11ef492c
AK
267672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26768
26769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26773 Refreshed.
26774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26780 Refreshed.
26781
d66ef399
DM
267822012-05-27 David S. Miller <davem@davemloft.net>
26783
26784 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26785 (___Q_zero): New.
26786 (__Q_simulate_exceptions): Return void. Change to simulate
26787 exceptions by writing into the %fsr.
26788 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26789 (__Qp_handle_exceptions): Likewise.
26790 (numbers): Delete.
26791 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26792 __Qp_handle_exceptions.
26793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26794 __Qp_handle_exceptions.
26795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26796 as unused and give dummy FP_RND_NEAREST initializer.
26797 (FP_INHIBIT_RESULTS): Define.
26798 (___Q_simulate_exceptions): Update declaration.
26799 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26800 formatting.
26801 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26802 as unused and give dummy FP_RND_NEAREST initializer.
26803 (__Qp_handle_exceptions): Update declaration.
26804 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26805 formatting.
26806
04fb54b5
TS
268072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26808
26809 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26810 the temporary FPU control word.
26811 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26812 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26816 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26817 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26819 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26820 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26822
3f99608f
KK
268232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26824
26825 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26826 fields.
26827
65a4de4e
CLT
268282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26829
26830 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26831 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26832 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26833 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26834 Likewise.
26835 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26836 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26837 Likewise.
26838
15749d40
UD
268392012-05-27 Ulrich Drepper <drepper@gmail.com>
26840
26841 * po/h.po: Update from translation team.
26842
25dbcb27
AS
268432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26844
3d3f8e55
AS
26845 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26846
25dbcb27
AS
26847 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26848 handling of denormals.
26849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26850 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26851 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26852 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26856 Likewise.
26857
7ad47a80 268582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26859
26860 [BZ #14152]
26861 * math/libm-test.inc (fma_test): Don't always expect underflow
26862 exception.
26863
9c6ea9fa
SP
268642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26865
26866 [BZ #12416]
26867 * elf/tst-execstack.c: Include stackinfo.h.
26868 (do_test): Adjust test case to ensure that pthread_getattr_np
26869 behaviour remains the same after marking stack executable.
26870
a8239222
JM
268712012-05-25 Joseph Myers <joseph@codesourcery.com>
26872
26873 * sysdeps/unix/sysv/linux/kernel-features.h
26874 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26875 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26876 kernel-features.h.
26877 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26878 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26879 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26880 kernel-features.h.
26881 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26882 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26883
918b5606
L
268842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26885
26886 * configure.in: Define the default includes to being none.
26887 * configure: Regenerated.
26888
3a097cc7
RM
268892012-05-25 Roland McGrath <roland@hack.frob.com>
26890
8422c9a5
RM
26891 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26892 * sysdeps/x86_64/setjmp.S: Likewise.
26893 * sysdeps/i386/bsd-setjmp.S: Likewise.
26894 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26895 * sysdeps/i386/setjmp.S: Likewise.
26896 * sysdeps/i386/__longjmp.S: Likewise.
26897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26898 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26899
3a097cc7
RM
26900 * include/stap-probe.h: New file.
26901 * configure.in: Handle --enable-systemtap.
26902 * configure: Regenerated.
26903 * config.h.in (USE_STAP_PROBE): New #undef.
26904 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26905 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26906 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26907
21708942
JM
269082012-05-25 Joseph Myers <joseph@codesourcery.com>
26909
26910 [BZ #13717]
26911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26912 to 2.4.0 where earlier.
26913 * sysdeps/unix/sysv/linux/configure: Regenerated.
26914 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26915 <kernel-features.h>.
26916 [__ASSUME_32BITUIDS]: Make code unconditional.
26917 [!__ASSUME_32BITUIDS]: Remove conditional code.
26918 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26919 <kernel-features.h>.
26920 [__ASSUME_32BITUIDS]: Make code unconditional.
26921 [!__ASSUME_32BITUIDS]: Remove conditional code.
26922 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26923 [__ASSUME_32BITUIDS]: Make code unconditional.
26924 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26925 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26926 <kernel-features.h>.
26927 [__ASSUME_32BITUIDS]: Make code unconditional.
26928 [!__ASSUME_32BITUIDS]: Remove conditional code.
26929 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26930 <kernel-features.h>.
26931 [__ASSUME_32BITUIDS]: Make code unconditional.
26932 [!__ASSUME_32BITUIDS]: Remove conditional code.
26933 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26934 <kernel-features.h>.
26935 [__ASSUME_32BITUIDS]: Make code unconditional.
26936 [!__ASSUME_32BITUIDS]: Remove conditional code.
26937 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26938 <kernel-features.h>.
26939 [__ASSUME_32BITUIDS]: Make code unconditional.
26940 [!__ASSUME_32BITUIDS]: Remove conditional code.
26941 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26942 <kernel-features.h>.
26943 [__ASSUME_32BITUIDS]: Make code unconditional.
26944 [!__ASSUME_32BITUIDS]: Remove conditional code.
26945 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26946 <kernel-features.h>.
26947 [__ASSUME_32BITUIDS]: Make code unconditional.
26948 [!__ASSUME_32BITUIDS]: Remove conditional code.
26949 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26950 <kernel-features.h>.
26951 [__ASSUME_32BITUIDS]: Make code unconditional.
26952 [!__ASSUME_32BITUIDS]: Remove conditional code.
26953 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
26966 <kernel-features.h>.
26967 [__NR_setresgid] (__setresgid): Do not declare.
26968 [__ASSUME_32BITUIDS]: Make code unconditional.
26969 [!__ASSUME_32BITUIDS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26971 <kernel-features.h>.
26972 [__NR_setresuid] (__setresuid): Do not declare.
26973 [__ASSUME_32BITUIDS]: Make code unconditional.
26974 [!__ASSUME_32BITUIDS]: Remove conditional code.
26975 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26976 <kernel-features.h>.
26977 [__ASSUME_32BITUIDS]: Make code unconditional.
26978 [!__ASSUME_32BITUIDS]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26980 <kernel-features.h>.
26981 [__ASSUME_32BITUIDS]: Make code unconditional.
26982 [!__ASSUME_32BITUIDS]: Remove conditional code.
26983 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26984 <kernel-features.h>.
26985 [__ASSUME_32BITUIDS]: Make code unconditional.
26986 [!__ASSUME_32BITUIDS]: Remove conditional code.
26987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26988 <kernel-features.h>.
26989 [__ASSUME_32BITUIDS]: Make code unconditional.
26990 [!__ASSUME_32BITUIDS]: Remove conditional code.
26991 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26992 <kernel-features.h>.
26993 [__ASSUME_32BITUIDS]: Make code unconditional.
26994 [!__ASSUME_32BITUIDS]: Remove conditional code.
26995 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26996 <kernel-features.h>.
26997 [__ASSUME_32BITUIDS]: Make code unconditional.
26998 [!__ASSUME_32BITUIDS]: Remove conditional code.
26999 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27000 <kernel-features.h>.
27001 [__ASSUME_32BITUIDS]: Make code unconditional.
27002 [!__ASSUME_32BITUIDS]: Remove conditional code.
27003 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27004 <kernel-features.h>.
27005 [__ASSUME_32BITUIDS]: Make code unconditional.
27006 [!__ASSUME_32BITUIDS]: Remove conditional code.
27007 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27008 <kernel-features.h>.
27009 [__ASSUME_32BITUIDS]: Make code unconditional.
27010 [!__ASSUME_32BITUIDS]: Remove conditional code.
27011 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27012 <kernel-features.h>.
27013 [__ASSUME_32BITUIDS]: Make code unconditional.
27014 [!__ASSUME_32BITUIDS]: Remove conditional code.
27015 * sysdeps/unix/sysv/linux/kernel-features.h
27016 (__ASSUME_SETRESUID_SYSCALL): Remove.
27017 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27018 (__ASSUME_32BITUIDS): Likewise.
27019 (__ASSUME_LDT_WORKS): Likewise.
27020 (__ASSUME_O_DIRECTORY): Likewise.
27021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27022 architecture but not kernel version.
27023 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27024 (__ASSUME_MMAP2_SYSCALL): Likewise.
27025 (__ASSUME_STAT64_SYSCALL): Likewise.
27026 (__ASSUME_IPC64): Likewise.
27027 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27028 <kernel-features.h>.
27029 [__ASSUME_32BITUIDS]: Make code unconditional.
27030 [!__ASSUME_32BITUIDS]: Remove conditional code.
27031 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27032 <kernel-features.h>.
27033 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27034 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27035 132096]: Remove conditional code.
27036 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27037 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
27042 <kernel-features.h>.
27043 [__ASSUME_32BITUIDS]: Make code unconditional.
27044 [!__ASSUME_32BITUIDS]: Remove conditional code.
27045 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27046 <kernel-features.h>.
27047 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27048 unconditional.
27049 (__setresgid): Do not declare.
27050 [__ASSUME_32BITUIDS]: Make code unconditional.
27051 [!__ASSUME_32BITUIDS]: Remove conditional code.
27052 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27053 <kernel-features.h>.
27054 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27055 unconditional.
27056 (__setresuid): Do not declare.
27057 [__ASSUME_32BITUIDS]: Make code unconditional.
27058 [!__ASSUME_32BITUIDS]: Remove conditional code.
27059 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27060 <kernel-features.h>.
27061 [__ASSUME_32BITUIDS]: Make code unconditional.
27062 [!__ASSUME_32BITUIDS]: Remove conditional code.
27063 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27064 <kernel-features.h>.
27065 [__ASSUME_32BITUIDS]: Make code unconditional.
27066 [!__ASSUME_32BITUIDS]: Remove conditional code.
27067
a386f1cc
RH
270682012-05-25 Richard Henderson <rth@twiddle.net>
27069
27070 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27071 dl_hwcap to ifunc resolver.
27072 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27073 elf_ifunc_invoke.
27074 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27075 dl_hwcap to ifunc resolver.
27076 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27077
b6550497
JM
270782012-05-24 Joseph Myers <joseph@codesourcery.com>
27079
27080 [BZ #14153]
27081 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27082 for |x| <= 2**-26, not 2**-57.
27083 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27084 exception.
27085
b0bc23a1
JL
270862012-05-24 Jeff Law <law@redhat.com>
27087
27088 * stdio-common/Makefile (tests): Add bug25.
27089 * stdio-common/bug25.c: New test.
27090
347c92e9
L
270912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27092
27093 [BZ #13576]
27094 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27095 multiple of MALLOC_ALIGNMENT in size.
27096 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27097
6bcc8b3f
JM
270982012-05-24 Joseph Myers <joseph@codesourcery.com>
27099
27100 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27101 Require >= 256.
27102 (FILENAME_MAX): Use macro-int-constant.
27103 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27104 (_IOFBF): Use macro-int-constant.
27105 (_IOLBF): Likewise.
27106 (_IONBF): Likewise.
27107 (SEEK_CUR): Likewise.
27108 (SEEK_END): Likewise.
27109 (SEEK_SET): Likewise.
27110 (TMP_MAX): Likewise.
27111 (EOF): Use macro-int-constant. Require < 0.
27112 (NULL): Use macro-constant. Require == 0.
27113 (stdin): Require type to be FILE *.
27114 (stdout): Likewise.
27115 (stderr): Likewise.
27116 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27117 macro-int-constant.
27118 (EXIT_SUCCESS): Likewise.
27119 (NULL): Use macro-constant. Require == 0.
27120 (RAND_MAX): Use macro-int-constant.
27121 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27122 [C99-based standards] (strtof): Require function.
27123 [C99-based standards] (strtold): Likewise.
27124 [C99-based standards] (strtoll): Likewise.
27125 [C99-based standards] (strtoull): Likewise.
27126 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27127 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27128 [ISO || ISO99 || ISO11] (math.h): Likewise.
27129 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27130 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27132
d18ea0c5
AS
271332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27134
27135 [BZ #14132]
56d25bb8
AS
27136 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27137 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27138 * intl/dgettext.c (DCGETTEXT): Likewise.
27139 * intl/gettext.c (DCGETTEXT): Likewise.
27140 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27141 * posix/regex_internal.h (gettext): Likewise.
27142 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27143 Remove declaration.
27144 * include/argz.h (__argz_count_internal)
27145 (__argz_stringify_internal): Remove declaration.
27146 (__argz_count, __argz_stringify): Declare hidden proto.
27147 * intl/dcgettext.c: Remove use of INTDEF.
27148 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27149 * string/argz-stringify.c: Likewise.
27150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27152 Declare hidden proto.
d18ea0c5
AS
27153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27155 Declare hidden proto.
27156 * include/stdio.h (__asprintf_internal): Don't declare.
27157 (__asprintf): Don't define as macro. Declare hidden proto.
27158 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27159 (__fsetlocking): Declare hidden proto.
27160 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27161 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27162 hidden proto.
27163 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27164 (_IO_setlinebuf): Remove use of INTUSE.
27165 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27166 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27167 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27168 Remove declaration.
27169 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27170 (_IO_do_flush): Remove use of INTUSE.
27171 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27172 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27173 (_IO_adjust_column, _IO_least_wmarker)
27174 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27175 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27176 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27177 (_IO_default_doallocate, _IO_wdefault_doallocate)
27178 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27179 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27180 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27181 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27182 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27183 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27184 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27185 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27186 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27187 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27188 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27189 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27190 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27191 proto.
27192 (_IO_flush_all_internal, _IO_adjust_column_internal)
27193 (_IO_default_uflow_internal, _IO_default_finish_internal)
27194 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27195 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27196 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27197 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27198 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27199 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27200 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27201 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27202 (_IO_file_close_internal, _IO_file_close_it_internal)
27203 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27204 (_IO_file_init_internal, _IO_file_attach_internal)
27205 (_IO_file_fopen_internal, _IO_file_read_internal)
27206 (_IO_file_sync_internal, _IO_file_seek_internal)
27207 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27208 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27209 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27210 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27211 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27212 (_IO_list_all_internal, _IO_link_in_internal)
27213 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27214 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27215 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27216 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27217 (_IO_do_write_internal, _IO_padn_internal)
27218 (_IO_getline_info_internal, _IO_getline_internal)
27219 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27220 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27221 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27222 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27223 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27224 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27225 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27226 with libc_hidden_ver, remove use of INTUSE.
27227 * libio/genops.c: Likewise.
27228 * libio/freopen.c: Likewise.
27229 * libio/freopen64.c: Likewise.
27230 * libio/iofclose.c: Likewise.
27231 * libio/iofdopen.c: Likewise.
27232 * libio/iofflush.c: Likewise.
27233 * libio/iofflush_u.c: Likewise.
27234 * libio/iofgets.c: Likewise.
27235 * libio/iofgets_u.c: Likewise.
27236 * libio/iofopen.c: Likewise.
27237 * libio/iofopncook.c: Likewise.
27238 * libio/iofread.c: Likewise.
27239 * libio/iofread_u.c: Likewise.
27240 * libio/ioftell.c: Likewise.
27241 * libio/iofwrite.c: Likewise.
27242 * libio/iogetline.c: Likewise.
27243 * libio/iogets.c: Likewise.
27244 * libio/iogetwline.c: Likewise.
27245 * libio/iopadn.c: Likewise.
27246 * libio/iopopen.c: Likewise.
27247 * libio/ioseekoff.c: Likewise.
27248 * libio/ioseekpos.c: Likewise.
27249 * libio/iosetbuffer.c: Likewise.
27250 * libio/iosetvbuf.c: Likewise.
27251 * libio/ioungetc.c: Likewise.
27252 * libio/ioungetwc.c: Likewise.
27253 * libio/iovdprintf.c: Likewise.
27254 * libio/iovsprintf.c: Likewise.
27255 * libio/iovsscanf.c: Likewise.
27256 * libio/memstream.c: Likewise.
27257 * libio/obprintf.c: Likewise.
27258 * libio/oldfileops.c: Likewise.
27259 * libio/oldiofclose.c: Likewise.
27260 * libio/oldiofdopen.c: Likewise.
27261 * libio/oldiofopen.c: Likewise.
27262 * libio/oldiopopen.c: Likewise.
27263 * libio/oldstdfiles.c: Likewise.
27264 * libio/putc.c: Likewise.
27265 * libio/setbuf.c: Likewise.
27266 * libio/setlinebuf.c: Likewise.
27267 * libio/stdfiles.c: Likewise.
27268 * libio/strops.c: Likewise.
27269 * libio/vasprintf.c: Likewise.
27270 * libio/vscanf.c: Likewise.
27271 * libio/vsnprintf.c: Likewise.
27272 * libio/vswprintf.c: Likewise.
27273 * libio/wfiledoalloc.c: Likewise.
27274 * libio/wfileops.c: Likewise.
27275 * libio/wgenops.c: Likewise.
27276 * libio/wmemstream.c: Likewise.
27277 * libio/wstrops.c: Likewise.
27278 * libio/__fpurge.c: Likewise.
27279 * libio/__fsetlocking.c: Likewise.
27280 * assert/assert.c: Likewise.
27281 * debug/fgets_chk.c: Likewise.
27282 * debug/fgets_u_chk.c: Likewise.
27283 * debug/fread_chk.c: Likewise.
27284 * debug/fread_u_chk.c: Likewise.
27285 * debug/gets_chk.c: Likewise.
27286 * debug/obprintf_chk.c: Likewise.
27287 * debug/vasprintf_chk.c: Likewise.
27288 * debug/vdprintf_chk.c: Likewise.
27289 * debug/vsnprintf_chk.c: Likewise.
27290 * debug/vsprintf_chk.c: Likewise.
27291 * malloc/mtrace.c: Likewise.
27292 * misc/error.c: Likewise.
27293 * misc/syslog.c: Likewise.
27294 * stdio-common/asprintf.c: Likewise.
27295 * stdio-common/fxprintf.c: Likewise.
27296 * stdio-common/getw.c: Likewise.
27297 * stdio-common/isoc99_fscanf.c: Likewise.
27298 * stdio-common/isoc99_scanf.c: Likewise.
27299 * stdio-common/isoc99_vfscanf.c: Likewise.
27300 * stdio-common/isoc99_vscanf.c: Likewise.
27301 * stdio-common/isoc99_vsscanf.c: Likewise.
27302 * stdio-common/printf-prs.c: Likewise.
27303 * stdio-common/printf_fp.c: Likewise.
27304 * stdio-common/printf_fphex.c: Likewise.
27305 * stdio-common/printf_size.c: Likewise.
27306 * stdio-common/putw.c: Likewise.
27307 * stdio-common/scanf.c: Likewise.
27308 * stdio-common/sprintf.c: Likewise.
27309 * stdio-common/tmpfile.c: Likewise.
27310 * stdio-common/vfprintf.c: Likewise.
27311 * stdio-common/vfscanf.c: Likewise.
27312 * stdlib/strfmon_l.c: Likewise.
27313 * sunrpc/openchild.c: Likewise.
27314 * sunrpc/xdr_stdio.c: Likewise.
27315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27316 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27317
d6c33fda
RM
273182012-05-24 Roland McGrath <roland@hack.frob.com>
27319
c1487492
RM
27320 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27321
27322 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27323 in the third column, to generate for the shared library an IFUNC
27324 that uses _dl_vdso_vsym.
27325 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27326 * Makeconfig (object-suffixes-noshared): New variable.
27327
27328 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27329 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27330 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27331 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27332
d6c33fda
RM
27333 [BZ #14132]
27334 * include/sys/time.h (__gettimeofday): Remove macro.
27335 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27336 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27337 Remove INTDEF.
27338 (__gettimeofday): Add libc_hidden_def.
27339 (gettimeofday): Add libc_hidden_weak.
27340 * sysdeps/mach/gettimeofday.c: Likewise.
27341 * sysdeps/posix/gettimeofday.c: Likewise.
27342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27343 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27345 (__gettimeofday_internal): Remove strong_alias.
27346 (__gettimeofday): Add libc_hidden_def.
27347 (gettimeofday): Add libc_hidden_weak.
27348 * sysdeps/unix/syscalls.list (gettimeofday):
27349 Remove __gettimeofday_internal alias.
27350
b5a2bbe6
L
273512012-05-24 Daniel Jacobowitz <drow@false.org>
27352 H.J. Lu <hongjiu.lu@intel.com>
27353
27354 [BZ #12495]
27355 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27356 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27357 (largebin_index_32_big): New.
27358 (largebin_index): Use it for 16-byte alignment.
27359 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27360 correction with front_misalign.
27361
cfba4fda
L
273622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27363
7f907421
L
27364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27366 Likewise.
27367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27368 Likewise.
27369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27370 Likewise.
27371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27372 Likewise.
27373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27374 Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27376 Likewise.
27377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27378 Likewise.
27379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27380 Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27382 Likewise.
27383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27384 Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27386 Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27388 Likewise.
27389
cfba4fda
L
27390 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27391 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27392
80bad0cc
JM
273932012-05-24 Joseph Myers <joseph@codesourcery.com>
27394
7a25eb06
JM
27395 [BZ #10846]
27396 [BZ #14036]
27397 * math/libm-test.inc (exp_test): Add test from bug 14036.
27398 (pow_test): Add test from bug 10846.
27399
795405f9
JM
27400 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27401 and other flags.
27402 (special_function): Do not include flags in test name.
27403 (parse_args): Likewise.
27404 * sysdeps/i386/fpu/libm-test-ulps: Update.
27405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27406 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27407 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409
80bad0cc
JM
27410 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27411 exceptions.
27412 * math/libm-test.inc ("Philosophy"): Update comment about
27413 exception testing.
27414 (UNDERFLOW_EXCEPTION): New macro.
27415 (UNDERFLOW_EXCEPTION_OK): Likewise.
27416 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27417 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27418 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27419 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27420 (INVALID_EXCEPTION_OK): Update value.
27421 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27422 (OVERFLOW_EXCEPTION_OK): Likewise.
27423 (IGNORE_ZERO_INF_SIGN): Likewise.
27424 (test_exceptions): Handle underflow exceptions.
27425 (acos_test): Update for underflow exception expectations.
27426 (cexp_test): Likewise.
27427 (clog_test): Likewise.
27428 (clog10_test): Likewise.
27429 (csqrt_test): Likewise.
27430 (ctan_test): Likewise.
27431 (ctanh_test): Likewise.
27432 (exp_test): Likewise.
27433 (exp10_test): Likewise.
27434 (exp2_test): Likewise.
27435 (expm1_test): Likewise.
27436 (fma_test): Likewise.
27437 (j0_test): Likewise.
27438 (jn_test): Likewise.
27439 (nexttoward_test): Likewise.
27440 (pow_test): Likewise.
27441 (scalbn_test): Likewise.
27442 (scalbln_test): Likewise.
27443 (tan_test): Likewise.
27444 (y1_test): Likewise.
27445 * sysdeps/i386/fpu/libm-test-ulps: Update.
27446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27447
9e0e3d0b
DM
274482012-05-23 David S. Miller <davem@davemloft.net>
27449
27450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27451 (__libc_sigaction): Remove unused local variables.
27452
ccd0a08f
L
274532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27454
27455 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27456
62bdf9a6
PE
274572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27458
f8591f80
PE
27459 mktime: avoid signed integer overflow
27460 * time/mktime.c (__mktime_internal): Do not mishandle the case
27461 where diff == INT_MIN.
27462
94c7d826
PE
27463 mktime: simplify computation of average
27464 * time/mktime.c (ranged_convert): Use new time_t_avg function
27465 instead of rolling our own (probably-slower) code.
27466
ce73d683
PE
27467 mktime: do not assume signed right shift propagates sign bit
27468 * time/mktime.c (isdst_differ): New static function.
27469 (__mktime_internal): No need to normalize tm_isdst now.
27470 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27471 tm_isdst values.
27472
72a22e59
PE
27473 mktime: merge another wrapv change from gnulib
27474 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27475 from some compilers.
27476
68605433
PE
27477 mktime: remove incorrect attempt at unusual arithmetics
27478 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27479 The code didn't really work on such machines anyway.
27480 (TYPE_MINIMUM): Assume two's complement.
27481 (twos_complement_arithmetic): Verify that long_int and time_t
27482 are two's complement (or unsigned, in the latter case).
27483
03cf7fe3
PE
27484 mktime: check signed shifts on long_int and time_t, too
27485 * time/mktime.c (SHR): Check that shifts work as desired
27486 on the types long_int and time_t too, as SHR is used on
27487 such types.
27488
f04dfbc2
PE
27489 mktime: do not assume 'long' is wide enough
27490 * time/mktime.c (verify): Move decl up.
27491 (long_int): New type.
27492 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27493 to remove assumption in the code that 'long' is wide enough to
27494 store year values. This assumption is not true on x32 and on
27495 some non-glibc platforms.
27496
62bdf9a6
PE
27497 mktime: merge wrapv change from gnulib
27498 * time/mktime.c (WRAPV): New macro.
27499 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27500 (guess_time_tm, __mktime_internal): Do not assume that signed
27501 integer overflow wraps around; modern compilers generate code
27502 where this assumption is no longer valid.
27503
5e292e4f
L
275042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27505
27506 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27507 Replace "jmp L(pseudo_end)" with "ret".
27508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27509 Likewise.
27510
8caf8c87
AJ
275112012-05-23 Andreas Jaeger <aj@suse.de>
27512
27513 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27514 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27515
1a09dc56
AJ
275162012-05-23 Andreas Jaeger <aj@suse.de>
27517 Maximilian Attems <max@stro.at>
27518
27519 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27520 New macros.
27521
1c87aba0
L
275222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27523
27524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27525 code so that pseudo_end is just ret and the stack pointer is
27526 correct also for static library in error case.
27527
40e45bd5
JM
275282012-05-23 Joseph Myers <joseph@codesourcery.com>
27529
c2670533
JM
27530 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27531 move to syscalls.list.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27536
40e45bd5
JM
27537 * manual/install.texi (Running make install): Do not mention Linux
27538 kernel version for which pt_chown is not needed.
27539 (Linux): Do not mention problems with nscd with 2.0 kernels.
27540 * INSTALL: Regenerated.
27541
be08eda5
AJ
275422012-05-23 Andreas Jaeger <aj@suse.de>
27543
27544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27545 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27546 macro.
27547 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27549 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27551 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27557 * sysdeps/unix/sysv/linux/bits/in.h
27558 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27559
a6a056bb
RM
275602012-05-22 Roland McGrath <roland@hack.frob.com>
27561
27562 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27563 (PREPARE_VERSION): Just use assert instead, it will be elided
27564 under [NDEBUG] anyway.
27565
c9009328
L
275662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27567
27568 * sysdeps/unix/sysv/linux/Makefile: Include
27569 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27570 (sysdep_routines): Remove sysctl.
c9009328
L
27571 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27572 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27573 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27574 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27575 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27576
73338355
AJ
275772012-05-22 Andreas Jaeger <aj@suse.de>
27578
27579 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27580 that pseudo_end is just ret and the stack pointer is correct also
27581 for static library in error case.
27582
d44638b0
PP
275832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27584
27585 [BZ #14122]
27586 * nss/nsswitch.c (defconfig_entries): New variable.
27587 (__nss_database_lookup): Don't leak defconfig entries.
27588 (nss_parse_service_list): Don't leak on error paths.
27589 (free_database_entries): New function.
27590 (free_defconfig): New function.
27591 (free_mem): Move common code to free_database_entries.
27592
31a39bd8
L
275932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27594
da0331a8
L
27595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27596 Add arch_prctl.
27597 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27598
31a39bd8
L
27599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27600 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27602 New macro.
27603 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27604 (INTERNAL_SYSCALL_TYPES): Likewise.
27605 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27606 (LOAD_REGS_TYPES_[1-6]): Likewise.
27607 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27608 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27609
45470df3
AZ
276102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27611
27612 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27613 copysignl for GLIBC_2_0.
27614 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27615 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27617 logbl for GLIBC_2_0.
27618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27619 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27620
98a61bcb
L
276212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27622
a4f6e481
L
27623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27624 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27625
f63d5db6
L
27626 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27627 Use "neg %eax".
27628
98a61bcb
L
27629 * time/mktime.c: Update copyright years.
27630
95770f14
PE
276312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27632
6226efbd
PE
27633 mktime: merge comment-quoting-style change from gnulib
27634 * time/mktime.c: Quote 'like this' in comments.
27635 The GNU coding standards suggest that we no longer quote `like this',
27636 as "`" and "'" are typically rendered asymmetrically nowadays.
27637 The typical gnulib style is to quote 'like this' when quoting
27638 code, and "like this" when quoting English.
27639
b99e4f78
PE
27640 * time/mktime.c (compile-command): Add "-I.".
27641
643e01e6
PE
27642 mktime: merge mktime-internal.h change from gnulib
27643 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27644
2554247d
PE
27645 mktime: merge time_r change from gnulib
27646 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27647
826dd0ab
PE
27648 mktime: merge DEBUG change from gnulib
27649 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27650 case system <time.h> has a #define.
27651
bd83aabe
PE
27652 mktime: merge <sys/types.h> change from gnulib
27653 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27654 since <time.t> is now guaranteed to define time_t.
27655
95770f14
PE
27656 mktime: merge HAVE_CONFIG_H change from gnulib
27657 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27658
5e1a27a9
L
276592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27660
0e44a77e
L
27661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27662 Use "neg %eax".
27663
5e1a27a9
L
27664 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27665 __rlim_t cast.
27666 (struct rusage): Use anonymous union to pad each field to
27667 __syscall_slong_t.
27668
46259bec
DM
276692012-05-21 David S. Miller <davem@davemloft.net>
27670
27671 * Makefules (o-iterator): Remove .s cases.
27672 (compile-command.s): Delete.
27673 (COMPILE.s): Delete.
27674 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27675
59f0c22e
JM
276762012-05-21 Joseph Myers <joseph@codesourcery.com>
27677
27678 * configure.in (libc_cv_predef_stack_protector): Only consider
27679 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27680 * configure: Regenerated.
27681
20c07380
L
276822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27683
bbb3154b
L
27684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27685 New macro. Use R*LP on int and pointer.
27686 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27687 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27688 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27689 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27690
20c07380
L
27691 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27692 [__WORDSIZE_TIME64_COMPAT32] instead of
27693 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27694 (struct utmp): Likewise.
27695 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27696 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27697 Renamed to ...
27698 (__WORDSIZE_TIME64_COMPAT32): This.
27699 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27700 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27701 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27702 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27703 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27704 (__WORDSIZE_TIME64_COMPAT32): New macro.
27705
d8d1017e
AJ
277062012-05-21 Andreas Jaeger <aj@suse.de>
27707
27708 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27709 only if [SHARED]. Add prototype for __wcschr_ia32.
27710
6c7fb145
RM
277112012-05-21 Roland McGrath <roland@hack.frob.com>
27712
27713 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27714 of %rbp unmolested in the jmp_buf while mangling the low bits.
27715 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27716 unmolested high bits of %rbp while demangling the low bits.
27717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27718
66274218
AJ
277192012-05-21 Andreas Jaeger <aj@suse.de>
27720
07c58f8f
AJ
27721 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27722 * sunrpc/svc_simple.c: Use it for registerrpc.
27723 * sunrpc/xcrypt.c: Use it for passwd2des.
27724
66274218
AJ
27725 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27726
61f65140
L
277272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27728
27729 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27730 Don't define if [__SYSCALL_WORDSIZE != 32].
27731 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27732 New macro.
27733
5fefb436
AJ
277342012-05-21 Bruno Haible <bruno@clisp.org>
27735 Andreas Jaeger <aj@suse.de>
27736
27737 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27738 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27739 inptr and inend for must_buffer_ch.
27740 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27741 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27742 * stdio-common/Makefile (tests): Remove bug15.
27743 (bug15-ENV): Remove macro.
27744 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27745 anymore.
27746
d8e272ab
AJ
277472012-05-19 Andreas Jaeger <aj@suse.de>
27748 Roland McGrath <roland@hack.frob.com>
27749
27750 * manual/contrib.texi: Completely rewritten. It contains now an
27751 alphabetical list of contributors and their contributions.
27752
4a56a162
RH
277532012-05-21 Richard Henderson <rth@twiddle.net>
27754
27755 * misc/getauxval.c (__getauxval): Use unsigned long int.
27756 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27757 (getauxval): Use unsigned long int.
27758
d024d23c
L
277592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27760
27761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27762
cbc00a03
RM
277632012-05-21 Roland McGrath <roland@hack.frob.com>
27764
27765 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27766 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27767 __alignof__ (long double).
27768
478143fa
AZ
277692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27770
27771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27772
c7683a6d
RH
277732012-05-20 Richard Henderson <rth@twiddle.net>
27774
27775 * misc/getauxval.c: New file.
27776 * misc/sys/auxv.h: New file.
27777 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27778 (routines): Add getauxval.
27779 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27781 * elf/dl-sysdep.c (_dl_auxv): Remove.
27782 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27783 * elf/dl-support.c (_dl_auxv): New variable.
27784 (_dl_aux_init): Initialize it.
27785 * manual/startup.texi (Auxiliary Vector): New node.
27786 * sysdeps/generic/bits/hwcap.h: New file.
27787 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27788 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27789 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27790 * sysdeps/sparc/sysdep.h: ... here. Include it.
27791 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27794 Update.
c7683a6d
RH
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27803
a6f1845d
AZ
278042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27805
27806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27807
cbcbe830
DM
278082012-05-19 David S. Miller <davem@davemloft.net>
27809
27810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27811
e0b16cc2
JM
278122012-05-19 Joseph Myers <joseph@codesourcery.com>
27813
27814 [BZ #14123]
27815 * math/s_ccosh.c: Include <float.h>
27816 (__ccosh): Avoid internal overflow calculating sinh and cosh
27817 values before multiplying by sin and cos values.
27818 * math/s_ccoshf.c: Likewise.
27819 * math/s_ccoshl.c: Likewise.
27820 * math/s_csin.c: Likewise.
27821 * math/s_csinf.c: Likewise.
27822 * math/s_csinl.c: Likewise.
27823 * math/s_csinh.c: Likewise.
27824 * math/s_csinhf.c: Likewise.
27825 * math/s_csinhl.c: Likewise.
27826 * math/libm-test.inc (ccos_test): Add more tests.
27827 (ccosh_test): Likewise.
27828 (csin_test): Likewise.
27829 (csinh_test): Likewise.
27830 * sysdeps/i386/fpu/libm-test-ulps: Update.
27831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832
6ad13e08
L
278332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27834
f66f0ce8
L
27835 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27836 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27837
6ad13e08
L
27838 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27839
b1d072a7
JM
278402012-05-19 Joseph Myers <joseph@codesourcery.com>
27841
27842 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27843 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27844 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27845 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27846 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27847 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27848 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27849 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27850 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27851 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27852 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27853 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27854 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27855 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27856 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27857 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27858 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27859 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27860 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27861 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27862 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27863 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27864 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27865 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27866 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27867 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27868 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27869 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27870 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27871 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27872 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27873
9eae47cb
AJ
278742012-05-18 Andreas Jaeger <aj@suse.de>
27875
27876 * csu/.gitignore: Delete.
27877
bb07f69f
L
278782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27881 (timex): Use __syscall_slong_t.
27882
e6bdb741
AJ
278832012-05-18 Andreas Jaeger <aj@suse.de>
27884 Carlos O'Donell <carlos_odonell@mentor.com>
27885
27886 * manual/install.texi (Configuring and compiling): Update
27887 description about files modified in the source directory.
d6c33fda 27888 * INSTALL: Regenerated.
e6bdb741 27889
1b74487e
L
278902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27891
27892 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27893 value. Use "or" to set return value to -1.
27894 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27895 negate return value.
27896
a88b64b9
TMQMF
278972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27898
27899 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27900 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27901 failure if the compiler has Graphite support disabled.
27902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27903 Likewise.
27904 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27905 CFLAGS-memmove.c): Likewise.
27906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27907 Likewise.
27908
3707636e
L
279092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27910
610b8622
L
27911 * sysdeps/x86_64/x32/_itoa.h: New file.
27912
7cd195df
L
27913 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27914 getdents system call only if kernel and user dirents have the
27915 same d_ino and d_off.
27916
94b07d20
L
27917 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27918 LLONG_MAX != LONG_MAX.
27919 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27920 (_fitoa_word): Likewise.
27921
18298070
L
27922 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27923 years.
27924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27926 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27927
553c7ea4
L
27928 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27929 include <bits/wordsize.h>. Check __x86_64__ instead of
27930 __WORDSIZE.
27931 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27932 if __x86_64__ is defined. Use anonymous union on fpstate.
27933
3707636e
L
27934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27935 anonymous union.
27936
b53ef01a
AS
279372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27938
37fb1dc0
AS
27939 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27940 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27942 Refer to _rtld_local_ro instead of _rtld_global_ro.
27943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27944 Likewise.
27945 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27946 Likewise.
27947 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27948 Likewise.
27949 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27950 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27951 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27952
b53ef01a
AS
27953 * sysdeps/powerpc/powerpc32/dl-machine.c
27954 (__elf_machine_runtime_setup) [PROF]: Don't reference
27955 _dl_prof_resolve.
27956
7a185db2
AJ
279572012-05-18 Andreas Jaeger <aj@suse.de>
27958
27959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27960 function only available for GCCs before 3.4 since GCC 3.4
27961 introduced a builtin.
27962 (lrint): Likewise.
27963 (llrintf): Likewise.
27964 (llrint): Likewise.
27965 (fmaxf): Likewise.
27966 (fmax): Likewise.
27967 (fminf): Likewise.
27968 (fmin): Likewise.
27969 (rint): Likewise.
27970 (rintf): Likewise.
27971 (nearbyint): Likewise.
27972 (nearbyintf): Likewise.
27973 (ceil): Likewise.
27974 (ceilf): Likewise.
27975 (floor): Likewise.
27976 (floorf): Likewise.
27977
3e5aef87
L
279782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27979
428bd707
L
27980 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27981 on both fields and cast pointer to __syscall_ulong_t.
27982
3e5aef87
L
27983 * bits/types.h (__fsword_t): New type.
27984 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27985 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27987 (__FSWORD_T_TYPE): Likewise.
27988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27989 (__FSWORD_T_TYPE): Likewise.
27990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27991 (__FSWORD_T_TYPE): Likewise.
27992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27993 (__FSWORD_T_TYPE): Likewise.
27994 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27995 __SWORD_TYPE with __fsword_t.
27996 (statfs64): Likewise.
27997
1ba7c3dc
DM
279982012-05-17 David S. Miller <davem@davemloft.net>
27999
28000 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28001
59910343
AJ
280022012-05-17 Andreas Jaeger <aj@suse.de>
28003
28004 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28005 warning.
28006
2e4c1e9e
L
280072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28008
28009 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28010
de7f5ce7
AJ
280112012-05-17 Andreas Jaeger <aj@suse.de>
28012
28013 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28014 when it is used.
28015
286abc3d
CM
280162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28017
28018 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28019
477cc68e
L
280202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28021
28022 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28023 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28024
1a0994f5
CD
280252012-05-17 Andreas Jaeger <aj@suse.de>
28026 Carlos O'Donell <carlos_odonell@mentor.com>
28027
28028 [BZ #14059]
28029 * sysdeps/x86_64/multiarch/init-arch.h
28030 (bit_YMM_Usable): Rename to...
28031 (bit_AVX_Usable): ... this.
28032 (bit_FMA4_Usable): New macro.
28033 (bit_XMM_state): New macro.
28034 (bit_YMM_state): New macro.
28035 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28036 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28037 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28038 (CPUID_OSXSAVE): New macro.
28039 (CPUID_AVX): New macro.
28040 (CPUID_FMA4): New macro.
28041 (index_YMM_Usable): Rename to...
28042 (index_AVX_Usable): ... this.
28043 (HAS_AVX): Use HAS_ARCH_FEATURE.
28044 (HAS_FMA4): Likewise.
28045 (HAS_YMM_USABLE): Remove.
28046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28047 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28048 are present.
28049 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28050 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28051 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28052 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28053 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28054
0af797de
CM
280552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28056
28057 * math/libm-test.c: Support platforms without multiple rounding modes.
28058 * math/bug-nextafter.c: Support platforms without FP exceptions.
28059 * math/bug-nexttoward.c: Likewise.
28060 * math/test-fenv.c: Likewise.
28061 * math/test-misc.c: Likewise.
28062 * stdlib/bug-getcontext.c: Likewise.
28063
e39745ff
AJ
280642012-05-17 Andreas Jaeger <aj@suse.de>
28065
28066 * manual/examples/search.c (critter_cmp): Change signature to
28067 avoid warnings.
28068 * manual/string.texi (Collation Functions): Likewise.
28069
48970aba
L
280702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 * bits/types.h: Fold copyright years.
28073 * bits/typesizes.h: Likewise.
28074 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28078 * time/time.h: Likewise.
28079
bedee953
PP
280802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28081
28082 [BZ #208]
28083 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28084 in instead of returning them. Return void.
28085 (__libc_mallinfo): Accumulate over all arenas.
28086 (__malloc_stats): Adjust for change in int_mallinfo interface.
28087
61653dfb
RM
280882012-05-16 Roland McGrath <roland@hack.frob.com>
28089
30b99d79
RM
28090 [BZ #10375]
28091 * configure.in (NM): Add AC_CHECK_TOOL for it.
28092 (libc_extra_cflags): New substituted variable.
28093 Check for -fstack-protector being used implicitly.
28094 * configure: Regenerated.
28095 * config.make.in (config-extra-cflags): New variable,
28096 gets @libc_extra_cflags@.
28097 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28098
61653dfb
RM
28099 [BZ #10375]
28100 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28101 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28102 * configure: Regenerated.
28103 * config.make.in (CPPUNDEFS): New substituted variable.
28104 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28105 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28106 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28107
661768bb
L
281082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28111 (mq_attr): Use __syscall_slong_t.
28112
d4261567
L
281132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28114
28115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28116 Check __x86_64__ instead of __WORDSIZE.
28117 (_STAT_VER_LINUX): Likewise.
28118 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28119 __syscall_ulong_t and __syscall_slong_t.
28120 (stat64): Likewise.
28121
cf3ff365
L
281222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28125
76cf3e4d
L
281262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28127
28128 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28129
a637753a
L
281302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28133 __syscall_ulong_t.
28134
d5e05119
L
28135 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28136 include <bits/wordsize.h>. Check __x86_64__ instead of
28137 __WORDSIZE.
28138 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28139 defined.
28140 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28141
f62ee380
L
28142 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28143 include <bits/wordsize.h>. Check __x86_64__ instead of
28144 __WORDSIZE.
28145 (user_regs_struct): Use "__extension__ unsigned long long"
28146 instead of "unsigned long" if __x86_64__ is defined.
28147 (user): Likewise. Pad after pointer field if __ILP32__ is
28148 defined.
28149
4e124ced
JM
281502012-05-16 Joseph Myers <joseph@codesourcery.com>
28151
6a3951a0
JM
28152 * configure.in (makeinfo): Require version 4.5 or later. Allow
28153 versions 5 to 9.
28154 * configure: Regenerated.
28155 * manual/install.texi (texinfo): Increase version requirement to
28156 4.5 or later.
28157 * INSTALL: Regenerated.
28158
4e124ced
JM
28159 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28160
953ca31a
L
281612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28164
617aca05
L
28165 * sysdeps/x86_64/x32/ffs.c: New file.
28166
5762f7ae
L
28167 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28168 __syscall_ulong_t.
28169 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28170 defined. Use __syscall_ulong_t.
28171 (shminfo): Use __syscall_ulong_t.
28172 (shm_info): Likewise.
28173
a26b6856
L
28174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28175 __syscall_ulong_t.
28176
cb2b9ef7
L
28177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28178 <bits/wordsize.h>.
28179 (msgqnum_t): Use __syscall_ulong_t.
28180 (msglen_t): Likewise.
28181 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28182 __syscall_ulong_t.
28183
34683bb0
L
28184 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28185 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28186
84a68786
L
28187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28188
48baa5f1
L
28189 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28190 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28191
180be88b
L
28192 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28193 __syscall_slong_t.
28194
5e90c8ad
L
28195 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28196 include <bits/wordsize.h>. Check __x86_64__ instead of
28197 __WORDSIZE.
28198
23dfb58b
L
28199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28200 "unsigned long long int" if __x86_64__ is defined.
28201 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28202
ce5d54b0
L
28203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28205 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28206
13dc9eac
L
28207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28208 <stdint.h>.
28209 (GET_PC): Cast to uintptr_t first.
28210 (GET_FRAME): Likewise.
28211 (GET_STACK): Likewise.
28212
a7895d15
L
28213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28220 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28221 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28242
656416c9
AS
282432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28244
5bd66283
AS
28245 * Makerules (+depfiles): Also collect depfiles from .oS in
28246 $(extra-objs).
28247 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28248 .oS, $(libnldbl-routines)).
28249
656416c9
AS
28250 * Makerules (native-compile-mkdep-flags): Define.
28251 * sunrpc/Makefile (extra-objs): Add $(addprefix
28252 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28253 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28254 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28255 calling $(make-target-directory).
28256
a46f2169
L
282572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28258
28259 * bits/types.h (__snseconds_t): Removed.
28260 * time/time.h (struct timespec): Replace __snseconds_t with
28261 __syscall_slong_t.
28262 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28263 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28264 Likewise.
28265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28266 (__SNSECONDS_T_TYPE): Likewise.
28267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28268 (__SNSECONDS_T_TYPE): Likewise.
28269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28270 (__SNSECONDS_T_TYPE): Likewise.
28271
6af6528b
L
282722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28273
28274 * sysdeps/mach/hurd/bits/typesizes.h
28275 (__SYSCALL_SLONG_TYPE): New macro.
28276 (__SYSCALL_ULONG_TYPE): Likewise.
28277
de986b56
L
282782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * bits/types.h (__syscall_slong_t): New type.
28281 (__syscall_ulong_t): Likewise.
28282
28283 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28284 (__SYSCALL_ULONG_TYPE): Likewise.
28285 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28286 (__SYSCALL_SLONG_TYPE): Likewise.
28287 (__SYSCALL_ULONG_TYPE): Likewise.
28288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28289 (__SYSCALL_SLONG_TYPE): Likewise.
28290 (__SYSCALL_ULONG_TYPE): Likewise.
28291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28292 (__SYSCALL_SLONG_TYPE): Likewise.
28293 (__SYSCALL_ULONG_TYPE): Likewise.
28294
85736dc7
L
282952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28298 Add sigaltstack-offsets.sym.
28299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28300 <sigaltstack-offsets.h>.
28301 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28302 longjmp_msg pointer.
28303 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28304 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28305 signal stack.
28306 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28307
cc03b296
JM
283082012-05-15 Joseph Myers <joseph@codesourcery.com>
28309
a9538892
JM
28310 * elf/stackguard-macros.h: Remove file.
28311 * sysdeps/generic/stackguard-macros.h: New file.
28312 * sysdeps/i386/stackguard-macros.h: Likewise.
28313 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28314 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28315 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28316 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28317 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28318 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28319 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28320 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28321 <elf/stackguard-macros.h>.
28322
cc03b296
JM
28323 [BZ #14109]
28324 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28325 __aligned__ in attribute.
28326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28327 (gregset_t): Likewise.
28328
93171016
L
283292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28332 * sysdeps/x86_64/64/Implies-after: Here. New file.
28333 * sysdeps/x86_64/x32/Implies-after: New file.
28334
d86813a0
L
283352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28338 and access return value for _dl_profile_fixup. Use R10_LP to
28339 load frame size.
28340
2953ec75
L
283412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28342
28343 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28344
3b550e9e
L
283452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28348 * sysdeps/x86_64/x32/sysdep.h: New file.
28349
eda41706
L
283502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28351
28352 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28353 * sysdeps/x86_64/setjmp.S: Likewise.
28354
9ea01d93
AZ
283552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28356
28357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28359 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28361 remove unused global constant.
28362
02a91938
CM
283632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28364
28365 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28366 include of <not-cancel.h>.
28367
6540185f
RM
283682012-05-15 Roland McGrath <roland@hack.frob.com>
28369
28370 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28371
509072a0
AJ
283722012-05-15 Jeff Law <law@redhat.com>
28373 Andreas Jaeger <aj@suse.de>
28374
28375 [BZ #13594]
28376 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28377 out from...
28378 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28379 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28380 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28381 code changing __hst_map_handle.map.
28382
ba75122d
RM
283832012-05-15 Roland McGrath <roland@hack.frob.com>
28384
28385 * configure.in (sysnames): Look for Implies-before and Implies-after
28386 files.
28387 * configure: Regenerated.
28388
890d8bd8
L
283892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28392 8-byte data alignment with LP_SIZE alignment.
28393
f6ee6623
L
283942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28397 into R10_LP.
28398
ea2626f6
L
283992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28402
085f715e
L
284032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28406 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28408 Likewise.
28409 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28410
be8498fc
L
284112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28414 (stackinfo_sub_sp): Likewise.
28415
70bc83b9
L
284162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28419 RAX_LP.
28420
9bc0b730
L
284212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28424 into R*_LP.
28425
6d2850e7
L
284262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28429 sizes into R*_LP.
28430
3cb84561
L
284312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28434
54e2ed81
L
284352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28438 into R11_LP and load __x86_64_shared_cache_size_half into
28439 R8_LP.
28440
8a17f349
L
284412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28444 R8_LP.
28445
777b1eea
AZ
284462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28447
28448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28449 logb for POWER7.
28450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28451 logbf for POWER7.
28452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28453 logbl for POWER7.
28454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28455 powerpc32/power7/fpu/s_logb.c via #include.
28456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28457 powerpc32/power7/fpu/s_logbf.c via #include.
28458 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28459 powerpc32/power7/fpu/s_logbl.c via #include.
28460
d20d4ac2
JM
284612012-05-15 Joseph Myers <joseph@codesourcery.com>
28462
28463 * README.libm: Remove file.
28464
6cdef1ab
L
284652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28468 count for x32. Use R*_LP and omit operand-size suffix.
28469
0b254d8f
L
284702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28471
28472 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28473 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28474 * sysdeps/x86_64/x32/shlib-versions: New file.
28475
ceb809dc
RM
284762012-05-14 Roland McGrath <roland@hack.frob.com>
28477
28478 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28479 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28480 Use _dl_fatal_printf instead.
28481
37f1abd4
JM
284822012-05-14 Joseph Myers <joseph@codesourcery.com>
28483
28484 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28485 set if not set by the user. Do not allow for being unset.
28486 * sysdeps/unix/sysv/linux/configure: Regenerated.
28487
11de3a33
L
284882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28491 the `q' suffix from lea and replace .quad with ASM_ADDR.
28492
e02f153a
L
284932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28496 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28497 instead of $17.
28498 (PTR_DEMANGLE): Likewise.
28499
520ae0fd
L
285002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28503 (LP_OP): Likewise.
28504 (ASM_ADDR): Likewise.
28505 (RAX_LP): Likewise.
28506 (RBP_LP): Likewise.
28507 (RBX_LP): Likewise.
28508 (RCX_LP): Likewise.
28509 (RDI_LP): Likewise.
28510 (RSI_LP): Likewise.
28511 (RSP_LP): Likewise.
28512 (R8_LP): Likewise.
28513 (R9_LP): Likewise.
28514 (R10_LP): Likewise.
28515 (R10_LP): Likewise.
28516 (R11_LP): Likewise.
28517 (R12_LP): Likewise.
28518 (R13_LP): Likewise.
28519 (R14_LP): Likewise.
28520 (R15_LP): Likewise.
28521
b985be81
L
285222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28523
28524 * sysdeps/x86_64/x32/dl-machine.h: New file.
28525
6a4888ff
AJ
285262012-05-14 Andreas Jaeger <aj@suse.de>
28527
28528 * manual/Makefile (subdir): Remove export of subdir.
28529 (all): Remove target.
28530 (.PHONY): Remove all from list.
28531 (mkinstalldirs): Remove.
28532 (.PHONY): Remove installdirs from list.
28533 ($(inst_infodir)/libc.info): Use make-target-directory.
28534 (installdirs): Remove.
28535 (subdir_%): Remove.
28536 (glibc-targets): Remove.
28537 (lib): Remove.
28538 (stubs): Remove.
28539 ($(objpfx)stubs ../po/manual.pot): Remove.
28540 ($(objpfx)stamp%): Remove.
28541 (make-target-directory): Remove.
28542 (subdir_install): Remove.
28543 (routines): Remove.
28544 (aux): Remove.
28545 (sources): Remove.
28546 (objects): Remove.
28547 (headers): Remove.
28548
28549 [BZ #13750]
28550 * manual/.gitignore: Remove, it's not needed anymore.
28551 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28552 all files in it.
28553 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28554 directory.
28555 (texis): Renamed to $(objpfx)texis.
28556 (texis-path): New, contains path to generated files.
28557 (chapters.%): Use texis-path for complete path, add extra argument
28558 libc-texinfo.sh.
28559 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28560 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28561 (summary,texi, stamp-summary): Use complete path of
28562 files. Generate files in build dir.
28563 (dir-add.texi): Build in build dir.
28564 (libm-err.texi,stamp-libm-err): Likewise.
28565 (version.texi, stamp-version): Likewise.
28566 (.%c.texi): Likewise.
28567 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28568 (mostlyclean): Remove target.
28569 (realclean): Remove target.
28570 (generated): Add new variable with contents from mostlyclean and
28571 realclean, remove entries duplicated in common-mostlyclean, add
28572 stamp-libm-err and stamp-version.
28573 (generated-dirs): Add libc directory.
28574 ($(inst_infodir)/libc.info): Install files from build dir.
28575
28576 * manual/install.texi (Configuring and compiling): Adjust since
28577 the info files are not part of the tar ball anymore.
28578
7ac77294
AJ
285792012-05-14 Andreas Jaeger <aj@suse.de>
28580
28581 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28582 variable.
28583
ffb7875d
JM
285842012-05-14 Joseph Myers <joseph@codesourcery.com>
28585
28586 [BZ #13717]
28587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28588 to 2.2.0 where earlier.
28589 * sysdeps/unix/sysv/linux/configure: Regenerated.
28590 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28591 Remove conditional code.
28592 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28593 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28594 Remove conditional code.
28595 [!__NR_lchown]: Likewise.
28596 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28597 [__NR_lchown]: Likewise.
28598 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28599 comment referencing __ASSUME_LCHOWN_SYSCALL.
28600 * sysdeps/unix/sysv/linux/i386/sigaction.c
28601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28604 Remove conditional code.
28605 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28606 (__protocol_available): Remove #if 0 code.
28607 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28608 conditional code.
28609 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28610 * sysdeps/unix/sysv/linux/kernel-features.h
28611 (__ASSUME_GETCWD_SYSCALL): Don't define.
28612 (__ASSUME_REALTIME_SIGNALS): Likewise.
28613 (__ASSUME_PREAD_SYSCALL): Likewise.
28614 (__ASSUME_PWRITE_SYSCALL): Likewise.
28615 (__ASSUME_POLL_SYSCALL): Likewise.
28616 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28617 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28618 non-SPARC.
28619 (__ASSUME_SIOCGIFNAME): Don't define.
28620 (__ASSUME_MSG_NOSIGNAL): Likewise.
28621 (__ASSUME_SENDFILE): Define unconditionally.
28622 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28623 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28624 conditional code.
28625 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28626 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28628 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28629 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28631 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28656 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28657 Remove conditional code.
28658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28659 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28660 Remove conditional code.
28661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28662 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28663 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28664 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28665 Remove conditional code.
28666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28668 Remove conditional code.
28669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28671 Remove conditional code.
28672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28673 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28674 Remove conditional code.
28675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28677 Remove conditional code.
28678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28682 * sysdeps/unix/sysv/linux/sigaction.c
28683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28685 * sysdeps/unix/sysv/linux/sigpending.c
28686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28688 * sysdeps/unix/sysv/linux/sigprocmask.c
28689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28691 * sysdeps/unix/sysv/linux/sigsuspend.c
28692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28695 (__libc_missing_rt_sigs): Remove.
28696 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28697 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28698 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28699 Remove conditional code.
28700 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28701 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28702 return 1.
28703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28704 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28705 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28706 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28707
1bfb7291
AJ
287082012-05-14 Andreas Jaeger <aj@suse.de>
28709
caae5a81
AJ
28710 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28711 it's not used in glibc.
28712 (__coshm1): Likewise.
28713 (__acosh1p): Likewise.
28714 (__sgn): Likewise.
28715
1bfb7291
AJ
28716 * manual/string.texi (Copying and Concatenation): Add missing
28717 variable in concat example.
28718 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28719
c044d724
L
287202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28721
144c5467 28722 [BZ #14103]
c044d724
L
28723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28724 __builtin_clzl with __builtin_clzll.
28725
2523c62b
L
287262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28727
28728 [BZ #14104]
28729 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28730 libc_freeres_ptr.
28731
d7bb4c42
LD
287322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28733
28734 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28735 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28736 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28737 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28738
9dc4e1fb
MF
287392012-05-14 Mike Frysinger <vapier@gentoo.org>
28740
28741 * NEWS: Update ia64 info.
28742
c7df0112
AS
287432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28744
28745 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28746 used as bcopy.
28747
dc70356c
TS
287482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28749
28750 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28751 * sysdeps/unix/syscalls.list (dup3): Likewise.
28752 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28753 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28754
9fb1a21f
L
287552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28758 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28759
4822a2a5
L
287602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28763 thread pointer.
28764 (TLS_IE): Use mov/add instead of movq/addq to load thread
28765 pointer.
28766 (TLS_GD_PREFIX): New.
28767 (TLS_GD): Use it.
28768
842b81d6
DM
287692012-05-11 David S. Miller <davem@davemloft.net>
28770
28771 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28772 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28773 (_FPU_SETCW): Likewise.
28774
1cf463cd
L
287752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28776
28777 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28778 is 32-byte aligned.
28779
60cc4a18
AS
287802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28781
28782 [BZ #11837]
28783 * iconvdata/gb18030.c: Update tables.
28784 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28785 characters specially.
28786 (BODY for TO_LOOP): Add encoding of missing ranges.
28787
febb44a4
TS
287882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28789
28790 [BZ #13673]
28791 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28792 * sysdeps/mach/hurd/dup3.c: Likewise.
28793 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28794 * sysdeps/powerpc/memmove.c:: Likewise.
28795
0a10fb9e
L
287962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28799 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28800
df8a552f
L
288012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 * elf/elf.h (R_X86_64_RELATIVE64): New.
28804 (R_X86_64_NUM): Updated.
28805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28806 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28807 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28808 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28809 tst-quad1pie tst-quad2pie
28810 (modules-names): Add tst-quadmod1 tst-quadmod2.
28811 ($(objpfx)tst-quad1): New dependency.
28812 ($(objpfx)tst-quad2): Likewise.
28813 ($(objpfx)tst-quad1pie): Likewise.
28814 ($(objpfx)tst-quad2pie): Likewise.
28815 * sysdeps/x86_64/tst-quad1.c: New file.
28816 * sysdeps/x86_64/tst-quad1pie.c: New file.
28817 * sysdeps/x86_64/tst-quad2.c: Likewise.
28818 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28819 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28820 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28821 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28822 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28823
f34d6f84
ST
288242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28825
f42d41d1
ST
28826 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28827 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28828 * streams/stropts.h (t_scalar_t): Define type.
28829
3c3571fc
ST
28830 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28831 (_PATH_PRESERVE): Set to "/var/lib".
28832 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28833
61f06bd3
ST
28834 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28835 instead of int.
28836
918d4d71
ST
28837 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28838 if __dir_mkfile succeeded.
28839
f34d6f84
ST
28840 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28841 checking for _hurd_dtablesize. Unlock it right after having
28842 finished _hurd_dtable allocation.
28843
10589b4a
TS
288442012-05-10 Thomas Schwinge <thomas@schwinge.name>
28845
674cdbc7
TS
28846 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28847 * sysdeps/mach/hurd/configure: Regenerated.
28848 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28849 special-casing to...
28850 * sysdeps/gnu/configure.in: ... this new file.
28851 * sysdeps/unix/sysv/linux/configure: Regenerated.
28852 * sysdeps/gnu/configure: New generated file.
28853
8e41b99f
TS
28854 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28855 for Linux: use nsec instead of usec, as well as:
28856 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28857 members of type struct timespec.
28858 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28859 New macros.
28860 (struct stat64): Likewise.
28861 (_STATBUF_ST_NSEC): New macro.
28862 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28863
10589b4a
TS
28864 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28865 __strtoul_internal rather than strtoul.
28866
63643c85
PT
288672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28868
28869 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28870 and reject them.
28871
3faebe6a
ST
288722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28873
28874 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28875 which preserves existing values.
28876 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28877
c6474b07
PT
288782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28879
28880 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28881 TIMEOUT values. Return EINVAL for NFDS values either negative or
28882 greater than FD_SETSIZE.
28883
1043890b
ST
288842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28885
28886 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28887 allocated, call __vm_protect to finish enabling the existing space, and
28888 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28889 allocate the remainder.
28890
37ed8b9b
PT
288912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28892
28893 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28894 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28895
db653660
ST
288962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28897
37ed8b9b
PT
28898 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28899 sysdeps/mach/hurd/readlink.c.
b29d4053 28900
db653660
ST
28901 * posix/tst-sysconf.c (posix_options): Only use
28902 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28903 _POSIX_SYNCHRONIZED_IO when they are defined
28904 * sysdeps/mach/hurd/bits/posix_opt.h:
28905 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28906 (_XOPEN_REALTIME): Undefine macro.
28907 (_XOPEN_REALTIME_THREADS): Undefine macro.
28908 (_XOPEN_SHM): Undefine macro.
28909 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28910 macro to -1.
28911 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28912 macro to -1.
28913 (_POSIX_ASYNC_IO): Undefine macro.
28914 (_POSIX_PRIORITIZED_IO): Undefine macro.
28915 (_POSIX_SPIN_LOCKS): Define macro to -1.
28916
ee16e894
ST
28917 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28918 SA_NODEFER, SA_RESETHAND.
28919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28920 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28921 F_DUPFD_CLOEXEC.
28922
6103ae3b
TS
289232012-05-10 Thomas Schwinge <thomas@schwinge.name>
28924
28925 * elf/Makefile (pldd-modules): Define unconditionally.
28926
80b4e5f3
TS
289272012-05-10 Thomas Schwinge <thomas@schwinge.name>
28928
28929 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28930
edadcbd6
ST
289312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28932
28933 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28934 Return ENOENT when name is empty.
28935 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28936
80694780
TS
289372012-05-10 Thomas Schwinge <thomas@schwinge.name>
28938
1792c087
TS
28939 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28940
80694780
TS
28941 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28942
6b645f0d
ST
289432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28944
80694780
TS
28945 Fix mlock in all cases except non-readable pages.
28946 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28947 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28948
6b645f0d
ST
28949 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28950 (__mkdir): When path is `/', just fail with EEXIST.
28951 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28952
e468f8a3
TS
289532012-05-10 Thomas Schwinge <thomas@schwinge.name>
28954
28955 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28956 <sys/uio.h> (for writev).
28957 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28958 and <sys/param.h> (for MIN).
28959
a4186cff
PT
289602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28961
28962 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28963 REQUESTED_TIME. Properly set the remaining time and return EINTR
28964 if interrupted.
28965
510bbf14
TS
289662012-05-10 Thomas Schwinge <thomas@schwinge.name>
28967
28968 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28969 Depend on against $(link-rpcuserlibs).
28970
5d5722e8
ST
289712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28972
a4186cff
PT
28973 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28974 (__libc_stack_end): Do not use attribute_relro.
28975 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28976 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28977 to libthread-provided value.
a4186cff
PT
28978 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28979 attribute_relro.
5d5722e8 28980
37233df9
TS
289812012-05-10 Thomas Schwinge <thomas@schwinge.name>
28982
be971a2b
TS
28983 [BZ #3748]
28984 * bits/libc-lock.h (__libc_once_get): New macro.
28985 * sysdeps/mach/bits/libc-lock.h: Likewise.
28986 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28988 instead of using implementation details.
28989
37233df9
TS
28990 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28991 * libio/freopen.c: Likewise.
28992 * libio/freopen64.c: Likewise.
28993 * misc/syslog.c: Likewise.
28994 * nscd/connections.c: Likewise.
28995 * nscd/netgroupcache.c: Likewise.
28996 * sysdeps/posix/getcwd.c: Likewise.
28997
38de94a5
RM
289982012-05-10 Roland McGrath <roland@hack.frob.com>
28999
29000 * math/w_ilogbf.c: Add #include <limits.h>.
29001
67530489
ST
290022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29003
a4186cff 29004 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29005 path instead of returning without unlocking.
29006
67530489
ST
29007 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29008 immediate-write ioctls.
29009 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29010
5aa3a74a
TS
290112012-05-10 Thomas Schwinge <thomas@schwinge.name>
29012
18bad2ae
TS
29013 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29014 __builtin_frame_address instead of making assumptions about the
29015 location of the return address relative to DATA. Force early load of
29016 the return address.
29017 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29018 __builtin_frame_address.
29019
5aa3a74a
TS
29020 dup3 for GNU Hurd.
29021 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29022 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29023 implement dup3 and do some further code clean-ups.
29024 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29025 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29026
ecd0de9a
ST
290272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29028
cd9fa985
ST
29029 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29030
a4186cff
PT
29031 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29032 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29033 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29034 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29035 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29036 d->port.lock.
802ca5a5 29037
a4186cff
PT
29038 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29039 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29040 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29041
bcf55240
TS
290422012-05-10 Thomas Schwinge <thomas@schwinge.name>
29043
6960eb42
TS
29044 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29045 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29046 definitions.
29047
eb43375f
TS
29048 accept4 for GNU Hurd.
29049 * include/sys/socket.h (__libc_accept4): New prototype.
29050 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29051 to implement __libc_accept4.
29052 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29053 __libc_accept4.
29054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29055
bcf55240
TS
29056 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29057 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29058 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29059 signal-defines.sym.
29060
6178c55b
ST
290612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29062
a4186cff 29063 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29064
6f080c2f
TS
290652012-05-10 Thomas Schwinge <thomas@schwinge.name>
29066
29067 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29068 assertion on O_CLOEXEC flag.
29069 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29070 * hurd/intern-fd.c: Likewise.
29071 * hurd/port2fd.c: Likewise.
29072
bcfe3a54
ST
290732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29074
29075 [BZ #3906]
29076 * bits/in.h (IPV6_PKTINFO): Define new macro.
29077 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29078
89c9aa49
AZ
290792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29080
29081 [BZ #13954]
29082 [BZ #13955]
29083 [BZ #13956]
29084 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29086 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29087 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29089 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29090 * math/libm-test.inc (logb_test) : Additional logb tests.
29091
021db4be
AJ
290922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29093 Andreas Jaeger <aj@suse.de>
29094
29095 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29096 * configure: Regenerated.
29097 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29098 * config.make.in (link-obsolete-rpc): New substituted variable.
29099 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29100 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29101 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29102 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29103 so that libc.a contains the symbols.
29104 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29105 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29106 * sunrpc/auth_none.c: Likewise.
29107 * sunrpc/auth_unix.c: Likewise.
29108 * sunrpc/authdes_prot.c: Likewise.
29109 * sunrpc/authuxprot.c: Likewise.
29110 * sunrpc/clnt_gen.c: Likewise.
29111 * sunrpc/clnt_perr.c: Likewise.
29112 * sunrpc/clnt_raw.c: Likewise.
29113 * sunrpc/clnt_simp.c: Likewise.
29114 * sunrpc/clnt_tcp.c: Likewise.
29115 * sunrpc/clnt_udp.c: Likewise.
29116 * sunrpc/clnt_unix.c: Likewise.
29117 * sunrpc/des_crypt.c: Likewise.
29118 * sunrpc/des_soft.c: Likewise.
29119 * sunrpc/get_myaddr.c: Likewise.
29120 * sunrpc/key_call.c: Likewise.
29121 * sunrpc/key_prot.c: Likewise.
29122 * sunrpc/netname.c: Likewise.
29123 * sunrpc/pm_getmaps.c: Likewise.
29124 * sunrpc/pm_getport.c: Likewise.
29125 * sunrpc/pmap_clnt.c: Likewise.
29126 * sunrpc/pmap_prot.c: Likewise.
29127 * sunrpc/pmap_prot2.c: Likewise.
29128 * sunrpc/pmap_rmt.c: Likewise.
29129 * sunrpc/publickey.c: Likewise.
29130 * sunrpc/rpc_cmsg.c: Likewise.
29131 * sunrpc/rpc_common.c: Likewise.
29132 * sunrpc/rpc_dtable.c: Likewise.
29133 * sunrpc/rpc_prot.c: Likewise.
29134 * sunrpc/rpc_thread.c: Likewise.
29135 * sunrpc/rtime.c: Likewise.
29136 * sunrpc/svc.c: Likewise.
29137 * sunrpc/svc_auth.c: Likewise.
29138 * sunrpc/svc_raw.c: Likewise.
29139 * sunrpc/svc_run.c: Likewise.
29140 * sunrpc/svc_tcp.c: Likewise.
29141 * sunrpc/svc_udp.c: Likewise.
29142 * sunrpc/svc_unix.c: Likewise.
29143 * sunrpc/svcauth_des.c: Likewise.
29144 * sunrpc/xcrypt.c: Likewise.
29145 * sunrpc/xdr.c: Likewise.
29146 * sunrpc/xdr_array.c: Likewise.
29147 * sunrpc/xdr_float.c: Likewise.
29148 * sunrpc/xdr_intXX_t.c: Likewise.
29149 * sunrpc/xdr_mem.c: Likewise.
29150 * sunrpc/xdr_rec.c: Likewise.
29151 * sunrpc/xdr_ref.c: Likewise.
29152 * sunrpc/xdr_sizeof.c: Likewise.
29153 * sunrpc/xdr_stdio.c: Likewise.
29154
b5c086a2
RM
291552012-05-10 Roland McGrath <roland@hack.frob.com>
29156
29157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29158 change. Update copyright years.
29159
6d74dd09
JM
291602012-05-10 Joseph Myers <joseph@codesourcery.com>
29161
29162 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29163
28e72501
MK
291642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29165 Joseph Myers <joseph@codesourcery.com>
29166 Paul Pluzhnikov <ppluzhnikov@google.com>
29167
29168 [BZ #14012]
29169 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29170 requiring rpcgen.
29171 [cross-compiling] (extra-libs): Likewise.
29172 [cross-compiling] (extra-libs-others): Likewise.
29173 [cross-compiling] (librpcsvc-routines): Likewise.
29174 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29175 [cross-compiling] (omit-deps): Likewise.
29176 (sunrpc-CPPFLAGS): New variable.
29177 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29178 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29179 (cross-rpcgen-objs): New variable.
29180 (extra-objs): Append $(cross-rpcgen-objs).
29181 ($(cross-rpcgen-objs)): New rule.
29182 ($(objpfx)cross-rpcgen): Likewise.
29183 (rpcgen-cmd): Define to use $(built-program-file). Expand
29184 comment.
29185 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29186 ($(objpfx)x%.stmp): Likewise.
29187 * sunrpc/proto.h [IS_IN_build] (_): Define.
29188 [IS_IN_build] (_libc_intl_domainname): Likewise.
29189
c8c59454
L
291902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29193 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29194 and R_X86_64_TPOFF64.
29195
6f27cd16
JM
291962012-05-10 Joseph Myers <joseph@codesourcery.com>
29197
29198 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29199 sysdeps/unix/sysv/syscalls.list.
29200 (stime): Likewise.
29201 (utime): Likewise.
29202 * sysdeps/unix/sysv/syscalls.list: Remove file.
29203
02467e1c
PE
292042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29205
29206 [BZ #3440]
29207 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29208 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29209 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29210 (__LC_IDENTIFICATION): Make these macros useful in #if
29211 expressions, as required by C99.
29212
da392631
AS
292132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29214
29215 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29216 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29217 after this.
29218
8115f29b
L
292192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 * stdlib/longlong.h: Updated from GCC.
29222
bdd74070
AJ
292232012-05-09 Andreas Jaeger <aj@suse.de>
29224
edfe0dbe
AJ
29225 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29226 default is first entry.
29227 (run_mode): Set type.
29228 (main): Remove informal message about syslog.
29229 (options): Fix typo.
29230
bcfe3a54
ST
29231 [BZ #14053]
29232 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29233 to asm.
bcfe3a54
ST
29234 (lrint): Likewise.
29235 (llrintf): Likewise.
29236 (llrint): Likewise.
29237 (rint): Likewise.
29238 (rintf): Likewise.
29239 (nearbyint): Likewise.
29240 (nearbyintf): Likewise.
bdd74070 29241
91d8d69e
AJ
292422012-05-09 Andreas Jaeger <aj@suse.de>
29243 Pedro Alves <palves@redhat.com>
29244
29245 * nscd/nscd.c (run_mode): Use enum.
29246 (main): Cleanup coding style issue.
29247
bb90b80b
AJ
292482012-05-09 Alexandre Oliva <aoliva@redhat.com>
29249 Andreas Jaeger <aj@suse.de>
29250
bcfe3a54
ST
29251 * nscd/nscd.c (go_background): Replaced with...
29252 (run_mode): ... this.
bb90b80b 29253 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29254 (options): Add -F --foreground.
29255 (main): Implement it.
29256 (parse_opt): Parse it.
bb90b80b 29257
1a4b75a1
AJ
292582012-05-09 Andreas Jaeger <aj@suse.de>
29259
29260 [BZ #14083]
29261 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29262 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29263 -Wconversion warning.
29264 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29265 Likewise.
29266
b1cc2472
JM
292672012-05-09 Joseph Myers <joseph@codesourcery.com>
29268
29269 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29270 == 0.
29271 (LC_ALL): Use macro-int-constant.
29272 (LC_COLLATE): Likewise.
29273 (LC_CTYPE): Likewise.
29274 (LC_MESSAGES): Likewise.
29275 (LC_MONETARY): Likewise.
29276 (LC_NUMERIC): Likewise.
29277 (LC_TIME): Likewise.
29278 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29279 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29281 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29282 Specify type.
29283 [C99-based standards] (float_t): Expect type.
29284 [C99-based standards] (double_t): Expect type.
29285 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29286 type.
29287 [C99-based standards] (HUGE_VALL): Likewise.
29288 [C99-based standards] (INFINITY): Likewise.
29289 [C99-based standards] (NAN): Likewise.
29290 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29291 [C99-based standards] (FP_NAN): Likewise.
29292 [C99-based standards] (FP_NORMAL): Likewise.
29293 [C99-based standards] (FP_SUBNORMAL): Likewise.
29294 [C99-based standards] (FP_ZERO): Likewise.
29295 [C99-based standards] (FP_FAST_FMA): Use
29296 optional-macro-int-constant. Specify type. Require == 1.
29297 [C99-based standards] (FP_FAST_FMAF): Likewise.
29298 [C99-based standards] (FP_FAST_FMAL): Likewise.
29299 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29300 [C99-based standards] (FP_ILOGBNAN): Likewise.
29301 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29302 Specify type.
29303 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29304 [C99-based standards] (math_errhandling): Specify type.
29305 [ISO99 || ISO11] (signgam): Do not allow.
29306 [non-C99-based standards] (copysignf): Do not allow.
29307 [non-C99-based standards] (exp2f): Likewise.
29308 [non-C99-based standards] (log2f): Likewise.
29309 [non-C99-based standards] (modff): Allow.
29310 [non-C99-based standards] (erff): Do not allow.
29311 [non-C99-based standards] (erfcf): Likewise.
29312 [non-C99-based standards] (gammaf): Likewise.
29313 [non-C99-based standards] (hypotf): Likewise.
29314 [non-C99-based standards] (j0f): Likewise.
29315 [non-C99-based standards] (j1f): Likewise.
29316 [non-C99-based standards] (jnf): Likewise.
29317 [non-C99-based standards] (lgammaf): Likewise.
29318 [non-C99-based standards] (tgammaf): Likewise.
29319 [non-C99-based standards] (y0f): Likewise.
29320 [non-C99-based standards] (y1f): Likewise.
29321 [non-C99-based standards] (ynf): Likewise.
29322 [non-C99-based standards] (isnanf): Likewise.
29323 [non-C99-based standards] (acoshf): Likewise.
29324 [non-C99-based standards] (asinhf): Likewise.
29325 [non-C99-based standards] (atanhf): Likewise.
29326 [non-C99-based standards] (cbrtf): Likewise.
29327 [non-C99-based standards] (expm1f): Likewise.
29328 [non-C99-based standards] (ilogbf): Likewise.
29329 [non-C99-based standards] (log1pf): Likewise.
29330 [non-C99-based standards] (logbf): Likewise.
29331 [non-C99-based standards] (nextafterf): Likewise.
29332 [non-C99-based standards] (remainderf): Likewise.
29333 [non-C99-based standards] (rintf): Likewise.
29334 [non-C99-based standards] (scalbf): Likewise.
29335 [non-C99-based standards] (copysignl): Likewise.
29336 [non-C99-based standards] (exp2l): Likewise.
29337 [non-C99-based standards] (log2l): Likewise.
29338 [non-C99-based standards] (modfl): Allow.
29339 [non-C99-based standards] (erfl): Do not allow.
29340 [non-C99-based standards] (erfcl): Likewise.
29341 [non-C99-based standards] (gammal): Likewise.
29342 [non-C99-based standards] (hypotl): Likewise.
29343 [non-C99-based standards] (j0l): Likewise.
29344 [non-C99-based standards] (j1l): Likewise.
29345 [non-C99-based standards] (jnl): Likewise.
29346 [non-C99-based standards] (lgammal): Likewise.
29347 [non-C99-based standards] (tgammal): Likewise.
29348 [non-C99-based standards] (y0l): Likewise.
29349 [non-C99-based standards] (y1l): Likewise.
29350 [non-C99-based standards] (ynl): Likewise.
29351 [non-C99-based standards] (isnanl): Likewise.
29352 [non-C99-based standards] (acoshl): Likewise.
29353 [non-C99-based standards] (asinhl): Likewise.
29354 [non-C99-based standards] (atanhl): Likewise.
29355 [non-C99-based standards] (cbrtl): Likewise.
29356 [non-C99-based standards] (expm1l): Likewise.
29357 [non-C99-based standards] (ilogbl): Likewise.
29358 [non-C99-based standards] (log1pl): Likewise.
29359 [non-C99-based standards] (logbl): Likewise.
29360 [non-C99-based standards] (nextafterl): Likewise.
29361 [non-C99-based standards] (remainderl): Likewise.
29362 [non-C99-based standards] (rintl): Likewise.
29363 [non-C99-based standards] (scalbl): Likewise.
29364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29365 [non-C99-based standards] (FP_*): Do not allow.
29366 [C99-based standards] (FP_*): Change to
29367 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29368 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29369 allow.
29370 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29371 (SIG_ERR): Likewise.
29372 [X/Open-based standards] (SIG_HOLD): Likewise.
29373 (SIG_IGN): Likewise.
29374 (SIGABRT): Use macro-int-constant. Specify type. Require
29375 positive value.
29376 (SIGFPE): Likewise.
29377 (SIGILL): Likewise.
29378 (SIGINT): Likewise.
29379 (SIGSEGV): Likewise.
29380 (SIGTER): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29399 [X/Open-based standards] (SIGTRAP): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29404 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29405 allow.
29406
b9f1922d
IW
294072012-05-08 Ian Wienand <ianw@vmware.com>
29408
29409 [BZ #14080]
29410 * time/tzset.c (__tzset_parse_tz): Update default rules for
29411 daylight time changes in the Energy Policy Act of 2005.
29412
1db86e88
AJ
294132012-05-09 Andreas Jaeger <aj@suse.de>
29414
29415 [BZ #13983]
29416 * elf/ldconfig.c (parse_conf): Change string to make clear that
29417 ldconfig only issued a warning if ld.so.conf does not exist.
29418
dee4a4e3
DM
294192012-05-08 David S. Miller <davem@davemloft.net>
29420
ee0db190
DM
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29422 movxtod instead of popping the value on the stack.
29423
dee4a4e3
DM
29424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29425
6a43ec98
CD
294262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29427
29428 * config.h.in: Add HAVE_ARM_PCS_VFP.
29429
05c2c961
RMG
294302012-05-08 Roland Mc Grath <roland@hack.frob.com>
29431
bcfe3a54
ST
29432 [BZ #13979]
29433 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29434 checking but the checks are disabled for any reason.
05c2c961 29435
4b30f61a
L
294362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29437
29438 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29439 and ELF64_R_TYPE with ELFW(R_TYPE).
29440
eee2bc67
JM
294412012-05-08 Joseph Myers <joseph@codesourcery.com>
29442
7ea5391a
JM
29443 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29444 (ulimit): Likewise.
29445
eee2bc67
JM
29446 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29447 (settimeofday): Likewise.
29448
abb66a67
MF
294492012-05-08 Mike Frysinger <vapier@gentoo.org>
29450
29451 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29452 a struct th_u2 inside the union, and move tu_block/tu_code into
29453 a new th_u3 union of tu_block/tu_code inside of that. Move
29454 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29455 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29456 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29457 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29458 (th_stuff): Change to th_u1.tu_stuff.
29459 (th_data): Define.
29460 (th_msg): Change to th_u1.th_u2.tu_data.
29461
7f18b530
DM
294622012-05-07 David S. Miller <davem@davemloft.net>
29463
05760585
DM
29464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29465
7f18b530
DM
29466 [BZ #14074]
29467 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29468 (SETUP_PIC_REG): Use it.
29469 (SETUP_PIC_REG_LEAF): Use it.
29470
495fd99f
JM
294712012-05-07 Joseph Myers <joseph@codesourcery.com>
29472
29473 [BZ #13885]
29474 [BZ #13923]
29475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29476 USE_AS_EXPM1L.
29477 (EXPL_FINITE): Likewise.
29478 (FLDLOG): Likewise.
29479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29480 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29481 e_expl.S.
29482 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29483 USE_AS_EXPM1L.
29484 (EXPL_FINITE): Likewise.
29485 (FLDLOG): Likewise.
29486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29487 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29488 e_expl.S.
29489 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29490 test of -max_value argument for long double.
29491 * sysdeps/i386/fpu/libm-test-ulps: Update.
29492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29493
6693d694
DM
294942012-05-06 David S. Miller <davem@davemloft.net>
29495
29496 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29497 quad soft-float symbols whose references which are compiler
29498 generated.
29499 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29500
6c23e11c
JM
295012012-05-06 Joseph Myers <joseph@codesourcery.com>
29502
d8b82cad
JM
29503 [BZ #13884]
29504 [BZ #13914]
29505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29506 USE_AS_EXP10L.
29507 (EXPL_FINITE): Likewise.
29508 (FLDLOG): Likewise.
29509 (c0): Likewise.
29510 (c1): Likewise.
29511 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29512 Adjust comments for base varying.
29513 (__expl_finite): Change alias to EXPL_FINITE.
29514 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29515 e_expl.S.
29516 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29517 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29518 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29519 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29521 USE_AS_EXP10L.
29522 (EXPL_FINITE): Likewise.
29523 (FLDLOG): Likewise.
29524 (c0): Likewise.
29525 (c1): Likewise.
29526 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29527 Adjust comments for base varying.
29528 (__expl_finite): Change alias to EXPL_FINITE.
29529 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29530 tests for bugs.
29531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29532
6c23e11c
JM
29533 [BZ #14064]
29534 * math/libm-test.inc (check_float_internal): Correct ulp
29535 calculation for subnormal expected results.
29536
29ba805c
AJ
295372012-05-06 Andreas Jaeger <aj@suse.de>
29538
29539 * Makeconfig (+math-flags): New, set to -frounding-math.
29540 (+cflags): Add +math-flags so that all of glibc gets compiled with
29541 it.
29542
29543 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29544
7b17aeda
JM
295452012-05-05 Joseph Myers <joseph@codesourcery.com>
29546
5779f134
JM
29547 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29548 Disable one test.
29549
41498f4d
JM
29550 [BZ #13787]
29551 [BZ #13922]
29552 [BZ #14036]
29553 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29554 (__ieee754_expl): Allow for and saturate large arguments.
29555 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29556 (u_threshold): Likewise.
29557 (__exp): Call __ieee754_exp before checking for overflow and
29558 underflow.
29559 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29560 (u_threshold): Likewise.
29561 (__expf): Call __ieee754_expf before checking for overflow and
29562 underflow.
29563 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29564 (u_threshold): Likewise.
29565 (__expl): Call __ieee754_expl before checking for overflow and
29566 underflow.
29567 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29568 (__ieee754_expl): Allow for and saturate large arguments.
29569 * math/libm-test.inc (exp_test): Add another test. Do not allow
29570 missing overflow exception on overflow.
29571 (expm1_test): Do not allow missing overflow exception on overflow.
29572
6698b8bf
JM
29573 * sysdeps/i386/fpu/e_expl.c: Move to ...
29574 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29575 rather than using inline asm.
29576 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29577 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29578 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29579
7b17aeda
JM
29580 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29581 (nice): Likewise.
29582 (poll): Likewise.
29583 (signal): Likewise.
29584 (time): Likewise.
29585 (times): Likewise.
29586
f7c85819
JM
295872012-05-04 Joseph Myers <joseph@codesourcery.com>
29588
29589 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29590 sysdeps/unix/common/syscalls.list.
29591 (fchmod): Likewise.
29592 (fchown): Likewise.
29593 (ftruncate): Likewise.
29594 (getrusage): Likewise.
29595 (gettimeofday): Likewise.
29596 (setpgid): Likewise.
29597 (setregid): Likewise.
29598 (setreuid): Likewise.
29599 (sigaction): Likewise.
29600 (truncate): Likewise.
29601 (vhangup): Likewise.
29602 * sysdeps/unix/common/syscalls.list: Remove file.
29603 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29604 * sysdeps/unix/sysv/linux/Implies: Likewise.
29605
336270d0
L
296062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29607
29608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29611 Moved to ...
29612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29613 Here.
29614 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29615 to ...
29616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29617 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29618 to ...
29619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29620 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29621 to ...
29622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29624 to ...
29625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29626 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29627 to ...
29628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29629 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29630 to ...
29631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29632 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29633 to ...
29634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29635 Here.
29636 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29637 to ...
29638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29639 Here.
29640 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29641 to ...
29642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29644 Moved to ...
29645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29646 Here.
29647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29648 to ...
29649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29650
d128e450
JM
296512012-05-04 Joseph Myers <joseph@codesourcery.com>
29652
fa8ee516
JM
29653 * sysdeps/unix/common/bits/dirent.h: Remove file.
29654 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29655
d128e450
JM
29656 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29657 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29658 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29659 * sysdeps/unix/bsd/isatty.c: Likewise.
29660 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29661 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29662 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29663
ff8faaf0 296642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29665
62881be4 29666 [BZ #13563]
31dc8730
AZ
29667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29668 long double comparison inaccuracies.
29669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29671
6fef930c
AS
296722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29673
29674 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29676
8f203e6c
JM
296772012-05-04 Joseph Myers <joseph@codesourcery.com>
29678
29679 [BZ #14049]
29680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29681 nonzero digits before rounding a hex value.
29682 * stdlib/tst-strtod.c (tests): Add another test.
29683
5197d9c2
AK
296842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29685
29686 * sysdeps/s390/fpu/libm-test-ulps: Update.
29687
f0c1dedf
AJ
296882012-05-03 Andreas Jaeger <aj@suse.de>
29689
29690 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29691 does not get optimized out.
29692 (malloc_opt_barrier): New.
29693
a65ef2ae 296942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29695 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29696
2b942cb7 29697 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29698 intermediate file deletion.
2b942cb7 29699 (generated): Add .symlist files.
a65ef2ae 29700
54b71e02
JM
297012012-05-03 Joseph Myers <joseph@codesourcery.com>
29702
29703 [BZ #13775]
29704 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29705 Redirect under this condition.
29706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29707 [__USE_GNU] (__dprintf_chk): Not under this condition.
29708 [__USE_GNU] (__vdprintf_chk): Likewise.
29709 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29710 under this condition.
29711 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29712 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29713 [__USE_XOPEN2K8] (vdprintf): Likewise.
29714 [__USE_GNU] (__dprintf_chk): Not under this condition.
29715 [__USE_GNU] (__vdprintf_chk): Likewise.
29716 [__USE_GNU] (dprintf): Likewise.
29717 [__USE_GNU] (vdprintf): Likewise.
29718
d3dfcc41
RM
297192012-05-03 Roland McGrath <roland@hack.frob.com>
29720
29721 * elf/Makefile (common-generated): Set this instead of generated for
29722 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29723 $(all-built-dso)-derived lists.
29724
7ac30cc5
AJ
297252012-05-03 Andreas Jaeger <aj@suse.de>
29726
0c51e550
AJ
29727 * sysdeps/i386/fpu/libm-test-ulps: Update.
29728
7ac30cc5
AJ
29729 * FAQ: Removed.
29730 * FAQ.in: Likewise.
29731 * scripts/gen-FAQ.pl: Likewise.
29732 * manual/install.texi (Installation): Point to online location of
29733 FAQ.
29734 * Makefile (files-for-dist): Remove FAQ.
29735 (FAQ): Remove.
29736
d4c2917f
AM
297372012-05-02 Allan McRae <allan@archlinux.org>
29738
29739 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29740 (LDFLAGS-reldepmod5.so): Likewise.
29741 (LDFLAGS-reldep6mod1.so): Likewise.
29742 (LDFLAGS-reldep6mod4.so): Likewise.
29743 (LDFLAGS-reldep8mod3.so): Likewise.
29744 (LDFLAGS-unload4mod1.so): Likewise.
29745 (LDFLAGS-unload4mod2.so): Likewise.
29746 (LDFLAGS-tst-initorder): Likewise.
29747 (LDFLAGS-tst-initordera2.so): Likewise.
29748 (LDFLAGS-tst-initordera3.so): Likewise.
29749 (LDFLAGS-tst-initordera4.so): Likewise.
29750 (LDFLAGS-tst-initorderb2.so): Likewise.
29751 (LDFLAGS-noload): Likewise.
29752 (LDFLAGS-next): Likewise.
29753 (LDFLAGS-order2mod1.so): Likewise.
29754 (LDFLAGS-order2mod2.so): Likewise.
29755 (LDFLAGS-tst-initorder2): Likewise.
29756 (LDFLAGS-tst-initorder2a.so): Likewise.
29757 (LDFLAGS-tst-initorder2b.so): Likewise.
29758 (LDFLAGS-tst-initorder2c.so): Likewise.
29759 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29760
d77f993f
DM
297612012-05-02 David S. Miller <davem@davemloft.net>
29762
29763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29764
171a70b4
PP
297652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29766
29767 [BZ #14055]
29768 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29769
0be196ad
AJ
297702012-05-02 Andreas Jaeger <aj@suse.de>
29771
29772 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29773 since we manipulate rounding mode.
29774 (CPPFLAGS-test-idouble.c): Likewise.
29775 (CPPFLAGS-test-ifloat.c): Likewise.
29776 (CFLAGS-test-ldouble.c): Likewise.
29777 (CFLAGS-test-double.c): Likewise.
29778 (CFLAGS-test-float.c): Likewise.
29779 (CFLAGS-test-misc.c): Likewise.
29780 (CFLAGS-test-test-fenv.c): Likewise.
29781
4f9d04aa
AZ
297822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29783
2b942cb7
RM
29784 [BZ #2550]
29785 [BZ #2570]
29786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29787 comparisons to determine direction to adjust input.
4f9d04aa 29788
82a79e7d
RM
297892012-05-01 Roland McGrath <roland@hack.frob.com>
29790
f5a01ca9
RM
29791 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29792 output to the target.
29793
90fe4186
RM
29794 * scripts/localplt.awk: New file.
29795 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29796 (check-localplt-CFLAGS): Variable removed.
29797 ($(all-built-dso:=.jmprel)): New static pattern rule.
29798 (generated): Add those targets.
29799 (localplt-built-dso): New variable.
29800 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29801
29802 * elf/check-localplt.c: File removed.
29803
82397ed6
RM
29804 * scripts/check-execstack.awk: New file.
29805 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29806 (check-execstack-CFLAGS): Variable removed.
29807 ($(objpfx)check-execstack.h): Target removed.
29808 ($(objpfx)execstack-default): New target.
29809 (generated): Add that instead of check-execstack.h.
29810 ($(all-built-dso:=.phdr)): New static pattern rule.
29811 (generated): Add those targets.
29812 * elf/check-execstack.c: File removed.
29813
82a79e7d
RM
29814 * scripts/check-textrel.awk: New file.
29815 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29816 (check-textrel-CFLAGS): Variable removed.
29817 (all-built-dso): Use := to define.o
29818 ($(all-built-dso:=.dyn)): New static pattern rule.
29819 (generated): Add those targets.
29820 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29821 * config.make.in (READELF): New substituted variable.
29822 * elf/check-textrel.c: File removed.
29823
62fde54f 298242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29825
615605c9
JM
29826 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29827 allow.
29828 * conform/data/ctype.h-data [C99-based standards] (isblank):
29829 Expect function.
29830 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29831 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29833 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29834 Specify type. Require positive value.
29835 (EILSEQ): Likewise.
29836 (ERANGE): Likewise.
29837 [ISO || POSIX] (EILSEQ): Do not expect.
29838 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29839 Specify type. Require positive value.
29840 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29914 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29915 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29916 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29917 Require >= 2.
29918 (FLT_ROUNDS): Expect as macro, not constant.
29919 (FLT_MANT_DIG): Use macro-int-constant.
29920 (DBL_MANT_DIG): Likewise.
29921 (LDBL_MANT_DIG): Likewise.
29922 (FLT_DIG): Likewise.
29923 (DBL_DIG): Likewise.
29924 (LDBL_DIG): Likewise.
29925 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29926 (DBL_MIN_EXP): Likewise.
29927 (LDBL_MIN_EXP): Likewise.
29928 (FLT_MAX_EXP): Use macro-int-constant.
29929 (DBL_MAX_EXP): Likewise.
29930 (LDBL_MAX_EXP): Likewise.
29931 (FLT_MAX_10_EXP): Likewise.
29932 (DBL_MAX_10_EXP): Likewise.
29933 (LDBL_MAX_10_EXP): Likewise.
29934 (FLT_MAX): Use macro-constant.
29935 (DBL_MAX): Likewise.
29936 (LDBL_MAX): Likewise.
29937 (FLT_EPSILON): Use macro-constant. Give upper bound.
29938 (DBL_EPSILON): Likewise.
29939 (LDBL_EPSILON): Likewise.
29940 (FLT_MIN): Likewise.
29941 (DBL_MIN): Likewise.
29942 (LDBL_MIN): Likewise.
29943 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29944 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29945 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29946 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29947 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29948 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29949 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29950 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29951 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29952 [ISO11] (FLT_TRUE_MIN): Likewise.
29953 [ISO11] (LDBL_TRUE_MIN): Likewise.
29954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29955 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29956 (SCHAR_MIN): Use macro-int-constant. Specify type.
29957 (SCHAR_MAX): Likewise.
29958 (UCHAR_MAX): Likewise.
29959 (CHAR_MIN): Likewise.
29960 (CHAR_MAX): Likewise.
29961 (MB_LEN_MAX): Use macro-int-constant.
29962 (SHRT_MIN): Use macro-int-constant. Specify type.
29963 (SHRT_MAX): Likewise.
29964 (USHRT_MAX): Likewise.
29965 (INT_MAX): Likewise.
29966 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29967 bound negative.
29968 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29969 bound with "U".
29970 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29971 bound with "L".
29972 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29973 bound negative. Suffix upper bound with "L".
29974 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29975 bound with "UL".
29976 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29977 Specify type.
29978 [C99-based standards] (LLONG_MAX): Likewise.
29979 [C99-based standards] (ULLONG_MAX): Likewise.
29980 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29981 == 0.
29982 [ISO11] (max_align_t): Require type.
29983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29984
c9140a62
JM
29985 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29986 from $CFLAGS, without defining away __attribute__ calls.
29987 (checknamespace): Use $CFLAGS_namespace.
29988
9af0bf29
JM
29989 * conform/conformtest.pl (@keywords): Only include C99 keywords
29990 for standards based on C99 or C11.
29991
343222a2
JM
29992 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29993 Disable tests.
29994 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29995 UNIX98]: Likewise.
29996
661f8cf0
JM
29997 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29998 usability of symbols in #if.
29999
ee74b9cb
JM
30000 * conform/conformtest.pl: If macro or constant types start
30001 "promoted:", expect the symbol to be of the following type
30002 promoted by the integer promotions.
62fde54f 30003
aafc49b3
JM
30004 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30005 in one place. Also handle "macro-constant".
30006
fefdf574
JM
30007 * conform/conformtest.pl: Only accept expected macro values with
30008 "==". Parse all "macro" lines in one place.
30009 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30010
f2d922fe
JM
30011 * conform/conformtest.pl: Handle braced types on "constant" lines
30012 instead of handling "typed-constant".
30013 * conform/data/signal.h-data: Use "constant" instead of
30014 "typed-constant".
30015
d22956c9
JM
30016 * conform/conformtest.pl: Handle "optional-" at start of lines in
30017 one place rather than duplicating several cases. Handle each
30018 format of "macro" line with initial "optional-".
30019
028e2e38
JM
30020 * conform/conformtest.pl: Only accept expected constant or
30021 optional-constant values with "==". Parse all "constant" lines in
30022 one place. Parse all "optional-constant" lines in one place.
30023 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30024 * conform/data/fmtmsg.h-data: Likewise.
30025 * conform/data/netinet/in.h-data: Likewise.
30026 * conform/data/tar.h-data: Likewise.
30027 * conform/data/limits.h-data: Use "==" form on "constant" and
30028 "optional-constant" lines.
30029
1b8f2850
JM
30030 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30031 Use -std=c99 for XOPEN2K.
30032 (@knownproblems): Remove.
30033 (newtoken): Don't check %isknown.
30034
a05a144b
JM
30035 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30036 Do not expect macro.
30037 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30044 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30045 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30046 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30049 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30050 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30067 [XPG3] (acosh): Likewise.
30068 [XPG3] (asinh): Likewise.
30069 [XPG3] (atanh): Likewise.
30070 [XPG3] (cbrt): Likewise.
30071 [XPG3] (expm1): Likewise.
30072 [XPG3] (ilogb): Likewise.
30073 [XPG3] (log1p): Likewise.
30074 [XPG3] (logb): Likewise.
30075 [XPG3] (nextafter): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30078 [XPG3] (remainder): Likewise.
30079 [XPG3] (rint): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30087 [UNIX98 || XOPEN2K] (scalb): Expect.
30088 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30089 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30225
73c5ebe3
JM
30226 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30227 _XOPEN_SOURCE_EXTENDED for XPG4.
30228
39c33b6c
JM
30229 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30230
62fde54f
JM
30231 * Makeconfig (localtime): Remove variable.
30232 (inst_localtime-file): Likewise.
30233
0741d64c
AS
302342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30235
30236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30237 Update.
30238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30239 Update.
30240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30241 Update.
30242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30243 Update.
30244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30245 Update.
30246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30247 Update.
30248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30249 Update.
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30251 Update.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30253 Update.
30254
7cb029ee
JM
302552012-05-01 Joseph Myers <joseph@codesourcery.com>
30256
30257 [BZ #2550]
30258 [BZ #2570]
30259 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30260 comparisons to determine direction to adjust input.
30261 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30262 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30263 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30264 Likewise.
30265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30266 Likewise.
30267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30268 Likewise.
30269 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30270 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30271 Likewise.
30272 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30273 Likewise.
30274 * math/libm-test.inc (nexttoward_test): Add more tests.
30275
412bd966
AS
302762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30277
30278 [BZ #14040]
30279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30280 in version GLIBC_2.1, not GLIBC_2.0.
30281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30282 Likewise.
30283
9568c0c2
JM
302842012-04-30 Joseph Myers <joseph@codesourcery.com>
30285
adfbc8ac
JM
30286 [BZ #13942]
30287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30288 (1 - x) * (1 + x).
30289 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30290 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30291 * math/libm-test.inc (acos_test): Add more tests.
30292 (asin_test): Likewise.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30295
5ba3cc69
JM
30296 [BZ #14034]
30297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30298 of square root.
30299 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30301 * math/libm-test.inc (acos_test_tonearest): New function.
30302 (acos_test_towardzero): Likewise.
30303 (acos_test_downward): Likewise.
30304 (acos_test_upward): Likewise.
30305 (asin_test_tonearest): Likewise.
30306 (asin_test_towardzero): Likewise.
30307 (asin_test_downward): Likewise.
30308 (asin_test_upward): Likewise.
30309 (main): Call the new functions.
30310 * sysdeps/i386/fpu/libm-test-ulps: Update.
30311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30312
9568c0c2
JM
30313 [BZ #13884]
30314 [BZ #13924]
30315 * math/e_exp10.c: Include <float.h>.
30316 (__ieee754_exp10): Handle underflow here rather than multiplying
30317 large negative argument by M_LN10.
30318 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30319 of __ieee754_expf.
30320 * math/e_exp10l.c: Include <float.h>.
30321 (__ieee754_exp10l): Handle underflow here rather than multiplying
30322 large negative argument by M_LN10l.
30323 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30324 spurious overflow exception on underflow.
30325
5ac3ea17
MP
303262012-04-29 Marek Polacek <polacek@redhat.com>
30327
30328 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30329 (__fortify_function): New macro.
30330 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30331 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30332 __extern_always_inline.
30333 * libio/bits/stdio2.h: Likewise.
30334 * libio/bits/stdio.h: Likewise.
30335 * string/string.h: Likewise.
30336 * string/bits/string3.h: Likewise.
30337 * include/stdio.h: Likewise.
30338 * stdlib/bits/stdlib.h: Likewise.
30339 * stdlib/stdlib.h: Likewise.
30340 * rt/bits/mqueue2.h: Likewise.
30341 * rt/mqueue.h: Likewise.
30342 * posix/bits/unistd.h: Likewise.
30343 * posix/unistd.h: Likewise.
30344 * io/bits/poll2.h: Likewise.
30345 * io/bits/fcntl2.h: Likewise.
30346 * io/fcntl.h: Likewise.
30347 * io/sys/poll.h: Likewise.
30348 * misc/bits/syslog.h: Likewise.
30349 * misc/bits/syslog-ldbl.h: Likewise.
30350 * misc/sys/syslog.h: Likewise.
30351 * socket/bits/socket2.h: Likewise.
30352 * socket/sys/socket.h: Likewise.
30353 * debug/tst-chk1.c: Likewise.
30354 * wcsmbs/bits/wchar2.h: Likewise.
30355 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30356 * wcsmbs/wchar.h: Likewise.
30357
ecf0ebfb
AJ
303582012-04-29 Andreas Jaeger <aj@suse.de>
30359
30360 * Makerules (tests): Remove enable-check-abi protection.
30361 (check-abi-warn): Remove.
30362 (check-abi-%): Remove check-abi-warn usage.
30363
30364 * configure.in: Remove check-abi configure option.
30365 * configure: Regenerated.
30366 * config.make.in (enable-check-abi): Remove.
30367
6d5c57fa
AS
303682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30369
24c5d07e 30370 [BZ #14033]
ded5180a
AS
30371 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30372 double functions to double *_finite functions.
30373
7e0d315d
AS
30374 [BZ #13941]
30375 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30376 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30377 LDBL_MIN_EXP.
30378 * stdio-common/Makefile (tests): Add tst-sprintf3.
30379 * stdio-common/tst-sprintf3.c: New file.
30380
6d5c57fa
AS
30381 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30382 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30383
0749ff8b
JM
303842012-04-28 Joseph Myers <joseph@codesourcery.com>
30385
30386 * conform/conformtest.pl: Remove duplicate typed-constant
30387 handling.
30388
8dbd5d7b
DM
303892012-04-28 David S. Miller <davem@davemloft.net>
30390
30391 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30392 (check-abi-%): Remove AWK script prerequisite and explicit
30393 abilist directory.
30394 (check-abi): Rewrite to just diff the symlist with the abilist.
30395 (config-tls, config-abi-config): Delete, no longer used.
30396 (update-abi-%): Remove AWK script and explicit abilist directory.
30397 (update-abi): Rewrite to simply compare and conditionally copy the
30398 symlist and the sysdep abilist file. Remove update-abi-config
30399 checks.
30400 * abilist/ld.abilist: Remove.
30401 * abilist/libBrokenLocale.abilist: Remove.
30402 * abilist/libanl.abilist: Remove.
30403 * abilist/libcrypt.abilist: Remove.
30404 * abilist/libdl.abilist: Remove.
30405 * abilist/librt.abilist: Remove.
30406 * abilist/libthread_db.abilist: Remove.
30407 * abilist/libutil.abilist: Remove.
30408 * scripts/extract-abilist.awk: Remove.
30409 * scripts/merge-abilist.awk: Remove.
30410 * sysdeps/generic/libcidn.abilist: New file.
30411 * sysdeps/generic/libnss_compat.abilist: New file.
30412 * sysdeps/generic/libnss_db.abilist: New file.
30413 * sysdeps/generic/libnss_dns.abilist: New file.
30414 * sysdeps/generic/libnss_files.abilist: New file.
30415 * sysdeps/generic/libnss_hesiod.abilist: New file.
30416 * sysdeps/generic/libnss_nis.abilist: New file.
30417 * sysdeps/generic/libnss_nisplus.abilist: New file.
30418 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30419 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30420 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30421 file.
30422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30423 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30424 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30425 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30426 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30427 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30428 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30429 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30430 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30431 file.
30432 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30434 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30436 file.
30437 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30438 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30439 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30441 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30442 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30443 file.
30444 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30445 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30446 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30447 file.
30448 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30450 New file.
30451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30452 New file.
30453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30454 New file.
30455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30456 New file.
30457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30458 New file.
30459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30460 New file.
30461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30462 New file.
30463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30464 New file.
30465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30466 New file.
30467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30468 New file.
30469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30470 New file.
30471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30472 New file.
30473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30474 New file.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30476 file.
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30478 New file.
30479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30480 New file.
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30482 file.
30483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30484 New file.
30485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30486 New file.
30487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30488 file.
30489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30490 New file.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30492 New file.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30494 New file.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30496 New file.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30498 New file.
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30500 New file.
30501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30503 file.
30504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30505 New file.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30507 file.
30508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30509 file.
30510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30511 file.
30512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30513 file.
30514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30515 file.
30516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30517 New file.
30518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30519 file.
30520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30521 file.
30522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30523 New file.
30524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30525 file.
30526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30528 file.
30529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30530 New file.
30531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30532 file.
30533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30534 file.
30535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30536 file.
30537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30538 file.
30539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30540 file.
30541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30542 New file.
30543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30544 file.
30545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30546 file.
30547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30548 New file.
30549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30550 file.
30551 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30552 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30553 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30554 file.
30555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30556 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30557 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30558 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30559 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30560 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30561 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30562 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30563 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30564 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30567 file.
30568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30569 New file.
30570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30571 file.
30572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30573 file.
30574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30575 file.
30576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30577 file.
30578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30579 file.
30580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30581 New file.
30582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30583 New file.
30584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30585 file.
30586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30587 New file.
30588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30589 file.
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30592 file.
30593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30594 New file.
30595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30596 file.
30597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30598 file.
30599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30600 file.
30601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30602 file.
30603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30604 file.
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30606 New file.
30607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30608 New file.
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30610 file.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30612 New file.
30613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30614 file.
30615
41d73a1b
JM
306162012-04-28 Joseph Myers <joseph@codesourcery.com>
30617
30618 * conform/conformtest.pl: Fix typo in handling typed-constant from
30619 allow-header.
30620
28aeeda4
JM
306212012-04-27 Joseph Myers <joseph@codesourcery.com>
30622
adae8f5e
JM
30623 * README: Cut down references to pre-2.6 Linux kernels and
30624 Linuxthreads. Update lists of configurations in libc and ports
30625 and sort alphabetically. Say "or newer" with Linux kernel version
30626 requirements.
30627
28aeeda4
JM
30628 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30629
a462cb63
RA
306302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30631
30632 [BZ #887]
30633 * math/libm-test.inc (logb_test_downward): New test to expose
30634 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30635 rounding mode.
30636
6ad3493e
JM
306372012-04-27 Joseph Myers <joseph@codesourcery.com>
30638
30639 [BZ #14027]
30640 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30641 to be done.
30642 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30643 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30644
2ce4f015
JM
306452012-04-26 Joseph Myers <joseph@codesourcery.com>
30646
5aeb141a
JM
30647 * sysdeps/unix/i386/brk.S: Remove file.
30648 * sysdeps/unix/i386/dl-brk.S: Likewise.
30649 * sysdeps/unix/i386/pipe.S: Likewise.
30650 * sysdeps/unix/i386/sigreturn.S: Likewise.
30651 * sysdeps/unix/i386/syscall.S: Likewise.
30652 * sysdeps/unix/i386/vfork.S: Likewise.
30653 * sysdeps/unix/i386/wait.S: Likewise.
30654
7143acae
JM
30655 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30656 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30657
2ce4f015
JM
30658 * configure.in (arm*-none*): Do not allow without
30659 --enable-hacker-mode.
30660 (netbsd*): Remove case setting base_os.
30661 (386bsd*): Likewise.
30662 (freebsd*): Likewise.
30663 (bsdi*): Likewise.
30664 (osf*): Likewise.
30665 (sunos*): Likewise.
30666 (ultrix*): Likewise.
30667 (newsos*): Likewise.
30668 (dynix*): Likewise.
30669 (*bsd*): Likewise.
30670 (sysv*): Likewise.
30671 (isc*): Likewise.
30672 (esix*): Likewise.
30673 (sco*): Likewise.
30674 (minix*): Likewise.
30675 (irix4*): Likewise.
30676 (irix6*): Likewise.
30677 (solaris[2-9]*): Likewise.
30678 (none): Likewise.
30679 * configure: Regenerated.
30680
0ac229c8
AZ
306812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30682
30683 [BZ #11521]
30684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30685 overflow or cancellation in calculating denominator.
30686 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30688 down expression to avoid unexpected rounding in newer GCCs.
30689 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30690
33f244f4
DM
306912012-04-26 David S. Miller <davem@davemloft.net>
30692
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30694 long-double compat symbols.
30695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30708
cfa1f3e8
DM
307092012-04-25 David S. Miller <davem@davemloft.net>
30710
30711 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30712 HWCAP_* values only after the memory barriers have been defined.
30713 (atomic_full_barrier): Define.
30714 (atomic_read_barrier): Define.
30715 (atomic_write_barrier): Define.
30716
6e236b92
SP
307172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30718
30719 * shlib-versions: Add libgcc_s version information.
30720 * sysdeps/generic/libgcc_s.h: Remove.
30721 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30722 libgcc_s.h.
30723 * sysdeps/gnu/unwind-resume.c: Likewise.
30724 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30725
aab39a09
DM
307262012-04-25 David S. Miller <davem@davemloft.net>
30727
30728 * sysdeps/unix/sparc/brk.S: Delete.
30729 * sysdeps/unix/sparc/dl-brk.S: Delete.
30730 * sysdeps/unix/sparc/pipe.S: Delete.
30731 * sysdeps/unix/sparc/sysdep.S: Delete.
30732 * sysdeps/unix/sparc/sysdep.h: Delete.
30733 * sysdeps/unix/sparc/vfork.S: Delete.
30734 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30735 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30737 ret_ERRVAL, r0, r1, MOVE): Define.
30738 (JUMPTARGET): Remove.
30739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30740 sysdeps/unix/sparc/sysdep.h
30741 (ENTRY, END): Remove.
30742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30743
a3cc4f48
JM
307442012-04-25 Joseph Myers <joseph@codesourcery.com>
30745
2ed8cda2
JM
30746 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30747 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30748 -DIS_IN_build.
30749
35d76d59
JM
30750 * timezone/README: Update upstream location and email address for
30751 tzcode and tzdata.
30752 * timezone/zdump.c: Update from tzcode 2012b.
30753 * timezone/zic.c: Likewise.
30754
a3cc4f48
JM
30755 * configure.in (libc_cv_as_needed): Remove test.
30756 * configure: Regenerated.
30757 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30758 conditional definition.
30759 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30760 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30761 * config.make.in (have-as-needed): Remove variable.
30762
ceab42c3
SP
307632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30764 Paul Pluzhnikov <ppluzhnikov@google.com>
30765
30766 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30767 strings correctly.
30768
3ce2865f
CLT
307692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30770
30771 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30772 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30773 * sysdeps/sh/strlen.S: Likewise.
30774
f37e0d68
JM
307752012-04-24 Joseph Myers <joseph@codesourcery.com>
30776
ae186e9a
JM
30777 * sysdeps/unix/fork.S: Remove file.
30778 * sysdeps/unix/i386/fork.S: Likewise.
30779 * sysdeps/unix/sparc/fork.S: Likewise.
30780
b96914af
JM
30781 * sysdeps/unix/system.c: Remove file.
30782 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30783
f37e0d68
JM
30784 * sysdeps/unix/getegid.S: Remove file.
30785 * sysdeps/unix/geteuid.S: Likewise.
30786
87ef29ca
RM
307872012-04-24 Roland McGrath <roland@hack.frob.com>
30788
83bcd236
RM
30789 * scripts/check-localplt.awk: New file.
30790 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30791 of diff.
30792 * scripts/data/localplt-generic.data: Add a comment.
30793
87ef29ca
RM
30794 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30795 NODE when __dir_mkfile failed.
30796 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30797 Reported by Ludovic Courtès <ludo@gnu.org>.
30798
e5a6e567
AJ
307992012-04-24 Andreas Jaeger <aj@suse.de>
30800
30801 * Makerules (common-clean): Also remove gen-as-const-headers
30802 files.
30803
c1820385
JM
308042012-04-24 Joseph Myers <joseph@codesourcery.com>
30805
30806 * Makerules (native-compile): Do not change working directory for
30807 build. Use $(OUTPUT_OPTION) in command.
30808 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30809
94e02fc4
AZ
308102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30811
30812 [BZ #13886]
30813 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30814 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30815 * math/libm-test.inc (floor_test): Add more tests.
30816 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30817
3a533ca3
JM
308182012-04-24 Joseph Myers <joseph@codesourcery.com>
30819
940ab4b3
JM
30820 * sysdeps/unix/getdents.c: Remove file.
30821 * sysdeps/unix/sysv/getdents.c: Likewise.
30822 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30823
90e037bd
JM
30824 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30825 sysdeps/unix/mman/syscalls.list.
30826 (mmap): Likewise.
30827 (mprotect): Likewise.
30828 (msync): Likewise.
30829 (munmap): Likewise.
30830 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30831 * sysdeps/unix/mman/syscalls.list: Remove.
30832 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30833
3a533ca3
JM
30834 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30835 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30836 * configure: Regenerated.
30837 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30838 $(libgcc_s_suffix).
30839 * config.make.in (libgcc_s_suffix): Remove variable.
30840
1ad743de
JM
308412012-04-23 Joseph Myers <joseph@codesourcery.com>
30842
4ad451e2
JM
30843 * sysdeps/unix/sysv/gethostname.c: Move to ...
30844 * sysdeps/posix/gethostname.c: ... here.
30845
5e37ce39
JM
30846 * sysdeps/unix/execve.S: Remove file.
30847
1ad743de
JM
30848 * sysdeps/unix/_exit.S: Remove file.
30849
4e681b5b
AJ
308502012-04-23 Andreas Jaeger <aj@suse.de>
30851
30852 [BZ #13739]
30853 * manual/Makefile: Remove make dist support, there's no
30854 need for a stand-alone documentation tar ball.
30855 (TEXI2DVI): Define always, it's not in Makeconfig.
30856 (dist): Removed.
30857 (tar-it): Removed.
30858 (edition): Removed.
30859 (glibc-doc-$(edition).tar): Removed
30860 (%.Z): Removed.
30861 (%.gz): Removed.
30862 (%.uu): Removed.
30863 (ETAGS): Remove, it's in Makeconfig.
30864 (move-if-change): Remove, it's in Makeconfig.
30865
38686a03 308662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30867
30868 [BZ #13970]
30869 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30870 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30871 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30872 (strtod_l, strtof_l, strtold_l): Remove __wur.
30873 It is not necessarily an error to ignore strtol's return value.
30874 One can reliably look at the stored endptr to decide whether
30875 the number had valid syntax.
30876
7c0616fa
AJ
308772012-04-21 Andreas Jaeger <aj@suse.de>
30878
803cb6b7 30879 [BZ #13739]
7c0616fa
AJ
30880 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30881
b0fe253f
JM
308822012-04-21 Joseph Myers <joseph@codesourcery.com>
30883
30884 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30885 * sysdeps/unix/sysv/Versions: Remove file.
30886
8280f22d
MT
308872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30888
30889 [BZ #13927]
30890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30891
75ce411f 308922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30893
30894 [BZ #7064]
30895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30896 version from __vm86.
30897
097d59fa
JM
308982012-04-20 Joseph Myers <joseph@codesourcery.com>
30899
a90f3bcb
JM
30900 * sysdeps/unix/common/lxstat.c: Remove file.
30901 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30902
edc7ea78
JM
30903 * sysdeps/unix/sysv/Makefile: Remove file.
30904
cb78c221
JM
30905 * sysdeps/unix/sysv/direct.h: Remove file.
30906
efa6a45f
JM
30907 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30908 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30909 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30910 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30911 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30912 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30913 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30914
9c9f2d0c
JM
30915 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30916
4541c83b
JM
30917 * sysdeps/unix/xmknod.c: Remove file.
30918 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30919
f5d153a0
JM
30920 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30921
aa746595
JM
30922 * sysdeps/unix/sysv/i386/time.S: Remove file.
30923
cce5905e
JM
30924 * sysdeps/unix/fxstat.c: Remove file.
30925 * sysdeps/unix/xstat.c: Likewise.
30926 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30927
37fa3841
JM
30928 * sysdeps/unix/sysv/sigaction.c: Remove file.
30929
ff1962a3
JM
30930 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30931 (sysdep_headers): Remove variable.
30932 [termio.h not in sysdep_headers] (generated): Likewise.
30933 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30934 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30935 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30936 * sysdeps/unix/sysv/tcflow.c: Likewise.
30937 * sysdeps/unix/sysv/tcflush.c: Likewise.
30938 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30939 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30940 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30941 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30942 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30943
e7740d31
JM
30944 * sysdeps/unix/siglist.c: Remove file.
30945
ee06f18b
JM
30946 * sysdeps/unix/getppid.S: Remove file.
30947
097d59fa
JM
30948 * sysdeps/unix/mkdir.c: Remove file.
30949 * sysdeps/unix/rmdir.c: Likewise.
30950
ff3d51ec
AS
309512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30952
30953 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30954 ERR_MAX value.
30955 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30956 errlist-compat value.
30957
50f81fd7
DM
309582012-04-18 David S. Miller <davem@davemloft.net>
30959
30960 * sysdeps/generic/memcopy.h (reg_char): Delete.
30961 * debug/strcat_chk.c: Use char, not reg_char.
30962 * debug/strcpy_chk.c: Likewise.
30963 * debug/strncat_chk.c: Likewise.
30964 * debug/strncpy_chk.c: Likewise.
30965 * string/memchr.c: Likewise.
30966 * string/memrchr.c: Likewise.
30967 * string/rawmemchr.c: Likewise.
30968 * string/strcat.c: Likewise.
30969 * string/strchr.c: Likewise.
30970 * string/strchrnul.c: Likewise.
30971 * string/strcmp.c: Likewise.
30972 * string/strcpy.c: Likewise.
30973 * string/strncat.c: Likewise.
30974 * string/strncmp.c: Likewise.
30975 * string/strncpy.c: Likewise.
30976
8ff41c46
WS
309772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30978
30979 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30980 __builtin_memcopy is called when src and dest ranges are known to not
30981 overlap.
30982
6b652f46
WS
309832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30984
30985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30986 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30987 fwd_align_merge macro call.
30988 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30989 bwd_align_merge macro call.
30990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30991
b282631e
WS
309922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30993
30994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30995 bwd_align_merge macros.
30996 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30997 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30998 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30999
95aa737c
DM
310002012-04-18 David S. Miller <davem@davemloft.net>
31001
31002 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31003
7a99a614
AJ
310042012-04-18 Andreas Jaeger <aj@suse.de>
31005
31006 [BZ# 6794]
31007 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31008 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31010
31011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31012 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31013 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31014
31015 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31016 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31017 Adjust for changed ldbl-128 files.
31018
31019 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31020 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31021 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31022
e5270c23
DM
310232012-04-17 David S. Miller <davem@davemloft.net>
31024
31025 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31026
fb5e92c9
AS
310272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31028
31029 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31030 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31031 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31032 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31033 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31034 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31035
76da7265
AZ
310362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31037
31038 [BZ #6794]
31039 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31040 * math/libm-test.inc: Add ilogb errno and exception tests.
31041 * math/w_ilogb.c: New file: ilogb wrapper.
31042 * math/w_ilogbf.c: New file: ilogbf wrapper.
31043 * math/w_ilogbl.c: New file: ilogbl wrapper.
31044 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31045 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31046 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31047 exception being thrown with 0.0 as argument.
31048 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31049 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31050 exception being thrown with 0.0 as argument.
31051 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31052 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31053 exception being thrown with 0.0 as argument.
31054 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31055 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31056 exception being thrown with 0.0 as argument.
31057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31058 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31060 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31061 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31062 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31063 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31064 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31065 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31066
0396e69d
PB
310672012-04-17 Petr Baudis <pasky@ucw.cz>
31068
31069 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31070 with altivec.
31071
750b5926
MP
310722012-04-16 Marek Polacek <polacek@redhat.com>
31073
31074 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31075
751728a1
MP
310762012-04-16 Marek Polacek <polacek@redhat.com>
31077
31078 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31079 operands of fdivp instruction.
31080
34a27407
L
310812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31082
31083 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31084 * elf/tst-auditmod3b.c: Likewise.
31085 * elf/tst-auditmod4b.c: Likewise.
31086 * elf/tst-auditmod5b.c: Likewise.
31087 * elf/tst-auditmod6b.c: Likewise.
31088 * elf/tst-auditmod6c.c: Likewise.
31089 * elf/tst-auditmod7b.c: Likewise.
31090 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31091 * sysdeps/x86_64/preconfigure.in: Likewise.
31092 * sysdeps/x86_64/preconfigure: Regenerated.
31093
7e73e17d
L
310942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31095
31096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31097 __ILP32__.
31098
c7a6ab72
AB
310992012-04-13 Antoine Balestrat <merkil33@gmail.com>
31100
31101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31102 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31103
a9e8e0e0
CL
311042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31105
31106 [BZ #13973]
31107 * locale/iso-639.def: Fix gl language name. Spotted by
31108 Yaron Shahrabani.
31109
ec98af7d
RM
311102012-04-12 Roland McGrath <roland@hack.frob.com>
31111
31112 [BZ #2074]
31113 * libio/libio.h (__io_write_fn): Update comment.
31114
247c3ede
PB
311152012-04-12 Petr Baudis <pasky@ucw.cz>
31116
31117 [BZ #2074]
31118 * stdio.texi (Hook Functions): The user provided writer function
31119 is not allowed to return -1.
31120
55939d6d
DM
311212012-04-11 David S. Miller <davem@davemloft.net>
31122
31123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31124
90020f5a
MF
311252012-04-11 Mike Frysinger <vapier@gentoo.org>
31126
31127 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31128 Add a leading slash to rtkaio.
31129
288f9098
JM
311302012-04-11 Jim Meyering <meyering@redhat.com>
31131
90020f5a
MF
31132 [BZ #11959]
31133 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31134 It is not necessarily an error to ignore fwrite's return
31135 value. One can reliably use ferror to test for errors after
31136 the fact.
288f9098 31137
4be2b570
L
311382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31139
31140 * bits/types.h (__snseconds_t): New type.
31141 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31142
31143 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31145 (__SNSECONDS_T_TYPE): Likewise.
31146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31147 (__SNSECONDS_T_TYPE): Likewise.
31148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31149 (__SNSECONDS_T_TYPE): Likewise.
31150
288f9098 311512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31152
31153 [BZ #2636]
31154 * manual/time.texi (Processor Time): Return type of times is
31155 elapsed real time since an arbitrary point in the past.
31156 (CPU Time): Move CLK_TCK from here...
31157 (Processor Time): ...to here. Correct description.
31158 * manual/conf.texi (Constants for Sysconf): Correct description of
31159 _SC_CLK_TCK.
31160
d7dd4413
DM
311612012-04-10 David S. Miller <davem@davemloft.net>
31162
31163 [BZ #13967]
31164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31165 where the is a gap between DT_REL(A) and DT_JMPREL.
31166
b46068fc
L
311672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31168
31169 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31170 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31171 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31172
73d65cc3
SP
311732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31174
31175 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31176 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31177 (dl_main): Handle --inhibit-cache.
31178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31179 _dl_inhibit_cache.
31180 * elf/dl-load.c (_dl_map_object): Use it.
31181 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31182
bcc8d661
JM
311832012-04-09 Joseph Myers <joseph@codesourcery.com>
31184
8f9a2fae
JM
31185 [BZ #13872]
31186 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31187 (__ieee754_powl): Saturate large exponents rather than testing for
31188 overflow of y*log2(x).
31189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31190 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31191 exceptions.
31192
bcc8d661
JM
31193 [BZ #11521]
31194 * math/s_ctan.c: Include <float.h>.
31195 (__ctan): Avoid internal overflow or cancellation in calculating
31196 denominator.
31197 * math/s_ctanf.c: Likewise.
31198 * math/s_ctanl.c: Likewise.
31199 * math/s_ctanh.c: Likewise.
31200 * math/s_ctanhf.c: Likewise.
31201 * math/s_ctanhl.c: Likewise.
31202 * math/libm-test.inc (ctan_test): Add more tests.
31203 (ctanh_test): Likewise.
31204 * sysdeps/i386/fpu/libm-test-ulps: Update.
31205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31206
823fbbb4
AJ
312072012-04-09 Andreas Jaeger <aj@suse.de>
31208
03879793
AJ
31209 [BZ #6894]
31210 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31211 is an optional BSD extension.
31212
823fbbb4
AJ
31213 [BZ #10254]
31214 * manual/stdio.texi (Opening Streams): Document additional fopen
31215 parameters.
31216
8de131cb
RM
312172012-04-09 Roland McGrath <roland@hack.frob.com>
31218
31219 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31220 %eax without telling the compiler.
31221
c0ed9d7d
CD
312222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31223
31224 [BZ # 13963]
31225 * manual/install.texi: Use sourceware.org.
31226
c483f6b4
JM
312272012-04-09 Joseph Myers <joseph@codesourcery.com>
31228
d7dd9453
JM
31229 [BZ #13873]
31230 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31231 (__ieee754_pow): Generate overflow and underflow using huge*huge
31232 and tiny*tiny rather than just returning constant infinity or zero
31233 for large exponents.
31234 * math/libm-test.inc (pow_test): Require overflow exceptions for
31235 applicable cases of large exponents.
31236
c483f6b4
JM
31237 [BZ #706]
31238 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31239 (__ieee754_pow): Use iterative multiplication algorithm only for
31240 integer exponents with absolute value below 1024. Check for odd
31241 integer exponents when using algorithm for real exponents.
31242 * math/libm-test.inc (pow_test): Add more tests.
31243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31244
d2de7579
JM
312452012-04-08 Joseph Myers <joseph@codesourcery.com>
31246
31247 [BZ #13705]
31248 * math/libm-test.inc (exp_test): Do not allow overflow exception
31249 on underflow test.
31250
f77f1232
AJ
312512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31252
31253 [BZ #13705]
31254 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31255 instead of __kernel_standard_f.
31256
3884932b
MF
312572012-04-08 Mike Frysinger <vapier@gentoo.org>
31258
31259 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31260 * sysdeps/x86_64/memset_chk.S: Likewise.
31261
54472e9c
AJ
312622012-04-08 Andreas Jaeger <aj@suse.de>
31263
6ab0fbfc
AJ
31264 [BZ #10153]
31265 * manual/startup.texi (Environment Access): Describe return value
31266 for putenv and setenv.
31267
61efba8c
AJ
31268 [BZ #6895]
31269 * manual/filesys.texi (Directory Entries): Add description for
31270 DT_LNK.
31271
95c3f29a
AJ
31272 [BZ #6890]
31273 * manual/filesys.texi (Directory Entries): Clarify that it's file
31274 system not operating system in the description of DT_UNKNOWN.
31275
54472e9c
AJ
31276 [BZ #6578]
31277 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31278
624254b1
SC
312792012-04-08 Stephen Compall <s11@member.fsf.org>
31280
31281 [BZ #6649]
31282 * manual/llio.texi (Opening and Closing Files): Add cross
31283 reference to explain mode argument.
31284
1e4920e0
MF
312852012-04-07 Mike Frysinger <vapier@gentoo.org>
31286
31287 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31288 * sysdeps/x86_64/memset_chk.S: Likewise.
31289
5ed848f3
DM
312902012-04-07 David S. Miller <davem@davemloft.net>
31291
31292 * elf/elf.h (R_SPARC_WDISP10): Define.
31293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31294 R_SPARC_SIZE32.
31295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31296 R_SPARC_SIZE64 and R_SPARC_H34.
31297
96154cd8
CD
312982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31299
31300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31301 conditions and remove no longer applicable assertion.
31302
9904dc47
L
313032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31304
31305 * bits/byteswap.h: Include <features.h>.
31306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31308
f8887d0a
L
313092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31310
31311 * bits/byteswap.h (__bswap_16): Removed.
31312 Include <bits/byteswap-16.h> to get __bswap_16.
31313 * sysdeps/i386/bits/byteswap.h: Likewise.
31314 * sysdeps/s390/bits/byteswap.h: Likewise.
31315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31316 * bits/byteswap-16.h: New file.
31317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31318 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31319 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31320 * string/Makefile (headers): Add bits/byteswap-16.h.
31321
62470f60
PP
313222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31323
31324 [BZ #13895]
31325 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31326 extra indirection.
31327 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31328 * nss/tst-nss-static.c: New.
31329
4dad7bab
RM
313302012-04-06 Robert Millan <rmh@gnu.org>
31331
31332 [BZ #6486]
31333 * manual/llio.texi (File Position Primitive): lseek
31334 refers to WHENCE when it really means OFFSET.
31335
e9142a17
AJ
313362012-04-06 Andreas Jaeger <aj@suse.de>
31337
2c040eff
AJ
31338 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31339 strncmp declarations.
31340
e9142a17
AJ
31341 * abilist/libc.abilist: Add __poll and __ppoll.
31342
ff9f1c5f
DM
313432012-04-05 David S. Miller <davem@davemloft.net>
31344
dcd2ae90
DM
31345 * scripts/check-local-headers.sh: Accept a host triplet in the
31346 path matched by the exclude regexp.
31347
993eb054
DM
31348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31349 definition.
31350 * sysdeps/powerpc/powerpc32/dl-machine.h
31351 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31352 * sysdeps/s390/s390-32/dl-machine.h
31353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31354 * sysdeps/sparc/sparc32/dl-machine.h
31355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31356 * sysdeps/sparc/sparc64/dl-machine.h
31357 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31358
ff9f1c5f
DM
31359 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31360 lazy binding.
48e2e132 31361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31362 undefined symbol errors.
31363
48e2e132 31364 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31365 DT_NEEDED entries.
31366
e80d6f94
MM
313672012-04-05 Michael Matz <matz@suse.de>
31368
31369 [BZ #13592]
31370 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31371
349fa79f
AJ
313722012-04-05 Andreas Jaeger <aj@suse.de>
31373
31374 [BZ #13908]
31375 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31376 comment.
31377
f402708f
KK
313782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31379
31380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31381 which ROUND is no valid rounding mode.
31382
2ecccfc9
KK
313832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31384
31385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31386 read again.
31387 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31388
8a53f50f
KK
313892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31390
31391 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31392 an exception using FPU order intentionally.
31393
313942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31395
31396 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31397 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31398 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31399 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31400
d653abb7
SJ
314012012-04-05 Simon Josefsson <simon@josefsson.org>
31402
31403 [BZ #12340]
31404 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31405 EINVAL when BUFLEN is too smal.
31406
c3b1bf7d
TS
314072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31408
31409 [BZ #13553]
31410 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31411 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31412
b1aa60f3
AJ
314132012-04-03 Andreas Jaeger <aj@suse.de>
31414
c3b1bf7d 31415 [BZ #13938]
67f60a26
AJ
31416 * manual/setjmp.texi (System V contexts): Fix sentence.
31417
b1aa60f3
AJ
31418 [BZ #13926]
31419 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31420 New macro for this case.
31421 [!__GNUC__] (__bswap_64): New inline function for this case.
31422 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31423 * bits/byteswap.h: Likewise.
31424 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31425 ull, guard with __GLIBC_HAVE_LONG_LONG.
31426
31427 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31428 __GLIBC_HAVE_LONG_LONG.
31429
31430 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31431 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31432
39c59c35
TMQMF
314332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31434
31435 [BZ #13691]
31436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31437 inptr and inend, rather than using last_ch.
31438
135ffda8
DM
314392012-04-02 David S. Miller <davem@davemloft.net>
31440
31441 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31442 * stdio-common/printf-parse.h (read_int): Change return type to
31443 'int', return -1 on INT_MAX overflow.
31444 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31445 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31446 overflows INT_MAX. Check for overflow of in-format-string precision
31447 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31448 SIZE_MAX not INT_MAX for integer overflow test.
31449 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31450 skip the construct in the format string but do not record anything.
31451 * stdio-common/bug22.c: Adjust to test both width/prevision
31452 INT_MAX overflow as well as total length INT_MAX overflow. Check
31453 explicitly for proper errno values.
31454
228c019e
TS
314552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31456
302cadd3
TS
31457 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31458 CHAR_MAX.
31459 * string/test-strcmp.c [! WIDE]: Likewise.
31460 * time/tst-mktime2.c: Likewise for INT_MAX.
31461 * string/test-string.h: #include <sys/param.h> for MIN.
31462
228c019e
TS
31463 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31464 * sysdeps/i386/init-first.c (init): Likewise.
31465 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31466 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31467 * sysdeps/sh/init-first.c (init): Likewise.
31468
cfa633f5
UD
314692012-04-01 Ulrich Drepper <drepper@gmail.com>
31470
31471 * po/ru.po: Update from translation team.
d1635ef8 31472 * po/vi.po: Likewise.
cfa633f5 31473
6cd0a5ea
SP
314742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31475
31476 * resolv/nss_dns/dns-host.c: Merge copyright years.
31477
4b43400f
LD
314782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31479
31480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31481 Optimize memcpy with prefetch if
31482 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31483 src, dst pointers have unequal 16 byte alignments.
31484
48c41d04
SP
314852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31486
31487 [BZ #13928]
31488 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31489 from a CNAME entry and return the minimum ttl for the query.
31490 (gaih_getanswer_slice): Likewise.
31491
b8dc394d
JL
314922012-03-30 Jeff Law <law@redhat.com>
31493
31494 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31495 due to long keys.
31496 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31497 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31498
2f5a5ed0
JL
31499 * resolv/nss_dns/dns-host.c: Update copyright year.
31500
1d39e359
UD
315012012-03-30 Ulrich Drepper <drepper@gmail.com>
31502
c030f70c 31503 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31504 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31505
1d39e359
UD
31506 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31507 comments for sendmmsg.
31508
315092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31510
31511 [BZ #13691]
31512 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31513 with only 1 character between 0x0041 and 0x01b0.
31514 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31515 * wcsmbs/tst-mbsnrtowcs.c: New file.
31516
20fde227
DM
315172012-03-29 David S. Miller <davem@davemloft.net>
31518
31519 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31520 small copies by hand.
31521
984a4237
JL
315222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31523
31524 [BZ #13761]
31525 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31526 _nss_compat_initgroups_dyn): Fall back to malloc/free
31527 for large group memberships.
31528
18c9d62b
DM
315292012-03-28 David S. Miller <davem@davemloft.net>
31530
88d85d4f
DM
31531 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31532 that branches into memcpy.
31533 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31536 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31538 bits.
31539 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31540 implementation too.
31541 * sysdeps/sparc/mempcpy.S: New file.
31542
e5aa83e1
DM
31543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31544 the IFUNC routine in the libc case.
31545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31546
88570753
DM
31547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31549 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31550 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31551 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31552 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31553 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31554 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31555
249d7567
DM
31556 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31557 loop to 256 bytes instead of 64 bytes and fix test signedness.
31558
18c9d62b
DM
31559 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31560 * sysdeps/sparc/sparc32/Makefile: rather than here...
31561 * sysdeps/sparc/sparc64/Makefile: and here.
31562
05f3d1f6
UD
315632012-03-28 Ulrich Drepper <drepper@gmail.com>
31564
31565 * malloc/mallocbug.c: Avoid warnings about unused variables.
31566
86ae07a8
JL
315672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31568
31569 [BZ #13760]
31570 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31571 in the right place. Discard and retry query if response is
31572 larger than input buffer size.
31573
41bf21a1
JM
315742012-03-28 Joseph Myers <joseph@codesourcery.com>
31575
d6270972
JM
31576 [BZ #369]
31577 [BZ #2678]
31578 [BZ #3866]
31579 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31580 x for large integer exponent.
31581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31583 sign of result as needed afterwards.
31584 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31585 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31586 result for underflowing pow the same as for overflow.
31587 (__kernel_standard_l): Handle powl overflow and underflow here
31588 rather than calling __kernel_standard.
31589 * math/libm-test.inc (pow_test): Add more tests.
31590
414fca03 31591 [BZ #3868]
41bf21a1
JM
31592 [BZ #13879]
31593 [BZ #13910]
31594 [BZ #13911]
31595 [BZ #13912]
31596 [BZ #13913]
31597 [BZ #13915]
31598 [BZ #13916]
31599 [BZ #13917]
31600 [BZ #13918]
31601 [BZ #13919]
31602 [BZ #13920]
31603 [BZ #13921]
31604 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31605 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31606 (__kernel_standard_l): New function.
31607 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31608 __kernel_standard.
31609 * math/w_acosl.c (__acosl): Likewise.
31610 * math/w_asinl.c (__asinl): Likewise.
31611 * math/w_atan2l.c (__atan2l): Likewise.
31612 * math/w_atanhl.c (__atanhl): Likewise.
31613 * math/w_coshl.c (__coshl): Likewise.
31614 * math/w_exp10l.c (__exp10l): Likewise.
31615 * math/w_exp2l.c (__exp2l): Likewise.
31616 * math/w_fmodl.c (__fmodl): Likewise.
31617 * math/w_hypotl.c (__hypotl): Likewise.
31618 * math/w_j0l.c (__j0l, __y0l): Likewise.
31619 * math/w_j1l.c (__j1l, __y1l): Likewise.
31620 * math/w_jnl.c (__jnl, __ynl): Likewise.
31621 * math/w_lgammal.c (__lgammal): Likewise.
31622 * math/w_log10l.c (__log10l): Likewise.
31623 * math/w_log2l.c (__log2l): Likewise.
31624 * math/w_logl.c (__logl): Likewise.
31625 * math/w_powl.c (__powl): Likewise.
31626 * math/w_remainderl.c (__remainderl): Likewise.
31627 * math/w_scalbl.c (sysv_scalbl): Likewise.
31628 * math/w_sinhl.c (__sinhl): Likewise.
31629 * math/w_sqrtl.c (__sqrtl): Likewise.
31630 * math/w_tgammal.c (__tgammal): Likewise.
31631 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31632 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31633 * math/libm-test.inc (acos_test): Add more tests.
31634 (acosh_test): Likewise.
31635 (asin_test): Likewise.
31636 (atanh_test): Likewise.
31637 (exp_test): Likewise.
31638 (exp10_test): Likewise.
31639 (exp2_test): Likewise.
31640 (expm1_test): Likewise.
31641 (lgamma_test): Likewise.
31642 (log_test): Likewise.
31643 (log10_test): Likewise.
31644 (log1p_test): Likewise.
31645 (log2_test): Likewise.
31646 (pow_test): Do not allow some spurious overflow exceptions.
31647 (sqrt_test): Add more tests.
31648 (tgamma_test): Likewise.
31649 (y0_test): Likewise.
31650 (y1_test): Likewise.
31651 (yn_test): Likewise.
31652
dd62fda6
AB
316532012-03-27 Anton Blanchard <anton@samba.org>
31654
31655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31656 MAP_HUGETLB.
31657 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31660
1e3cdfda
AJ
316612012-03-27 David S. Miller <davem@davemloft.net>
31662
b855ab85
DM
31663 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31664
1e3cdfda
AJ
31665 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31666 have-as-vis3 check.
31667
316682012-03-27 Andreas Jaeger <aj@suse.de>
31669
31670 * sysdeps/x86_64/elf/configure.in: Moved to ...
31671 * sysdeps/x86_64/configure.in: ... here.
31672 * sysdeps/x86_64/elf/start.S: Moved to ...
31673 * sysdeps/x86_64/start.S: ... here.
31674 * sysdeps/x86_64/elf/configure: Delete.
31675
31676 * sysdeps/x86_64/configure.in: Merge contents from
31677 sysdeps/i386/configure.in (without i686 check).
31678
31679 * sysdeps/i386/elf/Versions: Merge into ...
31680 * sysdeps/i386/Versions: ... this.
31681 * sysdeps/i386/elf/Versions: Delete file.
31682 * sysdeps/i386/elf/start.S: Moved to ...
31683 * sysdeps/i386/start.S: ...here.
31684 * sysdeps/i386/elf/configure.in: Merge into...
31685 * sysdeps/i386/configure.in: ...here.
31686 * sysdeps/i386/elf/configure.in: Delete file.
31687 * sysdeps/i386/elf/configure: Delete file.
31688
31689 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31690 * debug/backtracesyms.c: ... here.
31691 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31692 * debug/backtracesymsfd.c: ... here.
31693 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31694 * sysdeps/generic/ifunc-sel.h: ... here.
31695
31696 * sysdeps/unix/i386/start.c: Delete file.
31697 * sysdeps/unix/sparc/start.c: Delete file.
31698 * sysdeps/unix/start.c: Delete file.
31699
31700 * sysdeps/sh/elf/configure.in: Moved to ...
31701 * sysdeps/sh/configure.in: ... here.
31702 * sysdeps/sh/elf/start.S: Moved to ...
31703 * sysdeps/sh/start.S: ... here.
31704 * sysdeps/sh/elf/configure: Delete file.
31705
31706 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31707 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31708 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31709 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31710 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31711 * sysdeps/powerpc/powerpc64/start.S: here.
31712 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31713 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31714 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31715 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31716 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31717
31718 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31719 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31720 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31721 * sysdeps/powerpc/powerpc32/start.S: ... here.
31722 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31723 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31724 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31725
31726 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31727 * sysdeps/powerpc/ifunc-sel.h: ... here.
31728 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31729 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31730
31731 * sysdeps/sparc/elf/configure.in: Moved to ...
31732 * sysdeps/sparc/configure.in: ... here.
31733 * sysdeps/sparc/elf/configure: Delete file.
31734 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31735 * sysdeps/sparc/sparc32/start.S: ... here.
31736 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31737 * sysdeps/sparc/sparc64/start.S: ... here.
31738 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31739 * sysdeps/sparc/sparc32/Makefile: ... this.
31740 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31741 * sysdeps/sparc/sparc64/Makefile: ... this.
31742
31743 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31744 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31745 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31746 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31747 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31748 * sysdeps/s390/s390-32/setjmp.S: ... here.
31749 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31750 * sysdeps/s390/s390-32/configure.in: ... here.
31751 * sysdeps/s390/s390-32/elf/configure: Delete file.
31752 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31753 * sysdeps/s390/s390-32/start.S: ... here.
31754
31755 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31756 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31757 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31758 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31759 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31760 * sysdeps/s390/s390-64/setjmp.S: ... here.
31761 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31762 * sysdeps/s390/s390-64/configure.in: ... here
31763 * sysdeps/s390/s390-64/elf/configure: Delete file.
31764 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31765 * sysdeps/s390/s390-64/start.S: ... here.
31766 * sysdeps/s390/s390-64/elf/configure: Delete.
31767
31768 * configure.in: Remove support for elf directories in sysdeps.
31769
31770 * configure: Regenerated.
31771 * sysdeps/i386/configure: Regenerated.
31772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31774 * sysdeps/s390/s390-32/configure: Regenerated.
31775 * sysdeps/s390/s390-64/configure: Regenerated.
31776 * sysdeps/sh/configure: Regenerated.
31777 * sysdeps/sparc/configure: Regenerated.
31778 * sysdeps/x86_64/configure: Regenerated.
31779
a3f61311
AS
317802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31781
c876e002
AS
31782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31783
a3f61311
AS
31784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31785 denormal result into account.
31786
ac4c54f0
RM
317872012-03-25 Roland McGrath <roland@hack.frob.com>
31788
31789 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31790 Reported by Allan McRae <allan@archlinux.org>.
31791
6a9b9c02
JL
317922012-03-23 Jeff Law <law@redhat.com>
31793
31794 * nss/getnssent.c (__nss_getent): Fix typo.
31795
4c42a0c1
DM
317962012-03-23 David S. Miller <davem@davemloft.net>
31797
31798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31799
1532c7ac
L
318002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31801
31802 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31803 to pad to uint64_t for each field.
31804 (dl_tls_index): Replace unsigned long with uint64_t.
31805
3ff42526
PP
318062012-03-23 Daniel Jacobowitz <dmj@google.com>
31807 Paul Pluzhnikov <ppluzhnikov@google.com>
31808
31809 [BZ #6528]
31810 * grp/Makefile (otherlibs): Don't set it.
31811 * inet/Makefile (otherlibs): Likewise.
31812 * login/Makefile (otherlibs): Likewise.
31813 * nscd/Makefile (otherlibs): Likewise.
31814 * posix/Makefile (otherlibs): Likewise.
31815 * pwd/Makefile (otherlibs): Likewise.
31816 * rt/Makefile (otherlibs): Likewise.
31817 * sunrpc/Makefile (otherlibs): Likewise.
31818 * nss/Makefile (otherlibs): Likewise.
31819 Add libnss_files to routines and static-only-routines.
31820 ($(objpfx)getent): Remove rule.
31821 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31822 static-only-routines.
31823
7c69cd14
JM
318242012-03-22 Joseph Myers <joseph@codesourcery.com>
31825
31826 [BZ #13892]
31827 * math/s_cexp.c: Include <float.h>.
31828 (__cexp): Handle exp result overflowing not necessarily
31829 overflowing both real and imaginary parts of result.
31830 * math/s_cexpf.c: Likewise.
31831 * math/s_cexpl.c: Likewise.
31832 * math/libm-test.inc (cexp_test): Add more tests.
31833 * sysdeps/i386/fpu/libm-test-ulps: Update.
31834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31835
81b035fe
L
318362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31837
31838 * include/link.h (ELFW): New macro.
31839 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31840 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31841
1da7940c
L
318422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31843
31844 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31845 with uint64_t.
31846
b749dbb9
L
318472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31848
31849 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31850 declaration.
31851 (struct La_x32_retval): Likewise.
31852
2ff87f3f
L
318532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31854
31855 * sysdeps/x86_64/preconfigure.in: New file.
31856 * sysdeps/x86_64/preconfigure: New generated file.
31857
c0df8e69
JM
318582012-03-22 Joseph Myers <joseph@codesourcery.com>
31859
48e44791
JM
31860 [BZ #13824]
31861 * math/e_exp2l.c: Include <float.h>.
31862 (__ieee754_exp2l): Handle overflow and underflow cases
31863 separately. Only pass fractional part of argument to
31864 __ieee754_expl.
31865 * math/libm-test.inc (exp2_test): Add more tests.
31866
c0df8e69
JM
31867 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31868 negating x to take absolute value.
31869 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31870 Likewise.
31871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31873 Likewise.
31874 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31875 computing low part if x was negated.
31876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31877
c8e43ba7
L
318782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31879
31880 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31881 la_x32_gnu_pltexit.
31882 (pltexit): Cast int_retval to ptrdiff_t.
31883 * elf/tst-auditmod3b.c: Likewise.
31884 * elf/tst-auditmod4b.c: Likewise.
31885 * elf/tst-auditmod5b.c: Likewise.
31886 * elf/tst-auditmod6b.c: Likewise.
31887 * elf/tst-auditmod6c.c: Likewise.
31888 * elf/tst-auditmod7b.c: Likewise.
31889
31890 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31891 and x32_gnu_pltexit.
31892
31893 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31894 __ELF_NATIVE_CLASS.
31895 (La_x32_regs): New macro.
31896 (La_x32_retval): Likewise.
31897 (la_x32_gnu_pltenter): New function prototype.
31898 (la_x32_gnu_pltexit): Likewise.
31899
7998fa78
AS
319002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31901
dcb33988
AS
31902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31903 exponent.
31904
233fc563
AS
31905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31906
7998fa78
AS
31907 * configure.in (libc_cv_cc_nofma): Check for option to disable
31908 generation of FMA instructions.
31909 * configure: Regenerate.
31910 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31911 * sysdeps/ieee754/dbl-64/Makefile: New file.
31912 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31913 Remove brandred-fma4.
31914 (CFLAGS-brandred-fma4.c): Remove.
31915 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31916 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31917 define.
31918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31919 define.
31920
8e95c99a
L
319212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31924 LLONG_MAX != LONG_MAX.
31925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31926 (_fitoa_word): Likewise.
31927 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31928 LLONG_MAX != LONG_MAX.
31929 * stdio-common/_itowa.h: Include <_itoa.h>.
31930 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31931 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31932 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31933 only if not defined.
31934 (_ITOA_WORD_TYPE): Likewise.
31935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31936 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31937
6f4db457
DM
319382012-03-21 David S. Miller <davem@davemloft.net>
31939
31940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31941
7785fe5a
L
319422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31945 of x86_64 when setting libc_cv_slibdir, libdir and
31946 libc_cv_localedir.
31947 * sysdeps/unix/sysv/linux/configure: Regenerated.
31948
4535cd55
JM
319492012-03-21 Joseph Myers <joseph@codesourcery.com>
31950
31951 * manual/lang.texi (Old Varargs): Remove section.
31952 (How Variadic): Update menu.
31953 (va_start): Do not mention varargs.h.
31954
17228132
TS
319552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31956 Joseph Myers <joseph@codesourcery.com>
31957
31958 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31959 link test.
31960 * configure: Regenerated.
31961
8149f976
TS
319622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31963
05f3d1f6
UD
31964 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31965 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31966 conformtest.pl
8149f976 31967
1a4ac776
JM
319682012-03-21 Joseph Myers <joseph@codesourcery.com>
31969
be22ce65
JM
31970 * NOTES: Remove.
31971 * Makefile (files-for-dist): Remove NOTES.
31972 (NOTES): Remove rule.
31973 * README: Don't refer to NOTES.
31974 * manual/creature.texi: Don't include macros.texi.
31975 * manual/intro.texi (creature.texi): Remove comment referring to
31976 NOTES.
31977
40b601fb
JM
31978 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31979 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31980 * configure: Regenerated.
31981 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31982 LIBC_TRY_CC_OPTION.
31983 (libc_cv_as_i686): Likewise.
31984 (libc_cv_cc_avx): Likewise.
31985 (libc_cv_cc_sse2avx): Likewise.
31986 (libc_cv_cc_fma4): Likewise.
31987 (libc_cv_cc_novzeroupper): Likewise.
31988 * sysdeps/i386/configure: Regenerated.
31989
1a4ac776
JM
31990 [BZ #13883]
31991 * sysdeps/i386/fpu/s_cexp.S: Remove.
31992 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31993 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31994 * math/libm-test.inc (cexp_test): Add more tests.
31995 * sysdeps/i386/fpu/libm-test-ulps: Update.
31996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31997
a458e7fe
AM
319982012-03-21 Allan McRae <allan@archlinux.org>
31999
32000 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32001
0cb7efc5
JM
320022012-03-21 Joseph Myers <joseph@codesourcery.com>
32003
32004 [BZ #13871]
32005 * math/w_exp2.c: Do not include <float.h>.
32006 (o_threshold, u_threshold): Remove.
32007 (__exp2): Calculate result before checking finiteness and calling
32008 __kernel_standard.
32009 * math/w_exp2f.c: Likewise.
32010 * math/w_exp2l.c: Likewise.
32011 * math/libm-test.inc (exp2_test): Require overflow exception for
32012 1e6 input.
2460d3aa
JM
32013
32014 [BZ #3866]
32015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32016 range of signed 64-bit integers before using fistpll. Remove
32017 checks for whether integers fit in mantissa bits.
32018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32019 the range of signed 32-bit integers before using fistpl. Remove
32020 checks for whether integers fit in mantissa bits.
32021 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32022 (__ieee754_powl): Test for y outside the range of signed 64-bit
32023 integers before using fistpll. Reduce 64-bit values to 63-bit
32024 ones as needed.
32025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32026 divide-by-zero is raised for zero to large negative powers.
32027 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32028 (__ieee754_powl): Test for y outside the range of signed 64-bit
32029 integers before using fistpll. Reduce 64-bit values to 63-bit
32030 ones as needed.
32031 * math/libm-test.inc (pow_test): Add more tests.
32032
eb96ffb0
L
320332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32036 <stdio-common/_itoa.h>.
32037 * debug/segfault.c: Likewise.
32038 * elf/dl-cache.c: Likewise.
32039 * elf/dl-minimal.c: Likewise.
32040 * elf/dl-misc.c: Likewise.
32041 * elf/dl-sysdep.c: Likewise.
32042 * elf/dl-version.c: Likewise.
32043 * elf/rtld.c: Likewise.
32044 * hurd/hurdsock.c: Likewise.
32045 * hurd/lookup-retry.c: Likewise.
32046 * malloc/malloc.c: Likewise.
32047 * malloc/mtrace.c: Likewise.
32048 * nscd/nscd_getgr_r.c: Likewise.
32049 * nscd/nscd_getpw_r.c: Likewise.
32050 * nscd/nscd_getserv_r.c: Likewise.
32051 * posix/getopt_init.c: Likewise.
32052 * posix/wordexp.c: Likewise.
32053 * stdio-common/_itoa.c: Likewise.
32054 * stdio-common/printf_fphex.c: Likewise.
32055 * stdio-common/vfprintf.c: Likewise.
32056 * string/_strerror.c: Likewise.
32057 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32058 * sysdeps/i386/i686/hp-timing.h: Likewise.
32059 * sysdeps/mach/_strerror.c: Likewise.
32060 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32061 * sysdeps/mach/hurd/sethostid.c: Likewise.
32062 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32063 * sysdeps/mach/xpg-strerror.c: Likewise.
32064 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32066 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32067 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32068 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32069 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32071 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32072 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32073 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32074 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32075 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32076 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32077 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32078 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32080 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32081 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32082 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32083 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32084 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32085
32086 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32087
32088 * stdio-common/_itoa.h: Moved to ...
32089 * sysdeps/generic/_itoa.h: Here.
32090
32091 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32092
32093 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32094 instead of "_itoa.h" and "_itowa.h".
32095 * stdio-common/vfprintf.: Likewise.
32096
d1af992d
L
320972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32100 <bits/wordsize.h>.
32101 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32102 (__signbit): Likwise.
32103 (llrintf): Likwise.
32104 (llrint): Likwise.
32105
114883e0
L
321062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32107
32108 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32109 __WORDSIZE != 64.
32110
c135cc1b
JM
321112012-03-20 Joseph Myers <joseph@codesourcery.com>
32112
32113 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32114 OVERFLOW_EXCEPTION_OK.
32115 * math/libm-test.inc ("Philosophy"): Update comment about
32116 exception testing.
32117 (OVERFLOW_EXCEPTION): Define.
32118 (OVERFLOW_EXCEPTION_OK): Likewise.
32119 (INVALID_EXCEPTION_OK): Renumber.
32120 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32121 (IGNORE_ZERO_INF_SIGN): Likewise.
32122 (test_exceptions): Handle FE_OVERFLOW.
32123 (exp10_test): Expect overflow exceptions.
32124 (exp2_test): Likewise.
32125 (expm1_test): Likewise.
32126 (nextafter_test): Likewise.
32127 (pow_test): Likewise.
32128 (scalbn_test): Likewise.
32129 (scalbln_test): Likewise.
32130
95443d88
L
321312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32132
32133 * sysdeps/x86_64/bits/atomic.h
32134 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32135 64bit integer.
32136 (atomic_exchange_acq): Likewise.
32137 (__arch_exchange_and_add_body): Likewise.
32138 (__arch_add_body): Likewise.
32139 (atomic_add_negative): Likewise.
32140 (atomic_add_zero): Likewise.
32141
490df6c4
L
321422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32143
c2722551 32144 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32145 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32146
5e52b189
L
321472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32150 Check __x86_64__ instead of __WORDSIZE.
32151
a9879d4c
L
321522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32155
5df98260
DM
321562012-03-19 David S. Miller <davem@davemloft.net>
32157
e1497744
DM
32158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32159
5df98260
DM
32160 * sysdeps/sparc/fpu/fenv_private.h: New file.
32161 * sysdeps/sparc/fpu/math_private.h: Use it.
32162 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32163 Remove.
32164 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32165 (libc_feholdexcept_setroundl): Remove.
32166 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32167 Remove.
32168 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32169 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32170
b4c35121
L
321712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32174 int64_t instead of long int.
32175 (INSERT_WORDS64): Likwise.
32176
56965fd7
L
321772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32178
32179 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32180 _Unwind_GetCFA return to _Unwind_Ptr first.
32181
83d1aec8
JM
321822012-03-19 Joseph Myers <joseph@codesourcery.com>
32183
1897ad44
JM
32184 [BZ #13629]
32185 * math/s_clog.c: Include <float.h>.
32186 (__clog): Scale large or subnormal inputs.
32187 * math/s_clogf.c: Likewise.
32188 * math/s_clogl.c: Likewise.
32189 * math/s_clog10.c: Include <float.h>.
32190 (M_LOG10_2): Define.
32191 (__clog10): Scale large or subnormal inputs.
32192 * math/s_clog10f.c: Likewise.
32193 * math/s_clog10l.c: Likewise.
32194 * math/libm-test.inc (clog_test): Add more tests.
32195 (clog10_test): Likewise.
32196 * sysdeps/i386/fpu/libm-test-ulps: Update.
32197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32198
7726d6a9
JM
32199 [BZ #11451]
32200 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32201 x and y.
32202 * math/libm-test.inc (atan2_test): Add another test.
32203
83d1aec8
JM
32204 * Makerules (common-objdir-compile): Remove.
32205 * sysdeps/unix/Makefile (config-generated): Do not add
32206 $(unix-generated) to variable.
32207 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32208 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32209 Remove rule.
32210 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32211 Likewise.
32212 [generic bits/local_lim.h] (before-compile): Do not append to
32213 variable.
32214 [generic bits/local_lim.h] (common-generated): Likewise.
32215 [generic sys/param.h] (before-compile): Do not append to variable.
32216 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32217 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32219 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32220 include.
32221 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32222 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32223 [generic sys/param.h] ($(addprefix
32224 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32225 [generic sys/param.h] (common-generated): Do not append to
32226 variable.
32227 [generic sys/param.h] (sysdep_headers): Likewise.
32228 [generic bits/errno.h] (before-compile): Do not append to
32229 variable.
32230 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32231 rule.
32232 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32233 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32234 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32235 [generic bits/errno.h] (common-generated): Do not append to
32236 variable.
32237 [generic bits/ioctls.h] (before-compile): Do not append to
32238 variable.
32239 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32240 rule.
32241 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32242 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32243 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32244 rule.
32245 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32246 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32247 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32248 [generic bits/ioctls.h] (common-generated): Do not append to
32249 variable.
32250 [generic sys/syscall.h] (syscall.h): Remove variable.
32251 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32252 rule.
32253 [generic sys/syscall.h] (before-compile): Do not append to
32254 variable.
32255 [generic sys/syscall.h] (common-generated): Likewise.
32256 * sysdeps/unix/errnos-tmpl.c: Remove file.
32257 * sysdeps/unix/errnos.awk: Likewise.
32258 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32259 * sysdeps/unix/ioctls.awk: Likewise.
32260 * sysdeps/unix/mk-local_lim.c: Likewise.
32261 * sysdeps/unix/snarf-ioctls: Likewise.
32262
4851a949
RH
322632012-03-19 Richard Henderson <rth@twiddle.net>
32264
bd37f2ee
RH
32265 * sysdeps/i386/fpu/fenv_private.h: New file.
32266 * sysdeps/i386/fpu/math_private.h: Use it.
32267 (math_opt_barrier, math_force_eval): Remove.
32268 (libc_feholdexcept_setround_53bit): Remove.
32269 (libc_feupdateenv_53bit): Remove.
32270 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32271 (math_opt_barrier, math_force_eval): Remove.
32272 (libc_feholdexcept): Remove.
32273 (libc_feholdexcept_setround): Remove.
32274 (libc_fetestexcept, libc_fesetenv): Remove.
32275 (libc_feupdateenv_test): Remove.
32276 (libc_feupdateenv, libc_feholdsetround): Remove.
32277 (libc_feresetround): Remove.
32278
d0adc922
RH
32279 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32280 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32281
0fe0f1f8
RH
32282 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32283 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32284 (libc_feupdateenv_testl): New.
32285 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32286 (libc_feupdateenv_testf): New.
32287 (libc_feupdateenv): Use libc_feupdateenv_test.
32288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32290
eb92c487
RH
32291 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32292 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32293 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32294 (libc_feresetround_noex): New.
32295 (libc_feresetround_noexf): New.
32296 (libc_feresetround_noexl): New.
32297 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32298 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32299 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32300 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32301 SET_RESTORE_ROUND.
32302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32304 (__cos): Likewise.
32305 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32307 SET_RESTORE_ROUND_NOEX.
32308 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32309 SET_RESTORE_ROUND_NOEXF.
32310 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32311 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32312 (libc_feholdsetroundf): New.
32313 (libc_feresetround, libc_feresetroundf): New.
32314
7d2e8012
RH
32315 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32316 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32317 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32318
b4dabbb4
RH
32319 * sysdeps/generic/math_private.h: Include <fenv.h>.
32320 (default_libc_feholdexcept): New.
32321 (default_libc_feholdexcept_setround): New.
32322 (default_libc_fesetenv, default_libc_feupdateenv): New.
32323 (libc_feholdexcept): Only define if undefined.
32324 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32325 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32326 (libc_feholdexcept_setroundl): Likewise.
32327 (libc_feholdexcept_setround_53bit): Likewise.
32328 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32329 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32330 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32331 (libc_feupdateenv_53bit): Likewise.
32332 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32333 (libc_feholdexcept): Convert from macro to inline function.
32334 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32335 (libc_fesetenv, libc_feupdateenv): Likewise.
32336
4851a949
RH
32337 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32338 not previously defined.
32339 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32340 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32341 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32343 * sysdeps/ieee754/flt-32/math_private.h: New file.
32344 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32345 math_private.h below SET_FLOAT_WORD.
32346 (__isnan, __isinf_ns, __finite): Remove.
32347 (__isnanf, __isinf_nsf, __finitef): Remove.
32348
e79d442e
AS
323492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32350
32351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32352
90b80344
DM
323532012-03-17 David S. Miller <davem@davemloft.net>
32354
32355 [BZ #6471]
32356 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32357 for 2.16.
32358
edc21804
DM
323592012-03-16 David S. Miller <davem@davemloft.net>
32360
77e927af
DM
32361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32362 warnings.
32363
374976dd
DM
32364 [BZ #6471]
32365 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32366 properly.
32367 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32368 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32369 sysdep_routines when subdir is sysvipc.
32370 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32371 __getshmlba helper.
32372
edc21804
DM
32373 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32374
473c3ef3
L
323752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32378 [__LP64__].
32379
eb0f39b6
L
323802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32381
32382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32383 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32384 (__lround): Renamed to ...
32385 (__llround): This. Replace long int with long long int.
32386 Define lround functions as aliases of llround functions.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32388
6b6cd74b
L
323892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32392 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32393 adresses to uintptr_t. Replace "long int" and "unsigned long
32394 int" with "greg_t" on va_arg.
32395
f1a77b01
L
323962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32397
32398 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32399 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32400
32401 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32402 Move e_machine check before EI_CLASS check. Handle x32
32403 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32404 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32405 SKIP_EM_IA_64 and include
32406 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32407
32408 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32409 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32410 (add_system_dir): New macro.
32411
32412 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32413 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32414
11b90b9f
JM
324152012-03-16 Joseph Myers <joseph@codesourcery.com>
32416
c36e1d23
JM
32417 [BZ #2551]
32418 [BZ #2552]
32419 [BZ #2553]
32420 [BZ #2554]
32421 [BZ #2562]
32422 [BZ #2563]
32423 [BZ #2565]
32424 [BZ #2566]
32425 [BZ #2576]
32426 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32427 (y0): Likewise.
32428 * math/w_j0f.c (j0f): Likewise.
32429 (y0f): Likewise.
32430 * math/w_j0l.c (__j0l): Likewise.
32431 (__y0l): Likewise.
32432 * math/w_j1.c (j1): Likewise.
32433 (y1): Likewise.
32434 * math/w_j1f.c (j1f): Likewise.
32435 (y1f): Likewise.
32436 * math/w_j1l.c (__j1l): Likewise.
32437 (__y1l): Likewise.
32438 * math/w_jn.c (jn): Likewise.
32439 (yn): Likewise.
32440 * math/w_jnf.c (jnf): Likewise.
32441 (ynf): Likewise.
32442 * math/w_jnl.c (__jnl): Likewise.
32443 (__ynl): Likewise.
32444 * math/libm-test.inc (j0_test): Add more tests.
32445 (j1_test): Likewise.
32446 (jn_test): Likewise. Add trailing semicolon to existing test.
32447 (y0_test): Likewise.
32448 (y1_test): Likewise.
32449 * sysdeps/i386/fpu/libm-test-ulps: Update.
32450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32451
11b90b9f
JM
32452 [BZ #13851]
32453 [BZ #13854]
32454 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32455 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32456 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32457 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32458 (__tanl): Set errno for infinite argument.
32459 * sysdeps/i386/fpu/mptan.c: Remove.
32460 * sysdeps/i386/fpu/s_tan.S: Likewise.
32461 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32462 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32463 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32464 * math/libm-test.inc (tan_test): Add more tests and enable more
32465 tests for double and long double.
32466 * sysdeps/i386/fpu/libm-test-ulps: Update.
32467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32468
6a1bd2a1
JK
324692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32470
32471 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32472 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32473
10a803e0
RM
324742012-03-16 Roland McGrath <roland@hack.frob.com>
32475
32476 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32477 * configure.in: Use it for both main tree and add-ons.
32478 * configure: Regenerated.
32479
f196c7f7
L
324802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32483
8848d99d
JM
324842012-03-16 Joseph Myers <joseph@codesourcery.com>
32485
96cbe7f4
JM
32486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32487 in comment.
32488
8848d99d
JM
32489 [BZ #13851]
32490 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32491 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32495 infinite argument.
32496 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32498 != 0 for prec == 2.
32499 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32500 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32501 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32502 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32503 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32504 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32505 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32506 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32507 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32508 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32509 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32510 * math/libm-test.inc (cos_test): Add more tests and enable more
32511 tests for long double.
32512 (sin_test): Likewise.
32513 (sincos_test): Likewise.
32514 * sysdeps/i386/fpu/libm-test-ulps: Update.
32515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32516
dd7f4703
DM
325172012-03-16 David S. Miller <davem@davemloft.net>
32518
32519 * sysdeps/sparc/fpu/math_private.h: New file.
32520
006f1daa
DM
325212012-03-15 David S. Miller <davem@davemloft.net>
32522
c0c83bc8
DM
32523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32524 file.
e6a62e18 32525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32527 file.
e6a62e18
DM
32528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32534 sysdep routines.
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32536
88cb87d9
DM
32537 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32538 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32539
006f1daa 32540 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32542 sparc-ifunc.h
006f1daa 32543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32545 Likewise.
32546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32547 Likewise.
006f1daa
DM
32548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32552 Likewise.
006f1daa
DM
32553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32558 Likewise.
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32560 Likewise.
006f1daa
DM
32561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32585
11e0098e
AS
325862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32587
32588 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32589 scaling.
32590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32591
e85b09d0
AJ
325922012-03-15 Andreas Jaeger <aj@suse.de>
32593
32594 [BZ #13852]
32595 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32596 ieee754/flt-32 implementation for sin, cos and sincos.
32597 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32598 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32599 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32600 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32601 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32602 ieee754/flt-32 implementation for tan.
32603
32604 * math/libm-test.inc (cos_test): Enable some large input tests for
32605 float as well
32606 (sin_test): Likewise.
32607 (sincos_test): Likewise.
32608 (tan_test): Add tests for large input.
32609
32610 * sysdeps/i386/fpu/libm-test-ulps: Update.
32611
81c64153
AJ
326122012-03-15 Andreas Jaeger <aj@suse.de>
32613
32614 [BZ #13658]
32615 * math/libm-test.inc (cos_test): Add more test cases.
32616 (sin_test): Likewise.
32617 (sincos_test): Likewise.
32618
7bbfa5c6
AJ
326192012-03-15 Andreas Jaeger <aj@suse.de>
32620
32621 [BZ #13837]
32622 * math/libm-test.inc (cos_test): Add a test case for large input
32623 value.
32624 (sin_test): Likewise.
32625 (sincos_test): Likewise.
32626
326272012-03-15 Andreas Jaeger <aj@suse.de>,
32628 Joseph Myers <joseph@codesourcery.com>
32629
32630 [BZ #13658]
0671f479 32631 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32632 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32633 * sysdeps/i386/fpu/branred.c: Likewise.
32634 * sysdeps/i386/fpu/dosincos.c: Likewise.
32635 * sysdeps/i386/fpu/mpa.c: Likewise.
32636 * sysdeps/i386/fpu/s_cos.S: Likewise.
32637 * sysdeps/i386/fpu/s_sin.S: Likewise.
32638 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32639 * sysdeps/i386/fpu/sincos32.c: Likewise.
32640
32641 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32642 Define.
32643 (libc_feupdateenv_53bit): Define.
32644 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32645 Define.
32646 (libc_feupdateenv_53bit): Define.
32647
32648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32649 53 bit (without extend i386 double precision).
32650
32651 * math/libm-test.inc (sincos_test): Add tests for large input.
32652 (sin): Likewise.
32653 (cos): Likewise.
32654
32655 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32656
9cad04ea
AS
326572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32658
32659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32660
f7062b9a
DM
326612012-03-15 David S. Miller <davem@davemloft.net>
32662
32663 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32664 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32665 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32666 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32679 file.
f7062b9a 32680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32682 file.
f7062b9a 32683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32685 file.
f7062b9a 32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32688 file.
f7062b9a
DM
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32691 fmin/fmax sysdep routines.
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32693
7bd951ff
DM
326942012-03-14 David S. Miller <davem@davemloft.net>
32695
559398ab
DM
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32725 routines.
32726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32727 file.
559398ab 32728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32730 file.
559398ab 32731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32733 file.
559398ab 32734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32736 file.
559398ab 32737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32739 file.
559398ab 32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32742 file.
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32744 file.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32746 file.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32748 file.
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32750 New file.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32752 file.
32753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32754 file.
559398ab 32755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32757 file.
559398ab 32758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32760 file.
559398ab 32761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32763 file.
559398ab 32764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32766 VIS3 routines.
559398ab
DM
32767
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32769 New file.
32770
5a1c1e32
DM
32771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32772
eae47a36
DM
32773 * sysdeps/sparc/configure.in: New file.
32774 * sysdeps/sparc/configure: Generate.
32775 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32776 * configure: Regenerate.
32777 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32778 * config.make.in (have-as-vis3): New.
32779 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32780 available use -Av9d instead of -Av9a.
32781 * sysdeps/sparc/sparc64/Makefile: Likewise.
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32784 New file.
32785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32786 file.
32787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32788 New file.
32789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32790 file.
eae47a36
DM
32791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32796
c0c83bc8
DM
32797 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32798 fzeros/fnegs to load 0x80000000 into a float register instead of
32799 using the stack.
7bd951ff
DM
32800 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32801
bd951ccb
JM
328022012-03-14 Joseph Myers <joseph@codesourcery.com>
32803
32804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32805 bits/syscall.h.
32806 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32807 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32808 ($(inst_includedir)/bits/syscall.h): Remove rule.
32809 ($(objpfx)bits/syscall.d): Include instead of
32810 $(objpfx)syscall-list.d.
32811 (generated): Change syscall-list.h and syscall-list.d to
32812 bits/syscall.h and bits/syscall.d.
32813
bb4e6db2
RM
328142012-03-14 Roland McGrath <roland@hack.frob.com>
32815
32816 [BZ #13846]
32817 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32818
aa4a2ae1
JM
328192012-03-14 Joseph Myers <joseph@codesourcery.com>
32820
e456826d
JM
32821 [BZ #13841]
32822 * math/s_csqrt.c: Include <float.h>.
32823 (__csqrt): Scale large or subnormal inputs.
32824 * math/s_csqrtf.c: Likewise.
32825 * math/s_csqrtl.c: Likewise.
32826 * math/libm-test.inc (csqrt_test): Add more tests.
32827 * sysdeps/i386/fpu/libm-test-ulps: Update.
32828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32829
aa4a2ae1
JM
32830 [BZ #13840]
32831 * math/libm-test.inc (hypot_test): Add more tests.
32832
7c10fd35
DM
328332012-03-13 David S. Miller <davem@davemloft.net>
32834
32835 [BZ #13840]
32836 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32837 double-precision for the calculation instead of scaling.
32838
f453b98b
JM
328392012-03-13 Joseph Myers <joseph@codesourcery.com>
32840
32841 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32842 manipulate bits before adding and subtracting TWO52[sx].
32843 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32845 Likewise.
32846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32847
09a3453f
DM
328482012-03-13 David S. Miller <davem@davemloft.net>
32849
8e59da90
DM
32850 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32851 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32853 rtld-global-offsets.h
32854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32855
2a8ab7f2
DM
32856 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32857 large parameters.
32858
10f62770
DM
32859 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32860
5f0bdb18
DM
32861 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32862 'err' in the ifdef scope in which it is actually used.
32863
09a3453f
DM
32864 * nss/nss_db/db-init.c: Include string.h
32865
b4b2eb5e
DM
328662012-03-12 David S. Miller <davem@davemloft.net>
32867
98bb2f1c
DM
32868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32869 masking out of the most significant byte of random value used.
32870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32871 Fix coding style in previous change.
32872
b4b2eb5e
DM
32873 * sysdeps/unix/sysv/linux/kernel-features.h
32874 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32875 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32876 expression.
32877 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32878 later.
32879
6e226b09
DM
328802012-03-11 David S. Miller <davem@davemloft.net>
32881
a1bcbd40
DM
32882 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32883 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32885 for 'resultvar' otherwise things get truncated on 64-bit.
32886
cb9d6174
DM
32887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32888 Fix masking out of the most significant byte of random value used.
32889
6e226b09
DM
32890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32891
058c132d
AS
328922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32893
32894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32895
2d2cd515
DM
328962012-03-09 David S. Miller <davem@davemloft.net>
32897
32898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32899 variables with appropriate CPP guards.
32900 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32901 frame pointer, not the stack pointer. Correct layout comments. Fix test
32902 on resulting framesize and the management of the outregs buffer for pltexit.
32903 Preserve floating point return values across _dl_call_pltexit call.
32904 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32905 framesize and the management of the outregs buffer for pltexit.
32906 Preserve floating point return values across _dl_call_pltexit
32907 call.
32908 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32909 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32910 (print_exit): Fix format string for return register value.
32911
9a07f9d0
JM
329122012-03-10 Joseph Myers <joseph@codesourcery.com>
32913
32914 * sunrpc/Makefile (others): Add rpcgen.
32915 ($(objpfx)rpcgen): Remove special build rule and dependency on
32916 libc.
32917 * sunrpc/rpcgen.c: New file.
32918
547b5e30
PE
329192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32920
c524201a
PE
32921 [BZ #13673]
32922 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32923 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32924 * sysdeps/i386/crti.S: Likewise.
32925 * sysdeps/i386/crtn.S: Likewise.
32926 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32928 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32929 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32930 * sysdeps/sh/crti.S: Likewise.
32931 * sysdeps/sh/crtn.S: Likewise.
32932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32933
7b6235f2
PE
32934 [BZ #13673]
32935 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32936 with URL.
32937 * locale/programs/locfile-kw.gperf: Likewise.
32938 * locale/programs/charmap-kw.h: Regenerated.
32939 * locale/programs/locfile-kw.h: Likewise.
32940
547b5e30
PE
32941 [BZ #13673]
32942 * intl/plural.y: Replace FSF snail mail address with URL.
32943 * intl/plural.c: Regenerated.
32944
5f0a5dae
RH
329452012-03-09 Richard Henderson <rth@twiddle.net>
32946
32947 * include/math_private.h: Remove file.
32948 * math/math_private.h: Move file ...
32949 * sysdeps/generic/math_private.h: ... here.
32950
b8c03620
RH
32951 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32952 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32953 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32954
4e234f5d 32955 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32956 and <math_private.h>.
32957 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32958 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32959 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32960 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32961 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33045 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33050 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33051 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33062 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33063 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33071 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33076 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33079 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33086 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33096 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33099 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33100 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33102 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33103 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33104 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33105 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33106 * sysdeps/ieee754/k_standard.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33267 * sysdeps/ieee754/s_lib_version.c: Likewise.
33268 * sysdeps/ieee754/s_matherr.c: Likewise.
33269 * sysdeps/ieee754/s_signgam.c: Likewise.
33270 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33272 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33273 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33274 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33276 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33277 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33278 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33279 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33280 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33281 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33282 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33283 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33284 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33287 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33288 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33291
1991fa03
JM
332922012-03-09 Joseph Myers <joseph@codesourcery.com>
33293
33294 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33295 * sunrpc/rpc_main.c: Likewise.
33296 * sunrpc/rpc_svcout.c: Likewise.
33297
60d6f5a6
DM
332982012-03-09 David S. Miller <davem@davemloft.net>
33299
33300 * include/math_private.h: New file.
33301
4962050e
JM
333022012-03-09 Joseph Myers <joseph@codesourcery.com>
33303
02a6f887
JM
33304 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33305 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33306 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33307 from <bits/socket_type.h>.
33308 (enum __socket_type): Don't define here.
33309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33311 bits/socket_type.h.
33312
c6e013c1
JM
33313 [BZ #13566]
33314 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33315 checking __USE_GNU.
33316
4962050e
JM
33317 * Makerules ($(inst_includedir)/%.h): New rule.
33318 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33319 (install-others): Remove variable setting.
33320 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33321
38842f45
RH
333222012-03-08 Richard Henderson <rth@twiddle.net>
33323
67bb6da6
RH
33324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33325 from macro to inline function; merge with the
33326 !__LIBC_INTERNAL_MATH_INLINES version.
33327 (__ieee754_sqrtf): Likewise.
33328
15194b4b
RH
33329 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33330 to inline function.
33331 (__rintf, __floor, __floorf): Likewise.
33332
64e21ede
RH
33333 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33334 macro to inline function.
33335 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33336
38842f45
RH
33337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33338 not <math/math_private.h>.
33339
c64bf5fe
DM
333402012-03-08 David S. Miller <davem@davemloft.net>
33341
33342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33343 copyright year.
33344 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33345
82d86f28
TS
333462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33347
33348 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33349 normalization.
33350 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33351 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33352
aea5d727
UD
333532012-03-08 Ulrich Drepper <drepper@gmail.com>
33354
33355 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33356 be defined individually, they must be defined as a block. Define
33357 S for printing a string instead of hidint the different by using a
33358 macro for adding the 'l'.
33359 * stdio-common/tst-fphex-wide.c: Adjust.
33360
70bca0a3
MP
333612012-03-07 Marek Polacek <polacek@redhat.com>
33362
33363 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33364
65b81130
MP
333652012-03-08 Marek Polacek <polacek@redhat.com>
33366
33367 [BZ #13806]
33368 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33369 * stdio-common/tst-fphex.c: Define a few macros to make the
33370 test reusable. Use them.
33371 * stdio-common/tst-fphex-wide.c: New file.
33372
07037eeb
JM
333732012-03-08 Joseph Myers <joseph@codesourcery.com>
33374
a7a93d50
JM
33375 [BZ #6911]
33376 * manual/macros.texi (gnusystems): New macro.
33377 (nongnusystems): Likewise.
33378 (gnulinuxhurdsystems): Likewise.
33379 (gnuhurdsystems): Likewise..
33380 (gnulinuxsystems): Likewise.
33381 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33382 variants of the GNU system, not "GNU system".
33383 * manual/conf.texi: Likewise.
33384 * manual/errno.texi: Likewise. Update example of errno macro
33385 expansion.
33386 * manual/filesys.texi: Likewise.
33387 (getumask): Document as specific to GNU/Hurd.
33388 * manual/install.texi: Likewise. Reword some references to
33389 GNU/Linux.
33390 * manual/intro.texi: Likewise.
33391 * manual/io.texi: Likewise.
33392 (File Name Portability): Detail which constraints are inapplicable
33393 to all GNU systems and which are only inapplicable to GNU/Hurd.
33394 * manual/job.texi: Likewise.
33395 * manual/llio.texi: Likewise.
33396 (O_NOCTTY): Document as present on GNU/Linux.
33397 * manual/maint.texi: Likewise.
33398 * manual/memory.texi: Likewise.
33399 * manual/pattern.texi: Likewise.
33400 * manual/pipe.texi: Likewise.
33401 * manual/process.texi: Likewise.
33402 * manual/resource.texi: Likewise.
33403 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33404 child on GNU/Hurd.
33405 * manual/setjmp.texi: Likewise.
33406 * manual/signal.texi: Likewise.
33407 * manual/startup.texi: Likewise.
33408 * manual/stdio.texi: Likewise.
33409 * manual/terminal.texi: Likewise.
33410 (ONLCR): Document as POSIX.
33411 (OXTABS): Document availability on GNU/Linux as XTABS.
33412 (ONOEOT): Document availability separately from other bits.
33413 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33414 * manual/time.texi: Likewise.
33415 * manual/users.texi: Likewise.
33416 * INSTALL: Regenerated.
33417 * sysdeps/gnu/errlist.c: Regenerated.
33418
07037eeb
JM
33419 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33420 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33421 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33422 puts.
33423 * configure: Regenerated.
33424
d1d3431a
JM
334252012-03-07 Joseph Myers <joseph@codesourcery.com>
33426
af6a1e37
JM
33427 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33428 default includes instead of AC_HEADER_CHECK.
33429 * sysdeps/i386/configure: Regenerated.
33430
d1d3431a
JM
33431 [BZ #10716]
33432 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33433 * math/s_cacoshf.c (__cacoshf): Likewise.
33434 * math/s_cacoshl.c (__cacoshl): Likewise.
33435 * math/s_casinh.c (__casinh): Set signs of result from argument.
33436 * math/s_casinhf.c (__casinhf): Likewise.
33437 * math/s_casinhl.c (__casinhl): Likewise.
33438 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33439 (casinh_test): Add more tests.
33440 * sysdeps/i386/fpu/libm-test-ulps: Update.
33441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442
482ff4da
UD
334432012-03-07 Ulrich Drepper <drepper@gmail.com>
33444
872fda05
UD
33445 * po/zh_TW.po: Update from translation team.
33446
a4300c7a
UD
33447 * login/Makefile (distribute): Remove variable.
33448 * catgets/Makefile: Likewise.
33449 * mach/Makefile: Likewise.
33450 * malloc/Makefile: Likewise.
33451 * misc/Makefile: Likewise.
33452 * iconv/Makefile: Likewise.
33453 * nscd/Makefile: Likewise.
33454 * hurd/Makefile: Likewise.
33455 * manual/Makefile: Likewise.
33456 * locale/Makefile: Likewise.
33457 * intl/Makefile: Likewise.
33458 * conform/Makefile: Likewise.
33459 * nss/Makefile: Likewise.
33460 * time/Makefile: Likewise.
33461 * soft-fp/Makefile: Likewise.
33462 * dirent/Makefile: Likewise.
33463 * gmon/Makefile: Likewise.
33464 * po/Makefile: Likewise.
33465 * rt/Makefile: Likewise.
33466 * socket/Makefile: Likewise.
33467 * math/Makefile: Likewise.
33468 * signal/Makefile: Likewise.
33469 * debug/Makefile: Likewise.
33470 * elf/Makefile: Likewise.
33471 * timezone/Makefile: Likewise.
33472 * stdlib/Makefile: Likewise.
33473 * iconvdata/Makefile: Likewise.
33474 * sunrpc/Makefile: Likewise.
33475 * io/Makefile: Likewise.
33476 * argp/Makefile: Likewise.
33477 * inet/Makefile: Likewise.
33478 * hesiod/Makefile: Likewise.
33479 * grp/Makefile: Likewise.
33480 * csu/Makefile: Likewise.
33481 * wctype/Makefile: Likewise.
33482 * crypt/Makefile: Likewise.
33483 * libio/Makefile: Likewise.
33484 * string/Makefile: Likewise.
33485 * nis/Makefile: Likewise.
33486 * resolv/Makefile: Likewise.
33487 * stdio-common/Makefile: Likewise.
33488 * wcsmbs/Makefile: Likewise.
33489 * dlfcn/Makefile: Likewise.
33490 * posix/Makefile: Likewise.
33491
3b7c4e74 33492 [BZ #6959]
482ff4da
UD
33493 * timezone/Makefile: Don't install timezone files, just the programs
33494 and scripts.
33495
f72ed77d
UD
334962012-03-06 Ulrich Drepper <drepper@gmail.com>
33497
a000466f
UD
33498 * nss/databases.def: Add missing gshadow entry.
33499
f72ed77d
UD
33500 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33501
a53b7a4e
MP
335022012-03-06 Marek Polacek <polacek@redhat.com>
33503
33504 [BZ #13726]
33505 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33506 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33507 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33508 * stdio-common/tst-long-dbl-fphex.c: New file.
33509
e9258400
DM
335102012-03-06 David S. Miller <davem@davemloft.net>
33511
33512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33513 (set_obp_int): New function.
33514 (get_obp_int): New function.
33515 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33517 Avoid unused variable warnings on 'val' and use builtin_expect.
33518 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33519 __builtin_expect.
e9258400
DM
33520 (INLINE_CLONE_SYSCALL): Likewise.
33521
3bd2c723
DM
335222012-03-05 David S. Miller <davem@davemloft.net>
33523
33524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33525
bbb78d03
AS
335262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33527
884c5db4
AS
33528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33529
bbb78d03
AS
33530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33531 only for |x| >= 40.
33532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33533
1c9f702a 335342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33535
33536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33537 Replace gettimeofday with __vdso_gettimeofday.
33538
7be16f82
RM
33539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33540 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33541 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33542
33543 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33544 time with __vdso_time.
33545
ed58a00f
JM
335462012-03-05 Joseph Myers <joseph@codesourcery.com>
33547
33548 * manual/lang.texi (size_t): Note types to which size_t may be
33549 equivalent with the GNU C Library, but do not describe when
33550 differences between them are significant.
33551
30ee4ced
AJ
335522012-03-05 Andreas Jaeger <aj@suse.de>
33553
33554 * sysdeps/i386/fpu/libm-test-ulps: Update.
33555
b7cd39e8
JM
335562012-03-05 Joseph Myers <joseph@codesourcery.com>
33557
33558 [BZ #3976]
33559 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33560 (__ieee754_pow): Save and restore rounding mode and use
33561 round-to-nearest for main computations.
33562 * math/libm-test.inc (pow_test_tonearest): New function.
33563 (pow_test_towardzero): Likewise.
33564 (pow_test_downward): Likewise.
33565 (pow_test_upward): Likewise.
33566 (main): Call the new functions.
33567 * sysdeps/i386/fpu/libm-test-ulps: Update.
33568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33569
33570 [BZ #3976]
33571 * math/libm-test.inc (cosh_test_tonearest): New function.
33572 (cosh_test_towardzero): Likewise.
33573 (cosh_test_downward): Likewise.
33574 (cosh_test_upward): Likewise.
33575 (sinh_test_tonearest): Likewise.
33576 (sinh_test_towardzero): Likewise.
33577 (sinh_test_downward): Likewise.
33578 (sinh_test_upward): Likewise.
33579 (main): Call the new functions.
33580 * sysdeps/i386/fpu/libm-test-ulps: Update.
33581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33582
6c6a98c9
TV
335832012-03-05 Tom de Vries <tom@codesourcery.com>
33584
33585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33586 default stack guard is set in last bytes.
33587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33588
21bb2d2e 335892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33590
21bb2d2e 33591 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33592
21bb2d2e
AJ
33593 [BZ #13656]
33594 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33595 possibly allocate from heap instead of stack.
33596 * stdio-common/bug-vfprintf-nargs.c: New file.
33597 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33598
c6922934
AS
335992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33600
33601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33602
bc957d53
MP
336032012-03-03 Marek Polacek <polacek@redhat.com>
33604
33605 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33606 * math/math_private.h: Likewise.
33607 * stdlib/tst-strtod.c: Likewise.
33608 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33609 * sysdeps/x86_64/bits/atomic.h: Likewise.
33610
6358490d
DM
336112012-03-02 David S. Miller <davem@davemloft.net>
33612
33613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33617 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33618 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33619 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33620 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33621
01ae168d
RM
336222012-03-02 Roland McGrath <roland@hack.frob.com>
33623
d9a17c07
RM
33624 [BZ #13792]
33625 * manual/examples/README: New file, says the example source files
33626 can be used under GPL>=2.
33627 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33628 line containing just "*/".
33629 * manual/examples/add.c: Add copyright header (GPL>=2).
33630 * manual/examples/argp-ex1.c: Likewise.
33631 * manual/examples/argp-ex2.c: Likewise.
33632 * manual/examples/argp-ex3.c: Likewise.
33633 * manual/examples/argp-ex4.c: Likewise.
33634 * manual/examples/atexit.c: Likewise.
33635 * manual/examples/db.c: Likewise.
33636 * manual/examples/dir.c: Likewise.
33637 * manual/examples/dir2.c: Likewise.
33638 * manual/examples/execinfo.c: Likewise.
33639 * manual/examples/filecli.c: Likewise.
33640 * manual/examples/filesrv.c: Likewise.
33641 * manual/examples/fmtmsgexpl.c: Likewise.
33642 * manual/examples/genpass.c: Likewise.
33643 * manual/examples/inetcli.c: Likewise.
33644 * manual/examples/inetsrv.c: Likewise.
33645 * manual/examples/isockad.c: Likewise.
33646 * manual/examples/longopt.c: Likewise.
33647 * manual/examples/memopen.c: Likewise.
33648 * manual/examples/memstrm.c: Likewise.
33649 * manual/examples/mkfsock.c: Likewise.
33650 * manual/examples/mkisock.c: Likewise.
33651 * manual/examples/mygetpass.c: Likewise.
33652 * manual/examples/pipe.c: Likewise.
33653 * manual/examples/popen.c: Likewise.
33654 * manual/examples/rprintf.c: Likewise.
33655 * manual/examples/search.c: Likewise.
33656 * manual/examples/select.c: Likewise.
33657 * manual/examples/setjmp.c: Likewise.
33658 * manual/examples/sigh1.c: Likewise.
33659 * manual/examples/sigusr.c: Likewise.
33660 * manual/examples/stpcpy.c: Likewise.
33661 * manual/examples/strdupa.c: Likewise.
33662 * manual/examples/strftim.c: Likewise.
33663 * manual/examples/strncat.c: Likewise.
33664 * manual/examples/subopt.c: Likewise.
33665 * manual/examples/swapcontext.c: Likewise.
33666 * manual/examples/termios.c: Likewise.
33667 * manual/examples/testopt.c: Likewise.
33668 * manual/examples/testpass.c: Likewise.
33669 * manual/examples/timeval_subtract.c: Likewise.
33670
01ae168d
RM
33671 [BZ #13792]
33672 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33673 function to ...
33674 * manual/timeval_subtract.c.texi: ... here, new file.
33675
49efa33d
DM
336762012-03-02 David S. Miller <davem@davemloft.net>
33677
33678 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33679
28afd92d
JM
336802012-03-02 Joseph Myers <joseph@codesourcery.com>
33681
804360ed
JM
33682 [BZ #3976]
33683 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33684 (__sin): Save and restore rounding mode and use round-to-nearest
33685 for all computations.
33686 (__cos): Save and restore rounding mode and use round-to-nearest
33687 for all computations.
33688 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33689 <fenv.h>.
33690 (tan): Save and restore rounding mode and use round-to-nearest for
33691 all computations.
33692 * math/libm-test.inc (cos_test_tonearest): New function.
33693 (cos_test_towardzero): Likewise.
33694 (cos_test_downward): Likewise.
33695 (cos_test_upward): Likewise.
33696 (sin_test_tonearest): Likewise.
33697 (sin_test_towardzero): Likewise.
33698 (sin_test_downward): Likewise.
33699 (sin_test_upward): Likewise.
33700 (tan_test_tonearest): Likewise.
33701 (tan_test_towardzero): Likewise.
33702 (tan_test_downward): Likewise.
33703 (tan_test_upward): Likewise.
33704 (main): Call the new functions.
33705 * sysdeps/i386/fpu/libm-test-ulps: Update.
33706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33707
a6d06d7b
JM
33708 [BZ #10135]
33709 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33710 small n, then large n, before computing and testing k+n.
33711 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33713 Likewise.
33714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33715 Likewise.
33716 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33717 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33723 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33724 * math/libm-test.inc (scalbn_test): Add more tests.
33725 (scalbln_test): Likewise.
33726
07e12bb3
JM
33727 * manual/filesys.texi (mode_t): Describe constraints on size and
33728 signedness, not exact equivalence to a particular type.
33729 (ino_t): Likewise.
33730 (ino64_t): Likewise.
33731 (dev_t): Likewise.
33732 (nlink_t): Likewise.
33733 (blkcnt_t): Likewise.
33734 (blkcnt64_t): Likewise.
33735 * manual/llio.texi (off_t): Likewise.
33736
28afd92d
JM
33737 [BZ #3976]
33738 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33739 (__ieee754_exp): Save and restore rounding mode and use
33740 round-to-nearest for all computations.
33741 * math/libm-test.inc (exp_test_tonearest): New function.
33742 (exp_test_towardzero): Likewise.
33743 (exp_test_downward): Likewise.
33744 (exp_test_upward): Likewise.
33745 (main): Call the new functions.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748
b1eeb65d
CD
337492012-03-01 Chris Demetriou <cgd@google.com>
33750
33751 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33752 have predictable order.
33753
53362a4b
DM
337542012-03-01 David S. Miller <davem@davemloft.net>
33755
3c969083
DM
33756 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33757
759707de
DM
33758 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33761 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33762
dfdb8ff2
DM
33763 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33764 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33765 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33768 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33772
ead89f96
DM
33773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33774
7f66bd07
DM
33775 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33776 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33777 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33778
53362a4b
DM
33779 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33780 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33782 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33783 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33786 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33787 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33788 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33789 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33792 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33793 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33795 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33796 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33797 * sysdeps/sparc/elf/configure: Regenerated.
33798
7b1902cb
JM
337992012-03-01 Joseph Myers <joseph@codesourcery.com>
33800
bec039bc
JM
33801 * configure.in (AS, LD): Require binutils 2.20 or later.
33802 * configure: Regenerated.
33803 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33804 as required minimum version.
33805 * INSTALL: Regenerated.
33806
7b1902cb
JM
33807 [BZ #2541]
33808 [BZ #4108]
33809 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33810 before squaring exponent.
33811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33812 bottom long double and 27 bits of top long double before squaring
33813 exponent.
33814 * math/libm-test.inc (erfc_test): Add more tests.
33815 * sysdeps/i386/fpu/libm-test-ulps: Update.
33816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33818
f775c276
KT
338192012-03-01 Kai Tietz <ktietz@redhat.com>
33820
33821 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33822 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33823 containing bit-fields.
33824 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33825 * soft-fp/single.h (_FP_UNION_S): Likewise.
33826 * soft-fp/double.h (_FP_UNION_D): Likewise.
33827
5b8a4d4a
JM
338282012-02-29 Joseph Myers <joseph@codesourcery.com>
33829
0bab47b6
JM
33830 [BZ #13786]
33831 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33832 not include ../strcmp.S.
33833 [USE_AS_STRNCASECMP_L]: Likewise.
33834 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33835 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33836 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33837 (__strncasecmp_l_ia32): Define as alias to
33838 __strncasecmp_l_nonascii.
33839
0fcad3e2
JM
33840 [BZ #5794]
33841 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33842 * sysdeps/i386/fpu/libm-test-ulps: Update.
33843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33844
5b8a4d4a
JM
33845 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33847
8fdceb2e
JL
338482012-02-29 Jeff Law <law@redhat.com>
33849
33850 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33851 out of bounds read.
33852
1f393a11
MP
338532012-02-29 Marek Polacek <polacek@redhat.com>
33854
33855 [BZ #13706]
33856 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33857 * elf/Makefile: Add rules to run tst-unused-dep.out.
33858
8847f037
DM
338592012-02-28 David S. Miller <davem@davemloft.net>
33860
33861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33865 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33866 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33867
169d7f11
JM
338682012-02-29 Joseph Myers <joseph@codesourcery.com>
33869
33870 * math/libm-test.inc (llround_test): Move one test from
33871 lround_test. Use TEST_f_L in moved test.
33872 (lround_test): Move misplaced test to llround_test. Add testcase
33873 from bug 2561.
33874
39adf059
UD
338752012-02-28 Ulrich Drepper <drepper@gmail.com>
33876
33877 * sysdeps/x86_64/fpu/e_expf.S: New file.
33878 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33879
71b5d1c5
SB
338802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33881
33882 [BZ #13637]
33883 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33884 of remain_len that may cause incomplete multi-byte character and
33885 false match.
33886 * posix/bug-regex33.c: New file.
33887 * posix/Makefile (tests): Add bug-regex33.
33888
1f77f049
JM
338892012-02-28 Joseph Myers <joseph@codesourcery.com>
33890
33891 * manual/macros.texi: New file.
33892 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33893 * manual/libc.texinfo: Include macros.texi.
33894 * manual/creatute.texi: Likewise.
33895 * manual/install.texi: Likewise.
33896 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33897 @glibcadj{} in references to the GNU C Library.
33898 * manual/charset.texi: Likewise.
33899 * manual/conf.texi: Likewise.
33900 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33901 when not using those macros.
33902 * manual/creature.texi: Likewise.
33903 * manual/crypt.texi: Likewise.
33904 * manual/errno.texi: Likewise.
33905 * manual/filesys.texi: Likewise.
33906 * manual/header.texi: Likewise.
33907 * manual/install.texi: Likewise.
33908 * manual/intro.texi: Likewise.
33909 * manual/io.texi: Likewise.
33910 * manual/job.texi: Likewise.
33911 * manual/lang.texi: Likewise.
33912 * manual/libc.texiinfo: Likewise.
33913 * manual/llio.texi: Likewise.
33914 * manual/locale.texi: Likewise.
33915 * manual/maint.texi: Likewise.
33916 * manual/math.texi: Likewise.
33917 * manual/memory.texi: Likewise.
33918 * manual/message.texi: Likewise.
33919 * manual/nss.texi: Likewise.
33920 * manual/pattern.texi: Likewise.
33921 * manual/process.texi: Likewise.
33922 * manual/resource.texi: Likewise.
33923 * manual/search.texi: Likewise.
33924 * manual/setjmp.texi: Likewise.
33925 * manual/signal.texi: Likewise.
33926 * manual/socket.texi: Likewise.
33927 * manual/startup.texi: Likewise.
33928 * manual/stdio.texi: Likewise.
33929 * manual/string.texi: Likewise.
33930 * manual/sysinfo.texi: Likewise.
33931 * manual/syslog.texi: Likewise.
33932 * manual/terminal.texi: Likewise.
33933 * manual/time.texi: Likewise.
33934 * manual/users.texi: Likewise.
33935 * INSTALL: Regenerated.
33936 * NOTES: Regenerated.
d40c5d54 33937 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33938
450bf206
AS
339392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33940
33941 * include/dirent.h: Include <dirstream.h> before
33942 <dirent/dirent.h>.
33943
741a235b
DM
339442012-02-28 David S. Miller <davem@davemloft.net>
33945
33946 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33947 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33948 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33950
d6b5aa58
DM
339512012-02-27 David S. Miller <davem@davemloft.net>
33952
1aff59a3
DM
33953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33955 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33956 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33957
d6b5aa58
DM
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33959 frame pointer instead of stack pointer relative arg slot.
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33963
433f48bf
CD
339642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33965
33966 [BZ #3992]
33967 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33968
d674b76d
DM
339692012-02-27 David S. Miller <davem@davemloft.net>
33970
33971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33977 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33978 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33979
0e7727f7
JM
339802012-02-27 Joseph Myers <joseph@codesourcery.com>
33981
33982 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33983 later. Allow versions 5-9.
43be4ca2 33984 * configure: Regenerated.
0e7727f7
JM
33985 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33986 required minimum version and 4.6 as recommended version. Do not
33987 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33988 * INSTALL: Regenerated.
0e7727f7 33989
a78bc654
DM
339902012-02-27 David S. Miller <davem@davemloft.net>
33991
428d5830
DM
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33998 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33999 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34000
a78bc654
DM
34001 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34002 manipulate bits before adding and subtracting TWO112[sx].
34003 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34004
4579f81c
RM
340052012-02-27 Roland McGrath <roland@hack.frob.com>
34006
36c8acb4
RM
34007 [BZ #13775]
34008 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34009 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34010 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34011 being in POSIX, because they are in 1003.1-2008.
34012
84ad622b
RM
34013 * rt/tst-aio.c: Include <fcntl.h>.
34014 * rt/tst-aio7.c: Likewise.
34015 * rt/tst-aio64.c: Likewise.
34016
4579f81c
RM
34017 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34018
abd923db
JM
340192012-02-27 Joseph Myers <joseph@codesourcery.com>
34020
34021 * manual/install.texi (--with-headers): Describe headers as
34022 interface headers, not private headers.
34023 (Specific advice for GNU/Linux systems): Describe use of headers
34024 from "make headers_install", not private headers from older
34025 kernels.
43be4ca2 34026 * INSTALL: Regenerated.
abd923db
JM
34027 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34028 Change to 2.6.19.
34029 * sysdeps/unix/sysv/linux/configure: Regenerated.
34030
6664049b
JM
34031 * manual/llio.texi (fclean): Remove documentation.
34032
bb8b6697
JM
34033 * manual/Makefile (libc-texi-generated): New variable. Include
34034 version.texi.
34035 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34036 $(libc-texi-generated), not duplicated list of files.
34037 (version.texi, stamp-version): New rules.
34038 (realclean): Remove $(libc-texi-generated), not individual files
34039 from that list. Do not remove dir-add.texinfo.
34040 * manual/libc.texinfo: Comment out uses of edition numbers and
34041 references to printed manual. Remove last-updated dates.
34042 (EDITION): Comment out.
34043 (ISBN): Likewise.
34044 (VERSION, UPDATED): Remove.
34045 (version.texi): Include.
34046
12e5c3b9
AS
340472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34048
34049 * sysdeps/posix/spawni.c: Include <signal.h>.
34050 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34051 * sysdeps/pthread/aio_fsync.c: Likewise.
34052
4efeffc1 340532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34054
ba63ba08
UD
34055 * conform/Makefile (tests): Run only when not cross-compiling and
34056 when fast-check is not defined.
34057
d94a4670
UD
34058 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34059 * conform/data/limits.h-data: Fixes for POSIX2008.
34060 * conform/run-conformtest.sh: Run all tests.
34061 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34062 headers.
34063 * include/bits/dlfcn.h: Likewise.
34064 * include/langinfo.h: Likewise.
34065 * include/monetary.h: Likewise.
34066 * include/sys/poll.h: Likewise.
34067
34068 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34069 for __USE_GNU.
34070 * posix/spawn.h: Define __need_sigset_t.
34071 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34072 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34073 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34074 to get sigevent_t only.
34075 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34076 only for __USE_GNU.
34077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34078 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34079 process_vm_writev only for __USE_GNU.
34080 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34081
34082 * conform/Makefile: For now ignore errors from run-conformtest.
34083 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34084 POSIX to avoid namespace pollution. Don't prepend headers.
34085 * conform/data/aio.h-data: Fixes for POSIX testing.
34086 * conform/data/fcntl.h-data: Likewise.
34087 * conform/data/glob.h-data: Likewise.
34088 * conform/data/grp.h-data: Likewise.
34089 * conform/data/pthread.h-data: Likewise.
34090 * conform/data/pwd.h-data: Likewise.
34091 * conform/data/signal.h-data: Likewise.
34092 * conform/data/spawn.h-data: Likewise.
34093 * conform/data/stdio.h-data: Likewise.
34094 * conform/data/stdlib.h-data: Likewise.
34095 * conform/data/stropts.h-data: Likewise.
34096 * conform/data/sys/mman.h-data: Likewise.
34097 * conform/data/sys/stat.h-data: Likewise.
34098 * conform/data/sys/types.h-data: Likewise.
34099 * conform/data/sys/wait.h-data: Likewise.
34100 * conform/data/time.h-data: Likewise.
34101 * conform/data/unistd.h-data: Likewise.
34102 * conform/data/utime.h-data: Likewise.
34103
34104 * io/sys/stat.h: fchmod was always in POSIX.
34105 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34106 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34107 * rt/aio.h: Define __need_timespec before including <time.h>.
34108 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34109 struct. Add forward declaration of pthread_attr_t and use it in
34110 sigevent.
34111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34113 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34114 always remove CLK_TCK definition.
34115
c20105c3
AS
341162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34117
34118 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34119
7a270350
UD
341202012-02-25 Ulrich Drepper <drepper@gmail.com>
34121
31341567
UD
34122 * conform/run-conformtest.sh: New file.
34123 * conform/Makefile: Run run-conformtest for tests.
34124 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34125 support.
34126
34127 * conform/data/uchar.h-data: New file.
34128 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34129 * conform/data/arpa/inet.h-data: Likewise.
34130 * conform/data/assert.h-data: Likewise.
34131 * conform/data/complex.h-data: Likewise.
34132 * conform/data/cpio.h-data: Likewise.
34133 * conform/data/ctype.h-data: Likewise.
34134 * conform/data/dirent.h-data: Likewise.
34135 * conform/data/dlfcn.h-data: Likewise.
34136 * conform/data/errno.h-data: Likewise.
34137 * conform/data/fcntl.h-data: Likewise.
34138 * conform/data/float.h-data: Likewise.
34139 * conform/data/fmtmsg.h-data: Likewise.
34140 * conform/data/fnmatch.h-data: Likewise.
34141 * conform/data/ftw.h-data: Likewise.
34142 * conform/data/glob.h-data: Likewise.
34143 * conform/data/grp.h-data: Likewise.
34144 * conform/data/iconv.h-data: Likewise.
34145 * conform/data/inttypes.h-data: Likewise.
34146 * conform/data/langinfo.h-data: Likewise.
34147 * conform/data/libgen.h-data: Likewise.
34148 * conform/data/limits.h-data: Likewise.
34149 * conform/data/locale.h-data: Likewise.
34150 * conform/data/math.h-data: Likewise.
34151 * conform/data/monetary.h-data: Likewise.
34152 * conform/data/mqueue.h-data: Likewise.
34153 * conform/data/ndbm.h-data: Likewise.
34154 * conform/data/net/if.h-data: Likewise.
34155 * conform/data/netdb.h-data: Likewise.
34156 * conform/data/netinet/in.h-data: Likewise.
34157 * conform/data/nl_types.h-data: Likewise.
34158 * conform/data/poll.h-data: Likewise.
34159 * conform/data/pthread.h-data: Likewise.
34160 * conform/data/pwd.h-data: Likewise.
34161 * conform/data/regex.h-data: Likewise.
34162 * conform/data/sched.h-data: Likewise.
34163 * conform/data/search.h-data: Likewise.
34164 * conform/data/semaphore.h-data: Likewise.
34165 * conform/data/setjmp.h-data: Likewise.
34166 * conform/data/signal.h-data: Likewise.
34167 * conform/data/spawn.h-data: Likewise.
34168 * conform/data/stdarg.h-data: Likewise.
34169 * conform/data/stdio.h-data: Likewise.
34170 * conform/data/stdlib.h-data: Likewise.
34171 * conform/data/string.h-data: Likewise.
34172 * conform/data/strings.h-data: Likewise.
34173 * conform/data/stropts.h-data: Likewise.
34174 * conform/data/sys/ipc.h-data: Likewise.
34175 * conform/data/sys/mman.h-data: Likewise.
34176 * conform/data/sys/msg.h-data: Likewise.
34177 * conform/data/sys/resource.h-data: Likewise.
34178 * conform/data/sys/select.h-data: Likewise.
34179 * conform/data/sys/sem.h-data: Likewise.
34180 * conform/data/sys/shm.h-data: Likewise.
34181 * conform/data/sys/socket.h-data: Likewise.
34182 * conform/data/sys/stat.h-data: Likewise.
34183 * conform/data/sys/statvfs.h-data: Likewise.
34184 * conform/data/sys/time.h-data: Likewise.
34185 * conform/data/sys/timeb.h-data: Likewise.
34186 * conform/data/sys/times.h-data: Likewise.
34187 * conform/data/sys/types.h-data: Likewise.
34188 * conform/data/sys/uio.h-data: Likewise.
34189 * conform/data/sys/un.h-data: Likewise.
34190 * conform/data/sys/utsname.h-data: Likewise.
34191 * conform/data/sys/wait.h-data: Likewise.
34192 * conform/data/syslog.h-data: Likewise.
34193 * conform/data/tar.h-data: Likewise.
34194 * conform/data/termios.h-data: Likewise.
34195 * conform/data/utime.h-data: Likewise.
34196 * conform/data/utmpx.h-data: Likewise.
34197 * conform/data/varargs.h-data: Likewise.
34198 * conform/data/wchar.h-data: Likewise.
34199 * conform/data/wctype.h-data: Likewise.
34200 * conform/data/wordexp.h-data: Likewise.
34201
34202 * include/stropts.h: New file.
34203 * include/uchar.h: New file.
34204 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34205 * include/assert.h: Likewise.
34206 * include/ctype.h: Likewise.
34207 * include/dirent.h: Likewise.
34208 * include/dlfcn.h: Likewise.
34209 * include/fcntl.h: Likewise.
34210 * include/fnmatch.h: Likewise.
34211 * include/glob.h: Likewise.
34212 * include/grp.h: Likewise.
34213 * include/libio.h: Likewise.
34214 * include/locale.h: Likewise.
34215 * include/math.h: Likewise.
34216 * include/net/if.h: Likewise.
34217 * include/netdb.h: Likewise.
34218 * include/netinet/in.h: Likewise.
34219 * include/pthread.h: Likewise.
34220 * include/pwd.h: Likewise.
34221 * include/regex.h: Likewise.
34222 * include/sched.h: Likewise.
34223 * include/search.h: Likewise.
34224 * include/setjmp.h: Likewise.
34225 * include/signal.h: Likewise.
34226 * include/stdio.h: Likewise.
34227 * include/stdlib.h: Likewise.
34228 * include/string.h: Likewise.
34229 * include/sys/cdefs.h: Likewise.
34230 * include/sys/mman.h: Likewise.
34231 * include/sys/msg.h: Likewise.
34232 * include/sys/resource.h: Likewise.
34233 * include/sys/select.h: Likewise.
34234 * include/sys/socket.h: Likewise.
34235 * include/sys/stat.h: Likewise.
34236 * include/sys/statvfs.h: Likewise.
34237 * include/sys/time.h: Likewise.
34238 * include/sys/times.h: Likewise.
34239 * include/sys/uio.h: Likewise.
34240 * include/sys/utsname.h: Likewise.
34241 * include/sys/wait.h: Likewise.
34242 * include/termios.h: Likewise.
34243 * include/time.h: Likewise.
34244 * include/ulimit.h: Likewise.
34245 * include/unistd.h: Likewise.
34246 * include/utime.h: Likewise.
34247 * include/wchar.h: Likewise.
34248 * include/wctype.h: Likewise.
34249 * include/wordexp.h: Likewise.
34250
34251 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34252
7a270350
UD
34253 * time/time.h: TIME_UTC must be a macro.
34254 Make timespec_get available for ISO C11 only as well.
34255
7724defc
UD
342562012-02-24 Ulrich Drepper <drepper@gmail.com>
34257
34258 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34259 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34260
6b1d1d46
JM
342612012-02-24 Joseph Myers <joseph@codesourcery.com>
34262
34263 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34264
0f8bbd69
JM
342652012-02-24 Joseph Myers <joseph@codesourcery.com>
34266
34267 * manual/texinfo.tex: Update to version 2012-01-19.16.
34268
66ab80bc
JM
342692012-02-24 Joseph Myers <joseph@codesourcery.com>
34270
34271 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34272
74981cc5
RM
342732012-02-24 Roland McGrath <roland@hack.frob.com>
34274
ee968201
RM
34275 [BZ #13738]
34276 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34277 * manual/fdl-1.3.texi: New file.
34278 * manual/fdl-1.1.texi: File removed.
34279
74981cc5
RM
34280 [BZ #13738]
34281 * manual/libc.texinfo (FDL_VERSION): New @set.
34282 Use it for mention of FDL in cover text.
34283 (Documentation License): Use it in @include file name.
34284
7bb764bc
JM
342852012-02-22 Joseph Myers <joseph@codesourcery.com>
34286 Roland McGrath <roland@hack.frob.com>
34287
34288 [BZ #5461]
34289 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34290 not LONG_LONG_MAX and LONG_LONG_MIN.
34291 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34292 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34293 name.
34294 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34295
6cbeae47
JM
342962012-02-22 Joseph Myers <joseph@codesourcery.com>
34297
34298 [BZ #2547]
34299 [BZ #11365]
34300 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34301 manipulate bits before adding and subtracting TWO23[sx].
34302 * math/libm-test.inc (nearbyint_test): Add more tests.
34303
fe45ce09
JM
343042012-02-22 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #2548]
34307 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34308 bits before adding and subtracting TWO23[sx].
34309 * math/libm-test.inc (rint_test): Add more tests.
34310 (rint_test_tonearest): Likewise.
34311 (rint_test_towardzero): Likewise.
34312 (rint_test_downward): Likewise.
34313 (rint_test_upward: Likewise.
34314
ff3b3d82
JM
343152012-02-22 Joseph Myers <joseph@codesourcery.com>
34316
34317 [BZ #10110]
34318 * include/stdc-predef.h: New file. Extracted from features.h.
34319 * include/features.h: Include stdc-predef.h.
34320 * Makefile (headers): Add stdc-predef.h.
34321 * CONFORMANCE (Compiler limitations): Update.
34322
ef0aab35
JM
343232012-02-22 Joseph Myers <joseph@codesourcery.com>
34324
34325 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34326
58639409
DM
343272012-02-21 David S. Miller <davem@davemloft.net>
34328
34329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34331
c0e70b25
DM
343322012-02-20 David S. Miller <davem@davemloft.net>
34333
34334 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34335 using a normal save/restore sequence, rather than allocating a
34336 dummy stack frame just to store a frame pointer and restore.
34337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34338
fb06851d
JM
343392012-02-21 Joseph Myers <joseph@codesourcery.com>
34340
34341 * manual/install.texi: Fix stray word in line-wrapped comment.
34342
7a8b71c3
DM
343432012-02-20 David S. Miller <davem@davemloft.net>
34344
d510c123
DM
34345 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34346 both binutils and gcc support GOTDATA.
34347
0722d7c2
DM
34348 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34349 "rd %pc" in the PIC register setup sequences.
34350
3d2b3019
DM
34351 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34352 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34353 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34354 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34355 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34358 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34360 (SYSCALL_ERROR_HANDLER): Likewise.
34361 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34362 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34364 (SYSCALL_ERROR_HANDLER): Likewise.
34365
c80098a9
DM
34366 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34367 (HAVE_GCC_GOTDATA): New.
34368 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34369 relocation support in both binutils and gcc.
34370 * sysdeps/sparc/elf/configure: Regenerate.
34371
3a2545a0
DM
34372 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34373 * sysdeps/sparc/sparc32/elf/configure: Delete.
34374 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34375 * sysdeps/sparc/sparc64/elf/configure: Delete.
34376 * sysdeps/sparc/elf/configure.in: New file.
34377 * sysdeps/sparc/elf/configure: Generate.
34378
7a8b71c3
DM
34379 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34380 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34381 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34382 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34383 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34384
f1e86fca
JM
343852012-02-21 Joseph Myers <joseph@codesourcery.com>
34386
34387 * manual/install.texi: Do not mention specific glibc version
34388 numbers.
34389 * manual/libc.texinfo (VERSION, UPDATED): Update.
34390 (@copying): Use @copyright{} and range of years.
34391
0e7dfaef
JM
343922012-02-21 Joseph Myers <joseph@codesourcery.com>
34393
34394 [BZ #13695]
34395 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34396 [crti.S not in sysdirs] (generated): Do not append.
34397 [crti.S not in sysdirs] (omit-deps): Likewise.
34398 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34399 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34400 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34401 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34402 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34403 Likewise.
34404 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34405 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34406 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34407 * csu/defs.awk: Remove file.
34408 * sysdeps/generic/initfini.c: Likewise.
34409 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34410 variable.
34411 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34412 Likewise.
34413
599af3ca
JM
344142012-02-20 Joseph Myers <joseph@codesourcery.com>
34415
34416 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34418 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34421 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34422 <bits/epoll.h>.
34423 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34424 (__EPOLL_PACKED): Define to empty if not defined by
34425 <bits/epoll.h>.
34426 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34428 bits/epoll.h.
34429
0e499750
JM
344302012-02-20 Joseph Myers <joseph@codesourcery.com>
34431
34432 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34433 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34434 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34435 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34436 <bits/timerfd.h>.
34437 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34439 bits/timerfd.h.
34440
5ad91f6e
JM
344412012-02-20 Joseph Myers <joseph@codesourcery.com>
34442
34443 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34444 in C locale.
34445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34449
06b99b02
AJ
344502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34451
34452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34454
7638c0fd
AS
344552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34456
34457 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34458 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34459 defined.
34460 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34461 Likewise.
34462 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34463 entry for 2.16.
34464
92221550
AJ
344652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34466
34467 * math/w_acos.c: Use non-signaling floating-point comparisons.
34468 * math/w_acosf.c: Likewise.
34469 * math/w_acosh.c: Likewise.
34470 * math/w_acoshf.c: Likewise.
34471 * math/w_acoshl.c: Likewise.
34472 * math/w_acosl.c: Likewise.
34473 * math/w_asin.c: Likewise.
34474 * math/w_asinf.c: Likewise.
34475 * math/w_asinl.c: Likewise.
34476 * math/w_atanh.c: Likewise.
34477 * math/w_atanhf.c: Likewise.
34478 * math/w_atanhl.c: Likewise.
34479 * math/w_exp2.c: Likewise.
34480 * math/w_exp2f.c: Likewise.
34481 * math/w_exp2l.c: Likewise.
34482 * math/w_j0.c: Likewise.
34483 * math/w_j0f.c: Likewise.
34484 * math/w_j0l.c: Likewise.
34485 * math/w_j1.c: Likewise.
34486 * math/w_j1f.c: Likewise.
34487 * math/w_j1l.c: Likewise.
34488 * math/w_jn.c: Likewise.
34489 * math/w_jnf.c: Likewise.
34490 * math/w_log.c: Likewise.
34491 * math/w_log10.c: Likewise.
34492 * math/w_log10f.c: Likewise.
34493 * math/w_log10l.c: Likewise.
34494 * math/w_log2.c: Likewise.
34495 * math/w_log2f.c: Likewise.
34496 * math/w_log2l.c: Likewise.
34497 * math/w_logf.c: Likewise.
34498 * math/w_logl.c: Likewise.
34499 * math/w_sqrt.c: Likewise.
34500 * math/w_sqrtf.c: Likewise.
34501 * math/w_sqrtl.c: Likewise.
34502 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34503 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34505 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34506 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34507
ebaf36eb
JM
345082012-02-19 Joseph Myers <joseph@codesourcery.com>
34509
34510 [BZ #9739]
34511 * manual/string.texi (strnlen): Use correct parameter name in
34512 equivalent expression.
34513
71c254a6
JM
345142012-02-19 Joseph Myers <joseph@codesourcery.com>
34515
34516 [BZ #11174]
34517 * manual/users.texi (seteuid): Consistently use neweuid for
34518 argument name.
34519
16d2c631
JM
345202012-02-19 Joseph Myers <joseph@codesourcery.com>
34521
34522 [BZ #13704]
34523 * manual/nss.texi (Services in the NSS configuration): Correct
34524 list of services in example configuration file.
34525
cd837b09
NB
345262012-02-19 Nick Bowler <nbowler@draconx.ca>
34527
34528 [BZ #11322]
34529 * manual/arith.texi: Remove statements about negative zero
34530 behaving identically to zero.
34531
02c4bbad
JM
345322012-02-18 Joseph Myers <joseph@codesourcery.com>
34533
34534 [BZ #5993]
34535 * manual/install.texi: Do not document upgrading from libc5.
34536
366842e7
JM
345372012-02-18 Joseph Myers <joseph@codesourcery.com>
34538
34539 [BZ #4596]
34540 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34541
dd54084d
DM
345422012-02-18 David S. Miller <davem@davemloft.net>
34543
34544 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34545 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34546 %o7 across the call.
34547 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34548 instead.
34549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34550 SETUP_PIC_REG_LEAF.
34551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34552 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34553 * sysdeps/sparc/crtn.S: Likewise.
34554
2bcc53a3
UD
345552012-02-17 Ulrich Drepper <drepper@gmail.com>
34556
34557 * aout/Makefile: Remove.
34558
09c093b5
RK
345592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34560
34561 [BZ #13058]
34562 * manual/examples/argp-ex1.c (main): Format definition in GNU
34563 style.
34564 * manual/examples/argp-ex2.c (main): Likewise.
34565 * manual/examples/argp-ex3.c (main): Likewise.
34566 * manual/examples/argp-ex4.c (main): Likewise.
34567 * manual/examples/longopt.c (main): Use new-style prototype
34568 definition.
34569 * manual/examples/strncat.c (main): Specify return type and use
34570 (void) for arguments.
34571 * manual/examples/subopt.c (main): Use char **argv argument.
34572
2ee633a2
JM
345732012-02-17 Joseph Myers <joseph@codesourcery.com>
34574
34575 [BZ #5077]
34576 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34577 rounding modes.
34578
0520adde
FB
345792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34580
34581 [BZ #6907]
34582 * manual/string.texi (strchr): Change when strchrnul is
34583 recommended.
34584
3f4081cd
DGM
345852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34586
34587 [BZ #174]
34588 * manual/locale.texi (setlocale): Document LOCPATH.
34589
d1b10e78
JM
345902012-02-17 Joseph Myers <joseph@codesourcery.com>
34591
34592 [BZ #10210]
34593 * manual/process.texi (execle): Move @dots{} before last argument.
34594
79c6869c
PB
345952012-02-17 Paul Bolle <pebolle@tiscali.nl>
34596
34597 [BZ #12047]
34598 * manual/charset.texi (Generic Charset Conversion): Fix typo
34599 (LC_TYPE -> LC_CTYPE).
34600
cc6e48bc
NB
346012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34602
34603 [BZ #5805]
34604 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34605 (scalbnf): Likewise.
34606 (scalbnl): Likewise.
34607 (scalbln): Likewise.
34608 (scalblnf): Likewise.
34609 (scalblnl): Likewise.
34610 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34611 (vwarnx): Likewise.
34612 (verr): Likewise.
34613 (verrx): Likewise.
34614 * manual/filesys.texi (telldir): Use braces around return type.
34615 * manual/llio.texi (mmap): Add space after comma.
34616 (mmap64): Likewise.
34617 * manual/math.texi (jn): Use @var{} on parameter names.
34618 (jnf): Likewise.
34619 (jnl): Likewise.
34620 (yn): Likewise.
34621 (ynf): Likewise.
34622 (ynl): Likewise.
34623 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34624 line.
34625 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34626 "...".
34627 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34628 (sched_get_priority_max): Likewise.
34629 * manual/signal.texi (sigvec): Add space after comma.
34630 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34631 names.
34632 (if_indextoname): Likewise.
34633 (if_freenameindex): Likewise.
34634 (sendto): Use ',' instead of '.' in prototype.
34635 * manual/startup.texi (syscall): Use @dots{} instead of literal
34636 "...".
34637 * manual/stdio.texi (__fpending): Separate initial words of
34638 paragraph from @deftypefun line.
34639 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34640 "...".
34641 (vsyslog): Use @var{} on parameter names.
34642 * manual/terminal.texi (stty): Use @var{} on parameter names.
34643 * manual/users.texi (getutmp): Use @var{} on parameter names.
34644 (getutmpx): Likewise.
34645
5b23062f
JM
346462012-02-17 Joseph Myers <joseph@codesourcery.com>
34647
34648 [BZ #6884]
34649 * manual/stdio.texi (fopen): Fix typos in description of
34650 ",ccs=STRING".
34651
8dee4833
AJ
346522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34653
34654 [BZ #4026]
34655 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34656 get clock_id definition.
34657
9078ce93
TS
346582012-02-17 Thomas Schwinge <thomas@schwinge.name>
34659
34660 [BZ #4822]
34661 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34662 (madvise): Cast every argument to void on its own.
34663
3835c55f
JM
346642012-02-17 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #9902]
34667 * manual/startup.texi (Exit Status): Fix typo.
34668
35c47e37
JM
346692012-02-17 Joseph Myers <joseph@codesourcery.com>
34670
34671 [BZ #10140]
34672 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34673 * manual/examples/argp-ex2.c: Likewise.
34674 * manual/examples/argp-ex3.c: Likewise.
34675
e3b69ca7
RH
346762012-02-16 Richard Henderson <rth@redhat.com>
34677
34678 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34679 * sysdeps/s390/s390-32/initfini.c: Remove.
34680 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34681 * sysdeps/s390/s390-64/initfini.c: Remove.
34682
df83af67
KK
346832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34684
34685 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34686 compiler output for sysdeps/generic/initfini.c.
34687 * sysdeps/sh/elf/initfini.c: Remove file.
34688
f63f3380
DM
346892012-02-16 David S. Miller <davem@davemloft.net>
34690
fb59b3a4
DM
34691 [BZ #11494]
34692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34693
f63f3380
DM
34694 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34695 * sysdeps/sparc/crti.S: New file.
34696 * sysdeps/sparc/crtn.S: New file.
34697 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34698 * sysdeps/sparc/sparc64/Makefile: Likewise.
34699
df6a4a4a
MF
347002012-02-15 Mike Frysinger <vapier@gentoo.org>
34701
6dd8f3dc 34702 [BZ #3335]
df6a4a4a
MF
34703 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34704
1cac7236
RM
347052012-02-15 Roland McGrath <roland@hack.frob.com>
34706
d2c736f8
RM
34707 [BZ #4822]
34708 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34709
1cac7236
RM
34710 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34711 (write, read, close): Likewise.
34712 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34713
8e475601
JM
347142012-02-15 Joseph Myers <joseph@codesourcery.com>
34715
34716 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34717 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34718 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34719 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34720 <bits/signalfd.h>.
34721 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34723 bits/signalfd.h.
34724
ed656b40
MP
347252012-02-14 Marek Polacek <polacek@redhat.com>
34726
34727 * sysdeps/x86_64/crti.S: New file.
34728 * sysdeps/x86_64/crtn.S: New file.
34729 * sysdeps/x86_64/elf/initfini.c: Remove file.
34730
2a979d3a
JM
347312012-02-13 Joseph Myers <joseph@codesourcery.com>
34732
34733 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34734 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34735 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34736 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34737 <bits/inotify.h>.
34738 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34740 bits/inotify.h.
34741
2a418ac3
JM
347422012-02-13 Joseph Myers <joseph@codesourcery.com>
34743
34744 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34745 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34746 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34747 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34748 <bits/eventfd.h>.
34749 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34751 bits/eventfd.h.
34752
fb779be7
TS
347532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34754
e19e83c5
RM
34755 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34756 __feraiseexcept instead of feraiseexcept.
7c35ffed 34757
fb779be7
TS
34758 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34759 nanosleep invocations.
34760 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34761 strings, and add error checking for a nanosleep invocations.
34762
59ba27a6
PE
347632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34764
34765 Replace FSF snail mail address with URLs, as per GNU coding standards.
34766 Most of the snail mail addresses were wrong anyway, and omitting
34767 them makes the source code easier to maintain. Almost all of the
34768 changes are to license notices and to locale LC_IDENTIFICATION
34769 addresses, except for this one:
34770 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34771 not its snail mail address.
34772
57b957eb
RH
347732012-02-09 Richard Henderson <rth@twiddle.net>
34774
af850b1c
RH
34775 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34776 of kernel-features.h.
34777
57b957eb
RH
34778 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34779
6b73181a
MP
347802012-02-08 Marek Polacek <polacek@redhat.com>
34781
34782 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34783 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34784 * sysdeps/gnu/_G_config.h: Likewise.
34785 * sysdeps/generic/_G_config.h: Likewise.
34786
26ecc33a
AS
347872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34788
6c6dbc63
AS
34789 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34790 tests.
34791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34792
e216c012
AS
34793 * sysdeps/powerpc/powerpc32/crti.S: New file.
34794 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34795 * sysdeps/powerpc/powerpc64/crti.S: New file.
34796 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34797
26ecc33a
AS
34798 * Makeconfig (have-initfini): Don't set.
34799 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34800 * configure.in (nopic_initfini): Don't substitute.
34801 * config.h.in (HAVE_INITFINI): Don't #undef.
34802 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34803 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34804
3add8e13
JM
348052012-02-08 Joseph Myers <joseph@codesourcery.com>
34806
34807 Support crti.S and crtn.S provided directly by architectures.
34808 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34809 [crti.S in sysdirs] (omit-deps): Likewise.
34810 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34811 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34812 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34813 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34814 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34815 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34816 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34817 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34818 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34819 compiler output for sysdeps/generic/initfini.c.
34820 * sysdeps/i386/elf/Makefile: Remove file.
34821 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34822
a22f12b4
MP
348232012-02-07 Marek Polacek <polacek@redhat.com>
34824
34825 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34826 * sysdeps/gnu/_G_config.h: Likewise.
34827 * sysdeps/mach/hurd/_G_config.h: Likewise.
34828
148cf100
MP
348292012-02-07 Marek Polacek <polacek@redhat.com>
34830
34831 * math/Makefile (tests): Add tst-CMPLX2.
34832 * math/tst-CMPLX2.c: New file.
34833
cfdc0dd7
AS
348342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34835
84ba42c4
AS
34836 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34837
cfdc0dd7
AS
34838 * math/libm-test.inc (jn_test): Add missing L suffix.
34839
622c86f4
MP
348402012-02-06 Marek Polacek <polacek@redhat.com>
34841
34842 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34843 * sysdeps/i386/fpu/e_powf.S: Likewise.
34844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34847 * sysdeps/i386/fpu/e_pow.S: Likewise.
34848 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34850 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34851 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34852 * sysdeps/i386/fpu/e_log2.S: Likewise.
34853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34854 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34855 * sysdeps/i386/fpu/e_powl.S: Likewise.
34856 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34857 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34858 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34859 * sysdeps/i386/fpu/e_logl.S: Likewise.
34860 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34861 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34862 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34863 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34864 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34865 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34866 * sysdeps/i386/fpu/e_log.S: Likewise.
34867 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34868 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34869 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34870 * sysdeps/i386/fpu/e_logf.S: Likewise.
34871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34873 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34874 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34875 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34876 * sysdeps/i386/fpu/e_log10.S: Likewise.
34877 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34879 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34880 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34881 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34882 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34883 * sysdeps/i386/asm-syntax.h: Likewise.
34884 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34885 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34886 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34887 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34888 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34890 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34891 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34893 * sysdeps/powerpc/sysdep.h: Likewise.
34894 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34895 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34896
d4a54ac6
JM
348972012-02-06 Joseph Myers <joseph@codesourcery.com>
34898
34899 [BZ #411]
34900 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34901
314054ea
JM
349022012-02-06 Joseph Myers <joseph@codesourcery.com>
34903
34904 * sysdeps/i386/sysdep.h: Include <features.h>.
34905 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34906 version.
34907
d8e0ca50
JM
349082012-02-05 Joseph Myers <joseph@codesourcery.com>
34909
34910 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34911 Define.
34912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34913 LOAD_PIC_REG_STR.
34914
b1da7dd9
JM
349152012-02-03 Joseph Myers <joseph@codesourcery.com>
34916
34917 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34918 (SETUP_PIC_REG): Use GET_PC_THUNK.
34919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34920 macro.
34921
9a1d9254
JM
349222012-02-03 Joseph Myers <joseph@codesourcery.com>
34923
34924 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34925 for non-PIC compilation.
34926 (SETUP_PIC_REG): Add .p2align directive.
34927 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34928 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34963 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34964 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34965 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34966 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34967 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34968
65dc3b75
JM
349692012-02-03 Joseph Myers <joseph@codesourcery.com>
34970
34971 * math/tst-CMPLX.c: Include <stdio.h>.
34972
d55bf177
JM
349732012-01-31 Joseph Myers <joseph@codesourcery.com>
34974
34975 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34976 float.
34977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34978 * sysdeps/sparc/bits/mathdef.h: Likewise.
34979
69db4f8f
MP
349802012-01-31 Marek Polacek <polacek@redhat.com>
34981
34982 * libio/libio.h: Don't define _PARAMS.
34983 * locale/programs/config.h: Don't define PARAMS.
34984 * stdlib/strtol_l.c: Likewise.
34985 (__strtol_l): Remove PARAMS from the prototype.
34986
41b81892
UD
349872012-01-31 Ulrich Drepper <drepper@gmail.com>
34988
3b49edc0
UD
34989 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34990 names. Just use the correct names. Remove unnecessary wrapper
34991 functions.
34992 * malloc/arena.c: Likewise.
34993 * malloc/hooks.c: Likewise.
34994
41b81892
UD
34995 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34996 ARENA_TEST says not to. Simplify test for creation of a new arena.
34997 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34998
27a25b6e
UD
349992012-01-30 Ulrich Drepper <drepper@gmail.com>
35000
35001 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35002 into tail calls.
35003 (update_get_addr): New function.
35004 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35005 GET_ADDR_MODULE parameter.
35006
c8a89e7d
JM
350072012-01-30 Joseph Myers <joseph@codesourcery.com>
35008
35009 * crypt/cert.c: Remove __STDC__ conditionals.
35010 * crypt/crypt-entry.c: Likewise.
35011 * crypt/crypt_util.c: Likewise.
35012 * libio/filedoalloc.c: Likewise.
35013 * libio/fileops.c: Likewise.
35014 * libio/genops.c: Likewise.
35015 * libio/iofclose.c: Likewise.
35016 * libio/iofdopen.c: Likewise.
35017 * libio/iofopen.c: Likewise.
35018 * libio/iofopen64.c: Likewise.
35019 * libio/iogetdelim.c: Likewise.
35020 * libio/iopopen.c: Likewise.
35021 * libio/obprintf.c: Likewise.
35022 * libio/oldfileops.c: Likewise.
35023 * libio/oldiofclose.c: Likewise.
35024 * libio/oldiofdopen.c: Likewise.
35025 * libio/oldiofopen.c: Likewise.
35026 * libio/oldiopopen.c: Likewise.
35027 * libio/wfiledoalloc.c: Likewise.
35028 * libio/wgenops.c: Likewise.
35029 * locale/programs/xmalloc.c: Likewise.
35030 * misc/syslog.c: Likewise.
35031 * stdio-common/xbug.c: Likewise.
35032 * string/memchr.c: Likewise.
35033 * string/memcmp.c: Likewise.
35034 * string/memrchr.c: Likewise.
35035 * string/rawmemchr.c: Likewise.
35036 * sysdeps/posix/getcwd.c: Likewise.
35037 * time/strftime_l.c: Likewise.
35038
3b100462
JM
350392012-01-30 Joseph Myers <joseph@codesourcery.com>
35040
35041 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35042 * config.make.in (config-cflags-sse2avx): Define.
35043 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35044 Fix typo.
35045
607998af
CM
350462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35047
35048 * scripts/config.guess: Update from upstream config git repository.
35049 * scripts/config.sub: Likewise.
35050
3601428f
CM
350512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35052
3ac8b282
CM
35053 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35054 (EM_NUM): Update.
35055 (R_TILEPRO_*, R_TILEGX_*): New macros.
35056
e034841e
CM
35057 * scripts/firstversions.awk: Fix bug in version range handling.
35058
540d7568
CM
35059 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35060
3601428f
CM
35061 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35062
463de862
CM
35063 * include/sys/epoll.h: New file.
35064 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35065 libc_hidden_def.
35066
73139a76
UD
350672012-01-28 Ulrich Drepper <drepper@gmail.com>
35068
96bc5b45
UD
35069 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35070 Avoid unnecessary __WORDSIZE == 64 test.
35071 (fmaxf): Use VEX format if possible.
35072 (fmax): Likewise.
35073 (fminf): Likewise.
35074 (fmin): Likewise.
35075
56f6f6a2
UD
35076 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35077 * math/math_private.h: Remove libc_fegetround* and
35078 libc_fesetround*.
35079 * sysdeps/i386/configure.in: Check for -msse2avx.
35080 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35081 also if SSE2AVX is defined.
35082 Remove libc_fegetround* and libc_fesetround*.
35083 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35084 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35085 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35086 of HAS_YMM_USABLE.
35087 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35088 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35092
73139a76
UD
35093 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35094
d73f93a4
AZ
350952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35096
35097 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35098 size is not set.
35099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35100
6ee65ed6
UD
351012012-01-27 Ulrich Drepper <drepper@gmail.com>
35102
35103 [BZ #13618]
35104 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35105 relocation.
35106 * Makeconfig (libm): Define.
35107 * elf/Makefile: Add rules to build and run tst-relsort1.
35108 * elf/tst-relsort1.c: New file.
35109 * elf/tst-relsort1mod1.c: New file.
35110 * elf/tst-relsort1mod2.c: New file.
35111
8db21882
JM
351122012-01-27 Joseph Myers <joseph@codesourcery.com>
35113
35114 * math/s_ldexp.c: Remove __STDC__ conditionals.
35115 * math/s_ldexpf.c: Likewise.
35116 * math/s_ldexpl.c: Likewise.
35117 * math/s_nextafter.c: Likewise.
35118 * math/s_nexttowardf.c: Likewise.
35119 * math/s_significand.c: Likewise.
35120 * math/s_significandf.c: Likewise.
35121 * math/s_significandl.c: Likewise.
35122 * math/w_jnl.c: Likewise.
35123 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35124 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35125 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35126 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35127 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35129 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35132 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35133 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35137 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35139 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35144 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35145 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35147 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35148 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35151 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35152 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35153 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35154 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35157 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35158 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35159 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35163 * sysdeps/ieee754/k_standard.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35243 * sysdeps/ieee754/s_matherr.c: Likewise.
35244 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35245 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35248
965a54a4
JM
352492012-01-26 Joseph Myers <joseph@codesourcery.com>
35250
35251 * crypt/md5.h: Remove __STDC__ conditionals.
35252 * libio/libioP.h: Likewise.
35253 * locale/programs/config.h: Likewise.
35254 * sysdeps/generic/sysdep.h: Likewise.
35255 * sysdeps/i386/asm-syntax.h: Likewise.
35256 * sysdeps/s390/asm-syntax.h: Likewise.
35257 * sysdeps/unix/sysdep.h: Likewise.
35258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35260
7071ad79
JM
352612012-01-26 Joseph Myers <joseph@codesourcery.com>
35262
35263 * libio/libio.h: Remove __STDC__ conditionals.
35264 * malloc/obstack.h: Likewise.
35265 * math/complex.h: Likewise.
35266 * math/math.h: Likewise.
35267 * sysdeps/generic/_G_config.h: Likewise.
35268 * sysdeps/gnu/_G_config.h: Likewise.
35269 * sysdeps/mach/hurd/_G_config.h: Likewise.
35270 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35271 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35272 * sysdeps/sparc/bits/mathdef.h: Likewise.
35273
afc5ed09
UD
352742012-01-26 Ulrich Drepper <drepper@gmail.com>
35275
35276 [BZ #13583]
35277 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35278 Clean up HAS_* macros.
afc5ed09 35279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35280 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35281 possible.
35282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35283 HAS_AVX.
35284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35289
bdb6de1d
JM
352902012-01-25 Joseph Myers <joseph@codesourcery.com>
35291
35292 * elf/tst-unique3.cc (gets): Remove declaration.
35293 * elf/tst-unique3lib.cc (gets): Likewise.
35294 * elf/tst-unique3lib2.cc (gets): Likewise.
35295 * elf/tst-unique4.cc (gets): Likewise.
35296
b15549e6
UD
352972012-01-24 Ulrich Drepper <drepper@gmail.com>
35298
35299 * include/stdio.h: Add C++ protection. Add gets declarations and
35300 definitions.
35301 * debug/tst-chk1.c: Don't declare gets here.
35302 * stdio-common/tst-gets.c: Likewise.
35303
a037381f
JM
353042012-01-24 Joseph Myers <joseph@codesourcery.com>
35305
35306 * posix/glob: Remove directory.
35307
f1d4aa75
JM
353082012-01-24 Joseph Myers <joseph@codesourcery.com>
35309
35310 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35311
81c0c964
PT
353122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35313
35314 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35315 of the non-standard EPFNOSUPPORT.
35316
0ea698ae
ST
353172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35318
35319 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35320 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35321 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35322
d220b117
UD
353232012-01-21 Ulrich Drepper <drepper@gmail.com>
35324
35325 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35326
3e1aa84e
UD
353272012-01-20 Ulrich Drepper <drepper@gmail.com>
35328
35329 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35330 transient errors.
35331 * nscd/grpcache.c (cache_addgr): Likewise.
35332 * nscd/hstcache.c (cache_addhst): Likewise.
35333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35334 * nscd/pwdcache.c (cache_addpw): Likewise.
35335 * nscd/servicescache.c (cache_addserv): Likewise.
35336
400aa020
UD
353372012-01-16 Ulrich Drepper <drepper@gmail.com>
35338
d77e7869
UD
35339 * malloc/malloc.c: Various cleanups.
35340 * malloc/hooks.c: Likewise.
35341
400aa020
UD
35342 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35343 * stdlib/bug-fmtmsg1.c: New file.
35344
35345 * stdlib/fmtmsg.c (init): Add missing unlock.
35346 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35347
e0a309cf
MP
353482012-01-12 Marek Polacek <polacek@redhat.com>
35349
35350 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35351 and _GNU_SOURCE.
35352
929d11c7
WS
353532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35354
35355 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35357 macro to ensure uniqueness of label name.
35358 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35359 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35360
41d0e869
UD
353612012-01-11 Ulrich Drepper <drepper@gmail.com>
35362
0cc5ed3b
UD
35363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35364
41d0e869
UD
35365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35366 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35367 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35369
a47a831a
UD
353702012-01-10 Ulrich Drepper <drepper@gmail.com>
35371
daa891c0
UD
35372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35373
35374 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35375 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35377
e58ef0f2
UD
35378 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35379
a47a831a 35380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35382 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35384
35385 * math/bits/math-finite.h: Add ldexp support.
35386
a0bfc9c7
MP
353872012-01-10 Marek Polacek <polacek@redhat.com>
35388
35389 * locale/programs/localedef.h (show_archive_content): Add noreturn
35390 attribute.
35391
d6e97a1d
UD
353922012-01-09 Ulrich Drepper <drepper@gmail.com>
35393
35394 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35395
d5835c26
UD
353962012-01-08 Ulrich Drepper <drepper@gmail.com>
35397
e5f484c6
UD
35398 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35399
d5835c26
UD
35400 * io/Makefile (headers): Add bits/poll2.h.
35401
d1f741e9
WS
354022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35403
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35405 typo #include statement.
35406
ec09c1c4
UD
354072012-01-08 Ulrich Drepper <drepper@gmail.com>
35408
35409 * include/sys/cdefs.h: Define __attribute_alloc_size.
35410 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35411 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35412 * elf/pldd.c: Likewise.
35413 * iconv/iconv_charmap.c: Likewise.
35414 * iconv/iconvconfig.c: Likewise.
35415 * iconv/strtab.c: Likewise.
35416 * locale/programs/locale.c: Likewise.
35417 * locale/programs/localedef.h: Likewise.
35418 * locale/programs/simple-hash.c: Likewise.
35419 * nscd/nscd.h: Likewise.
35420 * nss/makedb.c: Likewise.
35421 * sysdeps/generic/ldconfig.h: Likewise.
35422 * locale/programs/localedef.c: Remove xmalloc prototype.
35423 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35424
20b38e03
PP
354252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35426
35427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35428 appropriate.
35429
a0da5fe1
UD
354302012-01-08 Ulrich Drepper <drepper@gmail.com>
35431
1d5a644a 35432 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35433 * math/tst-CMPLX.c: New file.
1d5a644a 35434
8784a6db
UD
35435 * math/complex.h (CMPLXL): Fix typo.
35436
d9a216c0
UD
35437 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35438 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35439 GLIBC_2.16.
35440 * debug/tst-chk1.c: Add poll and ppoll tests.
35441 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35442 * include/sys/poll.h: Add hidden proto for ppoll.
35443 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35444 * sysdeps/mach/hurd/ppoll.c: Likewise.
35445 * io/ppoll.c: Likewise.
35446 * debug/poll_chk.c: New file.
35447 * debug/ppoll_chk.c: New file.
35448 * include/bits/poll2.h: New file.
35449 * io/bits/poll2.h: New file.
35450
ac097f5c
UD
35451 [BZ #1350]
35452 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35453
2119dcfa
UD
35454 * configure.in: static is always set to yes. Remove.
35455 * config.make.in: Don't set build-static.
35456 * Makeconfig: Remove use of build-static.
35457 * dlfcn/Makefile: Likewise.
35458 * elf/Makefile: Likewise.
35459 * math/Makefile: Likewise.
35460 * misc/Makefile: Likewise.
35461 * nptl/Makefile: Likewise.
35462 * sysdeps/mach/hurd/Makefile: Likewise.
35463
121766a9
UD
35464 * configure.in: PWD_P is not used anymore.
35465 * config.make.in: Remove PWD_P entry.
35466
51a1d39c 35467 * configure.in: Remove last remnants of RANLIB.
8720d066 35468 No need to check for signed size_t anymore.
215f4bdc
UD
35469 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35470 and IA-64.
3857022a 35471 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35472 * aclocal.m4: Likewise.
35473
d3ed7225
UD
35474 * wcsmbs/mbrtoc16.c: Implement using towc function.
35475 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35476 * wcsmbs/wcsmbsload.c: Likewise.
35477 * iconv/gconv_simple.c: Likewise.
35478 * iconv/gconv_int.h: Likewise.
35479 * iconv/gconv_builtin.h: Likewise.
35480 * iconv/iconv_prog.c: Remove CHAR16 handling.
35481
35482 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35483
35484 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35485
a0da5fe1
UD
35486 * configure.in: Remove --with-elf and --enable-bounded options.
35487 Dont set base_machine for ia64. More non-ELF conditions removed.
35488 Remove testing and setting of leading underscore information.
35489 * config.make.in (build-bounded): Set to no.
35490 * config.h.in: Remove NO_UNDERSCORES entry.
35491 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35492 them.
35493 * csu/start.c: Remove !NO_UNDERSCORE code.
35494 * locale/localeinfo.h: Likewise.
35495 * sysdeps/generic/machine-gmon.h: Likewise.
35496 * sysdeps/generic/sysdep.h: Likewise.
35497 * sysdeps/i386/sysdep.h: Likewise.
35498 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35499 * sysdeps/mach/sysdep.h: Likewise.
35500 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35502 * sysdeps/sh/sysdep.h: Likewise.
35503 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35504 * sysdeps/unix/i386/sysdep.S: Likewise.
35505 * sysdeps/unix/sparc/start.c: Likewise.
35506 * sysdeps/unix/sparc/sysdep.S: Likewise.
35507 * sysdeps/unix/sparc/sysdep.h: Likewise.
35508 * sysdeps/unix/start.c: Likewise.
35509 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35510 * sysdeps/x86_64/sysdep.h: Likewise.
35511
df78418a
UD
355122012-01-07 Ulrich Drepper <drepper@gmail.com>
35513
a784e502
UD
35514 [BZ #13553]
35515 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35516 for non-gcc.
35517 * argp/argp-fmtstream.h: Use const instead __const.
35518 * argp/argp.h: Likewise.
35519 * assert/assert.h: Likewise.
35520 * bits/fenv.h: Likewise.
35521 * bits/sched.h: Likewise.
35522 * bits/sigset.h: Likewise.
35523 * bits/sigthread.h: Likewise.
35524 * catgets/nl_types.h: Likewise.
35525 * conform/data/pthread.h-data: Likewise.
35526 * crypt/crypt-private.h: Likewise.
35527 * crypt/crypt.h: Likewise.
35528 * crypt/crypt_util.c: Likewise.
35529 * ctype/ctype.h: Likewise.
35530 * debug/execinfo.h: Likewise.
35531 * debug/mbsnrtowcs_chk.c: Likewise.
35532 * debug/mbsrtowcs_chk.c: Likewise.
35533 * debug/wcsnrtombs_chk.c: Likewise.
35534 * debug/wcsrtombs_chk.c: Likewise.
35535 * debug/wcstombs_chk.c: Likewise.
35536 * dirent/dirent.h: Likewise.
35537 * dlfcn/dlfcn.h: Likewise.
35538 * elf/neededtest4.c: Likewise.
35539 * grp/grp.h: Likewise.
35540 * gshadow/gshadow.h: Likewise.
35541 * iconv/gconv.h: Likewise.
35542 * iconv/gconv_int.h: Likewise.
35543 * iconv/gconv_simple.c: Likewise.
35544 * iconv/iconv.h: Likewise.
35545 * iconv/loop.c: Likewise.
35546 * iconv/skeleton.c: Likewise.
35547 * include/aio.h: Likewise.
35548 * include/aliases.h: Likewise.
35549 * include/argz.h: Likewise.
35550 * include/arpa/inet.h: Likewise.
35551 * include/assert.h: Likewise.
35552 * include/dirent.h: Likewise.
35553 * include/dlfcn.h: Likewise.
35554 * include/execinfo.h: Likewise.
35555 * include/fcntl.h: Likewise.
35556 * include/fenv.h: Likewise.
35557 * include/glob.h: Likewise.
35558 * include/grp.h: Likewise.
35559 * include/libintl.h: Likewise.
35560 * include/mntent.h: Likewise.
35561 * include/netdb.h: Likewise.
35562 * include/pwd.h: Likewise.
35563 * include/rpc/netdb.h: Likewise.
35564 * include/sched.h: Likewise.
35565 * include/search.h: Likewise.
35566 * include/shadow.h: Likewise.
35567 * include/signal.h: Likewise.
35568 * include/stdio.h: Likewise.
35569 * include/stdlib.h: Likewise.
35570 * include/string.h: Likewise.
35571 * include/sys/socket.h: Likewise.
35572 * include/sys/stat.h: Likewise.
35573 * include/sys/statfs.h: Likewise.
35574 * include/sys/statvfs.h: Likewise.
35575 * include/sys/syslog.h: Likewise.
35576 * include/sys/time.h: Likewise.
35577 * include/sys/uio.h: Likewise.
35578 * include/time.h: Likewise.
35579 * include/unistd.h: Likewise.
35580 * include/utmp.h: Likewise.
35581 * include/wchar.h: Likewise.
35582 * include/wctype.h: Likewise.
35583 * inet/aliases.h: Likewise.
35584 * inet/arpa/inet.h: Likewise.
35585 * inet/netinet/ether.h: Likewise.
35586 * inet/netinet/in.h: Likewise.
35587 * intl/libintl.h: Likewise.
35588 * io/bits/fcntl2.h: Likewise.
35589 * io/fcntl.h: Likewise.
35590 * io/ftw.h: Likewise.
35591 * io/sys/poll.h: Likewise.
35592 * io/sys/stat.h: Likewise.
35593 * io/sys/statfs.h: Likewise.
35594 * io/sys/statvfs.h: Likewise.
35595 * io/utime.h: Likewise.
35596 * libio/bits/stdio.h: Likewise.
35597 * libio/bits/stdio2.h: Likewise.
35598 * libio/libio.h: Likewise.
35599 * libio/libioP.h: Likewise.
35600 * libio/stdio.h: Likewise.
35601 * locale/lc-ctype.c: Likewise.
35602 * locale/locale.h: Likewise.
35603 * login/utmp.h: Likewise.
35604 * malloc/arena.c: Likewise.
35605 * malloc/malloc.c: Likewise.
35606 * malloc/malloc.h: Likewise.
35607 * malloc/mcheck.c: Likewise.
35608 * malloc/mtrace.c: Likewise.
35609 * math/bits/mathcalls.h: Likewise.
35610 * math/fenv.h: Likewise.
35611 * math/math_private.h: Likewise.
35612 * misc/bits/error.h: Likewise.
35613 * misc/bits/syslog.h: Likewise.
35614 * misc/err.h: Likewise.
35615 * misc/error.h: Likewise.
35616 * misc/fstab.h: Likewise.
35617 * misc/mntent.h: Likewise.
35618 * misc/regexp.h: Likewise.
35619 * misc/search.h: Likewise.
35620 * misc/sgtty.h: Likewise.
35621 * misc/sys/mman.h: Likewise.
35622 * misc/sys/syslog.h: Likewise.
35623 * misc/sys/uio.h: Likewise.
35624 * misc/sys/xattr.h: Likewise.
35625 * misc/ttyent.h: Likewise.
35626 * nis/rpcsvc/ypclnt.h: Likewise.
35627 * nss/nss.h: Likewise.
35628 * posix/bits/unistd.h: Likewise.
35629 * posix/fnmatch.h: Likewise.
35630 * posix/glob.h: Likewise.
35631 * posix/sched.h: Likewise.
35632 * posix/spawn.h: Likewise.
35633 * posix/sys/wait.h: Likewise.
35634 * posix/unistd.h: Likewise.
35635 * posix/wordexp.h: Likewise.
35636 * pwd/pwd.h: Likewise.
35637 * resolv/netdb.h: Likewise.
35638 * resource/sys/resource.h: Likewise.
35639 * rt/aio.h: Likewise.
35640 * rt/bits/mqueue2.h: Likewise.
35641 * rt/mqueue.h: Likewise.
35642 * shadow/shadow.h: Likewise.
35643 * signal/signal.h: Likewise.
35644 * socket/send.c: Likewise.
35645 * socket/sendto.c: Likewise.
35646 * socket/sys/socket.h: Likewise.
35647 * stdio-common/printf.h: Likewise.
35648 * stdlib/bits/stdlib.h: Likewise.
35649 * stdlib/fmtmsg.h: Likewise.
35650 * stdlib/monetary.h: Likewise.
35651 * stdlib/stdlib.h: Likewise.
35652 * stdlib/ucontext.h: Likewise.
35653 * streams/stropts.h: Likewise.
35654 * string/argz.h: Likewise.
35655 * string/bits/string2.h: Likewise.
35656 * string/string.h: Likewise.
35657 * string/strings.h: Likewise.
35658 * sunrpc/rpc/auth.h: Likewise.
35659 * sunrpc/rpc/auth_des.h: Likewise.
35660 * sunrpc/rpc/clnt.h: Likewise.
35661 * sunrpc/rpc/netdb.h: Likewise.
35662 * sunrpc/rpc/pmap_clnt.h: Likewise.
35663 * sunrpc/rpc/xdr.h: Likewise.
35664 * sysdeps/generic/inttypes.h: Likewise.
35665 * sysdeps/generic/net/if.h: Likewise.
35666 * sysdeps/generic/sys/swap.h: Likewise.
35667 * sysdeps/gnu/net/if.h: Likewise.
35668 * sysdeps/gnu/utmpx.h: Likewise.
35669 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35670 * sysdeps/i386/i486/bits/string.h: Likewise.
35671 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35672 * sysdeps/s390/bits/string.h: Likewise.
35673 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35674 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35675 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35676 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35677 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35678 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35679 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35680 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35681 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35682 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35683 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35684 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35685 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35686 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35687 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35688 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35689 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35694 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35695 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35696 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35698 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35701 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35702 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35703 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35704 * sysvipc/sys/ipc.h: Likewise.
35705 * sysvipc/sys/msg.h: Likewise.
35706 * sysvipc/sys/sem.h: Likewise.
35707 * sysvipc/sys/shm.h: Likewise.
35708 * termios/termios.h: Likewise.
35709 * time/sys/time.h: Likewise.
35710 * time/time.h: Likewise.
35711 * wcsmbs/bits/wchar2.h: Likewise.
35712 * wcsmbs/uchar.h: Likewise.
35713 * wcsmbs/wchar.h: Likewise.
35714 * wctype/wctype.h: Likewise.
35715
0269750c
UD
35716 [BZ #13551]
35717 * Makeconfig: Remove all but ELF support including AIX support.
35718 * Makerules: Likewise.
35719 * config.h.in: Likewise.
35720 * config.make.in: Likewise.
35721 * configure: Likewise.
35722 * configure.in: Likewise.
35723 * csu/Makefile: Likewise.
35724 * csu/version.c: Likewise.
35725 * debug/Makefile: Likewise.
35726 * dlfcn/Makefile: Likewise.
35727 * elf/Makefile: Likewise.
35728 * extra-lib.mk: Likewise.
35729 * iconv/Makefile: Likewise.
35730 * include/libc-symbols.h: Likewise.
35731 * include/shlib-compat.h: Likewise.
35732 * resolv/Makefile: Likewise.
35733 * resolv/res_libc.c: Likewise.
35734 * rt/Makefile: Likewise.
35735 * sysdeps/i386/asm-syntax.h: Likewise.
35736 * sysdeps/i386/sysdep.h: Likewise.
35737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35738 * sysdeps/mach/sysdep.h: Likewise.
35739 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35740 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35741 * sysdeps/s390/asm-syntax.h: Likewise.
35742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35744 * sysdeps/sh/sysdep.h: Likewise.
35745 * sysdeps/unix/sparc/sysdep.h: Likewise.
35746 * sysdeps/wordsize-32/divdi3.c: Likewise.
35747 * sysdeps/x86_64/sysdep.h: Likewise.
35748
00bbd29b
UD
35749 * argp/Versions: Remove _argp_unlock_xxx.
35750
35751 [BZ #13559]
35752 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35753 * abilist/libBrokenLocale.abilist: Likewise.
35754 * abilist/libanl.abilist: Likewise.
35755 * abilist/libc.abilist: Likewise.
35756 * abilist/libcrypt.abilist: Likewise.
35757 * abilist/libdl.abilist: Likewise.
35758 * abilist/libm.abilist: Likewise.
35759 * abilist/libnsl.abilist: Likewise.
35760 * abilist/libpthread.abilist: Likewise.
35761 * abilist/libresolv.abilist: Likewise.
35762 * abilist/librt.abilist: Likewise.
35763 * abilist/libthread_db.abilist: Likewise.
35764 * abilist/libutil.abilist: Likewise.
35765 * abilist/libnss_db.abilist: New file.
35766
35767 * scripts/abilist.awk: Add support for indirect functions.
35768
a2693a0e
UD
35769 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35770
3f05895f
UD
35771 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35772
ecb6fb48
UD
35773 * shlib-versions: Remove entries for ports architectures.
35774
664f8cb9
UD
35775 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35776 files in ports.
35777 * elf/stackguard-macros.h: Remove support for IA-64.
35778 * elf/tst-auditmod1.c: Likewise.
35779 * sysdeps/generic/ldsodefs.h: Likewise.
35780
7ae81d88
UD
35781 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35782 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35783 configure files.
35784
bdeba135
UD
35785 [BZ #13552]
35786 * configure.in: Remove --enable-omitfp support.
35787 * FAQ.in: Adjust.
35788 * config.make.in: Likewise.
35789 * Makeconfig: Likewise.
35790 * manual/install.texi: Likewise.
35791
d75a0a62
UD
35792 In case anyone cares, the IA-64 architecture could move to ports.
35793 * sysdeps/ia64/*: Removed.
35794 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35795 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35796
dcc9756b
UD
35797 [BZ #13555]
35798 * configure.in: Remove entries for unsupported architectures.
35799
d3761ebc 35800 [BZ #13533]
9954432e
UD
35801 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35802 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35803 routines.
35804 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35805 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35806 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35807 fall back to using wcrtomb.
35808 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35809 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35810 renaming.
35811 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35812 * wcsmbs/tst-c16c32-1.c: New file.
35813
35814 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35815 local variable.
35816
c3a87236
UD
35817 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35818
28926a1b
UD
35819 * elf/tst-unique3.cc: Add explicit declaration of gets.
35820 * elf/tst-unique3lib.cc: Likewise.
35821 * elf/tst-unique3lib2.cc: Likewise.
35822 * elf/tst-unique4.cc: Likewise.
35823
df78418a
UD
35824 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35825
8ecd6b2a
JM
358262012-01-06 Joseph Myers <joseph@codesourcery.com>
35827
35828 [BZ #13566]
35829 * assert/assert.h (static_assert): Don't define for C++.
35830 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35831 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35832
9f115170
UD
358332012-01-03 Ulrich Drepper <drepper@gmail.com>
35834
5e0d0300
UD
35835 * iconv/loop.c (single loop): Fix assertion in storing of
35836 remaining bytes.
35837
9f115170
UD
35838 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35839
81fb02b0
UD
358402012-01-01 Ulrich Drepper <drepper@gmail.com>
35841
35842 * posix/getconf.c: Update copyright year.
35843 * nss/getent.c: Likewise.
a316c1f6 35844 * nss/makedb.c: Likewise.
81fb02b0
UD
35845 * iconv/iconvconfig.c: Likewise.
35846 * iconv/iconv_prog.c: Likewise.
35847 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35848 * elf/pldd.c: Likewise.
35849 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35850 * catgets/gencat.c: Likewise.
35851 * csu/version.c: Likewise.
35852 * elf/ldd.bash.in: Likewise.
35853 * elf/sprof.c (print_version): Likewise.
35854 * locale/programs/locale.c: Likewise.
35855 * locale/programs/localedef.c: Likewise.
a316c1f6 35856 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35857 * nscd/nscd.c (print_version): Likewise.
35858 * debug/xtrace.sh: Likewise.
35859 * malloc/memusage.sh: Likewise.
35860 * malloc/mtrace.pl: Likewise.
35861 * debug/catchsegv.sh: Likewise.
35862
2ba92745
JJ
358632011-12-30 Jakub Jelinek <jakub@redhat.com>
35864
35865 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35866 pure attribute.
35867
dadebdae
UD
358682011-12-24 Ulrich Drepper <drepper@gmail.com>
35869
d3761ebc 35870 [BZ #13533]
db6af3eb
UD
35871 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35872 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35873 transformations.
35874 * iconv/gconv_int.h: Likewise.
35875 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35876 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35877 from libc for GLIBC_2.16.
35878 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35879 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35880 * wcsmbs/uchar.h: Really define mbstate_t.
35881 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35882 * wcsmbs/c16rtomb.c: New file.
35883 * wcsmbs/mbrtoc16.c: New file.
35884 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35885 for C/POSIX locale.
35886 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35887 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35888
dadebdae
UD
35889 * wcsmbs/wchar.h: Add missing __restrict.
35890
67371b56
UD
358912011-12-23 Ulrich Drepper <drepper@gmail.com>
35892
74033a25
UD
35893 [BZ #13532]
35894 * time/Makefile (routines): Add timespec_get.
35895 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35896 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35897 timespec for ISO C11.
35898 * time/timespec_get.c: New file.
35899 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35900 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35901
380d7e87
UD
35902 [BZ #13531]
35903 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35904 * stdlib/stdlib.h: Declare aligned_alloc.
35905 * Versions.def: Add GLIBC_2.16 for libc.
35906 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35907
4e9e7a35
UD
35908 [BZ 13527]
35909 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35910 ISO C11.
35911
380d7e87 35912 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35913 code.
35914
03a71829
UD
35915 [BZ #13528]
35916 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35917
839e283e
UD
35918 [BZ #13529]
35919 * assert/assert.h (static_assert): Define.
35920
ce5294e2 35921 * version.h: Update for 2.16 development version.
90fa7312 35922
8d44e150 35923 [BZ #13526]
d7809905
UD
35924 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35925 _ISOC11_SOURCE.
35926
c0da14cd
UD
35927 * version.h (RELEASE): Bump for 2.15 release.
35928 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35929
530a3249
MP
35930 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35931 Patch by Marek Polacek <mpolacek@redhat.com>.
35932
67371b56
UD
35933 * bits/byteswap.h: Protect long long constants with __extension__.
35934 * sysdeps/i386/bits/byteswap.h: Likewise.
35935 * sysdeps/ia64/bits/byteswap.h: Likewise.
35936 * sysdeps/s390/bits/byteswap.h: Likewise.
35937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35938
15db4de1
LD
359392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35940
35941 [BZ #13540]
bbe315ea
LD
35942 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35943 destination buffer.
15db4de1
LD
35944 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35945
2b2596b1
MP
359462011-12-23 Marek Polacek <polacek@redhat.com>
35947
35948 * elf/dl-addr.c (determine_info): Add inline keyword.
35949 * elf/tst-auditmod4b.c (check_avx): Likewise.
35950 * elf/tst-auditmod6b.c (check_avx): Likewise.
35951 * elf/tst-auditmod6c.c (check_avx): Likewise.
35952 * elf/tst-auditmod7b.c (check_avx): Likewise.
35953
70c6c246
UD
359542011-12-23 Ulrich Drepper <drepper@gmail.com>
35955
35956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35957 !__SSE_MATH__.
35958
c044cf14
LD
359592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35960
15db4de1 35961 [BZ #13540]
c044cf14
LD
35962 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35963 processing for last bytes.
35964
6b13d9d9
BH
359652011-08-06 Bruno Haible <bruno@clisp.org>
35966
d455f537
BH
35967 [BZ #13061]
35968 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35969 U+0385, not to U+1FEE.
35970
6b13d9d9
BH
35971 [BZ #13062]
35972 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35973 entry for U+00A5 U+0301.
35974
db910efd
UD
359752011-12-22 Ulrich Drepper <drepper@gmail.com>
35976
27deeafc
UD
35977 [BZ #13166]
35978 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35979 buffer for the output is too small.
35980
aed9d171
UD
35981 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35982 optimization.
35983
db910efd
UD
35984 [BZ #13185]
35985 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35986 SSE flags if possible.
35987
2bd779ae
LD
359882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35989
e7f9dac3 35990 [BZ #13540]
2bd779ae
LD
35991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35992 processing for last bytes.
35993
154bfc16
JM
359942011-12-22 Joseph Myers <joseph@codesourcery.com>
35995
35996 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35997 (syscall-list-default-options, syscall-list-default-condition)
35998 (syscall-list-includes): Define.
35999 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36000 list of ABIs and options and #if conditions for each ABI. Do not
36001 handle common syscalls between ABIs specially.
36002 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36003 Remove.
36004 (syscall-list-variants, syscall-list-32bit-options)
36005 (syscall-list-32bit-condition, syscall-list-64bit-options)
36006 (syscall-list-64bit-condition): Define.
36007 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36008 (syscall-list-variants, syscall-list-32bit-options)
36009 (syscall-list-32bit-condition, syscall-list-64bit-options)
36010 (syscall-list-64bit-condition): Define.
36011 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36012 Remove.
36013 (syscall-list-variants, syscall-list-32bit-options)
36014 (syscall-list-32bit-condition, syscall-list-64bit-options)
36015 (syscall-list-64bit-condition): Define.
36016 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36017 Remove.
36018 (syscall-list-variants, syscall-list-32bit-options)
36019 (syscall-list-32bit-condition, syscall-list-64bit-options)
36020 (syscall-list-64bit-condition): Define.
36021
21eaf3a5
UD
360222011-12-22 Ulrich Drepper <drepper@gmail.com>
36023
16c6f992
UD
36024 * locale/iso-639.def: Add brx entry.
36025
41043168
UD
36026 [BZ #13328]
36027 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36028 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36029
21eaf3a5
UD
36030 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36031 __feraiseexcept_renamed.
36032
e3a851a2
UD
360332011-12-21 Ulrich Drepper <drepper@gmail.com>
36034
4920765e
UD
36035 [BZ #13538]
36036 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36037 EPOLLET with unsigned values.
36038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36040
e3a851a2
UD
36041 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36042 to large cancellation.
36043 * math/s_cacoshf.c: Likewise.
36044 * math/s_cacoshl.c: Likewise.
36045
b27e24b8
RK
360462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36047
36048 [BZ #13305]
aebefeee 36049 [BZ #12786]
b27e24b8
RK
36050 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36051 * math/s_cacoshf.c: Likewise.
36052 * math/s_cacoshl.c: Likewise.
36053
ee190f67
UD
360542011-12-21 Ulrich Drepper <drepper@gmail.com>
36055
36056 [BZ #13439]
36057 * iconv/gconv.h: Define __GCONV_SWAP.
36058 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36059 * iconvdata/utf-16.c: Likewise.
36060 * iconvdata/utf-32.c: Likewise.
36061
707f25df
AS
360622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36063
36064 [BZ #13524]
36065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36066 numerator after shifting it by one limb.
36067
d2daaa1e
RÁE
360682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36069
36070 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36071 under [__USE_EXTERN_INLINES].
36072
a4647e72
UD
360732011-12-17 Ulrich Drepper <drepper@gmail.com>
36074
36075 [BZ #13446]
36076 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36077
f0b264f1
AZ
360782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36079
36080 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36081 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36082 optimized code.
36083 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36084 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36085 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36086 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36087 for strncasecmp/strncasecmp_l compilation.
36088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36089 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36090
8ef4f244
MP
360912011-12-08 Marek Polacek <mpolacek@redhat.com>
36092
36093 [BZ #13484]
36094 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36095 of __asm__.
36096
97ac2654
UD
360972011-12-17 Ulrich Drepper <drepper@gmail.com>
36098
36099 [BZ #13506]
36100 * time/tzfile.c (__tzfile_read): Check values from file header.
36101
91d2a845
WS
361022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36103
36104 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36105 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36106 * powerpc/powerpc32/dl-start.S: Likewise.
36107 * powerpc/powerpc32/elf/start.S: Likewise.
36108 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36109 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36110 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36111 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36112 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36113 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36114 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36115 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36116 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36117 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36118 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36119 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36120 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36121 * powerpc/powerpc32/memset.S: Likewise.
36122 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36123 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36124 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36125 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36126 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36127 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36128 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36129 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36130 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36131 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36132 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36133 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36134 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36135
a1267ba1
AZ
361362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36137
36138 * math/libm-test.inc: Added more nearbyint tests.
36139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36143
ad8ac1bd
RL
361442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36145
36146 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36147 FD_CLOEXEC.
36148
1d3e4b61
UD
361492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36150
36151 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36152 Add wcscpy-ssse3 wcscpy-c.
36153 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36154 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36155 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36156 * sysdeps/x86_64/wcschr.S: New file.
36157 * sysdeps/x86_64/wcsrchr.S: New file.
36158 * string/test-strcmp.c: Remove checking of wcscmp function for
36159 wrong alignments.
36160 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36161 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36162 wcsrchr-sse2 wcsrchr-c.
36163 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36164 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36165 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36166 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36167 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36168 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36169 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36170 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36171 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36172 * wcsmbc/wcschr.c (WCSCHR): New macro.
36173
5b330a2d
UD
361742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36175
36176 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36177 * wcsmbs/test-wcsrchr.c: New file.
36178 * string/test-strrchr.c: Add wcsrchr support.
36179 (WIDE): New macro.
36180 * wcsmbs/test-wcscpy.c: New file.
36181 * string/test-strcpy.c: Add wcscpy support.
36182 (WIDE): New macro.
26428b7c 36183
f039c043
UD
361842011-12-10 Ulrich Drepper <drepper@gmail.com>
36185
36186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36187 the inner loop.
36188
850fb039
AS
361892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36190
36191 [BZ #13472]
36192 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36193
4efbd5cb
UD
361942011-12-04 Ulrich Drepper <drepper@gmail.com>
36195
52ff5dd0 36196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36197 Minor optimizations.
52ff5dd0 36198
4efbd5cb
UD
36199 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36200 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36201 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36202
8a426e12
UD
362032011-12-03 Ulrich Drepper <drepper@gmail.com>
36204
aff2453d
UD
36205 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36206 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36207 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36208 for gcc to avoid warnings.
36209 * inet/Makefile (tests): Add tst-checks.
36210 * inet/tst-checks.c: New file.
36211
36212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36213 warning.
36214
36215 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36216 __wmemcmp_sse2.
36217
36218 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36219 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36220
8a426e12
UD
36221 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36222
9bea3473
UD
362232011-12-02 Ulrich Drepper <drepper@gmail.com>
36224
3a965496
UD
36225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36226 problem.
36227
9bea3473
UD
36228 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36229
f101631b
UD
362302011-11-29 Joseph Myers <joseph@codesourcery.com>
36231
36232 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36233 conditional on GCC version.
36234 (__arch_compare_and_exchange_val_8_acq)
36235 (__arch_compare_and_exchange_val_16_acq)
36236 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36237 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36238 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36239
a98275aa
UD
362402011-12-02 Joseph Myers <joseph@codesourcery.com>
36241
36242 * sysdeps/sh/backtrace.c: New file.
36243
d4cc29a2
AS
362442011-12-02 Andreas Schwab <schwab@redhat.com>
36245
36246 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36247 parenthesis.
36248
6257af2d
AS
362492011-12-01 Andreas Schwab <schwab@redhat.com>
36250
36251 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36252 falling back to utime.
36253
b5f44c1a
AS
362542011-11-30 Andreas Schwab <schwab@redhat.com>
36255
36256 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36257 expectations for float.
36258
f3a6cc0a
AS
362592011-11-29 Andreas Schwab <schwab@redhat.com>
36260
36261 * locale/weight.h (findidx): Add parameter len.
36262 * locale/weightwc.h (findidx): Likewise.
36263 * posix/fnmatch_loop.c (FCT): Adjust caller.
36264 * posix/regcomp.c (build_equiv_class): Likewise.
36265 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36266 * posix/regexec.c (check_node_accept_bytes): Likewise.
36267 * string/strcoll_l.c (STRCOLL): Likewise.
36268 * string/strxfrm_l.c (STRXFRM): Likewise.
36269
9d65ea3a
UD
362702011-11-17 Ulrich Drepper <drepper@gmail.com>
36271
36272 * Makefile.in: Remove CVSOPT handling.
36273 * configure.in: Remove use of AC_REVISION.
36274 * iconvdata/Makefile (distribute): No need to filter out CVS.
36275 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36276 handling.
36277
5583a086
AS
362782011-11-16 Andreas Schwab <schwab@redhat.com>
36279
36280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36281 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36282 [USE_AS_STRNCASECMP_L]: Likewise.
36283 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36284 NO_TLS_DIRECT_SEG_REFS.
36285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36286 Fix argument offsets for non-PIC.
36287 [USE_AS_STRNCASECMP_L]: Likewise.
36288 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36289 NO_TLS_DIRECT_SEG_REFS.
36290
d62a8200
UD
362912011-11-15 Ulrich Drepper <drepper@gmail.com>
36292
9d65ea3a 36293 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36294 O_CLOEXEC.
36295 * locale/loadlocale.c (_nl_load_locale): Likewise.
36296
09f93bd3
AS
362972011-11-15 Andreas Schwab <schwab@redhat.com>
36298
446514f9
AS
36299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36300 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36301 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36302 (SYSCALL_GETTIME): Set errno on error.
36303
09f93bd3
AS
36304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36305 count references to noai6ai_cached.
36306
312be3f9
UD
363072011-11-15 Ulrich Drepper <drepper@gmail.com>
36308
36309 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36310
36311 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36312 FD_CLOEXEC for /proc/self/maps.
36313
36314 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36315 FD_CLOEXEC for /proc/meminfo.
36316
36317 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36318 gai.conf.
36319
36320 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36321 FD_CLOEXEC for given file.
36322
36323 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36324
36325 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36326 FD_CLOEXEC for /etc/hosts.
36327 (_gethtent): Likewise.
36328
36329 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36330
36331 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36332 cancellation and set FD_CLOEXEC for /etc/netgroup.
36333
36334 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36335 reading /etc/publickey.
36336
36337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36338 allow cancellation when reading /etc/group.
36339
36340 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36341 cancellation.
36342 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36343
36344 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36345 when using data file.
36346
36347 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36348
36349 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36350 (write_nis_obj): Use "c" and "e" in fopen.
36351
36352 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36353
36354 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36355
36356 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36357
36358 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36359
36360 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36361 locale.alias.
36362
36363 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36364
36365 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36366
36367 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36368
36369 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36370 file parsing and set FD_CLOEXEC.
36371
82af0fa8
UD
363722011-11-14 Ulrich Drepper <drepper@gmail.com>
36373
36374 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36375
a5fb313c
AS
363762011-11-14 Andreas Schwab <schwab@redhat.com>
36377
36378 * malloc/arena.c (arena_get2): Don't call reused_arena when
36379 _int_new_arena failed.
36380
6abf3465
UD
363812011-11-14 Ulrich Drepper <drepper@gmail.com>
36382
36383 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36384 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36389 to compile strcasecmp and strncasecmp.
36390 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36391 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36392
36393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36394
76e3966e
UD
363952011-11-13 Ulrich Drepper <drepper@gmail.com>
36396
36397 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36398 locale-defines.sym to gen-as-const-headers.
36399 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36400 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36402 to compile strcasecmp and strncasecmp.
36403 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36404 strcasecmp_l and strncasecmp_l.
36405 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36406 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36407 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36408 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36409 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36410 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36411 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36412 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36413 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36414 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36415 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36416
ab26144e
UD
364172011-11-12 Ulrich Drepper <drepper@gmail.com>
36418
7edb22ef
UD
36419 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36420 result of SYSDEP_GETTIME_CPU to retval.
36421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36422 parameter list to macro. Remove trailing semicolon. Adjust users.
36423
9694fc44
UD
36424 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36425 variable.
36426
8ad89ef8
UD
36427 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36428 mantissa words.
36429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36430
0c822ef9
UD
36431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36432 from unused variable.
36433
874e0564
UD
36434 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36435 DWARF definitions.
36436 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36437 for assembling.
36438
3a2edc79
UD
36439 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36440 over namespaces.
36441
f3c2577f
UD
36442 * sunrpc/rpc_prot.c (rejected): Fix case value.
36443
294ce126
UD
36444 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36445 unsigned long long int to avoid warnings in shift.
36446
5e2b63c6
UD
36447 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36448 of use of trans.
36449 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36450 variable tmp.
36451
e7f4b08e
UD
36452 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36453 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36454 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36455
ab26144e
UD
36456 * nis/nis_table.c (nis_list): Use variable of correct type for
36457 result of __follow_path call.
36458
8a6d5255
AZ
364592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36460
36461 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36462 of math functions ceil, trunc, floor, round, and sqrt, when
36463 avaliable on the platform.
36464 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36465 name clash.
36466 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36467 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36468 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36469
aaddc98c
MP
364702011-10-30 Marek Polacek <mpolacek@redhat.com>
36471
36472 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36474
95b7042b
RM
364752011-11-11 Roland McGrath <roland@hack.frob.com>
36476
36477 * include/unistd.h: Fix __readlink return type.
36478 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36479
57769839
UD
364802011-11-11 Ulrich Drepper <drepper@gmail.com>
36481
36482 * stdlib/ucontext.h: Undo last change for makecontext.
36483
edc5984d
AS
364842011-11-11 Andreas Schwab <schwab@redhat.com>
36485
98591e58
AS
36486 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36487
edc5984d
AS
36488 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36489 * setjmp/setjmp.h: Mark functions as non-leaf.
36490 * setjmp/bits/setjmp2.h: Likewise.
36491 * stdlib/ucontext.h: Likewise.
36492
77cdc054
AS
364932011-11-10 Andreas Schwab <schwab@redhat.com>
36494
36495 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36496 (reused_arena): Don't check arena limit.
36497 (arena_get2): Atomically check arena limit.
36498
fe72eebd
UD
364992011-11-08 Ulrich Drepper <drepper@gmail.com>
36500
5f078c32
UD
36501 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36502 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36503
fe72eebd
UD
36504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36505 instructions.
36506
ae1bc2fa
AS
365072011-11-07 Andreas Schwab <schwab@redhat.com>
36508
7583a88d
AS
36509 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36510 handler when locking.
36511
ae1bc2fa
AS
36512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36513 Fix size of allocated buffer.
36514
10fb0bfa
AS
365152011-11-04 Andreas Schwab <schwab@redhat.com>
36516
998832a4
AS
36517 [BZ #10103]
36518 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36519 declarations for long double functions.
36520 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36521
10fb0bfa
AS
36522 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36523
3d7ba52b
AS
365242011-11-03 Andreas Schwab <schwab@redhat.com>
36525
a9ae54a1
AS
36526 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36527 installed.
36528
3d7ba52b
AS
36529 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36530 is disabled.
36531
bc8db248
ST
365322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36533
36534 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36535
45b96dd6
AS
365362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36537
647776f6
AS
36538 * include/alloca.h (stackinfo_alloca_round): Define.
36539 (extend_alloca): Use it.
36540 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36541 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36542 here.
36543
d91a8b93
AS
36544 * scripts/check-local-headers.sh: Ignore libaudit.h.
36545
45b96dd6
AS
36546 * nscd/Makefile (extra-objs): Make recursively expanded.
36547
432d41ce
UD
365482011-11-01 Ulrich Drepper <drepper@gmail.com>
36549
34372fc6
UD
36550 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36552
fadb59f8
UD
36553 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36554 * posix/tst-rfc3484-2.c: Likewise.
36555 * posix/tst-rfc3484-3.c: Likewise.
36556
78239589
UD
36557 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36558 process_vm_writev.
36559 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36560 process_vm_writev.
36561 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36562 process_vm_writev from libc using GLIBC_2.15 version.
36563
432d41ce
UD
36564 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36565
02f9c6cf
PP
365662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36567
36568 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36569 stack usage.
36570
3a2c0242
UD
365712011-10-31 Ulrich Drepper <drepper@gmail.com>
36572
f4ec4833
UD
36573 [BZ #13367]
36574 * nss/getent.c (initgroups_keys): Show error message in case no group
36575 names are given.
36576
3a2c0242
UD
36577 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36578 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36579 __bump_nl_timestamp.
36580 * nscd/connections (nscd_init): When host database is served open
36581 netlink socket and request notification about configuration changes.
36582 (main_loop_poll): Track netlink file descriptor and bump timestamp
36583 in case data becomes available.
36584 (main_loop_epoll): Likewise.
36585 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36586 (database_pers_head): Add extra_data fileds.
36587 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36588 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36589 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36590 Adjust caller.
36591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36592 in6ai data, call __free_in6ai.
36593 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36594 Add -DHAVE_NETLINK.
36595 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36596 interface information. Reuse previous data if netlink timestamp
36597 is not changed.
36598 (__bump_nl_timestamp): New function.
36599 (__free_in6ai): New function.
36600
636064eb
UD
366012011-10-30 Ulrich Drepper <drepper@gmail.com>
36602
36603 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36604 close_not_cancel_no_status here.
36605 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36606
9beb2334
UD
366072011-10-29 Ulrich Drepper <drepper@gmail.com>
36608
6ef76f3b
UD
36609 [BZ #13276]
36610 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36611 return value.
36612
0ffc4f3e 36613 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36614 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36615 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36616
cb95113e
UD
366172011-07-03 Andreas Jaeger <aj@suse.de>
36618
36619 [BZ #10709]
36620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36621 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36622 * math/libm-test.inc (sin_test): Add test case.
36623
a1b560ff
UD
366242011-10-29 Ulrich Drepper <drepper@gmail.com>
36625
c9aaface
UD
36626 [BZ #13337]
36627 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36628 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36629
d272e7f1
UD
36630 * elf/chroot_canon.c (chroot_canon): Cleanups.
36631
1bc33071
UD
36632 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36633
1760874d
TJ
36634 [BZ #13335]
36635 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36637
51d91b18
UD
36638 * string/test-strchr.c: Make usable for strchrnul testing.
36639 * string/test-strchrnul.c: New file.
36640 * string/Makefile (strop-tests): Add strchrnul.
36641
a1b560ff 36642 * po/it.po: Update from translation team.
b611fb81 36643 * po/es.po: Likewise.
a1b560ff 36644
a5b81e1f
UD
366452011-10-28 Ulrich Drepper <drepper@gmail.com>
36646
fd52bc6d
UD
36647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36648 the three constants needed as parameters. Drop the others.
36649 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36650 __m128i_strloadu_tolower.
52e4b9eb
UD
36651 Create and initialize variable zero and use it in all the places
36652 where _mm_setzero_si128 was used.
fd52bc6d 36653
a5b81e1f
UD
36654 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36655 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36656 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36658 anymore.
36659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36662 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36663 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36664 __mpranred, __mptan.
36665 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36666 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36667 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36668 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36669 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36670 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36671 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36672 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36673 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36674
b4343346
AS
366752011-10-28 Andreas Schwab <schwab@redhat.com>
36676
0c92d8a8
AS
36677 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36678 redefine if SHARED.
36679 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36680
b4343346
AS
36681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36682 wide char related routines to wcsmbs subdir.
36683
3871f58f
AS
366842011-10-27 Andreas Schwab <schwab@redhat.com>
36685
36686 [BZ #13344]
36687 * misc/sys/cdefs.h (__THROWNL): Define.
36688 * posix/unistd.h: Use __THREADNL instead of __THREAD
36689 for memory synchronization functions.
36690
94d44d9f
RM
366912011-10-26 Roland McGrath <roland@hack.frob.com>
36692
21b64b15 36693 [BZ #13349]
94d44d9f
RM
36694 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36695 doesn't exist.
36696 * manual/stdio.texi (Obstack Streams): Node removed.
36697
f6ce9294
AS
366982011-10-26 Andreas Schwab <schwab@redhat.com>
36699
80479147
AS
36700 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36703
f6ce9294
AS
36704 * math/math_private.h (math_force_eval): Allow non-addressable
36705 arguments.
36706 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36707
618280a1
UD
367082011-10-25 Ulrich Drepper <drepper@gmail.com>
36709
e0016b11
UD
36710 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36711 file is not needed.
36712
36713 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36720 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36721 Add AVX variants.
36722 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36723 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36724 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36725 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36726 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36727 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36728 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36729 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36730 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36731 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36732 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36733 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36735 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36736 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36737 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36738 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36740 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36741
36742 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36743 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36744
618280a1
UD
36745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36746 place. Use VEX encoding when compiling for AVX.
36747
37822576
AS
367482011-10-25 Andreas Schwab <schwab@redhat.com>
36749
1f1e1947
AS
36750 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36751 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36752
37822576
AS
36753 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36754
31ea014d
UD
367552011-10-25 Ulrich Drepper <drepper@gmail.com>
36756
d7826aa1 36757 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36758 useless if() expression.
d7826aa1
UD
36759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36767 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36770 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36771 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36774 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36778
31ea014d
UD
36779 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36780
16437fec
AS
367812011-10-25 Andreas Schwab <schwab@redhat.com>
36782
36783 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36784 condition.
36785 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36786
31d3cc00
UD
367872011-10-25 Ulrich Drepper <drepper@gmail.com>
36788
36789 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36790 .text section. Avoid duplicate constants.
36791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36801 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36803 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36806 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36808 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36815 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36825 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36826 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36833 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36834 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36835 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36836
58985aa9
UD
368372011-10-24 Ulrich Drepper <drepper@gmail.com>
36838
202c9deb
UD
36839 * sysdeps/x86_64/dla.h: Move to ...
36840 * sysdeps/x86_64/fpu/dla.h: ...here.
36841 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36842 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36843
af968f62
UD
36844 * config.make.in: Add have-mfma4 entry.
36845 * configure.in: Substitute libc_cv_cc_fma4.
36846 * math/Makefile (dbl-only-routines): Add sincostab.
36847 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36848 Use __sincostab not sincos.
36849 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36850 name is a macro.
36851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36855 using __copysign.
36856 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36857 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36858 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36859 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36860 and __inv.
36861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36862 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36863 __copysign.
36864 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36865 define aliases when function name is a macro.
36866 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36867 sysdeps/ieee754/dbl-64/sincos.tbl.
36868 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36869 fma4-enabled routines.
36870 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36871 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36872 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36873 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36874 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36875 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36876 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36879 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36880 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36882 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36883 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36884 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36885 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36886 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36887 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36888 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36890 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36891 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36895 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36900
58985aa9
UD
36901 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36902 rename.
36903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36911
a201fbcf
AS
369122011-10-24 Andreas Schwab <schwab@redhat.com>
36913
36914 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36915
fc2ee42a
LD
369162011-10-23 Ulrich Drepper <drepper@gmail.com>
36917
bb3129bd
UD
36918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36919
0275fff8
UD
36920 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36921 prediction.
36922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36923
2fa2ae85
UD
36924 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36925 Remove unused variable magic_bits.
36926 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36927
fc2ee42a
LD
36928 * string/strnlen.c: Define and use STRNLEN macro.
36929 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36930 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36932 * wcsmbs/wcslen.c: Define and use WCSLEN.
36933 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36934 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36935 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36936 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36937 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36938 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36939 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36940
ce7dd29f
LD
369412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36942
36943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36944 strnlen-sse2-no-bsf.
36945 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36947 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36948 Add strnlen support.
36949 (USE_AS_STRNLEN): New macro.
36950 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36951 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36952 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36953 * sysdeps/x86_64/wcslen.S: New file.
36954
979c70a3
MZ
369552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36956
36957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36958 XMM-moves are used for copying on small sizes.
36959
2d09f82f
LD
369602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36961
36962 * wcsmbs/Makefile (strop-tests): Add wcschr.
36963 * wcsmbs/test-wcschr.c: New file.
36964 * string/test-strchr.c: Update.
36965 Add wcschr support.
36966 (WIDE): New macro.
36967
619fccca
LD
369682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36969
2d09f82f 36970 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36971 * wcsmbs/test-wcslen.c: New file.
36972 * string/test-strlen.c: Update.
36973 Add wcslen support.
36974 (WIDE): New macro.
36975
09f699ea
UD
369762011-10-23 Ulrich Drepper <drepper@gmail.com>
36977
36978 * po/it.po: Update from translation team.
36979
95584d3b
LD
369802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36981
36982 * sysdeps/x86_64/wcscmp.S: Update.
36983 Fix wrong comparison semantics.
36984 wcscmp shall use signed comparison not unsigned.
36985 Don't use substraction to avoid overflow bug.
36986 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36987 * wcsmbc/wcscmp.c: Likewise.
36988 * string/test-strcmp.c: Likewise.
36989 Add new tests to check cases with negative values.
36990
c8b3296b
UD
369912011-10-23 Ulrich Drepper <drepper@gmail.com>
36992
36993 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36994 * sysdeps/x86_64/dla.h: ...here. New file.
36995 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37004
246ad57a
AS
370052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37006
37007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37008 __ynl_finite aliases.
37009
a1a87169
UD
370102011-10-22 Ulrich Drepper <drepper@gmail.com>
37011
0d355eb7
UD
37012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37013
a1a87169
UD
37014 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37015 define DLA_FMA.
37016 [DLA_FMA] (EMULV): Use DLA_FMA.
37017 [DLA_FMA] (MUL12): Use EMULV.
37018 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37019 that are not needed.
37020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37027
ee2aafe0
AS
370282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37029
37030 * math/s_nan.c: Undef __nan.
37031 * math/s_nanf.c: Undef __nanf.
37032 * math/s_nanl.c: Undef __nanl.
37033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37034 "math_private.h".
37035
bc62c2fb
UD
370362011-10-22 Ulrich Drepper <drepper@gmail.com>
37037
77425c63
UD
37038 * math/s_catan.c: Add branch predictions.
37039 * math/s_catanf.c: Likewise.
37040 * math/s_catanh.c: Likewise.
37041 * math/s_catanhf.c: Likewise.
37042 * math/s_catanhl.c: Likewise.
37043 * math/s_catanl.c: Likewise.
37044 * math/s_cexp.c: Likewise.
37045 * math/s_cexpf.c: Likewise.
37046 * math/s_cexpl.c: Likewise.
37047 * math/s_clog.c: Likewise.
37048 * math/s_clog10.c: Likewise.
37049 * math/s_clog10f.c: Likewise.
37050 * math/s_clog10l.c: Likewise.
37051 * math/s_clogf.c: Likewise.
37052 * math/s_clogl.c: Likewise.
37053 * math/s_csqrt.c: Likewise.
37054 * math/s_csqrtf.c: Likewise.
37055 * math/s_csqrtl.c: Likewise.
37056 * math/s_ctanf.c: Likewise.
37057 * math/s_ctanh.c: Likewise.
37058 * math/s_ctanhf.c: Likewise.
37059 * math/s_ctanhl.c: Likewise.
37060 * math/s_ctanl.c: Likewise.
37061
bc62c2fb
UD
37062 * math/math_private.h: Define __nan, __nanf, __nanl.
37063 * math/s_cacosh.c: Include <math_private.h>.
37064 * math/s_cacoshl.c: Likewise.
37065 * math/s_casinh.c: Likewise.
37066 * math/s_casinhf.c: Likewise.
37067 * math/s_casinhl.c: Likewise.
37068 * math/s_ccos.c: Rely entire on ccosh.
37069 * math/s_ccosf.c: Rely entire on ccoshf.
37070 * math/s_ccosl.c: Rely entirely on ccoshl.
37071 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37072 Remove tests for FE_INVALID.
37073 * math/s_ccoshf.c: Likewise.
37074 * math/s_ccoshl.c: Likewise.
37075 * math/s_csin.c: Likewise.
37076 * math/s_csinf.c: Likewise.
37077 * math/s_csinh.c Likewise.
37078 * math/s_csinhf.c: Likewise.
37079 * math/s_csinhl.c: Likewise.
37080 * math/s_csinl.c: Likewise.
37081 * math/s_ctan.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37083 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37085
8ec250a4
UD
370862011-10-21 Ulrich Drepper <drepper@gmail.com>
37087
c196fed8
UD
37088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37089 compilation problems.
37090
8ec250a4
UD
37091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37092 __builtin_expect.
37093
8d4f46c6
UD
370942011-10-20 Ulrich Drepper <drepper@gmail.com>
37095
ed72b654
UD
37096 * sysdeps/i386/configure.in: Test for -mfma4 option.
37097 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37098 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37099 COMMON_CPUID_INDEX_80000001.
37100 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37101 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37102 use it if FMA3 is not supported.
37103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37104
8d4f46c6
UD
37105 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37107
d45c60c2
AS
371082011-10-20 Andreas Schwab <schwab@redhat.com>
37109
37110 [BZ #12892]
37111 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37112 it would create a cycle with a link time dependency.
37113
d9a4d2ab
UD
371142011-10-19 Ulrich Drepper <drepper@gmail.com>
37115
855d1560
UD
37116 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37117 instruction.
37118 * string/Makefile (strop-tests): Add rawmemchr.
37119 * string/test-rawmemchr.c: New file.
37120
d9a4d2ab
UD
37121 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37123 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37124 when compiling str{,n}casecmp and when AVX is available. Hook up
37125 new optimized code in initializers.
37126
8f3b1ffe
AS
371272011-10-19 Andreas Schwab <schwab@redhat.com>
37128
37129 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37130 __feraiseexcept instead of feraiseexcept.
37131
d38f1dba
UD
371322011-10-18 Ulrich Drepper <drepper@gmail.com>
37133
d9a8d0ab
UD
37134 * math/math_private.h: Define defaults for libc_fetestexcept and
37135 libc_feupdateenv.
37136 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37137 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37140 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37141 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37142 libc_fetestexcept and libc_feupdateenv.
37143
4855e3dd
UD
37144 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37145 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37146 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37147 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37148 libc_feholdexcept_setround.
37149
581d30e3
UD
37150 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37151 Add s_nearbyint-c and s_nearbyintf-c.
37152 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37153 nearbyintf inlines.
37154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37158
d38f1dba
UD
37159 * math/math_private.h: Define defaults for libc_fegetround,
37160 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37161 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37162 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37164 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37165 standard functions.
37166 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37167 Remove comments and hacks for old compiler versions.
37168 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37169 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37170 libc_feholdexceptl.
37171
caa6c9d8
AS
371722011-10-18 Andreas Schwab <schwab@redhat.com>
37173
37174 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37175 (__feraiseexcept_renamed): Add __NTH.
37176 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37177 namespace violations.
37178
97c066e6
UD
371792011-10-17 Ulrich Drepper <drepper@gmail.com>
37180
99ce7b04
UD
37181 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37182
1004d182
UD
37183 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37184
228a984d
UD
37185 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37186 recently added interfaces.
37187 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37188
c8553a6a
UD
37189 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37190 about macro parameter expansion.
37191
ed22dcf6
UD
37192 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37193 __NO_MATH_INLINES is defined. Cleanups.
37194
37195 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37196 and __floorf is target has SSE4.1.
37197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37198 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37199 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37200 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37201
b171c137
UD
37202 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37203 name.
37204 (floorf): Likewise.
37205
97c066e6
UD
37206 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37207
629f62ef
AS
372082011-10-17 Andreas Schwab <schwab@redhat.com>
37209
49a43d80
AS
37210 * misc/sys/cdefs.h: Fix last change.
37211
629f62ef
AS
37212 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37213 database lookup.
37214
e453f6cd
UD
372152011-10-16 Ulrich Drepper <drepper@gmail.com>
37216
aa78043a
UD
37217 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37218
ad0f5cad
UD
37219 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37221 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37229 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37230 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37231 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37232 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37233 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37234 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37235 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37236 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37237 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37238 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37239 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37240 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37241
37242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37243 ceil, ceilf, floor, floorf.
37244
37245 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37246 Perform IRELATIVE relocations last.
37247
e453f6cd
UD
37248 * elf/do-rel.h: Add another parameter nrelative, replacing the
37249 local variable with the same name. Change name of the function
37250 to end in Rel or Rela (uppercase).
37251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37252 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37253 elf_dynamic_do_##reloc function.
37254
fd5bdc09
UD
372552011-10-15 Ulrich Drepper <drepper@gmail.com>
37256
79b195b5
UD
37257 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37258 is sufficient, at least on modern CPUs.
37259
d4a28569
UD
37260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37261
b61099b5
UD
37262 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37263 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37264
bcf01e6d
UD
37265 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37266 __expl_finite.
37267 * math/bits/math-finite.h: Add entries for exp.
37268 * math/e_expl.c: Add __*_finite alias.
37269 * sysdeps/i386/fpu/e_exp.S: Likewise.
37270 * sysdeps/i386/fpu/e_expf.S: Likewise.
37271 * sysdeps/i386/fpu/e_expl.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37273 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37277 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37278 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37279
ba1a0d59
UD
37280 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37281 is sufficient, at least on modern CPUs.
37282
fd5bdc09
UD
37283 * ctype/ctype-info.c (__ctype_init): Define.
37284 * include/ctype.h (__ctype_init): Declare.
37285 (__ctype_b_loc): The variable is always initialized.
37286 (__ctype_toupper_loc): Likewise.
37287 (__ctype_tolower_loc): Likewise.
37288 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37289 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37290
7872cfb0
AS
372912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37292
b468825a
AS
37293 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37294
7872cfb0
AS
37295 * configure.in: Also look in $cxxmachine/include for C++ system
37296 headers.
37297
be13f7bf
LD
372982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37299
37300 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37301 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37302 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37303 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37304 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37305 (USE_AS_WMEMCMP): New macro.
37306 Fixing indents.
37307 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37308 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37309 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37310 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37312 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37313 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37314 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37315 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37316 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37317 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37318 (USE_AS_WMEMCMP): New macro.
37319 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37320 * sysdeps/string/test-memcmp.c: Update.
37321 Fix simple_wmemcmp.
37322 Add new tests.
37323 * wcsmbs/wmemcmp.c: Update.
37324 (WMEMCMP): New macro.
37325 Fix overflow bug.
37326
556a2007
AJ
373272011-10-12 Andreas Jaeger <aj@suse.de>
37328
37329 [BZ #13268]
37330 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37331
538faaa7
UD
373322011-10-15 Ulrich Drepper <drepper@gmail.com>
37333
ab6737ff
UD
37334 * libio/iofwide.c (do_length): Avoid warning.
37335
538faaa7
UD
37336 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37337
396a21b1
UD
373382011-10-14 Ulrich Drepper <drepper@gmail.com>
37339
cdf2901f
UD
37340 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37341
38ad40ce
UD
37342 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37343 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37344 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37345 * sysdeps/i386/i686/fpu/e_log.S: New file.
37346 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37347 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37348
396a21b1
UD
37349 * ctype/ctype.h: Add support for inlined isXXX functions when
37350 compiling C++ code.
37351
6b1f68c9
AS
373522011-10-14 Andreas Schwab <schwab@redhat.com>
37353
349290c0
AS
37354 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37355
6b1f68c9
AS
37356 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37357
f2282d42
RM
373582011-10-13 Roland McGrath <roland@hack.frob.com>
37359
37360 [BZ #13291]
37361 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37362
5298ffa8
AS
373632011-10-13 Andreas Schwab <schwab@redhat.com>
37364
714fad23
AS
37365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37366 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37367 feraiseexcept.
37368
81dcc7fb
AS
37369 * sysdeps/x86_64/memrchr.S: Check for zero size.
37370
5298ffa8
AS
37371 * string/stratcliff.c: Add memrchr tests.
37372
951fbcec
LD
373732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37374
37375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37376 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37377 rawmemchr-sse2 rawmemchr-sse2-bsf.
37378 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37379 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37380 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37381 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37382 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37383 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37384 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37385 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37388 * string/memrchr.c (MEMRCHR): New macro.
37389
0ac5ae23
UD
373902011-10-12 Ulrich Drepper <drepper@gmail.com>
37391
37392 Add integration with gcc's -ffinite-math-only and optimize wrapper
37393 functions in libm.
37394 * Versions.def: Define GLIBC_2.15 version for libm.
37395 * math/Makefile (headers): Add bits/math-finite.h.
37396 * math/bits/math-finite.h: New file.
37397 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37398 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37399 * math/e_acoshl.c: Add __*_finite alias.
37400 * math/e_acosl.c: Likewise.
37401 * math/e_asinl.c: Likewise.
37402 * math/e_atan2l.c: Likewise.
37403 * math/e_atanhl.c: Likewise.
37404 * math/e_coshl.c: Likewise.
37405 * math/e_exp10.c: Likewise.
37406 * math/e_exp10f.c: Likewise.
37407 * math/e_exp10l.c: Likewise.
37408 * math/e_exp2l.c: Likewise.
37409 * math/e_fmodl.c: Likewise.
37410 * math/e_gammal_r.c: Likewise.
37411 * math/e_hypotl.c: Likewise.
37412 * math/e_j0l.c: Likewise.
37413 * math/e_j1l.c: Likewise.
37414 * math/e_jnl.c: Likewise.
37415 * math/e_lgammal_r.c: Likewise.
37416 * math/e_log10l.c: Likewise.
37417 * math/e_log2l.c: Likewise.
37418 * math/e_logl.c: Likewise.
37419 * math/e_powl.c: Likewise.
37420 * math/e_sinhl.c: Likewise.
37421 * math/e_sqrtl.c: Likewise.
37422 * math/e_scalb.c: Completely rewritten and optimized.
37423 * math/e_scalbf.c: Likewise.
37424 * math/e_scalbl.c: Likewise.
37425 * math/w_acos.c: Likewise.
37426 * math/w_acosf.c: Likewise.
37427 * math/w_acosl.c: Likewise.
37428 * math/w_acosh.c: Likewise.
37429 * math/w_acoshf.c: Likewise.
37430 * math/w_acoshl.c: Likewise.
37431 * math/w_asin.c: Likewise.
37432 * math/w_asinf.c: Likewise.
37433 * math/w_asinl.c: Likewise.
37434 * math/w_atan2.c: Likewise.
37435 * math/w_atan2f.c: Likewise.
37436 * math/w_atan2l.c: Likewise.
37437 * math/w_atanh.c: Likewise.
37438 * math/w_atanhf.c: Likewise.
37439 * math/w_atanhl.c: Likewise.
37440 * math/w_exp10.c: Likewise.
37441 * math/w_exp10f.c: Likewise.
37442 * math/w_exp10l.c: Likewise.
37443 * math/w_fmod.c: Likewise.
37444 * math/w_fmodf.c: Likewise.
37445 * math/w_fmodl.c: Likewise.
37446 * math/w_j0.c: Likewise.
37447 * math/w_j0f.c: Likewise.
37448 * math/w_j0l.c: Likewise.
37449 * math/w_j1.c: Likewise.
37450 * math/w_j1f.c: Likewise.
37451 * math/w_j1l.c: Likewise.
37452 * math/w_jn.c: Likewise.
37453 * math/w_jnf.c: Likewise.
37454 * math/w_log.c: Likewise.
37455 * math/w_logf.c: Likewise.
37456 * math/w_logl.c: Likewise.
37457 * math/w_log10.c: Likewise.
37458 * math/w_log10f.c: Likewise.
37459 * math/w_log10l.c: Likewise.
37460 * math/w_log2.c: Likewise.
37461 * math/w_log2f.c: Likewise.
37462 * math/w_log2l.c: Likewise.
37463 * math/w_pow.c: Likewise.
37464 * math/w_powf.c: Likewise.
37465 * math/w_powl.c: Likewise.
37466 * math/w_remainder.c: Likewise.
37467 * math/w_remainderf.c: Likewise.
37468 * math/w_remainderl.c: Likewise.
37469 * math/w_scalb.c: Likewise.
37470 * math/w_scalbf.c: Likewise.
37471 * math/w_scalbl.c: Likewise.
37472 * math/w_sqrt.c: Likewise.
37473 * math/w_sqrtf.c: Likewise.
37474 * math/w_sqrtl.c: Likewise.
37475 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37476 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37477 used.
37478 * math/math_private.h: Declare __kernel_standard_f.
37479 * math/w_cosh.c: Remove cruft and optimize a bit.
37480 * math/w_coshf.c: Likewise.
37481 * math/w_coshl.c: Likewise.
37482 * math/w_exp2.c: Likewise.
37483 * math/w_exp2f.c: Likewise.
37484 * math/w_exp2l.c: Likewise.
37485 * math/w_hypot.c: Likewise.
37486 * math/w_hypotf.c: Likewise.
37487 * math/w_hypotl.c: Likewise.
37488 * math/w_lgamma.c: Likewise.
37489 * math/w_lgamma_r.c: Likewise.
37490 * math/w_lgammaf.c: Likewise.
37491 * math/w_lgammaf_r.c: Likewise.
37492 * math/w_lgammal.c: Likewise.
37493 * math/w_lgammal_r.c: Likewise.
37494 * math/w_sinh.c: Likewise.
37495 * math/w_sinhf.c: Likewise.
37496 * math/w_sinhl.c: Likewise.
37497 * math/w_tgamma.c: Likewise.
37498 * math/w_tgammaf.c: Likewise.
37499 * math/w_tgammal.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37501 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37502 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37503 Minor optimizations. Pretty printing. Remove cruft.
37504 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37505 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37506 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37507 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37508 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37509 * sysdeps/i386/fpu/e_asin.S: Likewise.
37510 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37511 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37512 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37513 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37517 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37518 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37519 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37520 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37521 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37522 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37523 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37524 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37525 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37526 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37527 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37528 * sysdeps/i386/fpu/e_log.S: Likewise.
37529 * sysdeps/i386/fpu/e_log10.S: Likewise.
37530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37532 * sysdeps/i386/fpu/e_log2.S: Likewise.
37533 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37535 * sysdeps/i386/fpu/e_logf.S: Likewise.
37536 * sysdeps/i386/fpu/e_logl.S: Likewise.
37537 * sysdeps/i386/fpu/e_pow.S: Likewise.
37538 * sysdeps/i386/fpu/e_powf.S: Likewise.
37539 * sysdeps/i386/fpu/e_powl.S: Likewise.
37540 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37541 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37542 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37543 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37544 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37546 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37547 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37548 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37570 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37573 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37574 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37576 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37577 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37578 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37580 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37583 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37584 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37587 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37588 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37589 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37590 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37591 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37592 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37594 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37595 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37596 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37597 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37599 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37604 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37629 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37642 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37646 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37647 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37648 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37649 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37650 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37651 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37652 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37655 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37657 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37659 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37660 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37661 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37662 (__isnanf): Likewise.
37663 (__isinf_ns): Likewise.
37664 (__isinf_nsf): Likewise.
37665 (__finite): Likewise.
37666 (__finitef): Likewise.
37667 (__ieee754_sqrt): Define as macro.
37668 (__ieee754_sqrtf): Define as macro.
37669 (__ieee754_sqrtl): Define as macro.
37670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37671 inlined copy.
37672 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37673 __FINITE_MATH_ONLY__ consistent.
37674 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37675
12cc2fcd
AS
376762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37677
a843a204
AS
37678 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37679 of rawmemchr.
37680
12cc2fcd
AS
37681 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37682
c853acd5
UD
376832011-10-09 Ulrich Drepper <drepper@gmail.com>
37684
37685 * po/ja.po: Update from translation team.
37686
c658d255
RM
376872011-10-08 Roland McGrath <roland@hack.frob.com>
37688
110946e4
RM
37689 * locale/programs/locarchive.c (prepare_address_space): New function.
37690 (create_archive, enlarge_archive, open_archive): Use it.
37691
50604220
RM
37692 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37693 inside [SHARED], where it is used.
37694
c658d255
RM
37695 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37696
37697 * nss/getent.c (netgroup_keys): Remove unused variable.
37698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37699
6a621eb7
UD
377002011-10-08 Ulrich Drepper <drepper@gmail.com>
37701
7edb55ce
UD
37702 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37705 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37706 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37707 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37708 * math/Makefile (libm-calls): Add s_isinf_ns.
37709 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37710 * math/multc3.c: Likewise.
37711 * math/s_casin.c: Likewise.
37712 * math/s_casinf.c: Likewise.
37713 * math/s_casinl.c: Likewise.
37714 * math/s_ccos.c: Likewise.
37715 * math/s_ccosf.c: Likewise.
37716 * math/s_ccosl.c: Likewise.
37717 * math/s_ctan.c: Likewise.
37718 * math/s_ctanf.c: Likewise.
37719 * math/s_ctanh.c: Likewise.
37720 * math/s_ctanhf.c: Likewise.
37721 * math/s_ctanhl.c: Likewise.
37722 * math/s_ctanl.c: Likewise.
37723 * math/w_fmod.c: Likewise.
37724 * math/w_fmodf.c: Likewise.
37725 * math/w_fmodl.c: Likewise.
37726 * math/w_remainder.c: Likewise.
37727 * math/w_remainderf.c: Likewise.
37728 * math/w_remainderl.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37730 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37733 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37734 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37735 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37736 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37737
187da0ae
UD
37738 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37739 of the number.
37740 * stdio-common/printf_fphex.c: Likewise.
37741 * stdio-common/printf_size.c: Likewise.
37742
9277c064
UD
37743 * math/e_exp10.c: Include math_private.h using <...> not "...".
37744 * math/e_exp10f.c: Likewise.
37745 * math/e_exp10l.c: Likewise.
37746 * math/e_exp2l.c: Likewise.
37747 * math/e_j0l.c: Likewise.
37748 * math/e_j1l.c: Likewise.
37749 * math/e_jnl.c: Likewise.
37750 * math/e_lgammal_r.c: Likewise.
37751 * math/e_rem_pio2l.c: Likewise.
37752 * math/e_scalb.c: Likewise.
37753 * math/e_scalbf.c: Likewise.
37754 * math/e_scalbl.c: Likewise.
37755 * math/k_cosl.c: Likewise.
37756 * math/k_sinl.c: Likewise.
37757 * math/k_tanl.c: Likewise.
37758 * math/s_cacoshf.c: Likewise.
37759 * math/s_catan.c: Likewise.
37760 * math/s_catanf.c: Likewise.
37761 * math/s_catanh.c: Likewise.
37762 * math/s_catanhf.c: Likewise.
37763 * math/s_catanhl.c: Likewise.
37764 * math/s_catanl.c: Likewise.
37765 * math/s_ccosh.c: Likewise.
37766 * math/s_ccoshf.c: Likewise.
37767 * math/s_ccoshl.c: Likewise.
37768 * math/s_cexp.c: Likewise.
37769 * math/s_cexpf.c: Likewise.
37770 * math/s_cexpl.c: Likewise.
37771 * math/s_clog.c: Likewise.
37772 * math/s_clog10.c: Likewise.
37773 * math/s_clog10f.c: Likewise.
37774 * math/s_clog10l.c: Likewise.
37775 * math/s_clogf.c: Likewise.
37776 * math/s_clogl.c: Likewise.
37777 * math/s_csin.c: Likewise.
37778 * math/s_csinf.c: Likewise.
37779 * math/s_csinh.c: Likewise.
37780 * math/s_csinhf.c: Likewise.
37781 * math/s_csinhl.c: Likewise.
37782 * math/s_csinl.c: Likewise.
37783 * math/s_csqrt.c: Likewise.
37784 * math/s_csqrtf.c: Likewise.
37785 * math/s_csqrtl.c: Likewise.
37786 * math/s_ctan.c: Likewise.
37787 * math/s_ctanf.c: Likewise.
37788 * math/s_ctanh.c: Likewise.
37789 * math/s_ctanhf.c: Likewise.
37790 * math/s_ctanhl.c: Likewise.
37791 * math/s_ctanl.c: Likewise.
37792 * math/s_ldexp.c: Likewise.
37793 * math/s_ldexpf.c: Likewise.
37794 * math/s_ldexpl.c: Likewise.
37795 * math/s_significand.c: Likewise.
37796 * math/s_significandf.c: Likewise.
37797 * math/s_significandl.c: Likewise.
37798 * math/w_acos.c: Likewise.
37799 * math/w_acosf.c: Likewise.
37800 * math/w_acosh.c: Likewise.
37801 * math/w_acoshf.c: Likewise.
37802 * math/w_acoshl.c: Likewise.
37803 * math/w_acosl.c: Likewise.
37804 * math/w_asin.c: Likewise.
37805 * math/w_asinf.c: Likewise.
37806 * math/w_asinl.c: Likewise.
37807 * math/w_atan2.c: Likewise.
37808 * math/w_atan2f.c: Likewise.
37809 * math/w_atan2l.c: Likewise.
37810 * math/w_atanh.c: Likewise.
37811 * math/w_atanhf.c: Likewise.
37812 * math/w_atanhl.c: Likewise.
37813 * math/w_cosh.c: Likewise.
37814 * math/w_coshf.c: Likewise.
37815 * math/w_coshl.c: Likewise.
37816 * math/w_dremf.c: Likewise.
37817 * math/w_exp10.c: Likewise.
37818 * math/w_exp10f.c: Likewise.
37819 * math/w_exp10l.c: Likewise.
37820 * math/w_exp2.c: Likewise.
37821 * math/w_exp2f.c: Likewise.
37822 * math/w_fmod.c: Likewise.
37823 * math/w_fmodf.c: Likewise.
37824 * math/w_fmodl.c: Likewise.
37825 * math/w_hypot.c: Likewise.
37826 * math/w_hypotf.c: Likewise.
37827 * math/w_hypotl.c: Likewise.
37828 * math/w_j0.c: Likewise.
37829 * math/w_j0f.c: Likewise.
37830 * math/w_j0l.c: Likewise.
37831 * math/w_j1.c: Likewise.
37832 * math/w_j1f.c: Likewise.
37833 * math/w_j1l.c: Likewise.
37834 * math/w_jn.c: Likewise.
37835 * math/w_jnf.c: Likewise.
37836 * math/w_jnl.c: Likewise.
37837 * math/w_lgamma.c: Likewise.
37838 * math/w_lgamma_r.c: Likewise.
37839 * math/w_lgammaf.c: Likewise.
37840 * math/w_lgammaf_r.c: Likewise.
37841 * math/w_lgammal.c: Likewise.
37842 * math/w_lgammal_r.c: Likewise.
37843 * math/w_log.c: Likewise.
37844 * math/w_log10.c: Likewise.
37845 * math/w_log10f.c: Likewise.
37846 * math/w_log10l.c: Likewise.
37847 * math/w_log2.c: Likewise.
37848 * math/w_log2f.c: Likewise.
37849 * math/w_log2l.c: Likewise.
37850 * math/w_logf.c: Likewise.
37851 * math/w_logl.c: Likewise.
37852 * math/w_pow.c: Likewise.
37853 * math/w_powf.c: Likewise.
37854 * math/w_powl.c: Likewise.
37855 * math/w_remainder.c: Likewise.
37856 * math/w_remainderf.c: Likewise.
37857 * math/w_remainderl.c: Likewise.
37858 * math/w_scalb.c: Likewise.
37859 * math/w_scalbf.c: Likewise.
37860 * math/w_scalbl.c: Likewise.
37861 * math/w_sinh.c: Likewise.
37862 * math/w_sinhf.c: Likewise.
37863 * math/w_sinhl.c: Likewise.
37864 * math/w_sqrt.c: Likewise.
37865 * math/w_sqrtf.c: Likewise.
37866 * math/w_sqrtl.c: Likewise.
37867 * math/w_tgamma.c: Likewise.
37868 * math/w_tgammaf.c: Likewise.
37869 * math/w_tgammal.c: Likewise.
37870
6a621eb7
UD
37871 * po/ja.po: Update from translation team.
37872
bf582445
AJ
378732011-09-29 Andreas Jaeger <aj@suse.de>
37874
f9efbf3a
AJ
37875 [BZ #13179]
37876 * sunrpc/netname.c (netname2host): Fix logic.
37877
bf582445
AJ
37878 [BZ #6779]
37879 [BZ #6783]
37880 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37881 correctly.
37882 * math/w_remainder.c (__remainder): Likewise.
37883 * math/w_remainderf.c (__remainderf): Likewise.
37884 * math/libm-test.inc (remainder_test): Add test cases.
37885
48693bea
AK
378862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37887
37888 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37889 sdiv_qrnnd.
37890
42622229
LD
378912011-10-07 Ulrich Drepper <drepper@gmail.com>
37892
37893 * string/test-memcmp.c: Avoid unncessary #defines.
37894 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37895
093ecf92
LD
378962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37897
37898 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37899 Use new sse2 version for core i3 - i7 as it's faster
37900 than sse42 version.
37901 (bit_Prefer_PMINUB_for_stringop): New.
37902 * sysdeps/x86_64/rawmemchr.S: Update.
37903 Replace with faster SSE2 version.
37904 * sysdeps/x86_64/memrchr.S: New file.
37905 * sysdeps/x86_64/memchr.S: Update.
37906 Replace with faster SSE2 version.
37907
fde56e5c
MP
379082011-09-12 Marek Polacek <mpolacek@redhat.com>
37909
37910 * elf/dl-load.c (lose): Add cast to avoid warning.
37911
21fd49a9
UD
379122011-10-07 Ulrich Drepper <drepper@gmail.com>
37913
5a06e643
UD
37914 * po/ca.po: Update from translation team.
37915
684ae515
UD
37916 * inet/getnetgrent_r.c: Hook up nscd.
37917 * nscd/Makefile (routines): Add nscd_netgroup.
37918 (nscd-modules): Add netgroupcache.
37919 (CFLAGS-netgroupcache.c): Define.
37920 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37921 (cache_search): Add const to second parameter.
37922 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37923 INNETGR.
37924 (dbs): Add netgrdb entry.
37925 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37926 (verify_persistent_db): Handle netgrdb.
37927 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37928 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37929 GETFDNETGR.
37930 (netgroup_response_header): Define.
37931 (innetgroup_response_header): Define.
37932 (datahead): Add netgroup_response_header and innetgroup_response_header
37933 elements.
37934 * nscd/nscd.conf: Add entries for netgroup cache.
37935 * nscd/nscd.h (dbtype): Add netgrdb.
37936 (_PATH_NSCD_NETGROUP_DB): Define.
37937 (netgroup_iov_disabled): Declare.
37938 (xmalloc, xcalloc, xrealloc): Move declarations here.
37939 (cache_search): Adjust prototype.
37940 Add netgroup-related prototypes.
37941 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37942 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37943 (__nscd_innetgr): Declare.
37944 * nscd/selinux.c (perms): Use access_vector_t as element type and
37945 add netgroup-related initializers.
37946 * nscd/netgroupcache.c: New file.
37947 * nscd/nscd_netgroup.c: New file.
37948 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37949 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37950 For four parameters use innetgr.
37951 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37952 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37953 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37954 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37955
21fd49a9
UD
37956 * nscd/connections.c (register_traced_file): Don't register file
37957 for disabled databases.
37958
054c0457
UD
379592011-10-06 Ulrich Drepper <drepper@gmail.com>
37960
32b63198
UD
37961 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37962
054c0457
UD
37963 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37964 from tree and freeing node.
37965
64031225
JO
379662011-09-25 Jiri Olsa <jolsa@redhat.com>
37967
37968 * nss/nsswitch.c (__nss_database_lookup): Handle
37969 nss_parse_service_list out of memory case.
37970
0490345c
JO
379712011-09-15 Jiri Olsa <jolsa@redhat.com>
37972
37973 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37974 out of memory case.
37975
3a62d00d
AS
379762011-10-04 Andreas Schwab <schwab@redhat.com>
37977
37978 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37979 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37980 pass it down.
37981 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37982 elf_machine_rela, elf_machine_lazy_rel.
37983 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37984 (ELF_DYNAMIC_DO_REL): Likewise.
37985 (ELF_DYNAMIC_DO_RELA): Likewise.
37986 (ELF_DYNAMIC_RELOCATE): Likewise.
37987 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37988 to ELF_DYNAMIC_DO_REL.
37989 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37990 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37991 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37992 elf_machine_rela.
37993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37994 skip_ifunc, don't call ifunc function if non-zero.
37995 (elf_machine_rela): Likewise.
37996 (elf_machine_lazy_rel): Likewise.
37997 (elf_machine_lazy_rela): Likewise.
37998 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37999 (elf_machine_lazy_rel): Likewise.
38000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38001 Likewise.
38002 (elf_machine_lazy_rel): Likewise.
38003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38004 Likewise.
38005 (elf_machine_lazy_rel): Likewise.
38006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38007 (elf_machine_lazy_rel): Likewise.
38008 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38009 (elf_machine_lazy_rel): Likewise.
38010 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38011 (elf_machine_lazy_rel): Likewise.
38012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38013 (elf_machine_lazy_rel): Likewise.
38014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38015 (elf_machine_lazy_rel): Likewise.
38016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38017 (elf_machine_lazy_rel): Likewise.
38018
68577918
UD
380192011-09-28 Ulrich Drepper <drepper@gmail.com>
38020
38021 * nss/nss_files/files-init.c (_nss_files_init): Use static
38022 initialization for all the *_traced_file variables.
38023
68822d74
AS
380242011-09-28 Andreas Schwab <schwab@redhat.com>
38025
38026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38027
2056100b
RM
380282011-09-27 Roland McGrath <roland@hack.frob.com>
38029
38030 [BZ #13226]
38031 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38032
32c76b63
AS
380332011-09-27 Andreas Schwab <schwab@redhat.com>
38034
38035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38036 Reread the line before reparsing it.
38037
bf972c9d
AS
380382011-09-26 Andreas Schwab <schwab@redhat.com>
38039
38040 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38041
e057a1b5
JM
380422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38043 Maxim Kuvyrkov <maxim@codesourcery.com>
38044 Joseph Myers <joseph@codesourcery.com>
38045
38046 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38047 if needed for __stack_chk_guard.
38048
bc7e1c36
RM
380492011-09-19 Roland McGrath <roland@hack.frob.com>
38050
ecb1482f
RM
38051 * sysdeps/posix/spawni.c (script_execute): Always define it.
38052 It will be optimized away if unused.
38053 (maybe_script_execute): New function.
38054 (__spawni): Call it.
38055
bc7e1c36
RM
38056 * Makerules: Don't include tls.make.
38057 (config-tls): Always set to thread.
38058 * tls.make.c: File removed.
38059
1c3b002b
MF
380602011-09-19 Mike Frysinger <vapier@gentoo.org>
38061
38062 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38063 * config.make.in (CPPFLAGS-config): New substituted variable.
38064
2840865d
UD
380652011-09-15 Ulrich Drepper <drepper@gmail.com>
38066
88738eb6
UD
38067 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38068
cbf645a6 38069 [BZ #13192]
2840865d
UD
38070 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38071 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38072
b402e91a
RM
380732011-09-15 Roland McGrath <roland@hack.frob.com>
38074
38075 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38076 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38078 (CALL_FAIL): Likewise.
38079 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38080 (CALL_FAIL): Macro removed.
38081 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38082
4c1a1f71
UD
380832011-09-15 Ulrich Drepper <drepper@gmail.com>
38084
38085 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38086 for __FINITE_MATH_ONLY__ == 1.
38087
edc121be
AS
380882011-09-15 Andreas Schwab <schwab@redhat.com>
38089
38090 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38091 __ieee754_sqrt instead of sqrt.
38092 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38093 __ieee754_sqrtf instead of sqrtf.
38094 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38095 __floorf instead of floorf.
38096 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38097 __floorf, __truncf instead of floorf, truncf.
38098
cd205654
UD
380992011-09-14 Ulrich Drepper <drepper@gmail.com>
38100
ee4d0315
UD
38101 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38102
cd205654
UD
38103 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38104 __extern_always_inline.
38105 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38106 32-bit.
38107
48b67d71
AS
381082011-09-14 Andreas Schwab <schwab@redhat.com>
38109
38110 * elf/rtld.c (dl_main): Also relocate in dependency order when
38111 doing symbol dependency testing.
38112
1ae12c75
AS
381132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38114
38115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38116 Always define `refsym'.
38117
995a80df
AS
381182011-09-13 Andreas Schwab <schwab@redhat.com>
38119
e529793b
AS
38120 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38121 (__FD_ELT): Renamed from __FDELT.
38122 * misc/bits/select2.h (__FD_ELT): Likewise.
38123 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38124 __FD_MASK instead of __FDELT, __FDMASK.
38125 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38126 Likewise.
38127 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38128 Likewise.
38129
52d4fef8
AS
38130 * elf/Makefile (gen-ldd): Fix pattern.
38131
995a80df
AS
38132 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38133 (init_tls): Likewise.
38134
8682f8b0
UD
381352011-09-12 Ulrich Drepper <drepper@gmail.com>
38136
38137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38138
de82006d
AS
381392011-09-12 Andreas Schwab <schwab@redhat.com>
38140
a7c8e6a1
AS
38141 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38142 `struct cmsghdr *' instead of `void *'.
38143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38144 Likewise.
38145
0f31fe77
AS
381462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38147
38148 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38149 if non-absolute.
38150 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38151 ldd_rewrite_script.
0f31fe77 38152
32b4c839
UD
381532011-09-11 Ulrich Drepper <drepper@gmail.com>
38154
83cd1420
UD
38155 * configure.in: Remove --with-tls option.
38156 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38157 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38158 out in case it is missing.
38159 * sysdeps/ia64/elf/configure.in: Likewise.
38160 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38161 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38162 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38163 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38164 * sysdeps/sh/elf/configure.in: Likewise.
38165 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38166 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38167 * sysdeps/x86_64/elf/configure.in: Likewise.
38168 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38169 * sysdeps/mach/hurd/tls.h: Likewise.
38170
633f745d
UD
38171 [BZ #13067]
38172 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38173
f318beb8
UD
38174 [BZ #13090]
38175 * configure.in: Fix use of AC_INIT.
38176
32b4c839
UD
38177 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38178
3ce1f295
UD
381792011-09-10 Ulrich Drepper <drepper@gmail.com>
38180
bb016596
UD
38181 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38182 __set_errno.
8e58439c
UD
38183 * malloc/hooks.c: Likewise.
38184
aebae053 38185 [BZ #11929]
02d46fc4
UD
38186 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38187 variables statically.
38188 (narenas): Initialize.
38189 (list_lock): Initialize.
bb016596
UD
38190 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38191 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38192 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38193 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38194 Add initializers to main_arena and mp_.
38195 (malloc_state): Remove pagesize member. Change all users to use
38196 GLRO(dl_pagesize).
38197
38198 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38199 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38200 is always initialized.
38201
22a89187
UD
38202 * malloc/malloc.c: Removed unused configurations and dead code.
38203 * malloc/arena.c: Likewise.
38204 * malloc/hooks.c: Likewise.
02d46fc4 38205 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38206
d063d164
UD
38207 * include/tls.h: Removed. USE___THREAD must always be defined.
38208 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38209 * elf/dl-libc.c: Likewise.
38210 * elf/dl-tsd.c: Likewise.
38211 * include/errno.h: Likewise.
38212 * include/netdb.h: Likewise.
38213 * include/resolv.h: Likewise.
38214 * inet/herrno-loc.c: Likewise.
38215 * inet/herrno.c: Likewise.
38216 * malloc/arena.c: Likewise.
38217 * malloc/hooks.c: Likewise.
38218 * malloc/malloc.c: Likewise.
38219 * resolv/res-state.c: Likewise.
38220 * resolv/res_libc.c: Likewise.
38221 * sysdeps/i386/dl-machine.h: Likewise.
38222 * sysdeps/ia64/dl-machine.h: Likewise.
38223 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38225 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38226 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38227 * sysdeps/sh/dl-machine.h: Likewise.
38228 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38229 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38230 * sysdeps/unix/i386/sysdep.S: Likewise.
38231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38232 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38237 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38242 * sysdeps/x86_64/dl-machine.h: Likewise.
38243 * tls.make.c: Likewise.
38244
3ce1f295
UD
38245 * configure.in: Remove --with-__thread option. Make tests for
38246 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38247 tls_model attribute fail if no support is available. Remove
38248 USE_IN_LIBIO.
38249 * Makeconfig: Adjust for dropped configure option. All features are
38250 now mandatory.
38251 * Makerules: Likewise.
38252 * Versions.def: Likewise.
38253 * argp/argp-fmtstream.c: Likewise.
38254 * argp/argp-fmtstream.h: Likewise.
38255 * argp/argp-help.c: Likewise.
38256 * assert/assert.c: Likewise.
38257 * config.h.in: Likewise.
38258 * config.make.in: Likewise.
38259 * configure: Likewise.
38260 * configure.in: Likewise.
38261 * csu/Versions: Likewise.
38262 * csu/init.c: Likewise.
38263 * elf/tst-audit2.c: Likewise.
38264 * elf/tst-tls10.c: Likewise.
38265 * elf/tst-tls10.h: Likewise.
38266 * elf/tst-tls11.c: Likewise.
38267 * elf/tst-tls12.c: Likewise.
38268 * elf/tst-tls14.c: Likewise.
38269 * elf/tst-tlsmod11.c: Likewise.
38270 * elf/tst-tlsmod12.c: Likewise.
38271 * elf/tst-tlsmod13.c: Likewise.
38272 * elf/tst-tlsmod13a.c: Likewise.
38273 * elf/tst-tlsmod14a.c: Likewise.
38274 * elf/tst-tlsmod15b.c: Likewise.
38275 * elf/tst-tlsmod16a.c: Likewise.
38276 * elf/tst-tlsmod16b.c: Likewise.
38277 * elf/tst-tlsmod7.c: Likewise.
38278 * elf/tst-tlsmod8.c: Likewise.
38279 * elf/tst-tlsmod9.c: Likewise.
38280 * gmon/gmon.c: Likewise.
38281 * grp/fgetgrent_r.c: Likewise.
38282 * grp/putgrent.c: Likewise.
38283 * hurd/fopenport.c: Likewise.
38284 * include/libc-symbols.h: Likewise.
38285 * include/tls.h: Likewise.
38286 * intl/gettextP.h: Likewise.
38287 * intl/loadinfo.h: Likewise.
38288 * locale/global-locale.c: Likewise.
38289 * locale/localeinfo.h: Likewise.
38290 * mach/devstream.c: Likewise.
38291 * malloc/arena.c: Likewise.
38292 * malloc/set-freeres.c: Likewise.
38293 * misc/err.c: Likewise.
38294 * misc/getttyent.c: Likewise.
38295 * misc/mntent_r.c: Likewise.
38296 * posix/getopt.c: Likewise.
38297 * posix/wordexp.c: Likewise.
38298 * pwd/fgetpwent_r.c: Likewise.
38299 * resolv/Versions: Likewise.
38300 * resolv/res_hconf.c: Likewise.
38301 * shadow/fgetspent_r.c: Likewise.
38302 * shadow/putspent.c: Likewise.
38303 * stdio-common/printf_fphex.c: Likewise.
38304 * stdio-common/tmpfile.c: Likewise.
38305 * stdlib/abort.c: Likewise.
38306 * stdlib/fmtmsg.c: Likewise.
38307 * sunrpc/auth_unix.c: Likewise.
38308 * sunrpc/clnt_perr.c: Likewise.
38309 * sunrpc/clnt_tcp.c: Likewise.
38310 * sunrpc/clnt_udp.c: Likewise.
38311 * sunrpc/clnt_unix.c: Likewise.
38312 * sunrpc/openchild.c: Likewise.
38313 * sunrpc/svc_simple.c: Likewise.
38314 * sunrpc/svc_tcp.c: Likewise.
38315 * sunrpc/svc_udp.c: Likewise.
38316 * sunrpc/svc_unix.c: Likewise.
38317 * sunrpc/xdr.c: Likewise.
38318 * sunrpc/xdr_array.c: Likewise.
38319 * sunrpc/xdr_rec.c: Likewise.
38320 * sunrpc/xdr_ref.c: Likewise.
38321 * sunrpc/xdr_stdio.c: Likewise.
38322
1248c1c4
PB
383232011-09-09 Ulrich Drepper <drepper@gmail.com>
38324
38325 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38326
383272011-07-03 Andreas Jaeger <aj@suse.de>
38328
38329 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38330 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38331 regenerate with gen-libm-tests.pl.
38332
383332010-05-12 Petr Baudis <pasky@suse.cz>
38334
38335 [BZ #11589]
38336 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38337 around j0() zero points by switching to j1().
38338 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38342
f22e1074
UD
383432011-09-09 Ulrich Drepper <drepper@gmail.com>
38344
f19009c1
UD
38345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38346 instead of 0.
38347 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38348 instead of 0.
f19009c1
UD
38349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38350 Patch in part by Pavel Roskin <proski@gnu.org>.
38351
3f8cc204
UD
38352 [BZ #13138]
38353 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38354 realloc.
38355 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38356 Free memory block if necessary.
38357
f22e1074
UD
38358 [BZ #12847]
38359 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38360 be NULL. Don't lock in this case.
38361
0a2349f9
RM
383622011-09-09 Roland McGrath <roland@hack.frob.com>
38363
38364 * elf/elf.h (ELFOSABI_GNU): New macro.
38365 (ELFOSABI_LINUX): Define to that.
38366
f3cdd467
DZ
383672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38368
38369 * string/strncat.c (strncat): Undef the symbol in case it has been
38370 defined in bits/string.h.
38371
74718d13
UD
383722011-09-09 Ulrich Drepper <drepper@gmail.com>
38373
633e9e0f
UD
38374 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38375
0a2349f9 38376 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38377 link map.
38378
f9924780
AJ
383792011-08-17 Andreas Jaeger <aj@suse.de>
38380
38381 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38382
7f5517aa
PP
383832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38384 Ian Lance Taylor <iant@google.com>
38385
38386 * math/libm-test.inc (lround_test): New testcase.
38387 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38388
762011fe
UD
383892011-09-08 Ulrich Drepper <drepper@gmail.com>
38390
92963737
UD
38391 * Makefile: Remove support for automatic cvs check-ins.
38392 * Makerules: Likewise.
38393 * config.make.in: Likewise.
38394 * configure.in: Likewise.
38395 * intl/Makefile: Likewise.
38396 * locale/Makefile: Likewise.
38397 * po/Makefile: Likewise.
38398 * posix/Makefile: Likewise.
38399 * sysdeps/gnu/Makefile: Likewise.
38400 * sysdeps/mach/hurd/Makefile: Likewise.
38401 * sysdeps/sparc/sparc32/Makefile: Likewise.
38402
b0727fd8
JS
38403 [BZ #13118]
38404 * posix/Makefile (bug-regex32-ENV): Define.
38405 Patch by John Stanley <jpsinthemix@verizon.net>.
38406
a0f33f99
UD
38407 * misc/Makefile (headers): Add bits/select2.h.
38408 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38409 * misc/bits/select2.h: New file.
38410 * include/bits/select2.h: New file.
38411 * debug/Makefile (routines): Add fdelt_chk.
38412 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38413 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38414 FD_ISSET.
38415 * debug/fdelt_chk.c: New file.
38416
762011fe
UD
38417 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38418 * wcsmbs/test-wmemcmp.c: Likewise.
38419 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38420 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38421
384222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38423
38424 * string/Makefile (strop-tests): Add memcmp.
38425 * string/test-wmemcmp.c: New file.
38426 * string/test-memcmp.c: Add wmemcmp support.
38427
7f513ec8
RM
384282011-09-08 Roland McGrath <roland@hack.frob.com>
38429
0442afb4
RM
38430 [BZ #13153]
38431 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38432 2011-07-19 change.
38433
7f513ec8
RM
38434 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38435 garbage value in a __mach_port_mod_refs call in the cases of the
38436 task-self and thread-self ports.
38437
a12b2239
ST
384382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38439
38440 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38441
610f9ab4
AS
384422011-09-08 Andreas Schwab <schwab@redhat.com>
38443
7f513ec8 38444 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38445
48882a1a
LD
384462011-09-07 Ulrich Drepper <drepper@gmail.com>
38447
b49865be
UD
38448 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38449
fdc86bc9
UD
38450 * elf/dl-libc.c (dlerror_run): Pass back error code from
38451 dl_catch_error.
38452
c966526a
UD
38453 [BZ #13123]
38454 * elf/dl-load.c (lose): Free l_origin if it is valid.
38455
48882a1a
LD
38456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38457 names.
38458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38462 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38463 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38464
77a2a8b4
AZ
384652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38466
38467 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38468 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38470 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38471 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38472 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38473 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38474 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38475 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38476 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38477
24f579d8
AM
384782011-08-15 Alan Modra <amodra@gmail.com>
38479
38480 [BZ #13092]
38481 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38482 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38483 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38484 ppc_mcount to static-only-routines.
38485 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38486 __mcount_internal.
38487 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38488 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38489
3d4837df
UD
384902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38491
38492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38493 for finite and infinity parameters.
38494
22700377
WS
384952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38496
38497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38498 and add nop instructions for throughput optimization.
38499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38500
5025581e
WS
385012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38502
38503 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38504 aligned copy for power7 with vector-scalar instructions.
38505 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38506
08a300c9
L
385072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38508
38509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38510 AVX check.
38511
59178ef9
AS
385122011-09-07 Andreas Schwab <schwab@redhat.com>
38513
38514 [BZ #13144]
38515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38516 last change.
38517
e38ba7ab
UD
385182011-09-07 Ulrich Drepper <drepper@gmail.com>
38519
38520 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38521 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38522 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38523 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38524 clock_gettime.
38525
d53a73ac
UD
385262011-09-06 Ulrich Drepper <drepper@gmail.com>
38527
fc8bffcc
UD
38528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38529 Forgot to demangle the pointer.
38530
ceaa0c5d
UD
38531 * sysdeps/i386/sysdep.h: Define atom_text_section.
38532 * sysdeps/x86_64/sysdep.h: Likewise.
38533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38534 section with atom_text_section.
38535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38537 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38540
a77d3c17
UD
38541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38542 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38543 already be defined. Change to take two parameters and don't assign
38544 result to variable. Adjust all users.
38545 Define INTERNAL_GETTIME if not already defined.
38546 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38547 call.
38548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38549 HAVE_CLOCK_GETTIME_VSYSCALL.
38550 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38551
d53a73ac
UD
38552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38553 gettimeofday vsyscall, just use time.
38554
a8f84144
AS
385552011-09-06 Andreas Schwab <schwab@redhat.com>
38556
38557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38558 <errno.h>.
38559
ef606249
UD
385602011-09-06 Ulrich Drepper <drepper@gmail.com>
38561
38562 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38563 syscall on x86-64.
38564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38565 syscall.
38566 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38568 syscall if possible.
38569
6585cb60
UD
385702011-09-05 Ulrich Drepper <drepper@gmail.com>
38571
38572 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38573 e_ident. Don't pass to find_mapsXX.
38574 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38575
a5f524e4
LD
385762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38577
38578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38579 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38580 * sysdeps/x86_64/multiarch/strchr.S: Update.
38581 Check bit_slow_BSF bit.
38582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38584 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38585
554881ef
UD
385862011-09-05 Ulrich Drepper <drepper@gmail.com>
38587
d96de963
UD
38588 [BZ #13134]
38589 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38590 before glibc 2.15.
38591 (tryshell): Define.
38592 (__spawni): Change last parameter to be flag. Test
38593 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38594 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38595 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38596 * posix/spawni.c: Likewise.
38597 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38598 * posix/spawnp.c: Likewise. Change normal version to use
38599 SPAWN_XFLAGS_USE_PATH.
38600 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38601 SPAWN_XFLAGS_TRY_SHELL.
38602
d48e5868
UD
38603 [BZ #13150]
38604 * posix/glob.h: Remove gcc 1.x support.
38605
554881ef
UD
38606 [BZ #13068]
38607 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38608
693fb948
LD
386092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38610
38611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38612 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38613 strrchr-sse2-bsf
38614 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38615 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38617 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38620
1b48c537
UD
386212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38622
49d42c37
UD
38623 * sysdeps/x86_64/wcscmp.S: New file.
38624
1b48c537
UD
38625 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38626 wcscmp-c wcscmp-sse2
38627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38628 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38629 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38630 * wcsmbs/wcscmp.c: Allow renaming.
38631
15c95c5d
DM
386322011-09-05 David S. Miller <davem@davemloft.net>
38633
38634 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38635 stack slot, rather than the struct return pointer slot.
38636 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38637 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38640
2f0ad8f3
UD
386412011-09-05 Ulrich Drepper <drepper@gmail.com>
38642
d88ae418
UD
38643 * po/ja.po: Update from translation team.
38644
2f0ad8f3
UD
38645 [BZ #13144]
38646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38647 kernel in 64-bit binaries.
38648
5f4318d1
DM
386492011-09-01 David S. Miller <davem@davemloft.net>
38650
38651 * elf/elf.h (HWCAP_SPARC_*): Move to..
38652 * sysdeps/sparc/sysdep.h: this new file and add new values.
38653 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38654 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38655 _DL_HWCAP_COUNT to 24.
38656 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38657 entries.
38658 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38659 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38660 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38662 instead of magic constants.
38663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38664
3ba57516
DM
386652011-08-31 David S. Miller <davem@davemloft.net>
38666
38667 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38669 Reimplement to do errno handling inline.
38670 (SYSCALL_ERROR_HANDLER): New macro.
38671 (__SYSCALL_STRING): Do not do errno handling in asm.
38672 (__CLONE_SYSCALL_STRING): Delete.
38673 (__INTERNAL_SYSCALL_STRING): Delete.
38674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38675 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38676 (PSEUDO): Reimplement to do errno handling inline.
38677 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38678 (SYSCALL_ERROR_HANDLER): New macro.
38679 (__SYSCALL_STRING): Do not do errno handling in asm.
38680 (__CLONE_SYSCALL_STRING): Delete.
38681 (__INTERNAL_SYSCALL_STRING): Delete.
38682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38683 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38684 i386.
38685 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38686 (inline_syscall*): Add 'err' argument.
38687 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38688 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38689 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38690 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38691
38692 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38694
2bc17433
AS
386952011-08-30 Andreas Schwab <schwab@redhat.com>
38696
38697 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38698
fbeb5f4d
JO
386992011-08-29 Jiri Olsa <jolsa@redhat.com>
38700
38701 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38702 directive.
38703
ad69cc26
DM
387042011-08-24 David S. Miller <davem@davemloft.net>
38705
38706 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38707
39dd69df
AS
387082011-08-24 Andreas Schwab <schwab@redhat.com>
38709
38710 * elf/Makefile: Add rules to build and run unload8 test.
38711 * elf/unload8.c: New file.
38712 * elf/unload8mod1.c: New file.
38713 * elf/unload8mod1x.c: New file.
38714 * elf/unload8mod2.c: New file.
38715 * elf/unload8mod3.c: New file.
38716
38717 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38718 it wasn't used.
38719
2c0b250a
DM
387202011-08-23 David S. Miller <davem@davemloft.net>
38721
38722 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38723 subtract stack bias.
38724 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38725 %sp not %fp in calculations.
38726 (_JMPBUF_UNWINDS_ADJ): Likewise.
38727
22044b48
DM
38728 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38729 (aio_suspend): Call it to force an exception region around the
38730 AIO_MISC_WAIT() invocation.
38731
2cae4995
AS
387322011-08-23 Andreas Schwab <schwab@redhat.com>
38733
38734 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38735 backslash.
38736
873a772e
AJ
387372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38738
38739 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38740 protection macro.
38741 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38742 and <dl-machine.h>.
38743 (Elf64_FuncDesc): Remove.
38744
25ad0df1
DM
387452011-08-22 David S. Miller <davem@davemloft.net>
38746
38747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38748 sigaltstack check, add missing cfi directives.
38749 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38750 missing cfi directives, and sigaltstack handling.
38751
e888bcbe
AS
387522011-08-16 Andreas Schwab <schwab@redhat.com>
38753
38754 [BZ #11724]
38755 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38756 object is seen twice.
38757 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38758
38759 * elf/Makefile (distribute): Add tst-initorder2.c.
38760 (tests): Add tst-initorder2.
38761 (modules-names): Add tst-initorder2a tst-initorder2b
38762 tst-initorder2c tst-initorder2d. Add rules to build them.
38763 ($(objpfx)tst-initorder2.out): New rule.
38764 * elf/tst-initorder2.c: New file.
38765 * elf/tst-initorder2.exp: New file.
38766
87162f46
AS
387672011-08-22 Andreas Schwab <schwab@redhat.com>
38768
70538b7f
AS
38769 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38770
f55ffe58
AS
38771 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38772 dependencies back to end of function.
38773
87162f46
AS
38774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38775 $(elfobjdir)/ld.so.
38776
91b392a4
UD
387772011-08-21 Ulrich Drepper <drepper@gmail.com>
38778
38779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38780 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38782 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38783 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38784 of __vdso_gettimeofday.
38785 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38786 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38787 attribute_hidden.
38788 (_libc_vdso_platform_setup): Remove initialization of
38789 __vdso_gettimeofday and __vdso_time.
38790
5c43483f
UD
387912011-08-20 Ulrich Drepper <drepper@gmail.com>
38792
775a77e7
UD
38793 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38794 and fgetc_unlocked.
38795 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38796 getc_unlocked.
89f447ed 38797
49c74ba9
UD
38798 * elf/dl-open.c (add_to_global): Report additions to the global scope
38799 for LD_DEBUG=scopes.
38800 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38801 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38802
5c43483f
UD
38803 [BZ #13114]
38804 * stdio-common/Makefile (tests): Add bug24.
38805 * stdio-common/bug24.c: New file.
38806
a101b025
AJ
388072011-08-19 Andreas Jaeger <aj@suse.de>
38808
38809 [BZ #13114]
38810 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38811 non-existant file when using close-on-exec mode.
38812
c88f1766
UD
388132011-08-20 Ulrich Drepper <drepper@gmail.com>
38814
0276a718
UD
38815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38816 the very first instruction.
38817
c88f1766
UD
38818 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38819 the CFI state in the end.
38820 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38821 inclusion of dl-trampoline.h.
38822 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38823
51ccffa0
AS
388242011-08-19 Andreas Schwab <schwab@redhat.com>
38825
94d7165f
AS
38826 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38827 expectations for long double.
38828
51ccffa0
AS
38829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38830 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38831
fd708658 388322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38833
38834 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38835 artificual limit depends upon the system page size.
38836
44f0a71e
UD
388372011-08-17 Ulrich Drepper <drepper@gmail.com>
38838
38839 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38840 * resolv/Makefile: Define CFLAGS-libresolv.
38841
8de79a24
AS
388422011-08-17 Andreas Schwab <schwab@redhat.com>
38843
38844 * nss/makedb.c (compute_tables): Make variables used in nested
38845 function static.
38846
27724598
UD
388472011-08-17 Ulrich Drepper <drepper@gmail.com>
38848
c5305d88
UD
38849 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38850 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38851 if buffer was too small.
38852
27724598
UD
38853 * elf/pldd.c (main): Attach to all threads in the process.
38854 Rewrite /proc handling to use *at functions.
38855
076fe015
UD
388562011-08-16 Ulrich Drepper <drepper@gmail.com>
38857
174baab3
UD
38858 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38859 specifies first scope to show.
38860 (dl_open_worker): Update callers. Move printing scope of new
38861 object to before the relocation.
44f0a71e 38862 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38863 * sysdeps/generic/ldsodefs.h: Update declaration.
38864
076fe015
UD
38865 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38866 string for the scope number.
38867
a60df2c3
UD
388682011-08-14 Ulrich Drepper <drepper@gmail.com>
38869
38870 * nscd/servicescache.c (cache_addserv): Make sure written is always
38871 initialized.
38872
5e4287d1
RM
388732011-08-14 Roland McGrath <roland@hack.frob.com>
38874
85ae0589
RM
38875 * sysdeps/i386/i486/bits/atomic.h
38876 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38877 statement expression, so as to suppress "set but not used" warning.
38878 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38879
69f63097
RM
38880 * string/strncat.c (STRNCAT): Use prototype definition.
38881
675456ef
RM
38882 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38883 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38884 -Iprograms here.
38885 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38886 (localedef-modules): Add localedef.
38887 (locale-modules): Add locale.
38888
5e4287d1
RM
38889 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38890 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38891 to avoid a warning.
38892
9c96ff23
DM
388932011-08-14 David S. Miller <davem@davemloft.net>
38894
38895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38896 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38897
f9ddf089
UD
388982011-08-13 Ulrich Drepper <drepper@gmail.com>
38899
44f0a71e 38900 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38901 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38902 * elf/rtld.c (dl_main): Set l_name of vDSO.
38903 Call _dl_show_scope when DL_DEBUG_SCOPES.
38904 (process_dl_debug): Recognize scopes flag and also set it for all.
38905 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38906 Declare _dl_show_scope.
38907
1dc27704
UD
38908 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38909 (do_dlopen): Pass caller_dlopen to dl_open.
38910 (__libc_dlopen_mode): Initialize caller_dlopen.
38911
f9ddf089
UD
38912 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38913 of libc. Make tolower call locale-independent. Optimize a bit by
38914 using isdigit instead of isalnum.
38915 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38916
9ac533d3
UD
389172011-08-12 Ulrich Drepper <drepper@gmail.com>
38918
38919 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38920 was a dependency or dynamically loaded.
38921
89edf2e9
UD
389222011-08-11 Ulrich Drepper <drepper@gmail.com>
38923
8e999d29
UD
38924 * intl/l10nflist.c: Allow architecture-specific pop function.
38925 * sysdeps/x86_64/l10nflist.c: New file.
38926
89edf2e9
UD
38927 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38928 classification.
38929
14d96785
AS
389302011-08-10 Andreas Schwab <schwab@redhat.com>
38931
38932 * include/dirent.h: Add libc_hidden_proto for scandirat and
38933 scandirat64. Don't declare __scandirat64.
38934 * dirent/scandirat.c: Add libc_hidden_def.
38935 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38936 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38937
6761ac04
DM
389382011-08-10 David S. Miller <davem@davemloft.net>
38939
38940 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38941 enum.
38942 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38945
c55fbd1e
UD
389462011-08-09 Ulrich Drepper <drepper@gmail.com>
38947
38948 * Versions.def [libc]: Add GLIBC_2.15.
38949 * dirent/Makefile (routines): Add scandirat and scandirat64.
38950 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38951 GLIBC_2.15.
38952 * dirent/dirent.h: Declare scandirat and scandirat64.
38953 * dirent/scandirat.c: New file.
38954 * dirent/scandirat64.c: New file.
38955 * sysdeps/wordsize-64/scandirat.c: New file.
38956 * sysdeps/wordsize-64/scandirat64.c: New file.
38957 * dirent/opendir.c: Define opendirat.
38958 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38959 using scandirat.
38960 * dirent/scandir64.c: Adjust for scandir.c change.
38961 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38962 __scandirat64, and __scandir_cancel_handler.
38963 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38964 additional parameter and use openat instead of open (outside of ld.so).
38965 Add new __opendir as wrapper around __opendirat.
38966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38967 here without requiring old scandirat implementation.
38968
879165f2
UD
389692011-08-08 Ulrich Drepper <drepper@gmail.com>
38970
38971 * dirent/scandir.c (cancel_handler): Renamed to
38972 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38973 defined. Adjust users.
38974 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38976
cb7e923b
UD
389772011-08-04 Ulrich Drepper <drepper@gmail.com>
38978
16292edd
UD
38979 * string/test-string.h (IMPL): Use __STRING to expand name and then
38980 stringify it.
38981
cb7e923b
UD
38982 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38983 of cleanups.
38984
cff82933
LD
389852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38986
38987 * string/Makefile: Update.
38988 (strop-tests): Append strncat.
38989 * string/test-wcscmp.c: New file.
38990 New comprehensive test for wcscmp.
38991 * string/test-strcmp.c: Update.
38992 (WIDE): New define.
38993
9be9bfcc
AS
389942011-07-22 Andreas Schwab <schwab@redhat.com>
38995
38996 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38997 line.
38998
2e96f1c7
AS
389992011-07-26 Andreas Schwab <schwab@redhat.com>
39000
39001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39002 encoding to ACE if AI_IDN.
39003
85188888
JJ
390042011-08-01 Jakub Jelinek <jakub@redhat.com>
39005
39006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39007 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39008
5fa16e9b
LD
390092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39010
39011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39012 Fix overflow bug in strncat.
39013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39014
39015 * string/test-strncat.c: Update.
39016 Add new tests for checking overflow bugs.
39017
390182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39019
39020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39021 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39022 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39023 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39025 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39026 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39027 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39028 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39029
39030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39031 (USE_AS_STRCAT): Define.
39032 Add strcat and strncat support.
39033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39034
8c1a459f
AS
390352011-07-25 Andreas Schwab <schwab@redhat.com>
39036
39037 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39038 __n bigger than INT_MAX+1.
39039 (__strncmp_g): Likewise.
39040
bba33c28
UD
390412011-07-23 Ulrich Drepper <drepper@gmail.com>
39042
798be72d
UD
39043 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39044 * libio/stido.h: Likewise.
39045
8accd4dc
UD
39046 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39047 (AF_NFC): Define.
39048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39049 (AF_NFC): Define.
39050
cbff0d96
UD
39051 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39056
9191c04a
UD
39057 [BZ #13021]
39058 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39059 installed.
39060
bba33c28
UD
39061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39062 typo.
39063 (_dl_x86_64_save_sse): Likewise.
39064
90f139dd
UD
390652011-07-22 Ulrich Drepper <drepper@gmail.com>
39066
1aae088a
UD
39067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39068 OSXSAVE.
39069 (_dl_x86_64_save_sse): Likewise.
39070
8e2045f5
UD
39071 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39072
90f139dd
UD
39073 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39074
1d002f25
AS
390752011-07-21 Andreas Schwab <schwab@redhat.com>
39076
39077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39078 change.
39079 (_dl_x86_64_save_sse): Use correct AVX check.
39080
21137f89
UD
390812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39082
39083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39084 bug in strncpy/strncat.
39085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39086
a65c0b7a
UD
390872011-07-21 Ulrich Drepper <drepper@gmail.com>
39088
39089 * string/tester.c (test_strcat): Add tests for different alignments
39090 of source and destination.
39091 (test_strncat): Likewise.
39092
6986b98a
UD
390932011-07-20 Ulrich Drepper <drepper@gmail.com>
39094
90bb2039
UD
39095 [BZ #12852]
39096 * posix/glob.c (glob): Check passed in values before using them in
39097 expressions to avoid some overflows.
39098 (glob_in_dir): Likewise.
39099
5644ef54
UD
39100 [BZ #13007]
39101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39102 check for AVX enablement so that we don't crash with old kernels and
39103 new hardware.
39104 * elf/tst-audit4.c: Add same checks here.
39105 * elf/tst-audit6.c: Likewise.
39106
39107 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39108
bfc9dc9b
AS
391092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39110
39111 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39112
702e64bb
UD
391132011-07-20 Ulrich Drepper <drepper@gmail.com>
39114
39115 * po/cs.po: Update from translation team.
39116 * po/bg.po: Likewise.
39117
295e904f
MP
391182011-07-12 Marek Polacek <mpolacek@redhat.com>
39119
39120 * misc/sys/cdefs.h: Add support for const attribute.
39121 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39122 to gnu_dev_{major,minor,makedev} functions.
39123
3ff94596
MP
391242011-07-20 Marek Polacek <mpolacek@redhat.com>
39125
39126 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39127
28b59fca
AS
391282011-07-20 Andreas Schwab <schwab@redhat.com>
39129
39130 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39131 strlen results.
39132
19df733e
AK
391332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39134
39135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39136 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39137 register in order to avoid conflicts with the soft frame pointer
39138 being held in r11 when necessary.
39139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39140 (INTERNAL_VSYSCALL_NCS): Likewise.
39141
c8835729
MP
391422011-07-14 Marek Polacek <mpolacek@redhat.com>
39143
39144 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39145 * elf/dl-fini.c (_dl_fini): Adjust caller.
39146 * elf/dl-close.c (_dl_close_worker): Likewise.
39147 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39148
b902330c
MP
391492011-07-15 Marek Polacek <mpolacek@redhat.com>
39150
8991e135
MP
39151 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39152 "aux_cache->nlibs < 0".
39153
b902330c
MP
39154 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39155 in the reload-count case.
39156
99710781
LD
391572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39158
39159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39160 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39161 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39163 * sysdeps/x86_64/multiarch/strcat.S: New file.
39164 * sysdeps/x86_64/multiarch/strncat.S: New file.
39165 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39166 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39167 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39168 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39170 (USE_AS_STRCAT): Define.
39171 Add strcat and strncat support.
39172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39174 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39175 * string/strncat.c: Update.
39176 (USE_AS_STRNCAT): Define.
39177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39178 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39179 and i7.
39180 * sysdeps/x86_64/multiarch/init-arch.h
39181 (bit_Prefer_PMINUB_for_stringop): New.
39182 (index_Prefer_PMINUB_for_stringop): Likewise.
39183 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39184 bit_Prefer_PMINUB_for_stringop.
39185
7dc6bd90
UD
391862011-07-19 Ulrich Drepper <drepper@gmail.com>
39187
39188 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39189 buffer64.
39190 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39191 of casting of buffer.
39192 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39193 buffer32 and buffer64.
39194 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39195 writes instead of casting of buffer.
39196 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39197 buffer32.
39198 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39199 casting of buffer.
39200
e0e72284
AS
392012011-07-19 Andreas Schwab <schwab@redhat.com>
39202
39203 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39204
feb1eb0b
UD
392052011-07-19 Ulrich Drepper <drepper@gmail.com>
39206
39207 * nscd/nscd.c (termination_handler): Don't do anything for a database
39208 if it has not yet been initialized.
39209
298711ff
UD
392102011-07-18 Ulrich Drepper <drepper@gmail.com>
39211
39212 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39213
392142011-07-15 Marek Polacek <mpolacek@redhat.com>
39215
39216 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39217
f9d68389
UD
392182011-07-18 Ulrich Drepper <drepper@gmail.com>
39219
39220 * po/nl.po: Update from translation team.
39221 * po/sv.po: Likewise.
39222
db290cf5
RM
392232011-07-16 Roland McGrath <roland@hack.frob.com>
39224
39225 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39226 now disallowed by GCC.
5c550700 39227
fd5e21c7
RM
39228 * configure.in (use-default-link): Default to yes if a test -shared
39229 link meets our qualifications.
39230 * configure: Regenerated.
39231
5c550700
RM
39232 * config.make.in (output-format): New variable.
39233 * configure.in: Check for ld --print-output-format support.
39234 * configure: Regenerated.
39235 * Makerules ($(common-objpfx)format.lds)
39236 [$(output-format) != unknown]: Just use $(output-format),
39237 instead of the linker-script munging.
39238
9fa2c032
RM
392392011-07-14 Roland McGrath <roland@hack.frob.com>
39240
a6928d51
RM
39241 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39242 of $(common-objpfx)shlib.lds.
39243 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39244
661607b3
RM
39245 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39246 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39247
9fa2c032
RM
39248 * configure.in (-z relro check): Adjust test code to add a large
39249 writable data section after it.
39250 * configure: Regenerated.
39251
defe9061
RM
392522011-07-11 Roland McGrath <roland@hack.frob.com>
39253
39254 * configure.in (-z relro check): Fix test code to make the variable
39255 truly const.
39256 * configure: Regenerated.
39257
319b9ad4
UD
392582011-07-11 Ulrich Drepper <drepper@gmail.com>
39259
39260 * nscd/nscd.h (struct traced_file): Define.
39261 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39262 elements. Add traced_files.
39263 (inotify_fd): Declare.
39264 (register_traced_file): Declare.
39265 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39266 (inotify_fd): Export.
39267 (resolv_conf_descr): Remove.
39268 (nscd_init): Move inotify descriptor creation to main.
39269 Don't register files for notification here.
39270 (register_traced_file): New function.
39271 (invalidate_cache): Don't use reset_res to determine whether to call
39272 res_init, go through the list of registered files.
39273 (main_loop_poll): The inotify descriptors are now stored in the
39274 structures for the traced files.
39275 (main_loop_epoll): Likewise
39276 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39277 to __nss_disable_nscd.
39278 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39279 for a database anymore. Check the records for all the registered
39280 files instead.
39281 * nss/Makefile (libnss_files-routines): Add files-init.
39282 (libnss_db-routines): Add db-init.
39283 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39284 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39285 * nss/nss_db/db-init.c: New file.
39286 * nss/nss_files/files-init.c: New file.
39287 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39288 __nss_lookup_function.
39289 (__nss_lookup_function): Call nss_load_library.
39290 (nss_load_all_libraries): New function.
39291 (__nss_disable_nscd): Take parameter with callback function for files
39292 to register. Set is_nscd. Load all the DSOs for the NSS modules
39293 used for the cached services.
39294 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39295 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39296 options for features to all the files in nscd.
39297
39298 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39299
23bee3e8
RM
393002011-07-10 Roland McGrath <roland@hack.frob.com>
39301
39302 * csu/elf-init.c (__libc_csu_init): Comment typo.
39303
46a5b7f0
UD
393042011-07-09 Ulrich Drepper <drepper@gmail.com>
39305
39306 * po/pl.po: Update from translation team.
39307 * po/ja.po: Likewise.
39308 * po/ru.po: Likewise.
39309 * po/ko.po: Likewise.
39310 * po/fr.po: Likewise.
39311
d30cf5bb
RM
393122011-07-09 Roland McGrath <roland@hack.frob.com>
39313
113ddea4
RM
39314 * configure.in (.ctors/.dtors header and trailer check):
39315 Use an empirical test on a built program.
39316 * configure: Regenerated.
39317
574920b4
RM
39318 * configure.in (-z relro check): Use an empirical test on a built DSO.
39319 Detect, but do not require, on ia64.
39320 * configure: Regenerated.
39321
d30cf5bb
RM
39322 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39323 Update tests that use readelf to use $READELF instead.
39324 * configure: Regenerated.
39325
8538fdb3
UD
393262011-07-08 Ulrich Drepper <drepper@gmail.com>
39327
39328 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39329 if the result is not used.
39330
04d08991
AJ
393312011-07-05 Andreas Jaeger <aj@suse.de>
39332
39333 [BZ#9696]
39334 * stdlib/tst-strtod.c: Add testcase.
39335
de283087
AD
393362011-07-07 Ulrich Drepper <drepper@gmail.com>
39337
4e5f31c8 39338 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39339 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39340 The latter has a higher limit. Take additional parameter to pass to
39341 the new function.
39342 (__pathconf): Pass file to __statfs_link_max.
39343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39344 __statfs_link_max.
39345 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39346 __statfs_link_max.
39347
de283087
AD
39348 [BZ #12868]
39349 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39351 Handle Lustre.
39352 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39353 (__statfs_filesize_max): Likewise.
39354 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39355
c75fa153
AJ
393562011-07-05 Andreas Jaeger <aj@suse.de>
39357
39358 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39359
1a544854
UD
393602011-07-06 Marek Polacek <mpolacek@redhat.com>
39361
39362 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39363 `status' variable.
39364 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39365 Likewise.
39366
6f0eec67
UD
393672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39368
39369 * Makefile (strop-tests): Add strncat.
39370 * string/test-strncat.c: New file.
39371
aae30307
UD
393722011-06-30 Marek Polacek <mpolacek@redhat.com>
39373
39374 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39375
c0cfb5eb
UD
393762011-06-21 Andreas Jaeger <aj@suse.de>
39377
39378 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39379 Copy rule from iconvdata/Makefile.
39380
01636b21
UD
393812011-07-06 Ulrich Drepper <drepper@gmail.com>
39382
39383 [BZ #12922]
39384 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39385 but no long options are defined, just return 'W'.
39386
9895c8bc
UD
393872011-06-22 Marek Polacek <mpolacek@redhat.com>
39388
39389 [BZ #9696]
39390 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39391
5d4cf042
UD
393922011-07-06 Ulrich Drepper <drepper@gmail.com>
39393
39394 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39395 netgroups to read.
960e5535 39396 (innetgr): Likewise.
5d4cf042 39397
751eb97e
RM
393982011-07-05 Roland McGrath <roland@hack.frob.com>
39399
39400 * config.make.in (install_root): Default to $(DESTDIR).
39401
f15f1e45
UD
394022011-07-05 Ulrich Drepper <drepper@gmail.com>
39403
39404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39405
4e34ac6a
RM
394062011-07-02 Roland McGrath <roland@hack.frob.com>
39407
5e9b6af4
RM
39408 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39409
84f9ea0f
RM
39410 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39411 containing directory rather than embedding absolute directory names.
39412
ea5ee9f7
RM
39413 * scripts/check-local-headers.sh: Rewritten using awk.
39414 Match by word, not by line. Print error messages for matches.
39415 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39416
1b74661a
RM
39417 * Makerules [shlib-lds-flags empty]:
39418 ($(common-objpfx)libc_pic.opts): New target.
39419 ($(common-objpfx)libc_pic.os.clean): New target.
39420 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39421
39422 * config.make.in (OBJCOPY): New variable.
39423 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39424 * configure: Regenerated.
39425
f781ef40
RM
39426 * config.make.in (use-default-link): New variable.
39427 * configure.in (use_default_link): Grok --with-default-link to set it.
39428 * configure: Regenerated.
39429 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39430 (shlib-lds, shlib-lds-flags): Define to empty.
39431
2d4fa81e
RM
39432 * Makerules (shlib-lds): New variable.
39433 (shlib-lds-flags): New variable.
39434 (build-shlib, build-moduile, build-module-asneeded): Use it.
39435 ($(common-objpfx)libc.so): Use $(shlib-lds).
39436 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39437 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39438
31fffa6b
RM
39439 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39440 DT_FLAGS/DT_FLAGS_1 with zero flags.
39441
4e34ac6a
RM
39442 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39443 linker script munging.
39444
fcfc776b
UD
394452011-07-02 Ulrich Drepper <drepper@gmail.com>
39446
39447 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39448 as 128-bit value.
39449 * crypt/sha512.c (sha512_process_block): Perform total addition using
39450 128-bit if possible.
39451 (__sha512_finish_ctx): Likewise.
39452 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39453 as 64-bit value.
39454 * crypt/sha256.c (SWAP64): Define.
39455 (sha256_process_block): Perform total addition using 64-bit if
39456 possible.
39457 (__sha256_finish_ctx): Likewise.
39458
99231d9a
UD
394592011-07-01 Ulrich Drepper <drepper@gmail.com>
39460
39461 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39462 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39463 * nscd/hstcache.c (cache_addhst): Likewise.
39464 * nscd/grpcache.c (cache_addgr): Likewise.
39465 * nscd/aicache.c (addhstaiX): Likewise
39466 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39467
445b4a53
TK
394682011-07-01 Thorsten Kukuk <kukuk@suse.de>
39469
39470 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39472 * nscd/hstcache.c (cache_addhst): Likewise.
39473 * nscd/grpcache.c (cache_addgr): Likewise.
39474 * nscd/aicache.c (addhstaiX): Likewise
39475
6d4d8e8e
AS
394762011-07-01 Andreas Schwab <schwab@redhat.com>
39477
39478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39479 domain only when needed.
39480
89f654c5
AS
394812011-06-30 Andreas Schwab <schwab@redhat.com>
39482
39483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39484 is always restored.
39485
cf3b23ff
UD
394862011-06-29 Ulrich Drepper <drepper@gmail.com>
39487
39488 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39489 are re-adding the entry.
39490 * nscd/servicescache.c (cache_addserv): Likewise.
39491
751626f9
AJ
394922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39493
39494 * sysdeps/generic/dl-irel.h: fix protection against multiple
39495 inclusions.
39496 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39497
9113ea1f
UD
394982011-06-28 Ulrich Drepper <drepper@gmail.com>
39499
5c0b8d90
UD
39500 [BZ #12935]
39501 * malloc/memusage.sh: Fix quoting in message.
39502 * debug/xtrace.sh: Likewise.
39503
9113ea1f
UD
39504 * configure.in: Remove support for --experimental-malloc option, make
39505 it the default.
39506 * config.make.in: Likewise.
39507 * malloc/Makefile: Likewise.
39508
a4172181
AS
395092011-06-27 Andreas Schwab <schwab@redhat.com>
39510
39511 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39512 two-byte characters.
39513
78a7eee7
RM
395142011-06-27 Roland McGrath <roland@hack.frob.com>
39515
62bede13
RM
39516 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39517 AC_CACHE_CHECK invocation.
39518 * configure: Regenerated.
39519
78a7eee7
RM
39520 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39521
5ce33a62
UD
395222011-06-27 Ulrich Drepper <drepper@gmail.com>
39523
034807a9
UD
39524 [BZ #12350]
39525 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39526 bit from old_res_options.
39527
4902da17
UD
39528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39529
5ce33a62
UD
39530 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39531 value type for setfct.
39532
c2344f56
L
395332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39534
39535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39536 __gettimeofday instead of gettimeofday.
39537
68468076
UD
395382011-06-26 Ulrich Drepper <drepper@gmail.com>
39539
39540 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39541
acb0d739
L
395422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39543
39544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39545
39546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39547 info.
39548
8912479f
L
395492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39550
39551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39552 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39553 strcpy-sse2-unaligned strncpy-sse2-unaligned
39554 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39555 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39556 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39557 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39558 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39559 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39561 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39562 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39563 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39564 (STRCPY): Support SSE2 and SSSE3 versions.
39565
d5495a11
UD
395662011-06-24 Ulrich Drepper <drepper@gmail.com>
39567
39568 [BZ #12874]
39569 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39570 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39571 kernels which artificially limit size of requests.
39572
0b1cbaae
L
395732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39574
39575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39576 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39577 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39578 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39579 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39580 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39581 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39582 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39585 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39586 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39587 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39588 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39589 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39591 Enable unaligned load optimization for Intel Core i3, i5 and i7
39592 processors.
39593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39594 Define.
39595 (index_Fast_Unaligned_Load): Define.
39596 (HAS_FAST_UNALIGNED_LOAD): Define.
39597
07f494a0
MP
395982011-06-23 Marek Polacek <mpolacek@redhat.com>
39599
39600 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39601
fa3fc0fe
UD
396022011-06-22 Ulrich Drepper <drepper@gmail.com>
39603
39604 [BZ #12907]
39605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39606 until it is clear that the information is realy needed.
39607 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39608
e12df166
AS
396092011-06-22 Andreas Schwab <schwab@redhat.com>
39610
39611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39612
852eb34d
UD
396132011-06-22 Ulrich Drepper <drepper@gmail.com>
39614
84e2a551
UD
39615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39616 /sys/devices/system/cpu/online if it is usable.
39617
852eb34d
UD
39618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39619 reading the information from the /proc filesystem to once a second.
39620
6e502e19
UD
396212011-06-21 Andreas Jaeger <aj@suse.de>
39622
39623 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39624 NULL after inclusion of kernel headers.
39625
75d39ff2
UD
396262011-06-21 Ulrich Drepper <drepper@gmail.com>
39627
51f9aa6a
UD
39628 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39629 calls to internal_setent.
39630
c0244a9d
UD
39631 [BZ #12885]
39632 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39633 addresses using gethostbyname4_r ignore IPv4 addresses.
39634
c5e3c2ae
UD
39635 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39636 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39637
75d39ff2
UD
39638 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39639
42675c6f
DM
396402011-06-20 David S. Miller <davem@davemloft.net>
39641
39642 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39643 inclusions.
39644 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39645
39646 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39647 (elf_irel): Use it.
39648 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39649 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39650 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39651 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39652 * sysdeps/x86_64/dl-irel.h: Likewise.
39653
39654 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39655 * elf/dl-sym.c: Likewise.
39656
57912a71
UD
396572011-06-15 Ulrich Drepper <drepper@gmail.com>
39658
39659 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39660 need to dereference resplen2.
39661
ee22793d
AS
396622011-06-14 Andreas Schwab <schwab@redhat.com>
39663
39664 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39665
a9e836b0
UD
396662011-06-15 Ulrich Drepper <drepper@gmail.com>
39667
77fb9117
UD
39668 * Makeconfig: Define vardbdir and inst_vardbdir.
39669 * nss/Makefile: Add rules to install db-Makefile.
39670
40c1b22c
UD
39671 * nss/nss_db/db-XXX.c: Cleanup.
39672
9f2da732
UD
39673 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39674 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39675 GLIBC_PRIVATE.
39676 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39677 * nss/makedb.c: Implement -g option to specify that value strings
39678 are generated and should not be added to table iterated over for
39679 get*ent calls.
39680 * nss/nss_db/db-initgroups.c: New file.
39681
82e9a1f7
UD
39682 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39683 interface.
39684
c41af17e
UD
39685 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39686 (internal_getgrouplist): Adjust to name change.
39687 Update use_initgroups_entry if this is not the first call.
39688 * nss/databases.def: Add initgroups entry.
39689
a9e836b0
UD
39690 * nss/makedb.c (compute_tables): Check result of multiple hash table
39691 sizes to minimize maximum chain length.
39692
2666d441
UD
396932011-06-14 Ulrich Drepper <drepper@gmail.com>
39694
39695 * Versions.def: Add entry for libnss_db.
39696 * shlib-versions: Likewise.
39697 * nss/Makefile: Add rules to build libnss_db.
39698 * nss/Versions: Add libnss_db information. Organize libnss_files
39699 entries better.
39700 * nss/db-Makefile: Add gshadow support. Change rules for the new
39701 makedb progra. Some minor improvements to generate smaller files.
39702 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39703 here from...
39704 * nss/makedb.c: ...here.
39705 Improve database format to be smaller and require less memory at
39706 runtime.
39707 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39708 db anymore.
39709 * nss/nss_db/db-netgrp.c: Likewise.
39710 * nss/nss_db/db-open.c: Likewise.
39711 * nss/nss_files/flies-XXX.x: Adjust comments.
39712 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39713 * nss/nss_files/files-grp.c: Likewise.
39714 * nss/nss_files/files-hosts.c: Likewise.
39715 * nss/nss_files/files-network.c: Likewise.
39716 * nss/nss_files/files-proto.c: Likewise.
39717 * nss/nss_files/files-pwd.c: Likewise.
39718 * nss/nss_files/files-rpc.c: Likewise.
39719 * nss/nss_files/files-service.c: Likewise.
39720 * nss/nss_files/files-sgrp.c: Likewise.
39721 * nss/nss_files/files-spwd.c: Likewise.
39722 * nss/nss_db/db-alias.c: Removed.
39723 * nss/nss_db/dummy-db.h: Removed.
39724
9ee76b5a
UD
397252011-06-02 Ulrich Drepper <drepper@gmail.com>
39726
39727 * nss/makedb.c: Rewritten to not use database library.
39728 * nss/Makefile: Update to build new makedb program.
39729
c71ca1f8
AJ
397302011-06-14 Andreas Jaeger <aj@suse.de>
39731
39732 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39733 memset declaration.
39734
3154bfb8
UD
397352011-06-10 Andreas Schwab <schwab@redhat.com>
39736
39737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39738 tmpbuf.
39739
b350afab
RM
397402011-06-10 Roland McGrath <roland@hack.frob.com>
39741
decd4e50
RM
39742 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39743 * elf/Makefile ($(objpfx)ld.so): Likewise.
39744
5615eaf2
RM
39745 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39746 Don't list ld.so twice in dependencies.
39747
39748 * posix/bug-regex31.c: Include <stdlib.h>.
39749
39750 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39751
39752 * nis/nss_compat/compat-spwd.c
39753 (getspent_next_nss_netgr): Remove unused variable.
39754 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39755
39756 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39757 nonmembers" output to use the right array.
39758
39759 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39760
39761 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39762
39763 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39764 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39765 * catgets/gencat.c (read_input_file): Likewise.
39766 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39767
39768 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39769 variable definition inside #if's controlling its use.
39770
39771 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39772
39773 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39774
39775 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39776
39777 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39778 unreachable code.
39779
39780 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39781
b68e08db
RM
39782 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39783 * configure: Regenerated.
39784
b350afab
RM
39785 * Makerules: Revert last change.
39786 * elf/Makefile: Likewise.
39787
28368601
RM
397882011-06-09 Roland McGrath <roland@hack.frob.com>
39789
39790 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39791 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39792 (reloc-link): Likewise.
39793
11988f8f
UD
397942011-06-09 Ulrich Drepper <drepper@gmail.com>
39795
39796 * elf/Makefile: Add rules to build pldd.
39797 * elf/pldd.c: New file.
39798 * elf/pldd-xx.c: New file.
39799
e80fab37
UD
398002011-06-07 Ulrich Drepper <drepper@gmail.com>
39801
39802 * version.h: Update for 2.15 development version.
39803
9b849836
DM
398042011-06-07 David S. Miller <davem@davemloft.net>
39805
39806 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39807 ifuncs.
39808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39809 elf_machine_lazy_rel): Likewise.
39810 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39812 elf_machine_lazy_rel): Likewise.
39813 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39814 dl_hwcap via passed in argument.
39815 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39816 Likewise.
39817
5a31b283
AK
398182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39819
39820 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39821
069e52f8
RM
398222011-06-06 Roland McGrath <roland@hack.frob.com>
39823
39824 [BZ #12849]
39825 * manual/fdl-1.1.texi: New file, verbatim from:
39826 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39827 * manual/lgpl-2.1.texi: New file, verbatim from:
39828 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39829 * manual/Makefile (licenses): New variable, list those new file names.
39830 (texis): Use it.
39831 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39832
39833 * manual/fdl.texi: File removed.
39834 * manual/lesser.texi: File removed.
39835 * manual/libc.texinfo (Copying, Documentation License):
39836 Use new @include file names, put @appendix directive before @include.
39837
f16846a5
JJ
398382011-06-04 Jakub Jelinek <jakub@redhat.com>
39839
39840 [BZ #12841]
39841 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39842 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39843 (mq_open): Add __NTH.
39844
3d29045b
L
398452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39846
39847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39848 Assume Intel Core i3/i5/i7 processor if AVX is available.
39849
8c297311
UD
398502011-05-31 Ulrich Drepper <drepper@gmail.com>
39851
39852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39853 typo.
39854
c8fc0c91
UD
398552011-05-31 Andreas Schwab <schwab@redhat.com>
39856
39857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39858 memory. Use alloca_account. Fix memory leak when retrying.
39859
5b27a807
UD
398602011-05-31 Ulrich Drepper <drepper@gmail.com>
39861
356f8bc6
UD
39862 * version.h (RELEASE): Bump for 2.14 release.
39863 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39864
5b27a807
UD
39865 * config.make.in (RANLIB): Remove entry.
39866
01f16ab0
UD
398672011-05-30 Ulrich Drepper <drepper@gmail.com>
39868
41fce8bd
UD
39869 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39870 (libc.pot): Work around missing support for .ksh extension in xgettext.
39871
4769ae77
UD
39872 [BZ #12684]
39873 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39874 if both request failed.
39875 (send_dg): In case of server errors clear resplen or *resplen2.
39876
6b1e7d19
UD
39877 [BZ #12454]
39878 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39879 when there are multiple maps.
39880 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39881 (_dl_fini): Remove test here.
39882
01f16ab0
UD
39883 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39884
b1ebd700
UD
398852011-05-29 Ulrich Drepper <drepper@gmail.com>
39886
7ae22829
UD
39887 [BZ #12350]
39888 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39889 bit from old_res_options.
39890 (gaih_inet): Likewise.
39891
553149f6 39892 [BZ #11099]
18a84741 39893 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39894 as signed.
39895
652ffab1
UD
39896 * resolv/res_init.c (res_setoptions): Make the code more compact.
39897
16985fd0
UD
39898 [BZ #11558]
39899 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39900 set RES_USEVC.
39901
0464f746
UD
39902 [BZ #11634]
39903 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39904
7d17596c
UD
39905 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39906
cf6bbbd7
UD
39907 [BZ #11781]
39908 * malloc/malloc.h: Declare malloc hook variables as volatile.
39909
13f1ab36
UD
39910 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39911 in last patch.
39912
b1ebd700
UD
39913 [BZ #11799]
39914 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39915 raise in the comment.
80e2212d
UD
39916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39918 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39919
ce67228d
UD
399202011-05-28 Ulrich Drepper <drepper@gmail.com>
39921
8887a920
UD
39922 [BZ #12811]
39923 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39924 grow the buffers more if it already has to be sufficient.
39925 (build_wcs_upper_buffer): Likewise.
39926 * posix/regexec.c (check_matching): Likewise.
39927 (clean_state_log_if_needed): Likewise.
39928 (extend_buffers): Don't enlarge buffers beyond size of the input
39929 buffer.
39930 Patches mostly by Emil Wojak <emil@wojak.eu>.
39931 * posix/bug-regex32.c: New file.
39932 * posix/Makefile (tests): Add bug-regex32.
39933
4f031072
UD
39934 * locale/findlocale.c (_nl_find_locale): Return right away if
39935 _nl_explode_name failed.
39936 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39937
d0478f0c
UD
39938 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39939
de81b246
UD
39940 * debug/xtrace.sh: Unify messages.
39941 * malloc/memusage.sh: Likewise.
39942
c738465a
UD
39943 [BZ #12813]
39944 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39945 time symbol from vDSO. Substitute with vsyscall if not available.
39946 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39947 __vdso_time.
39948
f1f929d7
UD
39949 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39950 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39951 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39952 Add sendmmsg and internal_sendmmsg.
39953 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39954 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39955 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39956
ce67228d
UD
39957 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39958 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39959 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39960
e57420c6
UD
399612011-05-27 Ulrich Drepper <drepper@gmail.com>
39962
a8509ca5
UD
39963 [BZ #12813]
39964 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39965 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39966 available.
39967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39968 __vdso_getcpu.
39969
e57420c6
UD
39970 [BZ #12814]
39971 * iconvdata/Makefile (tests): Add bug-iconv9.
39972 * iconvdata/bug-iconv9.c: New file.
39973
4d07db15
AS
399742011-05-27 Andreas Schwab <schwab@redhat.com>
39975
39976 [BZ #12814]
39977 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39978
ea486f69
JJ
399792011-05-25 Jakub Jelinek <jakub@redhat.com>
39980
39981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39982 (struct user_regs_struct): Change intcs field back to cs.
39983
6f038433
UD
399842011-05-25 Ulrich Drepper <drepper@gmail.com>
39985
39986 * po/ja.po: Update from translation team.
39987
67f86a25
UD
399882011-05-23 Ulrich Drepper <drepper@gmail.com>
39989
39990 [BZ #12795]
39991 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39993
def7fbd6
AS
399942011-05-20 Andreas Schwab <schwab@redhat.com>
39995
39996 * stdlib/longlong.h: Update from GCC.
39997
f50ef8f1
AS
399982011-05-23 Andreas Schwab <schwab@redhat.com>
39999
40000 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40001 parameter name.
40002 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40003 Add parameter name.
40004 (__sysconf): Pass it down.
40005
de7ce8f1
UD
400062011-05-22 Ulrich Drepper <drepper@gmail.com>
40007
f2962a71
UD
40008 [BZ #12671]
40009 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40010 some situations.
40011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40012 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40013 add in in __libc_use_alloca calls. Adjust callers.
40014 (glob): Use malloc in some situations.
40015
de7ce8f1
UD
40016 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40017 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40018 pltexit.
40019
aec84f53
UD
400202011-05-21 Ulrich Drepper <drepper@gmail.com>
40021
05bb4a68
UD
40022 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40023 and CLOCK_BOOTTIME_ALARM.
40024
7ea72f99
UD
40025 [BZ #12782]
40026 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40027 is returned.
40028
7e4afad5
UD
40029 * string/_strerror.c (__strerror_r): Print negative errors as signed
40030 numbers.
40031
8e211fec
UD
40032 [BZ #12777]
40033 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40034 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40035 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40036
f7d82dc9
UD
40037 * configure.in: Fix typo in redirection and correct removal of test
40038 files in two cases.
40039
cc9e536d
UD
40040 [BZ #12788]
40041 * locale/setlocale.c (new_composite_name): Fix test to check for
40042 identical name of all categories.
40043
aec84f53
UD
40044 [BZ #12792]
40045 * libio/filedoalloc.c (local_isatty): New function.
40046 (_IO_file_doallocate): Use local_isatty.
40047 * stdio-common/perror.c (perror): In case a new stream is used
40048 forward the stream error.
40049 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40050 error flag.
40051
78e64fdc
RT
400522011-05-20 Ulrich Drepper <drepper@gmail.com>
40053
34a9094f
UD
40054 [BZ #11869]
40055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40056 alloca.
40057 * include/alloca.h (extend_alloca_account): Define.
40058
78e64fdc
RT
40059 [BZ #11857]
40060 * posix/regex.h: Fix comments with documentation of user-accessible
40061 fields after compilation and describe correct free'ing of pattern
40062 after re_compile_pattern.
40063 Patch by Reuben Thomas <rrt@sc3d.org>.
40064
457bddfc
RA
400652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40066
40067 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40068 and -mno-altivec to prevent the compiler from using Altivec and/or
40069 VSX instructions when the corresponding registers are not available.
40070
a4527b51
AS
400712011-05-19 Andreas Schwab <schwab@redhat.com>
40072
40073 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40074
ed690b2f
UD
400752011-05-19 Ulrich Drepper <drepper@gmail.com>
40076
40077 * libio/freopen.c (freopen): Use __dup2, not dup2.
40078 * libio/freopen64.c (freopen64): Likewise.
40079
8db73634
L
400802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40081
40082 [BZ #12775]
40083 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40084 * math/Makefile (tests): Add test-powl.
40085 (CFLAGS-test-powl.c): Define.
40086 * math/test-powl.c: New file.
40087
0a197a9d
L
400882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40089
40090 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40091
ee30c380
UD
400922011-05-17 Ulrich Drepper <drepper@gmail.com>
40093
40094 [BZ #11837]
40095 * iconvdata/gb18030.c: Update to GB18020-2005.
40096
6ce75379
UD
400972011-05-16 Ulrich Drepper <drepper@gmail.com>
40098
a4b89fd8
AR
40099 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40100 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40101 Patch by Aharon Robbins <arnold@skeeve.com>.
40102
ea389b12
UD
40103 [BZ #11892]
40104 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40105 on the stack.
40106
68a3f91f
UD
40107 [BZ #11895]
40108 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40109 through underflows.
40110
15cc7dd1
UD
40111 [BZ #12766]
40112 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40113 point to strings before performing equality test for error_one_per_line
40114 mode.
40115
f3799213
UD
40116 [BZ #11697]
40117 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40118
d79a9c94
UD
40119 [BZ #11820]
40120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40121 (struct user_fpregs_struct): Avoid __uint*_t types.
40122
56e5eb46
UD
40123 [BZ #6420]
40124 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40125 symbol info. Use it instead of calling _dl_addr locally.
40126 (lock_and_info): New function.
40127 (tr_freehook): Call lock_and_info and pass symbol info as additional
40128 parameter to tr_where.
40129 (tr_mallochook): Likewise.
40130 (tr_reallochook): Likewise.
40131 (tr_memalignhook): Likewise.
40132
6ce75379
UD
40133 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40134 used and couldn't be at all thread-safe.
40135
f8a3b5bf
UD
401362011-05-15 Ulrich Drepper <drepper@gmail.com>
40137
94b7cc37
UD
40138 * libio/freopen.c (freopen): Don't close old file descriptor
40139 before the new one is opened. Instead dup the new file descriptor
40140 to the old one after the new stream is created.
40141 * libio/freopen64.c (freopen64): Likewise.
40142 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40143 * libio/fileops.c (_IO_new_file_close_it): Handle new
40144 _IO_FLAGS2_NOCLOSE flag.
40145 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40146 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40147 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40148 _IO_FLAGS2_NOCLOSE flag.
40149 * include/unistd.h: Add hidden_proto for dup3.
40150 Define __have_dup3.
40151 * io/dup3.c: Define hidden symbol.
40152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40153
bd25564e
UD
40154 [BZ #7101]
40155 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40156 when an incomplete long option is used.
40157 * posix/tst-getopt_long1.c: New file.
40158 * posix/Makefile (tests): Add tst-getopt_long1.
40159
c84cfef4
UD
40160 [BZ #10138]
40161 * scripts/config.guess: Update from autoconf-2.68.
40162 * scripts/config.sub: Likewise.
40163
3b85df27
UD
40164 [BZ #10157]
40165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40166 tests into ...
40167 (has_cpuclock): ...this. New function.
40168 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40169 macro here based on has_cpuclock code.
40170
15a856b1
UD
40171 [BZ #10149]
40172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40173 First byte (not low byte) is now always NUL.
40174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40175
05f399e6
UD
40176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40177 Use non-cancelable interfaces.
40178
10a52685 40179 [BZ #9809]
94ecc67d
UD
40180 * locale/iso-639.def: Add entry for Sorani.
40181
f8a3b5bf
UD
40182 [BZ #11901]
40183 * include/stdlib.h: Move include protection to the right place.
40184 Define abort_msg_s. Declare __abort_msg with it.
40185 * stdlib/abort.c (__abort_msg): Adjust type.
40186 * assert/assert.c (__assert_fail_base): New function. Majority
40187 of code from __assert_fail. Allocate memory for __abort_msg with
40188 mmap.
40189 (__assert_fail): Now call __assert_fail_base.
40190 * assert/assert-perr.c: Remove bulk of implementation. Use
40191 __assert_fail_base.
40192 * include/assert.hL Declare __assert_fail_base.
40193 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40194 mmap.
40195 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40196
1af4e298
UD
401972011-05-14 Ulrich Drepper <drepper@gmail.com>
40198
f8a3b5bf 40199 [BZ #11952]
d26dfc60
MG
40200 [BZ #12453]
40201 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40202 until all modules are registered in the DTV.
40203 * elf/Makefile: Add rules to build and run tst-tls19.
40204 * elf/tst-tls19.c: New file.
40205 * elf/tst-tls19mod1.c: New file.
40206 * elf/tst-tls19mod2.c: New file.
40207 * elf/tst-tls19mod3.c: New file.
40208 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40209
2fc54d6f
UD
40210 [BZ #12083]
40211 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40212 correctly.
40213
98d76b46
UD
40214 [BZ #12601]
40215 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40216 two-byte sequence errors.
40217 * iconvdata/Makefile (tests): Add bug-iconv8.
40218 * iconvdata/bug-iconv8.c: New file.
40219
da3c19ef
UD
40220 [BZ #12626]
40221 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40222 buf2 definition.
40223
ca408c15
UD
40224 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40225
d6f67f7d
UD
40226 [BZ #12432]
40227 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40228 (dummy_getcfa): New function.
40229 (init): Get _Unwind_GetCFA address, use dummy if not found.
40230 (backtrace_helper): In recursion check, also check whether CFA changes.
40231 (__backtrace): Completely initialize arg.
40232
1af4e298 40233 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40234 storing incomplete byte sequence in state object. Avoid testing for
40235 guaranteed too small input if we know there is enough data available.
1af4e298 40236
da62f81b
AS
402372011-05-11 Andreas Schwab <schwab@redhat.com>
40238
40239 * Makeconfig (+link-pie): Indent.
40240 * Rules (binaries-pie): Define if $(have-fpie) and
40241 $(build-shared).
40242 (binaries-shared): Also filter out $(binaries-pie).
40243 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40244 * nscd/Makefile (others-pie): Add nscd.
40245 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40246 ($(objpfx)nscd): Remove command override.
40247 * login/Makefile (others-pie): Add pt_chown.
40248 ($(objpfx)pt_chown): Remove command override.
40249 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40250 remove command overrides.
40251
fcabc0f8
UD
402522011-05-13 Ulrich Drepper <drepper@gmail.com>
40253
20030ae6
UD
40254 * libio/tst_putwc.c: Fix error messages.
40255
fcabc0f8
UD
40256 [BZ #12724]
40257 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40258 currently writing and seek to current position when not.
40259 * libio/Makefile (tests): Add bug-fclose1.
40260 * libio/bug-fclose1.c: New file.
40261
320a5dc0
PB
402622011-05-12 Ulrich Drepper <drepper@gmail.com>
40263
40264 [BZ #12511]
40265 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40266 don't set DF_1_NODELETE here.
40267 (do_lookup_x): When entering new entry test for copy relocation
40268 and if necessary set DF_1_NODELETE flag.
40269 * elf/tst-unique4.cc: New file.
40270 * elf/tst-unique4.h: New file.
40271 * elf/tst-unique4lib.cc: New file.
40272 * elf/Makefile: Add rules to build and run tst-unique4.
40273 Patch by Piotr Bury <pbury@goahead.com>.
40274
22836f52
UD
402752011-05-11 Ulrich Drepper <drepper@gmail.com>
40276
f574184a
UD
40277 [BZ #12052]
40278 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40279
e1fb097f
UD
40280 [BZ #12625]
40281 * misc/mntent_r.c (addmntent): Flush the stream after the output
40282
22836f52
UD
40283 [BZ #12393]
40284 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40285 (is_trusted_path_normalize): Skip initial colon. Append slash
40286 to empty buffer. Duplicate is_trusted_path code but allow
40287 constructed patch to be prefix.
40288 (is_dst): Allow $ORIGIN followed by /.
40289 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40290 Correct testing of result of is_trusted_path_normalize
40291 (decompose_rpath): Fix warning.
40292
7b3b0b2a
UD
402932011-05-10 Ulrich Drepper <drepper@gmail.com>
40294
40295 [BZ #11257]
40296 * grp/initgroups.c (internal_getgrouplist): When we found the service
40297 list through the initgroups entry in nsswitch.conf do not always
40298 continue on a successful lookup. Don't always use the
eac80ce2 40299 __nss_group_database value if it is set.
7b3b0b2a
UD
40300 * nss/nsswitch.conf (initgroups): Change action for successful db
40301 lookup to continue for compatibility.
40302
2a81eaa5
UD
403032011-05-09 Ulrich Drepper <drepper@gmail.com>
40304
be97a69e
UD
40305 [BZ #11532]
40306 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40307 and CP774 modules.
40308 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40309 and CP774 modules.
40310 * iconvdata/tst-tables.sh: Likewise.
40311 * iconvdata/cp770.c: New file.
40312 * iconvdata/cp771.c: New file.
40313 * iconvdata/cp772.c: New file.
40314 * iconvdata/cp773.c: New file.
40315 * iconvdata/cp774.c: New file.
40316 * iconvdata/testdata/CP770: New file.
40317 * iconvdata/testdata/CP770..UTF8: New file.
40318 * iconvdata/testdata/CP771: New file.
40319 * iconvdata/testdata/CP771..UTF8: New file.
40320 * iconvdata/testdata/CP772: New file.
40321 * iconvdata/testdata/CP772..UTF8: New file.
40322 * iconvdata/testdata/CP773: New file.
40323 * iconvdata/testdata/CP773..UTF8: New file.
40324 * iconvdata/testdata/CP774: New file.
40325 * iconvdata/testdata/CP774..UTF8: New file.
40326
40327 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40328 END CHARMAP line.
40329 * iconvdata/gen-8bit-gap.sh: Likewise.
40330 * iconvdata/gen-8bit.sh: Likewise.
40331
c1e9e399
UD
40332 * locale/iso-639.def: Add ary entry.
40333
24c55fb3 40334 [BZ #11258]
96b4b1b0
UD
40335 * locale/C-translit.h.in: Add U20A1 transliteration.
40336
bdc2f971
KB
40337 [BZ #12178]
40338 * locale/iso-639.def: Add wae entry.
40339 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40340
2952b117
UD
40341 [BZ #12545]
40342 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40343 for n.
40344
2a81eaa5
UD
40345 [BZ #12711]
40346 * locale/C-translit.h.in: Add entry for U20B9.
40347 Patch by pravin.d.s@gmail.com.
40348
28377d1b
UD
403492011-05-08 Ulrich Drepper <drepper@gmail.com>
40350
7fb90fb8
UD
40351 [BZ #12713]
40352 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40353 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40354 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40355 in rtld. Use *stat64.
7fb90fb8 40356 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40357 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40358 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40359 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40360 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40361 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40362 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40363 __fstatat64 macros.
7fb90fb8
UD
40364 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40365 * dirent/rewinddir.c: Add libc_hidden_def.
40366 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40367 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40368
28377d1b
UD
40369 * include/dirent.h (__alloc_dir): Add flags parameter.
40370 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40371 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40372 __alloc_dir.
40373 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40374 from fdopendir if O_CLOEXEC is already set.
40375
66bdbaa4
AM
403762011-03-15 Alan Modra <amodra@gmail.com>
40377
40378 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40379 l_tls_firstbyte_offset non-zero. Save padding offset in
40380 l_tls_firstbyte_offset for later use.
40381 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40382 freeing static tls block.
40383
95721191
JN
403842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40385
40386 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40387 where #ifdef was intended. The intent is to prevent ARG_MAX from
40388 being defined by the kernel headers.
40389
f87dfb1f
UD
403902011-05-07 Ulrich Drepper <drepper@gmail.com>
40391
40392 [BZ #12734]
40393 * resolv/resolv.h: Define RES_NOTLDQUERY.
40394 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40395 no-tld-query and set RES_NOTLDQUERY.
40396 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40397 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40398 modern BIND to search name as TLD unless forbidden.
40399
47c3cd7a
UD
404002011-05-07 Petr Baudis <pasky@suse.cz>
40401 Ulrich Drepper <drepper@gmail.com>
40402
40403 [BZ #12393]
40404 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40405 (is_trusted_path): ...to here.
c1e9ea35 40406 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40407 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40408 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40409
8a35c912
PP
404102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40411
40412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40413 __BEGIN/__END_DECLS.
40414
acd41f47
UD
404152011-05-06 Ulrich Drepper <drepper@gmail.com>
40416
40417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40418 NSS_STATUS_NOTFOUND if no record was found.
40419
597df647
AS
404202011-05-05 Andreas Schwab <schwab@redhat.com>
40421
40422 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40423 (headers-not-in-tirpc): Remove rpc/netdb.h
40424 * resolv/netdb.h: Revert last change.
40425
b9af1301
PP
404262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40427
40428 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40429 circular dependency between libgcc.a and libc.a.
40430
4e34d5f5
AS
404312011-05-05 Andreas Schwab <schwab@redhat.com>
40432
40433 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40434 * nis/Makefile: Don't install rpcsvc/*.
40435 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40436 instead of <rpc/types.h>.
40437 (MAXHOSTNAMELEN): Define.
40438
00ee369c
AS
404392011-05-03 Andreas Schwab <schwab@redhat.com>
40440
40441 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40442
0b592a30
MB
404432011-04-28 Maciej Babinski <mbabinski@google.com>
40444
40445 [BZ #12714]
40446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40447 gethostbyname4_r when IPv6 results are possible.
40448
6e04cbbe
UD
404492011-05-02 Ulrich Drepper <drepper@gmail.com>
40450
40451 [BZ #12723]
40452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40453 _PC_PIPE_BUF handling.
40454
e4ecafe0
BH
404552011-04-30 Bruno Haible <bruno@clisp.org>
40456
40457 [BZ #12717]
40458 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40459 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40460 to 'int'.
40461 * inet/getnameinfo.c (getnameinfo): Likewise.
40462
125ee683
UD
404632011-04-29 Ulrich Drepper <drepper@gmail.com>
40464
40465 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40466 to groups setting in database lookup.
40467 * nss/nsswitch.conf: Add initgroups entry.
40468
b722481a
EB
404692011-04-22 Ulrich Drepper <drepper@gmail.com>
40470
40471 [BZ #12685]
40472 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40473 mode string.
40474 Patch by Eric Blake <eblake@redhat.com>.
40475
4df46dbd
L
404762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40477
40478 * sunrpc/Makefile (need-export-routines): Add svc_run.
40479 (routines): Remove svc_run.
40480 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40481 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40482 * sunrpc/svc_run.c (svc_run): Likewise.
40483 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40484
e84142d2
UD
404852011-04-21 Ulrich Drepper <drepper@gmail.com>
40486
40487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40488 problem in reallocation in last patch.
40489
877175d8
UD
404902011-04-20 Ulrich Drepper <drepper@gmail.com>
40491
40492 * sunrpc/Makefile: Move inclusion of Rules.
40493
ab8eed78
UD
404942011-04-19 Ulrich Drepper <drepper@gmail.com>
40495
40496 * nss/nss_files/files-initgroups.c: New file.
40497 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40498 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40499 _nss_files_initgroups_dyn.
40500
e3d8f584
RS
405012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40502
40503 * elf/elf.h (R_ARM_IRELATIVE): Define.
40504
af190f45
UD
405052011-04-19 Ulrich Drepper <drepper@gmail.com>
40506
40507 * po/ru.po: Update from translation team.
40508
53cf59ef
UD
405092011-04-17 Ulrich Drepper <drepper@gmail.com>
40510
40511 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40512 dependencies.
40513
4c559bcd
MF
405142011-02-06 Mike Frysinger <vapier@gentoo.org>
40515
40516 [BZ #12653]
40517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40518 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40522
4420675c
AS
405232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40524
40525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40526 differing bytes.
40527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40530
75ea32ab
UD
405312011-04-17 Ulrich Drepper <drepper@gmail.com>
40532
40533 [BZ #12420]
40534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40535 storing it.
40536 * stdlib/bug-getcontext.c: New file.
40537 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40538
27390476
AK
405392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40540
40541 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40542 instructions into .machine "z9-109".
40543 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40544 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40545
10442705
AK
405462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40547
40548 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40549 between environment variables and auxiliary vector.
40550
7b57bfe5
UD
405512011-04-16 Ulrich Drepper <drepper@gmail.com>
40552
40553 * Makefile: Add rules to build linkobj/libc.so.
40554 * include/libc-symbols.h: Define libc_hidden_nolink.
40555 * include/rpc/auth.h: Mark functions which are to be hidden.
40556 * include/rpc/auth_des.h: Likewise.
40557 * include/rpc/auth_unix.h: Likewise.
40558 * include/rpc/clnt.h: Likewise.
40559 * include/rpc/des_crypt.h: Likewise.
40560 * include/rpc/key_prot.h: Likewise.
40561 * include/rpc/pmap_clnt.h: Likewise.
40562 * include/rpc/pmap_prot.h: Likewise.
40563 * include/rpc/pmap_rmt.h: Likewise.
40564 * include/rpc/rpc_msg.h: Likewise.
40565 * include/rpc/svc.h: Likewise.
40566 * include/rpc/svc_auth.h: Likewise.
40567 * include/rpc/xdr.h: Likewise.
40568 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40569 * nss/Makefile: Likewise.
40570 * sunrpc/Makefile: Don't install headers. Build library with normal
40571 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40572 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40573 for the compat linking library. Remove use of INTDEF/INTUSE.
40574 * sunrpc/auth_none.c: Likewise.
40575 * sunrpc/auth_unix.c: Likewise.
40576 * sunrpc/authdes_prot.c: Likewise.
40577 * sunrpc/authuxprot.c: Likewise.
40578 * sunrpc/clnt_gen.c: Likewise.
40579 * sunrpc/clnt_perr.c: Likewise.
40580 * sunrpc/clnt_raw.c: Likewise.
40581 * sunrpc/clnt_simp.c: Likewise.
40582 * sunrpc/clnt_tcp.c: Likewise.
40583 * sunrpc/clnt_udp.c: Likewise.
40584 * sunrpc/clnt_unix.c: Likewise.
40585 * sunrpc/des_crypt.c: Likewise.
40586 * sunrpc/des_soft.c: Likewise.
40587 * sunrpc/get_myaddr.c: Likewise.
40588 * sunrpc/key_call.c: Likewise.
40589 * sunrpc/key_prot.c: Likewise.
40590 * sunrpc/netname.c: Likewise.
40591 * sunrpc/pm_getmaps.c: Likewise.
40592 * sunrpc/pm_getport.c: Likewise.
40593 * sunrpc/pmap_clnt.c: Likewise.
40594 * sunrpc/pmap_prot.c: Likewise.
40595 * sunrpc/pmap_prot2.c: Likewise.
40596 * sunrpc/pmap_rmt.c: Likewise.
40597 * sunrpc/publickey.c: Likewise.
40598 * sunrpc/rpc_cmsg.c: Likewise.
40599 * sunrpc/rpc_common.c: Likewise.
40600 * sunrpc/rpc_dtable.c: Likewise.
40601 * sunrpc/rpc_prot.c: Likewise.
40602 * sunrpc/rpc_thread.c: Likewise.
40603 * sunrpc/rtime.c: Likewise.
40604 * sunrpc/svc.c: Likewise.
40605 * sunrpc/svc_auth.c: Likewise.
40606 * sunrpc/svc_authux.c: Likewise.
40607 * sunrpc/svc_raw.c: Likewise.
40608 * sunrpc/svc_run.c: Likewise.
40609 * sunrpc/svc_simple.c: Likewise.
40610 * sunrpc/svc_tcp.c: Likewise.
40611 * sunrpc/svc_udp.c: Likewise.
40612 * sunrpc/svc_unix.c: Likewise.
40613 * sunrpc/svcauth_des.c: Likewise.
40614 * sunrpc/xcrypt.c: Likewise.
40615 * sunrpc/xdr.c: Likewise.
40616 * sunrpc/xdr_array.c: Likewise.
40617 * sunrpc/xdr_float.c: Likewise.
40618 * sunrpc/xdr_intXX_t.c: Likewise.
40619 * sunrpc/xdr_mem.c: Likewise.
40620 * sunrpc/xdr_rec.c: Likewise.
40621 * sunrpc/xdr_ref.c: Likewise.
40622 * sunrpc/xdr_sizeof.c: Likewise.
40623 * sunrpc/xdr_stdio.c: Likewise.
40624
e6c61494
UD
406252011-04-10 Ulrich Drepper <drepper@gmail.com>
40626
40627 [BZ #12650]
40628 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40629 * sysdeps/ia64/dl-tls.h: Likewise.
40630 * sysdeps/powerpc/dl-tls.h: Likewise.
40631 * sysdeps/s390/dl-tls.h: Likewise.
40632 * sysdeps/sh/dl-tls.h: Likewise.
40633 * sysdeps/sparc/dl-tls.h: Likewise.
40634 * sysdeps/x86_64/dl-tls.h: Likewise.
40635 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40636
34fe483e
AS
406372011-03-14 Andreas Schwab <schwab@redhat.com>
40638
40639 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40640 rpath element also skip the following colon.
40641 (expand_dynamic_string_token): Add is_path parameter and pass
40642 down to DL_DST_REQUIRED and _dl_dst_substitute.
40643 (decompose_rpath): Call expand_dynamic_string_token with
40644 non-zero is_path. Ignore empty rpaths.
40645 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40646 with zero is_path.
40647
f12a32e6
AS
406482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40649
40650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40651 Make cancelable.
40652
38a7d692
UD
406532011-04-09 Ulrich Drepper <drepper@gmail.com>
40654
40655 [BZ #12655]
40656 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40657 Patch by Filipe David Manana <fdmanana@apache.org>.
40658
e451d22b
AS
406592011-04-07 Andreas Schwab <schwab@redhat.com>
40660
40661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40662 Maintain aligned stack.
40663 (CHECK_RSP): Remove unused macro.
40664
dedc7c7b
UD
406652011-04-03 Ulrich Drepper <drepper@gmail.com>
40666
40667 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40669
94521213
UD
406702011-04-02 Ulrich Drepper <drepper@gmail.com>
40671
40672 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40673
8cb700c0 40674 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40675
0354e355
L
406762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40677
40678 [BZ #12518]
40679 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40680 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40681 * sysdeps/x86_64/memmove.c: New file.
40682 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40683 (memcpy): Renamed to ...
40684 (__new_memcpy): This.
40685 (memcpy): Provide GLIBC_2_14 memcpy.
40686 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40687 (memcpy): Provide GLIBC_2_2_5 memcpy.
40688
8593482f
UD
406892011-04-01 Ulrich Drepper <drepper@gmail.com>
40690
40691 [BZ #12631]
40692 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40693
81a5726b
AS
406942011-03-30 Andreas Schwab <schwab@redhat.com>
40695
40696 * misc/syncfs.c: New file.
40697 * misc/Makefile (routines): Add syncfs.
40698 * posix/unistd.h: Declare syncfs.
40699 * sysdeps/unix/syscalls.list: Add syncfs.
40700
00e5419f
AS
407012011-04-01 Andreas Schwab <schwab@redhat.com>
40702
40703 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40704 open_by_handle_at.
40705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40710 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40712
748876bf
UD
407132011-04-01 Ulrich Drepper <drepper@gmail.com>
40714
658e451d
UD
40715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40722
748876bf
UD
40723 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40724 sync_file_range.c with -fexceptions.
40725 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40726 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40727 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40728 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40729 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40730 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40732 sync_file_range as cancellation point
40733 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40734 now a wrapper around __call_sync_file_range with cancellation handling.
40735 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40736 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40737 function name to __call_sync_file_range.
40738 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40739 Add call_sync_file_range.
748876bf 40740
6e63d5e1
AS
407412011-04-01 Andreas Schwab <schwab@redhat.com>
40742
40743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40744 bits/timex.h.
6e63d5e1 40745
46998f74
UD
407462011-04-01 Ulrich Drepper <drepper@gmail.com>
40747
4c1423ed
UD
40748 * iconv/iconv.h: Fix typo in comment.
40749 * io/fcntl.h: Likewise.
40750 * libio/stdio.h: Likewise.
40751 * posix/spawn.h: Likewise.
40752 * posix/unistd.h: Likewise.
40753 * stdlib/stdlib.h: Likewise.
40754 * time/time.h: Likewise.
40755 * wcsmbs/wchar.h: Likewise.
40756
158648c0
UD
40757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40758 open_by_handle): Add.
40759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40760 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40761 Augment a few comments.
40762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40767 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40768 open_by_handle.
40769
46998f74
UD
40770 * io/fcntl.h (AT_EMPTY_PATH): Define.
40771
83fe108b
UD
407722011-03-30 Ulrich Drepper <drepper@gmail.com>
40773
40774 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40775 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40776 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40777 to...
40778 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40779 * Versions.def: Add GLIBC_2.14.
40780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40781 Export.
83fe108b 40782
bb242059
UD
407832011-03-22 Ulrich Drepper <drepper@gmail.com>
40784
40785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40786 round counter.
40787 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40788
c97a1282
L
407892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40790
40791 [BZ #12597]
40792 * string/test-strncmp.c (do_page_test): New function.
40793 (check2): Likewise.
40794 (test_main): Call check2.
40795 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40796
2a115601
UD
407972011-03-20 Ulrich Drepper <drepper@gmail.com>
40798
40799 [BZ #12587]
40800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40801 Handle cache information in CPU leaf 4.
40802 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40803
8126d904
UD
408042011-03-18 Ulrich Drepper <drepper@gmail.com>
40805
042c49c6 40806 [BZ #12583]
8126d904
UD
40807 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40808 character representation.
40809 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40810
ccfe366e
RA
408112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40812
40813 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40814 END(__isnan) to END(__isnanf) to match function entry point/label
40815 EALIGN(__isnanf,...).
40816
c6e13027
JJ
408172011-03-10 Jakub Jelinek <jakub@redhat.com>
40818
40819 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40820
33f85a3f
UD
408212011-03-10 Ulrich Drepper <drepper@gmail.com>
40822
028478fa
UD
40823 [BZ #12510]
40824 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40825 copy from the symbol referenced in the relocation to initialize the
40826 used variable.
40827 Patch by Piotr Bury <pbury@goahead.com>.
40828 * elf/Makefile: Add rules to build and tst-unique3.
40829 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40830 * elf/tst-unique3.cc: New file.
40831 * elf/tst-unique3.h: New file.
40832 * elf/tst-unique3lib.cc: New file.
40833 * elf/tst-unique3lib2.cc: New file.
40834
33f85a3f
UD
40835 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40836
03592fc7
MF
408372011-03-10 Mike Frysinger <vapier@gentoo.org>
40838
40839 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40840 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40841 to _start.
03592fc7 40842
6a5ee102
UD
408432011-03-06 Ulrich Drepper <drepper@gmail.com>
40844
40845 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40846 to-be-loaded object along a path to loader is ld.so.
40847
7e4ba49c
HJ
408482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40849 Ulrich Drepper <drepper@gmail.com>
40850
40851 * sysdeps/x86_64/memset.S: After aligning destination, code
40852 branches to different locations depending on the value of
40853 misalignment, when multiarch is enabled. Fix this.
40854
408552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40856
40857 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40858 Set _x86_64_preferred_memory_instruction for AMD processsors.
40859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40860 Set bit_Prefer_SSE_for_memop for AMD processors.
40861
13a804de
UD
408622011-03-04 Ulrich Drepper <drepper@gmail.com>
40863
40864 * libio/fmemopen.c (fmemopen): Optimize a bit.
40865
9d25c392
AS
408662011-03-03 Andreas Schwab <schwab@redhat.com>
40867
40868 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40869
a5543c6a
RM
408702011-03-03 Roland McGrath <roland@redhat.com>
40871
40872 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40873
012d35f7
DM
408742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40875
7e4ba49c 40876 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40877 __bzero_ultra1 instead of __memset_ultra1.
40878
4bff6e01
AS
408792011-02-23 Andreas Schwab <schwab@redhat.com>
40880 Ulrich Drepper <drepper@gmail.com>
40881
40882 [BZ #12509]
40883 * include/link.h (struct link_map): Add l_orig_initfini.
40884 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40885 returning unsuccessfully.
40886 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40887 close of a file loaded at startup, restore the original l_initfini
40888 list.
40889 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40890 list, store the pointer.
40891 * elf/Makefile ($(objpfx)noload-mem): New rule.
40892 (noload-ENV): Define.
40893 (tests): Add $(objpfx)noload-mem.
40894 * elf/noload.c: Include <memcheck.h>.
40895 (main): Call mtrace. Close all opened handles.
40896
f2092faf
AS
408972011-02-17 Andreas Schwab <schwab@redhat.com>
40898
40899 [BZ #12454]
40900 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40901 dependencies are missing.
40902
6c8a2e88
ST
409032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40904
f2092faf 40905 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40906 Hurd needs munmap.
40907 * sysdeps/mach/hurd/ifreq.h: New file.
40908
84a42118
PB
409092011-01-27 Petr Baudis <pasky@suse.cz>
40910 Ulrich Drepper <drepper@gmail.com>
40911
071f805e 40912 [BZ 12445]#
84a42118
PB
40913 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40914 to extend_alloca().
40915 * stdio-common/bug23.c: New file.
40916 * stdio-common/Makefile (tests): Add bug23.
40917
e23fe25b
AS
409182010-09-28 Andreas Schwab <schwab@redhat.com>
40919 Ulrich Drepper <drepper@gmail.com>
40920
40921 [BZ #12489]
40922 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40923 before performing relro protection. At old place add assertion
40924 to make sure nothing changed.
40925
d3f02e10
NS
409262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40927 Glauber de Oliveira Costa <glommer@gmail.com>
40928
40929 * elf/elf.h: Add new ARM TLS relocs.
40930
d55fd7a5
RA
409312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40932
40933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40934 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40935 cast from r3.
40936 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40937 'tests' variable.
40938 * sysdeps/wordsize-64/tst-writev.c: New file.
40939
2206397e
RA
409402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40941
40942 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40943 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40944 insns in _dl_start to prevent a TOC reference before relocs are
40945 resolved.
40946
e9433893
UD
409472011-02-15 Ulrich Drepper <drepper@gmail.com>
40948
40949 [BZ #12469]
40950 * Makeconfig: Remove RANLIB definition.
40951 * Makerules: Don't use RANLIB.
40952 * aclocal.m4: Remove ranlib test.
40953 * configure.in: No need to check for ranlib.
40954 * elf/rtld-Rules: Don't use RANLIB.
40955
f75286c6
ST
409562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40957
8e31c82d
ST
40958 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40959 protection macro.
40960 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40961 inclusion protection macro.
40962
f75286c6
ST
40963 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40964 SIGRTMIN and SIGRTMAX and print information in that case only when
40965 SIGRTMIN is defined.
40966
c1d0e639
JJ
409672011-02-11 Jakub Jelinek <jakub@redhat.com>
40968
40969 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40970 arginfo fn returning -1.
40971
40972 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40973 and thousands string is zero terminated.
40974
edf9294e
AS
409752011-02-03 Andreas Schwab <schwab@redhat.com>
40976
40977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40978 sysdeps/unix/sysv/linux/bits/socket.h.
40979
2b7e92df
ST
409802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40981
edf9294e
AS
40982 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40983 (__CPU_COUNT): Remove old macros.
40984 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40985 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40986 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40987 (__sched_cpualloc, __sched_cpufree): Add declarations.
40988
a4c7ea7b
UD
409892011-02-05 Ulrich Drepper <drepper@gmail.com>
40990
40991 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40992 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40993 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40994 (readdhstai): Return value of addhstaiX call.
40995 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40996 (addgrbyX): Return value returned by cache_addgr.
40997 (readdgrbyname): Return value returned by addgrbyX.
40998 (readdgrbygid): Likewise.
40999 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41000 (addpwbyX): Return value returned by cache_addpw.
41001 (readdpwbyname): Return value returned by addhstbyX.
41002 (readdpwbyuid): Likewise.
41003 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41004 (addservbyX): Return value returned by cache_addserv.
41005 (readdservbyname): Return value returned by addservbyX:
41006 (readdservbyport): Likewise.
41007 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41008 (addhstbyX): Return value returned by cache_addhst.
41009 (readdhstbyname): Return value returned by addhstbyX.
41010 (readdhstbyaddr): Likewise.
41011 (readdhstbynamev6): Likewise.
41012 (readdhstbyaddrv6): Likewise.
41013 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41014 (readdinitgroups): Return value returned by addinitgroupsX.
41015 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41016 (prune_cache): Keep track of timeout value of re-added entries.
41017 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41018 * nscd/nscd.h: Adjust prototypes of readd* functions.
41019
a0bf67cc
RM
410202011-02-04 Roland McGrath <roland@redhat.com>
41021
41022 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41023 (nis_stats): Likewise.
41024 * nis/nis_modify.c (nis_modify): Likewise.
41025 * nis/nis_remove.c (nis_remove): Likewise.
41026 * nis/nis_add.c (nis_add): Likewise.
41027
41028 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41029
41030 * posix/fnmatch_loop.c: Add some consts.
41031
41032 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41033
435b95eb
L
410342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41035
41036 [BZ #12460]
41037 * config.make.in (config-cflags-novzeroupper): Define.
41038 * configure.in: Substitute libc_cv_cc_novzeroupper.
41039 * elf/Makefile (AVX-CFLAGS): Define.
41040 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41041 (CFLAGS-tst-auditmod4a.c): Likewise.
41042 (CFLAGS-tst-auditmod4b.c): Likewise.
41043 (CFLAGS-tst-auditmod6b.c): Likewise.
41044 (CFLAGS-tst-auditmod6c.c): Likewise.
41045 (CFLAGS-tst-auditmod7b.c): Likewise.
41046 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41047
8517b15e
UD
410482011-02-02 Ulrich Drepper <drepper@gmail.com>
41049
41050 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41051 function to the callback.
41052 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41053
10a656fe
AS
410542011-02-02 Andreas Schwab <schwab@redhat.com>
41055
41056 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41057 of errno.
41058
968dad0a
UD
410592011-01-19 Ulrich Drepper <drepper@gmail.com>
41060
9f94d2ea 41061 [BZ #11724]
968dad0a
UD
41062 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41063 of constructors.
41064 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41065 of destructors.
41066 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41067
41068 [BZ #11724]
41069 * elf/Makefile: Add rules to build and run new test.
41070 * elf/tst-initorder.c: New file.
41071 * elf/tst-initorder.exp: New file.
41072 * elf/tst-initordera1.c: New file.
41073 * elf/tst-initordera2.c: New file.
41074 * elf/tst-initordera3.c: New file.
41075 * elf/tst-initordera4.c: New file.
41076 * elf/tst-initorderb1.c: New file.
41077 * elf/tst-initorderb2.c: New file.
41078 * elf/tst-order-a1.c: New file.
41079 * elf/tst-order-a2.c: New file.
41080 * elf/tst-order-a3.c: New file.
41081 * elf/tst-order-a4.c: New file.
41082 * elf/tst-order-b1.c: New file.
41083 * elf/tst-order-b2.c: New file.
41084 * elf/tst-order-main.c: New file.
41085 New test case by George Gensure <werkt0@gmail.com>.
41086
86e92359
UD
410872010-10-01 Andreas Schwab <schwab@redhat.com>
41088
41089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41090 decoding ACE if AI_CANONIDN.
41091
5d5732b0
UD
410922011-01-18 Ulrich Drepper <drepper@gmail.com>
41093
41094 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41095
a77e8cbc
UD
410962011-01-17 Ulrich Drepper <drepper@gmail.com>
41097
6392473f
UD
41098 * version.h (RELEASE): Bump for 2.13 release.
41099 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41100
620a0529
UD
41101 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41102
18ba70a5
UD
41103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41104 MADV_NOHUGEPAGE.
32465c3e
UD
41105 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41111
c0dafcf1
UD
41112 * posix/getconf.c: Update copyright year.
41113 * catgets/gencat.c: Likewise.
41114 * csu/version.c: Likewise.
41115 * debug/catchsegv.sh: Likewise.
41116 * debug/xtrace.sh: Likewise.
41117 * elf/ldconfig.c: Likewise.
41118 * elf/ldd.bash.in: Likewise.
41119 * elf/sprof.c (print_version): Likewise.
41120 * iconv/iconv_prog.c: Likewise.
41121 * iconv/iconvconfig.c: Likewise.
41122 * locale/programs/locale.c: Likewise.
41123 * locale/programs/localedef.c: Likewise.
41124 * malloc/memusage.sh: Likewise.
41125 * malloc/mtrace.pl: Likewise.
41126 * nscd/nscd.c (print_version): Likewise.
41127 * nss/getent.c: Likewise.
41128
a77e8cbc
UD
41129 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41130 PF_CAIF, and PF_ALG.
41131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41132
77e8bddf
AS
411332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41134
1f20b93a
AS
41135 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41136 (modules-names): Use them.
41137 (ifunc-test-modules, ifunc-pie-tests): Define.
41138 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41139 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41140 (test-extras): Likewise.
41141 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41142 $(compile-command.c).
41143 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41144 (all-built-dso): Define.
41145 (check-textrel.out, check-execstack.out): Depend on it.
41146
77e8bddf
AS
41147 * configure.in: Don't override --enable-multi-arch.
41148
bc425b33
UD
411492011-01-15 Ulrich Drepper <drepper@gmail.com>
41150
41151 [BZ #6812]
41152 * nscd/hstcache.c (tryagain): Define.
41153 (cache_addhst): Return tryagain not notfound for temporary errors.
41154 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41155 failed.
41156
794c3ad3
UD
411572011-01-14 Ulrich Drepper <drepper@gmail.com>
41158
70181fdd
UD
41159 [BZ #10563]
41160 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41161 to make the syscall.
41162 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41163
794c3ad3
UD
41164 [BZ #12378]
41165 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41166 and fall back to matching as normal character if the string ends before
41167 the matching ']' is found. This is what POSIX requires.
41168 * posix/testfnm.c: Adjust test result.
41169 * posix/globtest.sh: Adjust test result. Add new test.
41170 * posix/tst-fnmatch.input: Likewise.
41171 * posix/tst-fnmatch2.c: Add new test.
41172
68dc9497
AS
411732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41174
41175 * elf/Makefile (check-execstack): Revert last change. Depend on
41176 check-execstack.h.
41177 (check-execstack.h): New target.
41178 (generated): Add check-execstack.h.
41179 * elf/check-execstack.c: Include "check-execstack.h".
41180 (main): Revert last change.
41181 (handle_file): Return zero if GNU_STACK is absent and
41182 DEFAULT_STACK_PERMS doesn't include PF_X.
41183
451f001b
UD
411842011-01-13 Ulrich Drepper <drepper@gmail.com>
41185
cfa28e56
UD
41186 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41187 in child fails because the descriptor is already closed.
8cf8ce17
UD
41188 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41189 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41190 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41191
1086d70d
UD
41192 [BZ #12397]
41193 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41194 syscall.
41195
451f001b
UD
41196 [BZ #10484]
41197 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41198 temporary buffer used to handle multi lookups locally.
a85b5cb4 41199 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41200
08769175
UD
412012011-01-12 Ulrich Drepper <drepper@gmail.com>
41202
41203 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41204 loader is ld.so.
41205
5e49c52e
UD
412062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41207
41208 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41209 alignment for SSE2.
41210
60522a5f
UD
412112011-01-12 Ulrich Drepper <drepper@gmail.com>
41212
41213 [BZ #12394]
41214 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41215 characters. When rounding increased number of integer digits recompute
41216 number of groups.
41217 * stdio-common/tst-grouping.c: New file.
41218 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41219
f257bbd7
UD
412202011-01-09 Ulrich Drepper <drepper@gmail.com>
41221
41222 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41223 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41224
41225 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41226 void.
41227 * bits/select.h: Likewise.
41228
fa9c15cb
UD
412292011-01-08 Ulrich Drepper <drepper@gmail.com>
41230
41231 * po/ja.po: Update from translation team.
41232
16c2895f
DM
412332011-01-04 David S. Miller <davem@sunset.davemloft.net>
41234
41235 [BZ #11155]
41236 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41237 implementation just like for lxstat, fxstatat, et al.
41238
2543fef2
JM
412392010-12-27 Jim Meyering <meyering@redhat.com>
41240
41241 [BZ #12348]
41242 * posix/regexec.c (build_trtable): Return failure indication upon
41243 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41244
98727dbe
UD
412452010-12-25 Ulrich Drepper <drepper@gmail.com>
41246
5bd6dc5c
UD
41247 [BZ #12201]
41248 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41249 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41252
97983464
UD
41253 [BZ #12207]
41254 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41255
98727dbe
UD
41256 [BZ #12204]
41257 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41258 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41259
4a531bb0
L
412602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41261
41262 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41263 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41264 script has SORT_BY_INIT_PRIORITY.
41265 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41266 NO_CTORS_DTORS_SECTIONS is defined.
41267 * elf/soinit.c: Likewise.
41268 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41269 NO_CTORS_DTORS_SECTIONS is defined.
41270 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41271 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41272 * sysdeps/sh/init-first.c: Likewise.
41273 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41274
07eb4b71
UD
412752010-12-24 Ulrich Drepper <drepper@gmail.com>
41276
41277 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41278 always use the slow path.
41279
30950a5f
RA
412802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41281
41282 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41283 similar rule which adds the sysdep directories to the header search in
41284 order to pick up the correct platform stackinfo.h.
41285 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41286 perform test if it is, otherwise return successfully without testing.
41287 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41288 DEFAULT_STACK_PERMS define in stackinfo.h.
41289 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41290 defined in stackinfo.h.
41291 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41292 DEFAULT_STACK_PERMS defined in stackinfo.h.
41293 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41294 * sysdeps/ia64/stackinfo.h: Likewise.
41295 * sysdeps/s390/stackinfo.h: Likewise.
41296 * sysdeps/sh/stackinfo.h: Likewise.
41297 * sysdeps/sparc/stackinfo.h: Likewise.
41298 * sysdeps/x86_64/stackinfo.h: Likewise.
41299 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41300 PF_X for powerpc64. Retain PF_X for powerpc32.
41301
db753e2c
UD
413022010-12-19 Ulrich Drepper <drepper@gmail.com>
41303
14b697f7
UD
41304 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41305 accurately.
db753e2c
UD
41306 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41307 GETDENTS_64BIT_ALIGNED.
41308
28300719
UD
413092010-12-14 Ulrich Drepper <dreper@gmail.com>
41310
14b697f7 41311 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41312
4f197237
AS
413132010-12-10 Andreas Schwab <schwab@redhat.com>
41314
dbb0472f
AS
41315 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41316 _GNU_SOURCE.
41317
4f197237
AS
41318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41319 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41320 Remove __restrict.
41321 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41322 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41323
fb88ac72
UD
413242010-12-09 Ulrich Drepper <drepper@gmail.com>
41325
41326 [BZ #11655]
41327 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41328 are initialized.
41329
42acbb92
JJ
413302010-12-09 Jakub Jelinek <jakub@redhat.com>
41331
41332 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41333
c038d98d
UD
413342010-12-03 Ulrich Drepper <drepper@gmail.com>
41335
41336 * po/it.po: Update from translation team.
41337
3a4a2499
L
413382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41339
41340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41341 unused codes.
41342
1e24cf6e
UD
413432010-11-30 Ulrich Drepper <drepper@gmail.com>
41344
41345 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41346
a7690819
AS
413472010-11-24 Andreas Schwab <schwab@redhat.com>
41348
41349 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41350 specially.
41351 (gaih_getanswer_slice): Likewise.
41352
3bf8d1b1
JJ
413532010-10-20 Jakub Jelinek <jakub@redhat.com>
41354
41355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41356
6db52fbb
PB
413572010-05-31 Petr Baudis <pasky@suse.cz>
41358
41359 [BZ #11149]
41360 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41361 silently even in the chroot mode.
41362
eaca7569
UD
413632010-11-22 Ulrich Drepper <drepper@gmail.com>
41364
41365 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41366 last patch a bit. Pretty printing
41367
3056dcdb
UD
413682010-05-31 Petr Baudis <pasky@suse.cz>
41369
41370 [BZ #10085]
41371 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41372 initialization of skip_initgroups_dyn.
41373
cf7c9078
UD
413742010-11-19 Ulrich Drepper <drepper@gmail.com>
41375
41376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41378
a1fb5e3e
UD
413792010-11-16 Ulrich Drepper <drepper@gmail.com>
41380
41381 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41382
3540d66b
AS
413832010-11-11 Andreas Schwab <schwab@redhat.com>
41384
41385 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41386 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41387 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41388 ($(objpfx)tst-fnmatch-mem): New rule.
41389 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41390 * posix/tst-fnmatch.c (main): Call mtrace.
41391
13b69574
L
413922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41393
41394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41395 Support Intel processor model 6 and model 0x2c.
41396
da93d214
LM
413972010-11-10 Luis Machado <luisgpm@br.ibm.com>
41398
41399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41400 signed comparison.
41401
8ca52c6e
L
414022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41403
41404 [BZ #12205]
41405 * string/test-strncasecmp.c (check_result): New function.
41406 (do_one_test): Use it.
41407 (check1): New function.
41408 (test_main): Use it.
41409 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41410 Support strcasecmp and strncasecmp.
41411
69da074d
UD
414122010-11-08 Ulrich Drepper <drepper@gmail.com>
41413
41414 [BZ #12194]
41415 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41417
ff02d528
L
414182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41419
41420 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41421 IFUNC support.
41422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41423 memset-x86-64.
41424 * sysdeps/x86_64/multiarch/bzero.S: New file.
41425 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41426 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41427 * sysdeps/x86_64/multiarch/memset.S: New file.
41428 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41430 Set bit_Prefer_SSE_for_memop for Intel processors.
41431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41432 Define.
41433 (index_Prefer_SSE_for_memop): Define.
41434 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41435
344d0b54
LM
414362010-11-04 Luis Machado <luisgpm@br.ibm.com>
41437
41438 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41440
c0dde15b
UD
414412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41442
41443 [BZ #12191]
41444 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41445 (__x86_64_raw_data_cache_size_half): Likewise.
41446 (__x86_64_raw_shared_cache_size): Likewise.
41447 (__x86_64_raw_shared_cache_size_half): Likewise.
41448
41449 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41450 (__x86_64_raw_data_cache_size_half): Likewise.
41451 (__x86_64_raw_shared_cache_size): Likewise.
41452 (__x86_64_raw_shared_cache_size_half): Likewise.
41453 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41454 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41455 and __x86_64_raw_shared_cache_size_half. Round
41456 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41457 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41458 to multiple of 256 bytes.
41459
0e516e0e
MS
414602010-11-03 Ulrich Drepper <drepper@gmail.com>
41461
41462 [BZ #12167]
41463 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41464 of inacessible symlinks. Verify result of symlink before returning it.
41465 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41466 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41467
0e012e87
ER
414682010-10-28 Erich Ritz <erichritz@gmail.com>
41469
41470 * math/math.h (isinf): Fix typo in comment.
41471
de0ff7bc
UD
414722010-11-01 Ulrich Drepper <drepper@gmail.com>
41473
41474 * po/da.po: Update from translation team.
41475
fa41c84d
UD
414762010-10-26 Ulrich Drepper <drepper@gmail.com>
41477
41478 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41479 is added to the list.
41480
f0967738
AK
414812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41482 Ulrich Drepper <drepper@gmail.com>
41483
41484 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41485 the global list here. Move code to...
41486 (_dl_add_to_namespace_list): ...here. New function.
41487 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41488 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41489 * elf/dl-load.c (lose): Don't remove the element from the list.
41490 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41491 (_dl_map_object): Likewise.
41492
414932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41494
41495 [BZ #12159]
41496 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41497 into all bytes of SSE register.
41498 Patch by Richard Li <richardpku@gmail.com>.
41499
f0967738 415002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41501
41502 [BZ #12140]
41503 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41504 perturbing.
41505
d0b9e94f
MB
415062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41507
41508 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41509 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41510 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41513 submachine.
41514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41515
8e9f92e9
AS
415162010-10-22 Andreas Schwab <schwab@redhat.com>
41517
41518 * include/dlfcn.h (__RTLD_SECURE): Define.
41519 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41520 mode & __RTLD_SECURE instead.
41521 (open_path): Rename preloaded parameter to secure.
41522 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41523 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41524 * elf/dl-deps.c (openaux): Likewise.
41525 * elf/rtld.c (struct map_args): Remove is_preloaded.
41526 (map_doit): Don't use it.
41527 (dl_main): Likewise.
41528 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41529 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41530
bc96fbda
AS
415312010-09-09 Andreas Schwab <schwab@redhat.com>
41532
41533 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41534 (sysd-rules-targets): Remove duplicates.
41535 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41536 rtld-%.$o dependency.
41537
22cd1c9b
AS
415382010-10-18 Andreas Schwab <schwab@redhat.com>
41539
41540 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41541 _dl_map_object do it.
41542
18edac48
UD
415432010-10-19 Ulrich Drepper <drepper@gmail.com>
41544
41545 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41546 fast fma builtins, define the macros in the C99 standard.
41547 (FP_FAST_FMAF): Likewise.
41548 (FP_FAST_FMAL): Likewise.
41549 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41550
41551 * bits/mathdef.h: Update copyright year.
41552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41553
d2050124
MM
415542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41555
41556 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41557 builtins, define the macros in the C99 standard.
41558 (FP_FAST_FMAF): Likewise.
41559 (FP_FAST_FMAL): Likewise.
41560 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41561 multiply/add.
41562 (FP_FAST_FMAF): Likewise.
41563
475facd1
JJ
415642010-10-15 Jakub Jelinek <jakub@redhat.com>
41565
41566 [BZ #3268]
41567 * math/libm-test.inc (fma_test): Some new testcases.
41568 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41569 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41570 y and infinite z. Do multiplication by C already in long double.
41571 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41573 y and infinite z. Do bitwise or of inexact bit into u.d.
41574 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41575 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41576 * sysdeps/i386/fpu/s_fma.S: Removed.
41577 * sysdeps/i386/fpu/s_fmal.S: Removed.
41578
7c08a05c
JJ
415792010-10-16 Jakub Jelinek <jakub@redhat.com>
41580
41581 [BZ #3268]
41582 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41584 computation is not scheduled after fetestexcept. Fix value
41585 of minimum denormal long double.
41586
f3f7372d
JJ
415872010-10-14 Jakub Jelinek <jakub@redhat.com>
41588
41589 [BZ #3268]
41590 * math/libm-test.inc (fma_test): Add some more tests.
41591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41592 correctly.
41593
14d43591
AS
415942010-10-15 Andreas Schwab <schwab@redhat.com>
41595
41596 * scripts/data/localplt-s390-linux-gnu.data: New file.
41597 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41598
5e908464
JJ
415992010-10-13 Jakub Jelinek <jakub@redhat.com>
41600
41601 [BZ #3268]
41602 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41603 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41604 instead of dbl-64.
41605 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41606 inlines.
41607 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41609 if one of x and y is very large and the other is subnormal.
41610 * sysdeps/s390/fpu/s_fmaf.c: New file.
41611 * sysdeps/s390/fpu/s_fma.c: New file.
41612 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41613 * sysdeps/powerpc/fpu/s_fma.S: New file.
41614 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41615 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41616 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41617
416182010-10-12 Jakub Jelinek <jakub@redhat.com>
41619
41620 [BZ #3268]
41621 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41622 fma tests.
41623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41624 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41625 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41626 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41627 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41628 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41630
b833d51f
UD
416312010-10-12 Ulrich Drepper <drepper@redhat.com>
41632
41633 [BZ #12078]
41634 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41635 * posix/bug-regex31.input: Add test case.
41636
1751705d
UD
416372010-10-11 Ulrich Drepper <drepper@gmail.com>
41638
e9b9cbf5
UD
41639 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41640 * posix/bug-regex31.input: New file.
41641
41642 [BZ #12078]
41643 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41644 (parse_sub_exp): Fix last change, use postorder.
41645
ef06edbe
UD
41646 * posix/bug-regex31.c: New file.
41647 * posix/Makefile: Add rules to build and run bug-regex31.
41648
a129c80d
UD
41649 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41650
41651 [BZ #12078]
41652 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41653
b76b818e
UD
41654 [BZ #12108]
41655 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41656 to have entries in sys_siglist.
41657
1751705d
UD
41658 [BZ #12093]
41659 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41660 be NULL.
41661
9ff8d36f
JJ
416622010-10-07 Jakub Jelinek <jakub@redhat.com>
41663
41664 [BZ #3268]
41665 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41666 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41667 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41668 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41669 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41670 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41671 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41672 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41673 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41674 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41675 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41676 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41677 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41678 * math/ftestexcept.c (fetestexcept): Likewise.
41679 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41680 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41681 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41682 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41683 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41684 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41686
af325969
UD
416872010-10-11 Ulrich Drepper <drepper@gmail.com>
41688
c579b202 41689 [BZ #12107]
af325969
UD
41690 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41691 newline.
41692
67a67b95
UD
416932010-10-06 Ulrich Drepper <drepper@gmail.com>
41694
41695 * string/bug-strstr1.c: New file.
41696 * string/Makefile: Add rules to build and run bug-strstr1.
41697
5fb308bc
EB
416982010-10-05 Eric Blake <eblake@redhat.com>
41699
41700 [BZ #12092]
41701 * string/str-two-way.h (two_way_long_needle): Always clear memory
41702 when skipping input due to the shift table.
41703
45db99c7
UD
417042010-10-03 Ulrich Drepper <drepper@gmail.com>
41705
3b111893
UD
41706 [BZ #12005]
41707 * malloc/mcheck.c: Handle large requests.
41708
45db99c7
UD
41709 [BZ #12077]
41710 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41711 for strncmp and strncasecmp.
41712 * string/stratcliff.c: Add tests for strcmp and strncmp.
41713 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41714
cf7a1eb8
NI
417152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41716
41717 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41718 __set_fpscr.
41719
6484ba5e
AJ
417202010-09-30 Andreas Jaeger <aj@suse.de>
41721
41722 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41723 (CGROUP_SUPER_MAGIC): Define.
41724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41725 Handle btrfs and cgroup file systems.
41726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41727 Likewise.
41728
91c42559
LM
417292010-09-27 Luis Machado <luisgpm@br.ibm.com>
41730
41731 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41732 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41733
87a97932
AK
417342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41735
41736 [BZ #12067]
41737 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41738 trying to locate the ELF header.
41739
c21cc9bc
AS
417402010-09-27 Andreas Schwab <schwab@redhat.com>
41741
41742 [BZ #11611]
41743 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41744 Mask out sign-bit copies when constructing f_fsid.
41745
315970f6
PB
417462010-09-24 Petr Baudis <pasky@suse.cz>
41747
41748 * debug/stack_chk_fail_local.c: Add missing licence exception.
41749 * debug/warning-nop.c: Likewise.
41750
1ac7a2c7
JM
417512010-09-15 Joseph Myers <joseph@codesourcery.com>
41752
41753 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41754 implementing getdents64 using getdents syscall, set d_type if
41755 __ASSUME_GETDENTS32_D_TYPE.
41756
56801c50
AS
417572010-09-16 Andreas Schwab <schwab@redhat.com>
41758
41759 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41760 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41761
dda51327
UD
417622010-09-21 Ulrich Drepper <drepper@redhat.com>
41763
41764 [BZ #12037]
41765 * posix/unistd.h: Undo change of feature selection for ftruncate from
41766 2010-01-11.
41767
8ffcee4a
UD
417682010-09-20 Ulrich Drepper <drepper@redhat.com>
41769
a545ecd9 41770 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41771 detection.
41772
e24f0a8b
AS
417732010-09-20 Andreas Schwab <schwab@redhat.com>
41774
41775 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41776 fanotify_mark.
41777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41778
7291c56f
AS
417792010-09-14 Andreas Schwab <schwab@redhat.com>
41780
41781 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41782 variables after CHECK_SP call.
41783 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41784
bc5fb037
AS
417852010-09-13 Andreas Schwab <schwab@redhat.com>
41786 Ulrich Drepper <drepper@redhat.com>
41787
41788 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41789 re-relocationg ld.so.
41790 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41791 _dl_init_paths call.
41792 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41793 here anymore.
41794
e66e7419
UD
417952010-09-14 Ulrich Drepper <drepper@redhat.com>
41796
41797 * resolv/res_init.c (__res_vinit): Count the default server we added.
41798
c044aa75
CLT
417992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41800 Ulrich Drepper <drepper@redhat.com>
41801
41802 [BZ #11968]
41803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41804 (____longjmp_chk): Use %ebx for saving value across system call.
41805 Add unwind info.
41806
32cf4069
AS
418072010-09-06 Andreas Schwab <schwab@redhat.com>
41808
41809 * manual/Makefile: Don't mix pattern rules with normal rules.
41810
817328ee
AS
418112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41812
41813 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41814 operation.
41815 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41816 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41817 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41818 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41820 Likewise.
41821
29fddf61
UD
418222010-09-04 Ulrich Drepper <drepper@redhat.com>
41823
41824 [BZ #11979]
41825 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41826 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41827
0959ffc9
UD
418282010-09-02 Ulrich Drepper <drepper@redhat.com>
41829
41830 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41831 * sysdeps/x86_64/addmul_1.S: Likewise.
41832 * sysdeps/x86_64/lshift.S: Likewise.
41833 * sysdeps/x86_64/mul_1.S: Likewise.
41834 * sysdeps/x86_64/rshift.S: Likewise.
41835 * sysdeps/x86_64/sub_n.S: Likewise.
41836 * sysdeps/x86_64/submul_1.S: Likewise.
41837
ece29840
ST
418382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41839
0959ffc9
UD
41840 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41841 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41842 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41843 * bits/sched.h [__need_schedparam]
ece29840 41844 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41845 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41846 (__defined_schedparam): Define to 1.
ece29840
ST
41847 (__sched_param): New structure, identical to sched_param.
41848 (__need_schedparam): Undefine.
41849
e53a31fe
MF
418502010-08-31 Mike Frysinger <vapier@gentoo.org>
41851
fdc0c10d
MF
41852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41853 (epoll_create1): Declare.
41854
e53a31fe
MF
41855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41856
a726d796
AS
418572010-08-31 Andreas Schwab <schwab@redhat.com>
41858
41859 [BZ #7066]
41860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41861 shifting retval into place.
41862
2f3e3dc7
UD
418632010-09-01 Ulrich Drepper <drepper@redhat.com>
41864
f2933da9
UD
41865 * nis/rpcsvc/nis.h: Update copyright notice.
41866 * nis/rpcsvc/nis.x: Likewise.
41867 * nis/rpcsvc/nis_callback.h: Likewise.
41868 * nis/rpcsvc/nis_callback.x: Likewise.
41869 * nis/rpcsvc/nis_object.x: Likewise.
41870 * nis/rpcsvc/nis_tags.h: Likewise.
41871 * nis/rpcsvc/yp.h: Likewise.
41872 * nis/rpcsvc/yp.x: Likewise.
41873 * nis/rpcsvc/ypupd.h: Likewise.
41874 * nis/yp_xdr.c: Likewise.
41875 * nis/ypupdate_xdr.c: Likewise.
41876
2f3e3dc7
UD
41877 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41878 mainly the body of pmap_getport. Add parameters to specify timeouts.
41879 (pmap_getport): Use __libc_rpc_getport.
41880 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41881 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41882 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41883
f3dcc2f9
AS
418842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41885
41886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41887 fanotify_mark.
41888
6d34eb5b
RM
418892010-08-27 Roland McGrath <roland@redhat.com>
41890
41891 * sysdeps/i386/i686/multiarch/Makefile
41892 (CFLAGS-varshift.c): New variable.
41893
9ea3de11
UD
418942010-08-27 Ulrich Drepper <drepper@redhat.com>
41895
c96d23fc
UD
41896 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41897 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41898
9ea3de11
UD
41899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41900
41901 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41902
623aac7f
L
419032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41904
41905 * sysdeps/x86_64/strlen.S: Unroll the loop.
41906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41907 strlen-sse2 strlen-sse2-bsf.
41908 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41909 __strlen_no_bsf if bit_Slow_BSF is set.
41910 (__strlen_sse42): Removed.
41911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41912 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41913
8b2b7715
RM
419142010-08-25 Roland McGrath <roland@redhat.com>
41915
41916 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41917 * sysdeps/x86_64/multiarch/varshift.c: New file.
41918 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41919 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41920 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41921 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41922
e73015f2
L
419232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41924
41925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41926 strlen-sse2 strlen-sse2-bsf.
41927 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41928 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41929 (__strlen_sse2): Removed.
41930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41933 bit_Slow_BSF for Atom.
41934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41935 (index_Slow_BSF): Define.
41936 (HAS_SLOW_BSF): Define.
41937
df24a73e
UD
419382010-08-25 Ulrich Drepper <drepper@redhat.com>
41939
41940 [BZ #10851]
41941 * resolv/res_init.c (__res_vinit): When no server address at all
41942 is given default to loopback.
41943
f2ac4868
RM
419442010-08-24 Roland McGrath <roland@redhat.com>
41945
09055553
RM
41946 * configure.in: Remove config-name.h generation.
41947 * configure: Regenerated.
41948 * config-name.in: File removed.
41949 * scripts/config-uname.sh: New file.
41950 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41951 ($(objdir)config-name.h): New target.
41952
f2ac4868
RM
41953 * sunrpc/rpc_parse.h: Avoid nested comment.
41954
73f27d5e
RH
419552010-08-24 Richard Henderson <rth@redhat.com>
41956 Ulrich Drepper <drepper@redhat.com>
41957 H.J. Lu <hongjiu.lu@intel.com>
41958
41959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41961 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41962 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41963 _mm_alignr_epi8 with _mm_loadu_si128.
41964 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41965 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41966 (__m128i_shift_right): Removed.
41967 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41968 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41969 * sysdeps/x86_64/multiarch/varshift.h: New file.
41970 * sysdeps/x86_64/multiarch/varshift.S: New file.
41971
84b9230c
MF
419722010-08-21 Mike Frysinger <vapier@gentoo.org>
41973
41974 * configure.in: Move assembler checks to before sysdep dir checking.
41975
9bbd0ddc
PB
419762010-08-20 Petr Baudis <pasky@suse.cz>
41977
41978 * LICENSES: Sync the sunrpc license.
41979
9da4bb31
UD
419802010-08-19 Ulrich Drepper <drepper@redhat.com>
41981
a7ab6ec8
UD
41982 * sunrpc/auth_des.c: Update copyright notice once again.
41983 * sunrpc/auth_none.c: Likewise.
41984 * sunrpc/auth_unix.c: Likewise.
41985 * sunrpc/authdes_prot.c: Likewise.
41986 * sunrpc/authuxprot.c: Likewise.
41987 * sunrpc/bindrsvprt.c: Likewise.
41988 * sunrpc/clnt_gen.c: Likewise.
41989 * sunrpc/clnt_perr.c: Likewise.
41990 * sunrpc/clnt_raw.c: Likewise.
41991 * sunrpc/clnt_simp.c: Likewise.
41992 * sunrpc/clnt_tcp.c: Likewise.
41993 * sunrpc/clnt_udp.c: Likewise.
41994 * sunrpc/clnt_unix.c: Likewise.
41995 * sunrpc/des_crypt.c: Likewise.
41996 * sunrpc/des_soft.c: Likewise.
41997 * sunrpc/get_myaddr.c: Likewise.
41998 * sunrpc/getrpcport.c: Likewise.
41999 * sunrpc/key_call.c: Likewise.
42000 * sunrpc/key_prot.c: Likewise.
42001 * sunrpc/openchild.c: Likewise.
42002 * sunrpc/pm_getmaps.c: Likewise.
42003 * sunrpc/pm_getport.c: Likewise.
42004 * sunrpc/pmap_clnt.c: Likewise.
42005 * sunrpc/pmap_prot.c: Likewise.
42006 * sunrpc/pmap_prot2.c: Likewise.
42007 * sunrpc/pmap_rmt.c: Likewise.
42008 * sunrpc/rpc/auth.h: Likewise.
42009 * sunrpc/rpc/auth_unix.h: Likewise.
42010 * sunrpc/rpc/clnt.h: Likewise.
42011 * sunrpc/rpc/des_crypt.h: Likewise.
42012 * sunrpc/rpc/key_prot.h: Likewise.
42013 * sunrpc/rpc/netdb.h: Likewise.
42014 * sunrpc/rpc/pmap_clnt.h: Likewise.
42015 * sunrpc/rpc/pmap_prot.h: Likewise.
42016 * sunrpc/rpc/pmap_rmt.h: Likewise.
42017 * sunrpc/rpc/rpc.h: Likewise.
42018 * sunrpc/rpc/rpc_des.h: Likewise.
42019 * sunrpc/rpc/rpc_msg.h: Likewise.
42020 * sunrpc/rpc/svc.h: Likewise.
42021 * sunrpc/rpc/svc_auth.h: Likewise.
42022 * sunrpc/rpc/types.h: Likewise.
42023 * sunrpc/rpc/xdr.h: Likewise.
42024 * sunrpc/rpc_clntout.c: Likewise.
42025 * sunrpc/rpc_cmsg.c: Likewise.
42026 * sunrpc/rpc_common.c: Likewise.
42027 * sunrpc/rpc_cout.c: Likewise.
42028 * sunrpc/rpc_dtable.c: Likewise.
42029 * sunrpc/rpc_hout.c: Likewise.
42030 * sunrpc/rpc_main.c: Likewise.
42031 * sunrpc/rpc_parse.c: Likewise.
42032 * sunrpc/rpc_parse.h: Likewise.
42033 * sunrpc/rpc_prot.c: Likewise.
42034 * sunrpc/rpc_sample.c: Likewise.
42035 * sunrpc/rpc_scan.c: Likewise.
42036 * sunrpc/rpc_scan.h: Likewise.
42037 * sunrpc/rpc_svcout.c: Likewise.
42038 * sunrpc/rpc_tblout.c: Likewise.
42039 * sunrpc/rpc_util.c: Likewise.
42040 * sunrpc/rpc_util.h: Likewise.
42041 * sunrpc/rpcinfo.c: Likewise.
42042 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42043 * sunrpc/rpcsvc/key_prot.x: Likewise.
42044 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42045 * sunrpc/rpcsvc/mount.x: Likewise.
42046 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42047 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42048 * sunrpc/rpcsvc/rex.x: Likewise.
42049 * sunrpc/rpcsvc/rstat.x: Likewise.
42050 * sunrpc/rpcsvc/rusers.x: Likewise.
42051 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42052 * sunrpc/rpcsvc/spray.x: Likewise.
42053 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42054 * sunrpc/rtime.c: Likewise.
42055 * sunrpc/svc.c: Likewise.
42056 * sunrpc/svc_auth.c: Likewise.
42057 * sunrpc/svc_authux.c: Likewise.
42058 * sunrpc/svc_raw.c: Likewise.
42059 * sunrpc/svc_run.c: Likewise.
42060 * sunrpc/svc_simple.c: Likewise.
42061 * sunrpc/svc_tcp.c: Likewise.
42062 * sunrpc/svc_udp.c: Likewise.
42063 * sunrpc/svc_unix.c: Likewise.
42064 * sunrpc/svcauth_des.c: Likewise.
42065 * sunrpc/xcrypt.c: Likewise.
42066 * sunrpc/xdr.c: Likewise.
42067 * sunrpc/xdr_array.c: Likewise.
42068 * sunrpc/xdr_float.c: Likewise.
42069 * sunrpc/xdr_mem.c: Likewise.
42070 * sunrpc/xdr_rec.c: Likewise.
42071 * sunrpc/xdr_ref.c: Likewise.
42072 * sunrpc/xdr_sizeof.c: Likewise.
42073 * sunrpc/xdr_stdio.c: Likewise.
42074
9da4bb31
UD
42075 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42076 handling.
42077
bdaa77bc
AS
420782010-08-19 Andreas Schwab <schwab@redhat.com>
42079
42080 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42081
fe2f79db
LM
420822010-08-19 Luis Machado <luisgpm@br.ibm.com>
42083
42084 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42086 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42087 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42088 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42089 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42091 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42092 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42093 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42094 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42095 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42096 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42097 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42098
b9b42ee0
AB
420992010-07-26 Anton Blanchard <anton@samba.org>
42100
42101 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42102 * malloc/arena.c (heap_trim): Likewise.
42103
1c06ba31
UD
421042010-08-16 Ulrich Drepper <drepper@redhat.com>
42105
42106 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42107 here. Not...
42108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42109 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42110
f8392f40
L
421112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42112
42113 * sysdeps/i386/elf/Makefile: New file.
42114
3162f12e
AS
421152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42116
42117 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42118 from fanotify_init.
42119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42121
28c90b2c
UD
421222010-08-15 Ulrich Drepper <drepper@redhat.com>
42123
42124 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42125 of strncasecmp_l.
1feccb6c 42126 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42127
ca6bb004
UD
421282010-08-14 Ulrich Drepper <drepper@redhat.com>
42129
e9f82e0d
UD
42130 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42131 strncase_l-nonascii.
42132 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42133 Add strncase_l-ssse3.
42134 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42135 * sysdeps/x86_64/strcmp.S: Likewise.
42136 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42137 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42138 * sysdeps/x86_64/strncase.S: New file.
42139 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42140 * sysdeps/x86_64/strncase_l.S: New file.
42141 * string/Makefile (strop-tests): Add strncasecmp.
42142 * string/test-strncasecmp.c: New file.
42143
42144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42145 warning.
42146
ca6bb004
UD
42147 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42148 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42149
052fa7b3
AS
421502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42151
42152 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42153
962dba78
UD
421542010-08-12 Ulrich Drepper <drepper@redhat.com>
42155
42156 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42159
bebff237
AM
421602010-05-01 Alan Modra <amodra@gmail.com>
42161
42162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42163 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42164 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42165 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42166 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42167 tidying. Don't tail-call __sigjmp_save for static lib.
42168 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42169 save location.
42170 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42171 (CALL_MCOUNT): Add eh info, and nop after bl.
42172 (TAIL_CALL_SYSCALL_ERROR): New macro.
42173 (PSEUDO_RET): Use it.
42174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42175 Correct save location of integer regs and cr.
42176 (_dl_profile_resolve): Correct cr save location. Delete nops
42177 after bl when SHARED. Reduce cfi size a little by better
42178 placement of cfi directives.
42179 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42180 make a stack frame. Instead use parm save area as a temp.
42181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42182 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42184 Don't make a stack frame for parent, use parm save area.
42185 Increase child stack frame to 112 bytes. Don't save unused reg,
42186 and adjust reg usage. Set up cfi on error recovery and
42187 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42189 (__makecontext): Add dummy nop after jump to exit.
42190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42191 Use correct parm save area and cr save, reduce stack frame.
42192 Correct cfi for possible PSEUDO_RET frame setup.
42193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42194 Branch to local label emitted by PSEUDO_RET rather than
42195 __syscall_error.
42196
02637374
AS
421972010-08-12 Andreas Schwab <schwab@redhat.com>
42198
42199 [BZ #11904]
42200 * locale/programs/locale.c (print_assignment): New function.
42201 (show_locale_vars): Use it.
42202
c3e2f19b
UD
422032010-08-11 Ulrich Drepper <drepper@redhat.com>
42204
3cdaa6ad
UD
42205 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42206 field.
42207 (struct statfs64): Likewise.
42208 (_STATFS_F_FLAGS): Define.
42209 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42210 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42211 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42212 (ST_VALID): Define locally.
42213 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42214 __statvfs_getflags, use the provided value.
42215 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42216 __ASSUME_STATFS_F_FLAGS.
42217
754f7da3
UD
42218 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42219
10b3bedc
UD
42220 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42221 Add sys/fanotify.h.
42222 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42223 fanotify_mask for GLIBC_2.13.
42224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42225 fanotify_init and fanotify_mark.
42226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42227 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42228
c08fb0d7
UD
42229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42230 Add prlimit.
42231 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42232 prlimit64 for GLIBC_2.13.
42233 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42234 prlimit64.
42235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42236 syscall.
42237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42239 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42242 add prlimit alias.
42243 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42244
15bac72b
UD
42245 [BZ #11903]
42246 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42247 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42248
c3e2f19b
UD
42249 * nss/Makefile: Add rules to build and run tst-nss-test1.
42250 * shlib-versions: Add entry for libnss_test1.
42251 * nss/nss_test1.c: New file.
42252 * nss/tst-nss-test1.c: New file.
42253
42254 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42255 (__nss_configure_lookup): Set appropriate entry in
42256 __nss_configure_lookup to true.
42257 * nss/nsswitch.h: Define enum with indeces of databases in
42258 databases and __nss_database_custom arrays. Declare
42259 __nss_database_custom.
42260 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42261 to avoid using nscd when custom rules are installed.
42262 * nss/getXXbyYY_r.c: Likewise.
42263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42264
42265 * nss/nss_files/files-parse.c: Whitespace fixes.
42266
f15ce4d8
UD
422672010-08-09 Ulrich Drepper <drepper@redhat.com>
42268
42269 [BZ #11883]
42270 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42271 * posix/fnmatch_loop.c: Likewise.
42272
d22e4cc9
AK
422732010-07-17 Andi Kleen <ak@linux.intel.com>
42274
42275 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42276 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42277 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42278 * Versions.def [GLIBC_2.13]: Add.
42279
805bc17d
UD
422802010-08-06 Ulrich Drepper <drepper@redhat.com>
42281
42282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42283 Also fail if tpwd after pwuid call is NULL.
42284
5a42321d
ST
422852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42286
42287 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42288 when converting to ms.
42289
fd3ebeda
ST
422902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42291
42292 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42293 EOPNOTSUPP errors with ENOTTY.
42294 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42295 EOPNOTSUPP errors with ENOTTY.
42296
73507d3a
UD
422972010-07-31 Ulrich Drepper <drepper@redhat.com>
42298
42299 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42300 Add strcasecmp_l-ssse3.
42301 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42302 strcasecmp.
42303 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42304 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42306
fe36dd02
UD
423072010-07-30 Ulrich Drepper <drepper@redhat.com>
42308
66f6765a
UD
42309 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42310
42e08a54
UD
42311 * string/Makefile (strop-tests): Add strcasecmp.
42312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42313 strcasecmp_l-nonascii.
42314 (gen-as-const-headers): Add locale-defines.sym.
42315 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42316 * sysdeps/x86_64/strcasecmp.S: New file.
42317 * sysdeps/x86_64/strcasecmp_l.S: New file.
42318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42319 * sysdeps/x86_64/locale-defines.sym: New file.
42320 * string/test-strcasecmp.c: New file.
42321
fe36dd02
UD
42322 * string/test-strcasestr.c: Test both ends of the range of characters.
42323 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42324
48cbc0d6
RM
423252010-07-29 Roland McGrath <roland@redhat.com>
42326
76e6d6bc 42327 [BZ #11856]
48cbc0d6
RM
42328 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42329
880113d9
UD
423302010-07-27 Ulrich Drepper <drepper@redhat.com>
42331
42332 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42333 for ld.so.
42334
deb9cabb
AS
423352010-07-27 Andreas Schwab <schwab@redhat.com>
42336
42337 * manual/memory.texi (Malloc Tunable Parameters): Document
42338 M_PERTURB.
42339
1c7570ff
RM
423402010-07-26 Roland McGrath <roland@redhat.com>
42341
42342 [BZ #11840]
42343 * configure.in (-fgnu89-inline check): Set and substitute
42344 gnu89_inline, not libc_cv_gnu89_inline.
42345 * configure: Regenerated.
42346 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42347
24fb0f88
UD
423482010-07-26 Ulrich Drepper <drepper@redhat.com>
42349
42350 * string/test-strnlen.c: New file.
42351 * string/Makefile (strop-tests): Add strnlen.
42352 * string/tester.c (test_strnlen): Add a few more test cases.
42353 * string/tst-strlen.c: Better error reporting.
42354
42355 * sysdeps/x86_64/strnlen.S: New file.
42356
8e96b93a
UD
423572010-07-24 Ulrich Drepper <drepper@redhat.com>
42358
42359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42360 lower-latency instructions.
42361
dbc676d4
UD
423622010-07-23 Ulrich Drepper <drepper@redhat.com>
42363
42364 * string/test-strcasestr.c: New file.
42365 * string/test-strstr.c: New file.
42366 * string/Makefile (strop-tests): Add strstr and strcasestr.
42367 * string/str-two-way.h: Don't undefine MAX.
42368 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42369
f6a31e0e
AS
423702010-07-21 Andreas Schwab <schwab@redhat.com>
42371
42372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42373 strcasestr-nonascii.
42374 (CFLAGS-strcasestr-nonascii.c): Define.
42375 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42377 Remove unused attribute.
42378
5dbc3b6c
RM
423792010-07-20 Roland McGrath <roland@redhat.com>
42380
42381 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42382 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42383 ld.so.cache was broken. With it, there is no way to disable dsocaps
42384 like LD_HWCAP_MASK can disable hwcaps.
42385
23d101d8
EPM
423862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42387
42388 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42389
cc9f2e47
UD
423902010-07-16 Ulrich Drepper <drepper@redhat.com>
42391
42392 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42393 call in strcasestr.
42394 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42395 __strcasestr_sse42_nonascii.
42396 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42397 strcasestr-nonascii.c.
42398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42399
77c1b069
LM
424002010-06-15 Luis Machado <luisgpm@br.ibm.com>
42401
42402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42406
440566c3
UD
424072010-07-09 Ulrich Drepper <drepper@redhat.com>
42408
42409 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42410 fcntl.
42411
5be9d05d
AS
424122010-07-06 Andreas Schwab <schwab@redhat.com>
42413
c30b7ee2 42414 [BZ #11577]
5be9d05d
AS
42415 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42416 dl_signal_cerror.
42417
8a492a67
UD
424182010-07-06 Ulrich Drepper <drepper@redhat.com>
42419
42420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42421 _PC_PIPE_BUF using F_GETPIPE_SZ.
42422
713df3d5
RM
424232010-07-05 Roland McGrath <roland@redhat.com>
42424
42425 * manual/arith.texi (Rounding Functions): Fix rint description
42426 implicit in round description.
42427
702e8f14
UD
424282010-07-02 Ulrich Drepper <drepper@redhat.com>
42429
42430 * elf/Makefile: Fix linking for a few tests to make recent linker
42431 happy.
42432
52ed8be9
AS
424332010-06-30 Andreas Schwab <schwab@redhat.com>
42434
42435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42436 $(common-objpfx)libc_nonshared.a.
42437
f47c9a11
LM
424382010-06-21 Luis Machado <luisgpm@br.ibm.com>
42439
42440 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42441 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42442 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42443 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42444 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42445 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42447 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42462 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42463 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42464 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42465 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42466 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42467 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42468 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42469 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42470 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42471 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42472 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42473 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42488
6fb8cbcb
L
424892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42490
42491 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42492 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42493 * string/memmove.c (memmove): Renamed to ...
42494 (MEMMOVE): ...this. Default to memmove.
42495 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42496 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42497 (END_CHK): Define.
42498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42499 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42500 mempcpy-ssse3-back memmove-ssse3-back.
42501 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42504 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42505 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42506 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42507 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42508 * sysdeps/x86_64/multiarch/memmove.c: New file.
42509 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42510 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42511 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42512 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42513 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42515 Define.
42516 (index_Fast_Copy_Backward): Define.
42517 (HAS_ARCH_FEATURE): Define.
42518 (HAS_FAST_REP_STRING): Define.
42519 (HAS_FAST_COPY_BACKWARD): Define.
42520
4e733bac 425212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42522
42523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42524 Restore proper fallback handling.
42525
63c4ed22
UD
425262010-06-19 Ulrich Drepper <drepper@redhat.com>
42527
ac2b484c
UD
42528 [BZ #11701]
42529 * posix/group_member.c (__group_member): Correct checking loop.
42530
63c4ed22
UD
42531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42532 OOM in getpwuid_r correctly. Return error number when the caller
42533 should return, otherwise -1.
42534 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42535 call returning > 0 value.
42536 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42537
765ade4b
AS
425382010-06-07 Andreas Schwab <schwab@redhat.com>
42539
42540 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42541 libc_nonshared.a from targets in modules-names.
42542
80da2e09
KS
425432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42544
42545 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42546 requires it.
42547
158db122
LM
425482010-06-10 Luis Machado <luisgpm@br.ibm.com>
42549
42550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42551 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42554
caa78cf8
AS
425552010-06-02 Andreas Schwab <schwab@redhat.com>
42556
42557 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42558
b2ef2c01
UD
425592010-06-14 Ulrich Drepper <drepper@redhat.com>
42560
42561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42562 and F_GETPIPE_SZ.
42563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42569
fbd643b6
RM
425702010-06-14 Roland McGrath <roland@redhat.com>
42571
42572 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42573
f32f2869
JJ
425742010-06-07 Jakub Jelinek <jakub@redhat.com>
42575
42576 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42577 __REDIRECT followed by __THROW.
42578 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42579 * posix/getopt.h (getopt): Likewise.
42580
2a50c078
EPM
425812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42582
42583 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42584 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42585 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42586 in AT_FLAGS.
42587 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42588 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42589
eb5ad2eb
LM
425902010-05-28 Luis Machado <luisgpm@br.ibm.com>
42591
42592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42593
3c88fe1e
L
425942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42595
42596 [BZ #11640]
42597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42598 Properly check family and model.
42599
d2f73151
TY
426002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42601
42602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42603
ebd2e13d
LM
426042010-05-24 Luis Machado <luisgpm@br.ibm.com>
42605
42606 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42607
b32b8b45
UD
426082010-05-21 Ulrich Drepper <drepper@redhat.com>
42609
42610 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42611 symbol reference.
42612
9acbe24d
AS
426132010-05-19 Andreas Schwab <schwab@redhat.com>
42614
42615 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42616 symbol reference.
42617
f0ccf6ea
AS
426182010-05-21 Andreas Schwab <schwab@redhat.com>
42619
3d04ff3a
AS
42620 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42621 and internal_recvmmsg.
42622 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42623 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42624 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42625 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42626
f0ccf6ea
AS
42627 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42628 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42629 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42630
5b08ac57
AS
426312010-05-20 Andreas Schwab <schwab@redhat.com>
42632
42633 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42634
4828935d
LM
426352010-05-17 Luis Machado <luisgpm@br.ibm.com>
42636
42637 POWER7 optimizations.
42638 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42639 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42640
373d545e
UD
426412010-05-19 Ulrich Drepper <drepper@redhat.com>
42642
42643 * version.h: Update for 2.13 development version.
42644
21a2b1ae
AS
426452010-05-12 Andrew Stubbs <ams@codesourcery.com>
42646
42647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42648 exceptions. Return 0.
42649
3f7dcb2b
RM
426502010-05-07 Roland McGrath <roland@redhat.com>
42651
42652 * elf/ldconfig.c (main): Add a const.
42653
5f24d53a 426542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42655
a160f8d8
UD
42656 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42657 (args_options): Add no-idn option.
42658 (ahosts_keys_int): Add idn_flags to ai_flags.
42659 (parse_option): Handle 'i' option to clear idn_flags.
42660
5f24d53a
UD
42661 * malloc/malloc.c (_int_free): Possible race in the most recently
42662 added check. Only act on the data if no current modification
42663 happened.
265bb1ce
UD
42664
42665See ChangeLog.17 for earlier changes.
This page took 5.59533 seconds and 5 git commands to generate.