796978df452b237322ffdded2d484529b583d342
[platform/upstream/glibc.git] / ChangeLog
1 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         [BZ #16759]
4         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5         (nscd_getnetgrent): Use it.
6
7         [BZ #16760]
8         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9         of stpcpy.
10
11 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12
13         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
14         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
15         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
16         Remove out of line section. Use cfi intrinsics.
17         (LLL_STUB_UNWIND_INFO*): Remove.
18         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
19         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
20         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
21         Remove out of line section. Use cfi intrinsics.
22         (LLL_STUB_UNWIND_INFO*): Remove.
23
24 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25
26         [BZ #16758]
27         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28         blank values.
29
30 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31
32         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33
34 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35
36         [BZ #16198]
37         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38         fnstenv.
39         * math/test-fenv-preserve.c: New file.
40         * math/Makefile (tests): Add test-fenv-preserve.
41
42 2014-03-26  Will Newton <will.newton@linaro.org>
43
44         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45
46 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47
48         * scripts/versionlist.awk: Partition the version sets and emit all
49         GLIBC_* (sorted) before all others (sorted).
50
51 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52
53         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54         GLIBC_2.2.5 version.
55
56 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57
58         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
59         calls.
60
61 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62
63         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
64         previous change.
65
66 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67
68         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69
70 2014-03-25  Andreas Schwab  <schwab@suse.de>
71
72         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
73         label to be used after in6ailist is initialized.
74
75 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76
77         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
78         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
79
80 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
81
82         [BZ #16357]
83         [BZ #16599]
84         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
85         min_plus_half.
86         (fp_formats): Update initializers.
87         (init_fp_formats): Initialize new field.
88         (output_for_one_input_case): Allow underflow for results up to
89         min_plus_half.
90         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
91         * math/auto-libm-test-in: Don't mark some underflows from asin and
92         atanh as spurious.
93         * math/auto-libm-test-out: Regenerated.
94         * sysdeps/i386/fpu/libm-test-ulps: Update.
95         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
96
97 2014-03-25  Andreas Schwab  <schwab@suse.de>
98
99         * libio/Makefile (tst-ftell-partial-wide-ENV)
100         (tst-ftell-active-handler-ENV): Define.
101
102 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
103
104         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
105
106 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
107
108         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
109
110 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
111
112         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
113         * sysdeps/x86_64/fpu/multiarch/e_exp.c
114         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
115
116 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
117
118         [BZ #16634]
119         * elf/dl-load.c (open_verify): Add mode parameter.
120         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
121         (open_path): Change from boolean 'secure' to complete flag 'mode'
122         (_dl_map_object): Adjust.
123         * elf/Makefile (tests): Add tst-dlopen-aout.
124         * elf/tst-dlopen-aout.c: New test.
125
126 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
127
128         [BZ #16714]
129         * sysdeps/unix/sysv/linux/s390/bits/stat.h
130         (struct stat): Rename member pad0 to __glibc_reserved0.
131
132 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
133
134         [BZ #16712]
135         * sysdeps/s390/s390-32/bits/wordsize.h
136         (__WORDSIZE32_SIZE_ULONG): New define.
137         * sysdeps/s390/s390-64/bits/wordsize.h
138         (__WORDSIZE32_SIZE_ULONG): Likewise.
139         * sysdeps/generic/stdint.h (SIZE_MAX):
140         Define as UL if __WORDSIZE32_SIZE_ULONG.
141
142 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
143
144         [BZ #16713]
145         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
146         (__glibc_reserved0): New variable.
147         (sa_flags): Change type to int.
148
149 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
150
151         * posix/Makefile (before-compile): Use += before-compile instead
152         of a :=.
153
154 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
155
156         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
157         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
158
159 2014-03-20  Andreas Schwab  <schwab@suse.de>
160
161         [BZ #16743]
162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
163         non-matching result from nscd.
164
165 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
166
167         * scripts/bench.py: Moved to ...
168         * benchtests/scripts/bench.py: ... here.
169         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
170
171 2014-03-24  Andreas Schwab  <schwab@suse.de>
172
173         [BZ #16002]
174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
175         alloca_account and account alloca use for struct in6ailist.
176
177 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
178
179         [BZ #16284]
180         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
181         rounding mode to recompute results that overflow to infinity or
182         underflow to zero.
183         * math/auto-libm-test-in: Don't mark tests as expected to fail for
184         bug 16284.
185         * math/auto-libm-test-out: Regenerated.
186         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
187         (ccosh_test): Likewise.
188         (csin_test_data): Use plus_oflow.
189         (csin_test): Use ALL_RM_TEST.
190         (csinh_test_data): Use plus_oflow.
191         (csinh_test): Use ALL_RM_TEST.
192         * sysdeps/i386/fpu/libm-test-ulps: Update.
193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
194
195 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
196
197         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
198         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
199         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
200
201         [BZ #16731]
202         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
203         when x - 1 is zero.
204         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
205         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
206         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
207         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
208         argument is 1.
209         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
210         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
211         zero.
212         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
213         * sysdeps/i386/fpu/libm-test-ulps: Update.
214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215
216 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
217
218         * scripts/bench.pl: Remove file.
219         * scripts/bench.py: New benchmark script.
220         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
221         * benchtests/README: Mention python dependency.
222         * scripts/pylintrc: New file.
223         * scripts/pylint: New file.
224
225         * bits/mathdef.h: Use #ifdef instead of #if.
226         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
227         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
228         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
229         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
230         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
231         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
232
233 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
234             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
235
236         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
238         and strpbrk-ppc64 objects.
239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
240         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
241         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
242         multiarch strpbrk for POWER7.
243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
244         multiarch strpbrk for PPC64.
245         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
246         ifunc selector.
247         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
248         strpbrk for POWER7.
249
250 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
251
252         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
253         (atan_test): Likewise.
254         (atanh_test_data): Use NO_TEST_INLINE for two tests.
255         (atanh_test): Use ALL_RM_TEST.
256         (atan2_test_data): Likewise.
257         (cabs_test): Likewise.
258         (cacosh_test): Likewise.
259         (carg_test): Likewise.
260         (casin_test): Likewise.
261         (casinh_test): Likewise.
262         (cbrt_test): Likewise.
263         (csqrt_test): Likewise.
264         (erf_test): Likewise.
265         (erfc_test): Likewise.
266         (pow10_test): Likewise.
267         (exp2_test): Likewise.
268         (hypot_test): Likewise.
269         (j0_test): Likewise.
270         (j1_test): Likewise.
271         (lgamma_test): Likewise.
272         (gamma_test): Likewise.
273         (sincos_test): Likewise.
274         (tanh_test): Likewise.
275         (y0_test): Likewise.
276         (y1_test): Likewise.
277         * sysdeps/i386/fpu/libm-test-ulps: Update.
278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
279
280 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
281
282         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
284         and strcspn-ppc64 objects.
285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
286         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
287         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
288         multiarch strcspn for POWER7.
289         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
290         multiarch strcspn for PPC64.
291         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
292         ifunc selector.
293         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
294         strcspn for POWER7.
295
296 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
297
298         * math/gen-libm-test.pl (generate_testfile): Expect only function
299         name as argument to AUTO_TESTS_* and pass results for all rounding
300         modes to parse_args.
301         (parse_auto_input): Separate inputs of automatic tests from
302         outputs before storing in %auto_tests.
303         * math/libm-test.inc (acos_test_data): Update call to
304         AUTO_TESTS_f_f.
305         (acos_test): Use ALL_RM_TEST.
306         (acos_tonearest_test_data): Remove.
307         (acos_test_tonearest): Likewise.
308         (acos_towardzero_test_data): Likewise.
309         (acos_test_towardzero): Likewise.
310         (acos_downward_test_data): Likewise.
311         (acos_test_downward): Likewise.
312         (acos_upward_test_data): Likewise.
313         (acos_test_upward): Likewise.
314         (acosh_test_data): Update call to AUTO_TESTS_f_f.
315         (asin_test_data): Likewise.
316         (asin_test): Use ALL_RM_TEST.
317         (asin_tonearest_test_data): Remove.
318         (asin_test_tonearest): Likewise.
319         (asin_towardzero_test_data): Likewise.
320         (asin_test_towardzero): Likewise.
321         (asin_downward_test_data): Likewise.
322         (asin_test_downward): Likewise.
323         (asin_upward_test_data): Likewise.
324         (asin_test_upward): Likewise.
325         (asinh_test_data): Update call to AUTO_TESTS_f_f.
326         (atan_test_data): Likewise.
327         (atanh_test_data): Likewise.
328         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
329         (cabs_test_data): Update call to AUTO_TESTS_c_f.
330         (carg_test_data): Likewise.
331         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
332         (ccos_test_data): Update call to AUTO_TESTS_c_c.
333         (ccosh_test_data): Likewise.
334         (cexp_test_data): Likewise.
335         (clog_test_data): Likewise.
336         (clog10_test_data): Likewise.
337         (cos_test_data): Update call to AUTO_TESTS_f_f.
338         (cos_test): Use ALL_RM_TEST.
339         (cos_tonearest_test_data): Remove.
340         (cos_test_tonearest): Likewise.
341         (cos_towardzero_test_data): Likewise.
342         (cos_test_towardzero): Likewise.
343         (cos_downward_test_data): Likewise.
344         (cos_test_downward): Likewise.
345         (cos_upward_test_data): Likewise.
346         (cos_test_upward): Likewise.
347         (cosh_test_data): Update call to AUTO_TESTS_f_f.
348         (cosh_test): Use ALL_RM_TEST.
349         (cosh_tonearest_test_data): Remove.
350         (cosh_test_tonearest): Likewise.
351         (cosh_towardzero_test_data): Likewise.
352         (cosh_test_towardzero): Likewise.
353         (cosh_downward_test_data): Likewise.
354         (cosh_test_downward): Likewise.
355         (cosh_upward_test_data): Likewise.
356         (cosh_test_upward): Likewise.
357         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
358         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
359         (ctan_test_data): Likewise.
360         (ctan_test): Use ALL_RM_TEST.
361         (ctan_tonearest_test_data): Remove.
362         (ctan_test_tonearest): Likewise.
363         (ctan_towardzero_test_data): Likewise.
364         (ctan_test_towardzero): Likewise.
365         (ctan_downward_test_data): Likewise.
366         (ctan_test_downward): Likewise.
367         (ctan_upward_test_data): Likewise.
368         (ctan_test_upward): Likewise.
369         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
370         (ctanh_test): Use ALL_RM_TEST.
371         (ctanh_tonearest_test_data): Remove.
372         (ctanh_test_tonearest): Likewise.
373         (ctanh_towardzero_test_data): Likewise.
374         (ctanh_test_towardzero): Likewise.
375         (ctanh_downward_test_data): Likewise.
376         (ctanh_test_downward): Likewise.
377         (ctanh_upward_test_data): Likewise.
378         (ctanh_test_upward): Likewise.
379         (erf_test_data): Update call to AUTO_TESTS_f_f.
380         (erfc_test_data): Likewise.
381         (exp_test_data): Likewise.
382         (exp_test): Use ALL_RM_TEST.
383         (exp_tonearest_test_data): Remove.
384         (exp_test_tonearest): Likewise.
385         (exp_towardzero_test_data): Likewise.
386         (exp_test_towardzero): Likewise.
387         (exp_downward_test_data): Likewise.
388         (exp_test_downward): Likewise.
389         (exp_upward_test_data): Likewise.
390         (exp_test_upward): Likewise.
391         (exp10_test_data): Update call to AUTO_TESTS_f_f.
392         (exp10_test): Use ALL_RM_TEST.
393         (exp10_tonearest_test_data): Remove.
394         (exp10_test_tonearest): Likewise.
395         (exp10_towardzero_test_data): Likewise.
396         (exp10_test_towardzero): Likewise.
397         (exp10_downward_test_data): Likewise.
398         (exp10_test_downward): Likewise.
399         (exp10_upward_test_data): Likewise.
400         (exp10_test_upward): Likewise.
401         (exp2_test_data): Update call to AUTO_TESTS_f_f.
402         (expm1_test_data): Likewise.
403         (expm1_test): Use ALL_RM_TEST.
404         (expm1_tonearest_test_data): Remove.
405         (expm1_test_tonearest): Likewise.
406         (expm1_towardzero_test_data): Likewise.
407         (expm1_test_towardzero): Likewise.
408         (expm1_downward_test_data): Likewise.
409         (expm1_test_downward): Likewise.
410         (expm1_upward_test_data): Likewise.
411         (expm1_test_upward): Likewise.
412         (fma_test_data): Update call to AUTO_TESTS_fff_f.
413         (fma_test): Use ALL_RM_TEST.
414         (fma_towardzero_test_data): Remove.
415         (fma_test_towardzero): Likewise.
416         (fma_downward_test_data): Likewise.
417         (fma_test_downward): Likewise.
418         (fma_upward_test_data): Likewise.
419         (fma_test_upward): Likewise.
420         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
421         (j0_test_data): Update call to AUTO_TESTS_f_f.
422         (j1_test_data): Likewise.
423         (jn_test_data): Update call to AUTO_TESTS_if_f.
424         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
425         (log_test_data): Update call to AUTO_TESTS_f_f.
426         (log10_test_data): Likewise.
427         (log1p_test_data): Likewise.
428         (log2_test_data): Likewise.
429         (pow_test_data): Update call to AUTO_TESTS_ff_f.
430         (pow_tonearest_test_data): Likewise.
431         (sin_test_data): Update call to AUTO_TESTS_f_f.
432         (sin_test): Use ALL_RM_TEST.
433         (sin_tonearest_test_data): Remove.
434         (sin_test_tonearest): Likewise.
435         (sin_towardzero_test_data): Likewise.
436         (sin_test_towardzero): Likewise.
437         (sin_downward_test_data): Likewise.
438         (sin_test_downward): Likewise.
439         (sin_upward_test_data): Likewise.
440         (sin_test_upward): Likewise.
441         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
442         (sinh_test_data): Update call to AUTO_TESTS_f_f.
443         (sinh_test): Use ALL_RM_TEST.
444         (sinh_tonearest_test_data): Remove.
445         (sinh_test_tonearest): Likewise.
446         (sinh_towardzero_test_data): Likewise.
447         (sinh_test_towardzero): Likewise.
448         (sinh_downward_test_data): Likewise.
449         (sinh_test_downward): Likewise.
450         (sinh_upward_test_data): Likewise.
451         (sinh_test_upward): Likewise.
452         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
453         (sqrt_test): Use ALL_RM_TEST.
454         (sqrt_tonearest_test_data): Remove.
455         (sqrt_test_tonearest): Likewise.
456         (sqrt_towardzero_test_data): Likewise.
457         (sqrt_test_towardzero): Likewise.
458         (sqrt_downward_test_data): Likewise.
459         (sqrt_test_downward): Likewise.
460         (sqrt_upward_test_data): Likewise.
461         (sqrt_test_upward): Likewise.
462         (tan_test_data): Update call to AUTO_TESTS_f_f.
463         (tan_test): Use ALL_RM_TEST.
464         (tan_tonearest_test_data): Remove.
465         (tan_test_tonearest): Likewise.
466         (tan_towardzero_test_data): Likewise.
467         (tan_test_towardzero): Likewise.
468         (tan_downward_test_data): Likewise.
469         (tan_test_downward): Likewise.
470         (tan_upward_test_data): Likewise.
471         (tan_test_upward): Likewise.
472         (tanh_test_data): Update call to AUTO_TESTS_f_f.
473         (tgamma_test_data): Likewise.
474         (y0_test_data): Likewise.
475         (y1_test_data): Likewise.
476         (yn_test_data): Update call to AUTO_TESTS_if_f.
477         (main): Do not call removed functions.
478
479 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
480
481         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
482         (ldexp_test_data): Remove.
483         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
484         scalbn_test_data.
485         (scalb_test): Use ALL_RM_TEST.
486
487 2014-03-19  Andreas Schwab  <schwab@suse.de>
488
489         * nscd/nscd.service: Also invalidate netgroup cache on reload.
490
491 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
492
493         [BZ #16649]
494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
495         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
496         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
498         (__ASSUME_PREADV): Undefine.
499         (__ASSUME_PWRITEV): Likewise.
500
501 2014-03-18  Roland McGrath  <roland@hack.frob.com>
502
503         * bits/mman-linux.h: Add comment about non-Linux use.
504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
505         bits/mman-linux.h resting place.
506
507         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
508         * bits/mman-linux.h: ... here.
509
510 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
511
512         * conform/conformtest.pl: Add standard definition when calling C
513         preprocessor on data files.
514         (checknamespace): Remove unused variable.
515
516 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
517
518         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
519         minus_oflow, plus_uflow and minus_uflow in expected results.
520         * math/libm-test.inc (scalbn_test_data): Add more tests of
521         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
522         minus_uflow.
523         (scalbn_test): Use ALL_RM_TEST.
524         (scalbln_test_data): Add more tests of negative arguments.  Use
525         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
526         (scalbln_test): Use ALL_RM_TEST.
527
528 2014-03-18  Roland McGrath  <roland@hack.frob.com>
529
530         * scripts/abilist.awk: Ignore symbols marked with .hidden.
531
532 2014-03-18  Will Newton  <will.newton@linaro.org>
533
534         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
535         inaccurate comment.
536
537 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
538
539         * Makerules [!subdir] (check-abi): Exit with error status if a
540         test failed.
541
542 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
543
544         * math/libm-test.inc (nearbyint_test_data): Include all tests used
545         for rint.  Include results for all rounding modes.
546         (nearbyint_test): Use ALL_RM_TEST.
547         (rint_test_data): Include all tests used for nearbyint.
548
549 2014-03-17  Will Newton  <will.newton@linaro.org>
550
551         * nptl/sysdeps/pthread/pthread.h: Revert previous
552         change.
553
554         * sysdeps/generic/ldsodefs.h: Revert previous
555         change.
556
557         * libio/genops.c: Revert previous change.
558         * libio/libioP.h: Likewise.
559         * stdio-common/vfprintf.c: Likewise.
560
561         * sysdeps/generic/math_private.h: Revert previous
562         change.
563
564         * sysdeps/generic/math_private.h: Check whether
565         HAVE_RM_CTX is defined with #ifdef rather
566         than #if.
567
568         * argp/argp-fmtstream.h: Check whether
569         __STRICT_ANSI__ is defined with #ifdef rather
570         than #if.
571         * argp/argp.h: Likewise.
572
573         * libio/genops.c: Check whether
574         _IO_JUMPS_OFFSET is defined with #ifdef rather
575         than #if.
576         * libio/libioP.h: Likewise.
577         * stdio-common/vfprintf.c: Likewise.
578
579         * sysdeps/generic/ldsodefs.h: Check whether
580         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
581         than #if.
582
583         * nptl/sysdeps/pthread/pthread.h: Check
584         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
585         its value.
586
587 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
588
589         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
590         setting O_APPEND.
591         * libio/tst-ftell-active-handler.c (do_append_test): Add a
592         test case.
593
594         [BZ #16680]
595         * libio/fileops.c (_IO_file_open): Seek to end of file but
596         don't cache the offset.
597         (get_file_offset): Remove function.
598         (do_ftell): Use cached offset when available.
599         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
600         don't cache the offset.
601         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
602         case.
603         (do_one_test): Call it.
604         (do_ftell_test): Fix up expected old offset for a+ mode.
605         * libio/wfileops.c (do_ftell_wide): Used cached offset when
606         available.
607
608         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
609         up test status with function return status.
610         (do_write_test): Likewise.
611         (do_append_test): Likewise.
612
613         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
614         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
615         Remove.
616
617 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
618
619         * math/gen-libm-test.pl (parse_args): Handle results specified for
620         each rounding mode separately.
621         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
622         tests and results from lrint_tonearest_test_data,
623         lrint_towardzero_test_data, lrint_downward_test_data and
624         lrint_upward_test_data.
625         (lrint_test): Use ALL_RM_TEST.
626         (lrint_tonearest_test_data): Remove.
627         (lrint_test_tonearest): Likewise.
628         (lrint_towardzero_test_data): Likewise.
629         (lrint_test_towardzero): Likewise.
630         (lrint_downward_test_data): Likewise.
631         (lrint_test_downward): Likewise.
632         (lrint_upward_test_data): Likewise.
633         (lrint_test_upward): Likewise.
634         (llrint_test_data): Merge in per-rounding-mode tests and results
635         from llrint_tonearest_test_data, llrint_towardzero_test_data,
636         llrint_downward_test_data and llrint_upward_test_data.
637         (llrint_test): Use ALL_RM_TEST.
638         (llrint_tonearest_test_data): Remove.
639         (llrint_test_tonearest): Likewise.
640         (llrint_towardzero_test_data): Likewise.
641         (llrint_test_towardzero): Likewise.
642         (llrint_downward_test_data): Likewise.
643         (llrint_test_downward): Likewise.
644         (llrint_upward_test_data): Likewise.
645         (llrint_test_upward): Likewise.
646         (rint_test_data): Merge in per-rounding-mode tests and results
647         from rint_tonearest_test_data, rint_towardzero_test_data,
648         rint_downward_test_data and rint_upward_test_data.  Add
649         per-rounding-mode results for tests not in those arrays.
650         (rint_test): Use ALL_RM_TEST.
651         (rint_tonearest_test_data): Remove.
652         (rint_test_tonearest): Likewise.
653         (rint_towardzero_test_data): Likewise.
654         (rint_test_towardzero): Likewise.
655         (rint_downward_test_data): Likewise.
656         (rint_test_downward): Likewise.
657         (rint_upward_test_data): Likewise.
658         (rint_test_upward): Likewise.
659         (main): Don't call removed functions.
660
661 2014-03-14  Roland McGrath  <roland@hack.frob.com>
662
663         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
664         "Compiled on ..." crapola.  It is anti-useful.
665
666 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
667
668         * scripts/evaluate-test.sh: Handle fourth argument to determine
669         whether test run should stop on failure.
670         * Makeconfig (stop-on-test-failure): New variable.
671         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
672         $(stop-on-test-failure).
673         * Makefile (tests): Give a summary of results from testing and
674         exit with failure status if they include an ERROR or FAIL.
675         (xtests): Likewise.
676         * manual/install.texi (Configuring and compiling): Mention
677         stop-on-test-failure=y.
678         * INSTALL: Regenerated.
679
680 2014-03-14  Roland McGrath  <roland@hack.frob.com>
681
682         * scripts/versionlist.awk: New file.
683         * Makerules [$(build-shared) = yes]
684         (postclean-generated): Add Versions.def, not Versions.def.v and
685         Versions.def.v.i.
686         ($(common-objpfx)Versions.def.v.i): Target removed.
687         ($(common-objpfx)Versions.def): New target.
688         ($(common-objpfx)Versions.all): Depend on that rather that
689         $(common-objpfx)Versions.def.v.
690         * Versions.def: File removed.
691
692         * Makeconfig (+gccwarn): Add -Wundef.
693         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
694         a dl-sysdep.h breaking its contract.
695         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
696         * include/stackinfo.h: New file.
697         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
698         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
699         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
700         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
701         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
702         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
703         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
704         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
705         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
706         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
707         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
708         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
709         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
710         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
711         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
712
713 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
714
715         [BZ #16707]
716         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
717         implementation.
718         * math/libm-test.inc (round_test_data): Add more tests.
719
720 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
721
722         [BZ #16706]
723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
724         implementation.
725         * math/libm-test.inc (nearbyint_test_data): Add more tests.
726
727 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
728
729         [BZ #16701]
730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
731         implementation.
732         * math/libm-test.inc (ceil_test_data): Add more tests.
733
734 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
735
736         * math/libm-test.inc (trunc_test_data): Add more tests related to
737         BZ#16414.
738
739 2014-03-14  Roland McGrath  <roland@hack.frob.com>
740
741         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
742         with #if rather than #ifdef.
743         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
744
745 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
746
747         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
748         first.  Disable AVX-512 GCC support if assembler doesn't support
749         it.
750         * sysdeps/x86_64/configure: Regenerated.
751
752 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
753
754         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
755         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
756         (__old_pthread_attr_setstack): Likewise.
757         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
758         [!_STACK_GROWS_DOWN]: Likewise.
759
760 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
761
762         * config.make.in (have-bash2): Delete.
763         * configure.ac (libc_cv_have_bash2): Delete.
764         * configure: Regenerate.
765         * elf/Makefile (common-ldd-rewrite): Rename to ...
766         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
767         (sh-ldd-rewrite): Delete.
768         (bash-ldd-rewrite): Delete.
769         (have-bash2): Delete checks.
770         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
771
772 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
773
774         * config.make.in (have-ksh): Delete.
775         (KSH): Delete.
776         * configure.ac (libc_cv_have_ksh): Delete.
777         * configure: Regenerate.
778
779 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
780
781         * elf/Makefile: Delete $(have-ksh) check.
782         ($(objpfx)sotruss): Change KSH to BASH.
783         * elf/sotruss.ksh: Rename to ...
784         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
785         function style to match POSIX.  Drop ksh vim mode setting.
786
787 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
788
789         * manual/time.texi (Specifying the Time Zone with TZ): Change
790         Tuesday to Thursday.
791
792 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
793
794         * debug/tst-longjmp_chk2.c: Update header comment.
795         (stackoverflow_handler): Add comment.  Call assert on pass value.
796
797 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
798
799         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
800         (HAVE_AVX512_ASM_SUPPORT): Likewise.
801         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
802         (La_x86_64_vector): Add zmm.
803         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
804         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
805         ($(objpfx)tst-audit10): New target.
806         ($(objpfx)tst-audit10.out): Likewise.
807         (tst-audit10-ENV): New.
808         (AVX512-CFLAGS): Likewise.
809         (CFLAGS-tst-audit10.c): Likewise.
810         (CFLAGS-tst-auditmod10a.c): Likewise.
811         (CFLAGS-tst-auditmod10b.c): Likewise.
812         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
813         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
814         * sysdeps/x86_64/configure: Regenerated.
815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
816         AVX-512 zmm register support.
817         (_dl_x86_64_save_sse): Likewise.
818         (_dl_x86_64_restore_sse): Likewise.
819         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
820         size vector registers.
821         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
822         (ZMM_SIZE): Likewise.
823         * sysdeps/x86_64/tst-audit10.c: New file.
824         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
825         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
826
827 2014-03-13  Roland McGrath  <roland@hack.frob.com>
828
829         * configure.ac (HAVE_EHDR_START): New check.
830         * configure: Regenerated.
831         * config.h.in (HAVE_EHDR_START): New #undef.
832         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
833         assuming the lowest-addressed segment maps the start of the file.
834
835 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
836
837         * INSTALL: Regenerated.
838
839 2014-03-13  Will Newton  <will.newton@linaro.org>
840
841         * manual/setjmp.texi (System V contexts): Improve
842         clarity and grammar of documentation.
843
844 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
845
846         [BZ #16381]
847         * elf/Makefile (tests): Add tst-pie2.
848         (tests-pie): Add tst-pie2.
849         * elf/tst-pie2.c: New file.
850         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
851         for ET_EXEC.
852         * elf/rtld.c (map_doit): Load executable as lt_executable.
853         (dl_main): Likewise.
854
855 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
856
857         [BZ #16642]
858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
859         (__ASSUME_PSELECT): Undefine.
860
861 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
862
863         [BZ #16689]
864         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
865         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
866         static build.
867         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
868         selector for static builds.
869
870 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
871
872         [BZ #16695]
873         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
874         key in the buffer.
875
876 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
877
878         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
879         selector for static builds.
880
881 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
882
883         * sysdeps/mips/math_private.h [__mips_hard_float]
884         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
885         libc_feresetround_mips_ctx.
886         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
887         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
888         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
889
890         [BZ #16677]
891         * math/s_nextafter.c (__nextafter): Do not return value from
892         overflowing computation.
893         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
894         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
895         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
896         Likewise.
897         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
898         Likewise.
899         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
900         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
901
902 2014-03-11  Roland McGrath  <roland@hack.frob.com>
903
904         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
905         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
906         Move sfi_sp use from the load-multiple (that no longer sets sp) to
907         the new mov targetting sp.
908
909 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910
911         [BZ #16683]
912         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
913         Define it for static builds as well.
914         (NO_BZERO_IMPL): Likewise.
915
916 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
917
918         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
919         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
920         multiarch strspn for PPC64.
921         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
922         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
924         (__libc_ifunc_impl_list): Likewise.
925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
926         multiarch optimizations
927         * string/strspn.c (strspn): Using macro to redefine symbol name.
928
929 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
930             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
931
932         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
933         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
934         multiarch strncat for PPC64.
935         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
936         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
938         (__libc_ifunc_impl_list): Likewise.
939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
940         multiarch optimizations
941
942 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
943
944         [BZ #16639]
945         * nscd/nscd.service: Make service type forking.
946
947 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
948
949         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
950         sign in non default rounding modes.
951         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
952
953 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
954
955         * math/libm-test.inc (ALL_RM_TEST): New macro.
956         (ceil_test): Use ALL_RM_TEST.
957         (cimag_test): Likewise.
958         (conj_test): Likewise.
959         (copysign_test): Likewise.
960         (cproj_test): Likewise.
961         (creal_test): Likewise.
962         (fabs_test): Likewise.
963         (floor_test): Likewise.
964         (fmax_test): Likewise.
965         (fmin_test): Likewise.
966         (fmod_test): Likewise.
967         (fpclassify_test): Likewise.
968         (frexp_test): Likewise.
969         (ilogb_test): Likewise.
970         (isfinite_test): Likewise.
971         (finite_test): Likewise.
972         (isgreater_test): Likewise.
973         (isgreaterequal_test): Likewise.
974         (isinf_test): Likewise.
975         (isless_test): Likewise.
976         (islessequal_test): Likewise.
977         (islessgreater_test): Likewise.
978         (isnan_test): Likewise.
979         (isnormal_test): Likewise.
980         (issignaling_test): Likewise.
981         (isunordered_test): Likewise.
982         (logb_test): Likewise.
983         (logb_downward_test_data): Remove.
984         (logb_test_downward): Likewise.
985         (lround_test): Use ALL_RM_TEST.
986         (llround_test): Likewise.
987         (modf_test): Likewise.
988         (nexttoward_test): Likewise.
989         (remainder_test): Likewise.
990         (drem_test): Likewise.
991         (remainder_tonearest_test_data): Likewise.
992         (remainder_test_tonearest): Likewise.
993         (drem_test_tonearest): Likewise.
994         (remainder_towardzero_test_data): Likewise.
995         (remainder_test_towardzero): Likewise.
996         (drem_test_towardzero): Likewise.
997         (remainder_downward_test_data): Likewise.
998         (remainder_test_downward): Likewise.
999         (drem_test_downward): Likewise.
1000         (remainder_upward_test_data): Likewise.
1001         (remainder_test_upward): Likewise.
1002         (drem_test_upward): Likewise.
1003         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1004         (round_test): Use ALL_RM_TEST.
1005         (signbit_test): Likewise.
1006         (trunc_test): Likewise.
1007         (significand_test): Likewise.
1008         (main): Don't call removed functions.
1009
1010 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1011
1012         [BZ #16674]
1013         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1014         || __USE_XOPEN2K8].
1015         (ILL_ILLOPN): Likewise.
1016         (ILL_ILLADR): Likewise.
1017         (ILL_ILLTRP): Likewise.
1018         (ILL_PRVOPC): Likewise.
1019         (ILL_PRVREG): Likewise.
1020         (ILL_COPROC): Likewise.
1021         (ILL_BADSTK): Likewise.
1022         (FPE_INTDIV): Likewise.
1023         (FPE_INTOVF): Likewise.
1024         (FPE_FLTDIV): Likewise.
1025         (FPE_FLTOVF): Likewise.
1026         (FPE_FLTUND): Likewise.
1027         (FPE_FLTRES): Likewise.
1028         (FPE_FLTINV): Likewise.
1029         (FPE_FLTSUB): Likewise.
1030         (SEGV_MAPERR): Likewise.
1031         (SEGV_ACCERR): Likewise.
1032         (BUS_ADRALN): Likewise.
1033         (BUS_ADRERR): Likewise.
1034         (BUS_OBJERR): Likewise.
1035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1036         (TRAP_TRACE): Likewise.
1037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1038         __USE_XOPEN2K8].
1039         (CLD_KILLED): Likewise.
1040         (CLD_DUMPED): Likewise.
1041         (CLD_TRAPPED): Likewise.
1042         (CLD_STOPPED): Likewise.
1043         (CLD_CONTINUED): Likewise.
1044         (POLL_IN): Likewise.
1045         (POLL_OUT): Likewise.
1046         (POLL_MSG): Likewise.
1047         (POLL_ERR): Likewise.
1048         (POLL_PRI): Likewise.
1049         (POLL_HUP): Likewise.
1050         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1051         Likewise.
1052         (ILL_ILLOPN): Likewise.
1053         (ILL_ILLADR): Likewise.
1054         (ILL_ILLTRP): Likewise.
1055         (ILL_PRVOPC): Likewise.
1056         (ILL_PRVREG): Likewise.
1057         (ILL_COPROC): Likewise.
1058         (ILL_BADSTK): Likewise.
1059         (FPE_INTDIV): Likewise.
1060         (FPE_INTOVF): Likewise.
1061         (FPE_FLTDIV): Likewise.
1062         (FPE_FLTOVF): Likewise.
1063         (FPE_FLTUND): Likewise.
1064         (FPE_FLTRES): Likewise.
1065         (FPE_FLTINV): Likewise.
1066         (FPE_FLTSUB): Likewise.
1067         (SEGV_MAPERR): Likewise.
1068         (SEGV_ACCERR): Likewise.
1069         (BUS_ADRALN): Likewise.
1070         (BUS_ADRERR): Likewise.
1071         (BUS_OBJERR): Likewise.
1072         (BUS_MCEERR_AR): Likewise.
1073         (BUS_MCEERR_AO): Likewise.
1074         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1075         (TRAP_TRACE): Likewise.
1076         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1077         __USE_XOPEN2K8].
1078         (CLD_KILLED): Likewise.
1079         (CLD_DUMPED): Likewise.
1080         (CLD_TRAPPED): Likewise.
1081         (CLD_STOPPED): Likewise.
1082         (CLD_CONTINUED): Likewise.
1083         (POLL_IN): Likewise.
1084         (POLL_OUT): Likewise.
1085         (POLL_MSG): Likewise.
1086         (POLL_ERR): Likewise.
1087         (POLL_PRI): Likewise.
1088         (POLL_HUP): Likewise.
1089         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1090         (ILL_ILLOPN): Likewise.
1091         (ILL_ILLADR): Likewise.
1092         (ILL_ILLTRP): Likewise.
1093         (ILL_PRVOPC): Likewise.
1094         (ILL_PRVREG): Likewise.
1095         (ILL_COPROC): Likewise.
1096         (ILL_BADSTK): Likewise.
1097         (FPE_INTDIV): Likewise.
1098         (FPE_INTOVF): Likewise.
1099         (FPE_FLTDIV): Likewise.
1100         (FPE_FLTOVF): Likewise.
1101         (FPE_FLTUND): Likewise.
1102         (FPE_FLTRES): Likewise.
1103         (FPE_FLTINV): Likewise.
1104         (FPE_FLTSUB): Likewise.
1105         (SEGV_MAPERR): Likewise.
1106         (SEGV_ACCERR): Likewise.
1107         (BUS_ADRALN): Likewise.
1108         (BUS_ADRERR): Likewise.
1109         (BUS_OBJERR): Likewise.
1110         (BUS_MCEERR_AR): Likewise.
1111         (BUS_MCEERR_AO): Likewise.
1112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1113         (TRAP_TRACE): Likewise.
1114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1115         __USE_XOPEN2K8].
1116         (CLD_KILLED): Likewise.
1117         (CLD_DUMPED): Likewise.
1118         (CLD_TRAPPED): Likewise.
1119         (CLD_STOPPED): Likewise.
1120         (CLD_CONTINUED): Likewise.
1121         (POLL_IN): Likewise.
1122         (POLL_OUT): Likewise.
1123         (POLL_MSG): Likewise.
1124         (POLL_ERR): Likewise.
1125         (POLL_PRI): Likewise.
1126         (POLL_HUP): Likewise.
1127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1128         Likewise.
1129         (ILL_ILLOPN): Likewise.
1130         (ILL_ILLADR): Likewise.
1131         (ILL_ILLTRP): Likewise.
1132         (ILL_PRVOPC): Likewise.
1133         (ILL_PRVREG): Likewise.
1134         (ILL_COPROC): Likewise.
1135         (ILL_BADSTK): Likewise.
1136         (ILL_BADIADDR): Likewise.
1137         (ILL_BREAK): Likewise.
1138         (FPE_INTDIV): Likewise.
1139         (FPE_INTOVF): Likewise.
1140         (FPE_FLTDIV): Likewise.
1141         (FPE_FLTOVF): Likewise.
1142         (FPE_FLTUND): Likewise.
1143         (FPE_FLTRES): Likewise.
1144         (FPE_FLTINV): Likewise.
1145         (FPE_FLTSUB): Likewise.
1146         (FPE_DECOVF): Likewise.
1147         (FPE_DECDIV): Likewise.
1148         (FPE_DECERR): Likewise.
1149         (FPE_INVASC): Likewise.
1150         (FPE_INVDEC): Likewise.
1151         (SEGV_MAPERR): Likewise.
1152         (SEGV_ACCERR): Likewise.
1153         (SEGV_PSTKOVF): Likewise.
1154         (BUS_ADRALN): Likewise.
1155         (BUS_ADRERR): Likewise.
1156         (BUS_OBJERR): Likewise.
1157         (BUS_MCEERR_AR): Likewise.
1158         (BUS_MCEERR_AO): Likewise.
1159         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1160         (TRAP_TRACE): Likewise.
1161         (TRAP_BRANCH): Likewise.
1162         (TRAP_HWBKPT): Likewise.
1163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1164         __USE_XOPEN2K8].
1165         (CLD_KILLED): Likewise.
1166         (CLD_DUMPED): Likewise.
1167         (CLD_TRAPPED): Likewise.
1168         (CLD_STOPPED): Likewise.
1169         (CLD_CONTINUED): Likewise.
1170         (POLL_IN): Likewise.
1171         (POLL_OUT): Likewise.
1172         (POLL_MSG): Likewise.
1173         (POLL_ERR): Likewise.
1174         (POLL_PRI): Likewise.
1175         (POLL_HUP): Likewise.
1176         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1177         (ILL_ILLOPN): Likewise.
1178         (ILL_ILLADR): Likewise.
1179         (ILL_ILLTRP): Likewise.
1180         (ILL_PRVOPC): Likewise.
1181         (ILL_PRVREG): Likewise.
1182         (ILL_COPROC): Likewise.
1183         (ILL_BADSTK): Likewise.
1184         (FPE_INTDIV): Likewise.
1185         (FPE_INTOVF): Likewise.
1186         (FPE_FLTDIV): Likewise.
1187         (FPE_FLTOVF): Likewise.
1188         (FPE_FLTUND): Likewise.
1189         (FPE_FLTRES): Likewise.
1190         (FPE_FLTINV): Likewise.
1191         (FPE_FLTSUB): Likewise.
1192         (SEGV_MAPERR): Likewise.
1193         (SEGV_ACCERR): Likewise.
1194         (BUS_ADRALN): Likewise.
1195         (BUS_ADRERR): Likewise.
1196         (BUS_OBJERR): Likewise.
1197         (BUS_MCEERR_AR): Likewise.
1198         (BUS_MCEERR_AO): Likewise.
1199         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1200         (TRAP_TRACE): Likewise.
1201         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1202         __USE_XOPEN2K8].
1203         (CLD_KILLED): Likewise.
1204         (CLD_DUMPED): Likewise.
1205         (CLD_TRAPPED): Likewise.
1206         (CLD_STOPPED): Likewise.
1207         (CLD_CONTINUED): Likewise.
1208         (POLL_IN): Likewise.
1209         (POLL_OUT): Likewise.
1210         (POLL_MSG): Likewise.
1211         (POLL_ERR): Likewise.
1212         (POLL_PRI): Likewise.
1213         (POLL_HUP): Likewise.
1214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1215         (ILL_ILLOPN): Likewise.
1216         (ILL_ILLADR): Likewise.
1217         (ILL_ILLTRP): Likewise.
1218         (ILL_PRVOPC): Likewise.
1219         (ILL_PRVREG): Likewise.
1220         (ILL_COPROC): Likewise.
1221         (ILL_BADSTK): Likewise.
1222         (FPE_INTDIV): Likewise.
1223         (FPE_INTOVF): Likewise.
1224         (FPE_FLTDIV): Likewise.
1225         (FPE_FLTOVF): Likewise.
1226         (FPE_FLTUND): Likewise.
1227         (FPE_FLTRES): Likewise.
1228         (FPE_FLTINV): Likewise.
1229         (FPE_FLTSUB): Likewise.
1230         (SEGV_MAPERR): Likewise.
1231         (SEGV_ACCERR): Likewise.
1232         (BUS_ADRALN): Likewise.
1233         (BUS_ADRERR): Likewise.
1234         (BUS_OBJERR): Likewise.
1235         (BUS_MCEERR_AR): Likewise.
1236         (BUS_MCEERR_AO): Likewise.
1237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1238         (TRAP_TRACE): Likewise.
1239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1240         __USE_XOPEN2K8].
1241         (CLD_KILLED): Likewise.
1242         (CLD_DUMPED): Likewise.
1243         (CLD_TRAPPED): Likewise.
1244         (CLD_STOPPED): Likewise.
1245         (CLD_CONTINUED): Likewise.
1246         (POLL_IN): Likewise.
1247         (POLL_OUT): Likewise.
1248         (POLL_MSG): Likewise.
1249         (POLL_ERR): Likewise.
1250         (POLL_PRI): Likewise.
1251         (POLL_HUP): Likewise.
1252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1253         (ILL_ILLOPN): Likewise.
1254         (ILL_ILLADR): Likewise.
1255         (ILL_ILLTRP): Likewise.
1256         (ILL_PRVOPC): Likewise.
1257         (ILL_PRVREG): Likewise.
1258         (ILL_COPROC): Likewise.
1259         (ILL_BADSTK): Likewise.
1260         (FPE_INTDIV): Likewise.
1261         (FPE_INTOVF): Likewise.
1262         (FPE_FLTDIV): Likewise.
1263         (FPE_FLTOVF): Likewise.
1264         (FPE_FLTUND): Likewise.
1265         (FPE_FLTRES): Likewise.
1266         (FPE_FLTINV): Likewise.
1267         (FPE_FLTSUB): Likewise.
1268         (SEGV_MAPERR): Likewise.
1269         (SEGV_ACCERR): Likewise.
1270         (BUS_ADRALN): Likewise.
1271         (BUS_ADRERR): Likewise.
1272         (BUS_OBJERR): Likewise.
1273         (BUS_MCEERR_AR): Likewise.
1274         (BUS_MCEERR_AO): Likewise.
1275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1276         (TRAP_TRACE): Likewise.
1277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1278         __USE_XOPEN2K8].
1279         (CLD_KILLED): Likewise.
1280         (CLD_DUMPED): Likewise.
1281         (CLD_TRAPPED): Likewise.
1282         (CLD_STOPPED): Likewise.
1283         (CLD_CONTINUED): Likewise.
1284         (POLL_IN): Likewise.
1285         (POLL_OUT): Likewise.
1286         (POLL_MSG): Likewise.
1287         (POLL_ERR): Likewise.
1288         (POLL_PRI): Likewise.
1289         (POLL_HUP): Likewise.
1290         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1291         (ILL_ILLOPN): Likewise.
1292         (ILL_ILLADR): Likewise.
1293         (ILL_ILLTRP): Likewise.
1294         (ILL_PRVOPC): Likewise.
1295         (ILL_PRVREG): Likewise.
1296         (ILL_COPROC): Likewise.
1297         (ILL_BADSTK): Likewise.
1298         (ILL_DBLFLT): Likewise.
1299         (ILL_HARDWALL): Likewise.
1300         (FPE_INTDIV): Likewise.
1301         (FPE_INTOVF): Likewise.
1302         (FPE_FLTDIV): Likewise.
1303         (FPE_FLTOVF): Likewise.
1304         (FPE_FLTUND): Likewise.
1305         (FPE_FLTRES): Likewise.
1306         (FPE_FLTINV): Likewise.
1307         (FPE_FLTSUB): Likewise.
1308         (SEGV_MAPERR): Likewise.
1309         (SEGV_ACCERR): Likewise.
1310         (BUS_ADRALN): Likewise.
1311         (BUS_ADRERR): Likewise.
1312         (BUS_OBJERR): Likewise.
1313         (BUS_MCEERR_AR): Likewise.
1314         (BUS_MCEERR_AO): Likewise.
1315         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1316         (TRAP_TRACE): Likewise.
1317         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1318         __USE_XOPEN2K8].
1319         (CLD_KILLED): Likewise.
1320         (CLD_DUMPED): Likewise.
1321         (CLD_TRAPPED): Likewise.
1322         (CLD_STOPPED): Likewise.
1323         (CLD_CONTINUED): Likewise.
1324         (POLL_IN): Likewise.
1325         (POLL_OUT): Likewise.
1326         (POLL_MSG): Likewise.
1327         (POLL_ERR): Likewise.
1328         (POLL_PRI): Likewise.
1329         (POLL_HUP): Likewise.
1330         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1331         (ILL_ILLOPN): Likewise.
1332         (ILL_ILLADR): Likewise.
1333         (ILL_ILLTRP): Likewise.
1334         (ILL_PRVOPC): Likewise.
1335         (ILL_PRVREG): Likewise.
1336         (ILL_COPROC): Likewise.
1337         (ILL_BADSTK): Likewise.
1338         (FPE_INTDIV): Likewise.
1339         (FPE_INTOVF): Likewise.
1340         (FPE_FLTDIV): Likewise.
1341         (FPE_FLTOVF): Likewise.
1342         (FPE_FLTUND): Likewise.
1343         (FPE_FLTRES): Likewise.
1344         (FPE_FLTINV): Likewise.
1345         (FPE_FLTSUB): Likewise.
1346         (SEGV_MAPERR): Likewise.
1347         (SEGV_ACCERR): Likewise.
1348         (BUS_ADRALN): Likewise.
1349         (BUS_ADRERR): Likewise.
1350         (BUS_OBJERR): Likewise.
1351         (BUS_MCEERR_AR): Likewise.
1352         (BUS_MCEERR_AO): Likewise.
1353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1354         (TRAP_TRACE): Likewise.
1355         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1356         __USE_XOPEN2K8].
1357         (CLD_KILLED): Likewise.
1358         (CLD_DUMPED): Likewise.
1359         (CLD_TRAPPED): Likewise.
1360         (CLD_STOPPED): Likewise.
1361         (CLD_CONTINUED): Likewise.
1362         (POLL_IN): Likewise.
1363         (POLL_OUT): Likewise.
1364         (POLL_MSG): Likewise.
1365         (POLL_ERR): Likewise.
1366         (POLL_PRI): Likewise.
1367         (POLL_HUP): Likewise.
1368         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1369         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1370
1371         [BZ #16670]
1372         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1373         before #include of <time.h>.
1374         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1375         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1376         (test-xfail-UNIX98/sched.h/conform): Likewise.
1377
1378 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1379
1380         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1381         error absence of trapping exception support.
1382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1383
1384 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1385
1386         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1387         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1388         * timezone/Makefile (testdata): Move definition above include of
1389         Rules.
1390         (test-zones): New variable.
1391         (tests-special): Add zone files.
1392         (build-testdata): Use $(evaluate-test).
1393
1394         * elf/Makefile (tests-special): Rename tests to end with .out.
1395         ($(objpfx)noload-mem): Likewise.
1396         ($(objpfx)tst-leaks1-mem): Likewise.
1397         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1398         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1399         $(objpfx)test-iconvconfig.out.
1400         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1401         set -e inside subshell and redirect output to file.
1402         * iconvdata/Makefile (generated): Rename tests to end with .out.
1403         Correct type.
1404         (tests-special): Rename tests to end with .out.
1405         ($(objpfx)mtrace-tst-loading): Likewise.
1406         * intl/Makefile (generated): Likewise.
1407         (tests-special): Likewise.
1408         ($(objpfx)mtrace-tst-gettext): Likewise.
1409         * misc/Makefile (generated): Likewise.
1410         (tests-special): Likewise.
1411         ($(objpfx)tst-error1-mem): Likewise.
1412         * nptl/Makefile (tests-special): Likewise.
1413         ($(objpfx)tst-stack3-mem): Likewise.
1414         (generated): Likewise.
1415         * posix/Makefile (generated): Likewise.
1416         (tests-special): Likewise.
1417         (xtests-special): Likewise.
1418         ($(objpfx)tst-fnmatch-mem): Likewise.
1419         ($(objpfx)bug-regex2-mem): Likewise.
1420         ($(objpfx)bug-regex14-mem): Likewise.
1421         ($(objpfx)bug-regex21-mem): Likewise.
1422         ($(objpfx)bug-regex31-mem): Likewise.
1423         ($(objpfx)tst-vfork3-mem): Likewise.
1424         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1425         ($(objpfx)tst-pcre-mem): Likewise.
1426         ($(objpfx)tst-boost-mem): Likewise.
1427         ($(objpfx)bug-ga2-mem): Likewise.
1428         ($(objpfx)bug-glob2-mem): Likewise.
1429         * resolv/Makefile (generate): Likewise.
1430         (tests-special): Likewise.
1431         (xtests-special): Likewise.
1432         (generated): Likewise.
1433         ($(objpfx)mtrace-tst-leaks): Likewise.
1434         ($(objpfx)mtrace-tst-leaks2): Likewise.
1435
1436         * scripts/merge-test-results.sh: New file.
1437         * Makefile (tests-special-notdir): New variable.
1438         (tests): Run merge-test-results.sh.
1439         (xtests): Likewise.
1440         * Rules (tests-special-notdir): New variable.
1441         (xtests-special-notdir): Likewise.
1442         (tests): Run merge-test-results.sh
1443         (xtests): Likewise.
1444
1445         * Makeconfig (test-xfail-name): New variable.
1446         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1447         compute variable name for expected failures.
1448         * conform/Makefile (conformtest-headers-data): New variable.
1449         (conformtest-standards): Likewise.
1450         (conformtest-headers-ISO): Likewise.
1451         (conformtest-headers-ISO99): Likewise.
1452         (conformtest-headers-ISO11): Likewise.
1453         (conformtest-headers-POSIX): Likewise.
1454         (conformtest-headers-XPG3): Likewise.
1455         (conformtest-headers-XPG4): Likewise.
1456         (conformtest-headers-UNIX98): Likewise.
1457         (conformtest-headers-XOPEN2K): Likewise.
1458         (conformtest-headers-POSIX2008): Likewise.
1459         (conformtest-headers-XOPEN2K8): Likewise.
1460         (conformtest-header-list-base): Likewise.
1461         (conformtest-header-list-tests): Likewise.
1462         (conformtest-header-base): Likewise.
1463         (conformtest-header-tests): Likewise.
1464         (tests-special): Add $(conformtest-header-list-tests).  If
1465         [$(fast-check) && !$(cross-compiling)], add
1466         $(conformtest-header-tests) instead of
1467         $(objpfx)run-conformtest.out.
1468         (generated): Add $(conformtest-header-list-base).  If
1469         [$(fast-check) && !$(cross-compiling)], add
1470         $(conformtest-header-base).  Remove previous setting.
1471         ($(conformtest-header-list-tests)): New target.
1472         (test-xfail-run-conformtest): Remove variable.
1473         ($(objpfx)run-conformtest.out): Remove target.
1474         (test-xfail-ISO11/complex.h/conform): New variable.
1475         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1476         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1477         (test-xfail-XPG3/varargs.h/conform): Likewise.
1478         (test-xfail-XPG4/varargs.h/conform): Likewise.
1479         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1480         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1481         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1482         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1483         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1484         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1485         (test-xfail-XPG3/ftw.h/conform): Likewise.
1486         (test-xfail-XPG3/grp.h/conform): Likewise.
1487         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1488         (test-xfail-XPG3/limits.h/conform): Likewise.
1489         (test-xfail-XPG3/pwd.h/conform): Likewise.
1490         (test-xfail-XPG3/search.h/conform): Likewise.
1491         (test-xfail-XPG3/signal.h/conform): Likewise.
1492         (test-xfail-XPG3/stdio.h/conform): Likewise.
1493         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1494         (test-xfail-XPG3/string.h/conform): Likewise.
1495         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1496         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1497         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1498         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1499         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1500         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1501         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1502         (test-xfail-XPG3/termios.h/conform): Likewise.
1503         (test-xfail-XPG3/time.h/conform): Likewise.
1504         (test-xfail-XPG3/unistd.h/conform): Likewise.
1505         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1506         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1507         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1508         (test-xfail-XPG4/netdb.h/conform): Likewise.
1509         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1510         (test-xfail-XPG4/signal.h/conform): Likewise.
1511         (test-xfail-XPG4/stdio.h/conform): Likewise.
1512         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1513         (test-xfail-XPG4/stropts.h/conform): Likewise.
1514         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1515         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1516         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1517         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1518         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1519         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1520         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1521         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1522         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1523         (test-xfail-XPG4/termios.h/conform): Likewise.
1524         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1525         (test-xfail-XPG4/unistd.h/conform): Likewise.
1526         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1527         (test-xfail-POSIX/sched.h/conform): Likewise.
1528         (test-xfail-POSIX/signal.h/conform): Likewise.
1529         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1530         (test-xfail-POSIX/tar.h/conform): Likewise.
1531         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1532         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1533         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1534         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1535         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1536         (test-xfail-UNIX98/sched.h/conform): Likewise.
1537         (test-xfail-UNIX98/signal.h/conform): Likewise.
1538         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1539         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1540         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1541         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1542         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1543         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1544         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1545         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1546         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1547         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1548         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1549         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1550         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1551         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1552         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1553         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1554         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1555         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1556         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1557         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1558         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1559         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1560         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1561         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1562         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1563         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1564         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1565         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1566         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1567         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1568         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1569         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1570         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1571         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1572         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1573         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1574         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1575         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1576         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1577         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1578         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1579         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1580         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1581         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1582         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1583         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1584         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1585         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1586         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1587         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1588         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1589         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1590         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1591         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1592         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1593         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1594         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1595         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1596         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1597         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1598         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1599         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1600         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1601         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1602         (conformtest-cc-flags): Likewise.
1603         ($(conformtest-header-tests): New target.
1604         * conform/check-header-lists.sh: New file.
1605         * conform/run-conformtest.sh: Remove.
1606
1607         * conform/conformtest.pl: Allow ' and \ in values given for
1608         constants.
1609         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1610         inclusion.
1611         [POSIX] (sys/types.h): Likewise.
1612         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1613         inclusion.
1614         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1615         inclusion.
1616         * conform/data/signal.h-data (SIGIO): Remove expectation.
1617         [XPG3] (SIGBUS): Do not expect.
1618         [POSIX || XPG3] (SIGPOLL): Likewise.
1619         [POSIX || XPG3] (SIGPROF): Likewise.
1620         [POSIX || XPG3] (SIGSYS): Likewise.
1621         [XPG3] (SIGTRAP): Likewise.
1622         [POSIX || XPG3] (SIGURG): Likewise.
1623         [POSIX || XPG3] (SIGVTALRM): Likewise.
1624         [POSIX || XPG3] (SIGXCPU): Likewise.
1625         [POSIX || XPG3] (SIGXFSZ): Likewise.
1626         [POSIX] (SA_SIGINFO): Expect.
1627         [XPG3] (siginfo_t): Do not expect type or contents.
1628         [POSIX] (si_pid): Do not expect element.
1629         [POSIX] (si_uid): Likewise.
1630         [POSIX] (si_addr): Likewise.
1631         [POSIX] (si_status): Likewise.
1632         [POSIX] (si_band): Likewise.
1633         [XPG4] (si_value): Likewise.
1634         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1635         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1636         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1637         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1638         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1639         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1640         [POSIX || XPG3] (ILL_COPROC): Likewise.
1641         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1642         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1643         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1644         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1645         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1646         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1647         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1648         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1649         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1650         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1651         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1652         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1653         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1654         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1655         [POSIX || XPG3] (CLD_EXITED): Likewise.
1656         [POSIX || XPG3] (CLD_KILLED): Likewise.
1657         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1658         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1659         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1660         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1661         [POSIX || XPG3] (POLL_IN): Likewise.
1662         [POSIX || XPG3] (POLL_OUT): Likewise.
1663         [POSIX || XPG3] (POLL_MSG): Likewise.
1664         [POSIX || XPG3] (POLL_ERR): Likewise.
1665         [POSIX || XPG3] (POLL_PRI): Likewise.
1666         [POSIX || XPG3] (POLL_HUP): Likewise.
1667         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1668         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1669         (SIG*): Do not allow.
1670         [XPG3] (si_*): Likewise.
1671         [XPG3] (SI_*): Likewise.
1672         [XPG3 || XPG4] (sigev_*): Likewise.
1673         [XPG3 || XPG4] (SIGEV_*): Likewise.
1674         [XPG3 || XPG4] (sival_*): Likewise.
1675         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1676         [POSIX || XPG3] (BUS_*): Likewise.
1677         [POSIX || XPG3] (CLD_*): Likewise.
1678         [POSIX || XPG3] (FPE_*): Likewise.
1679         [POSIX || XPG3] (ILL_*): Likewise.
1680         [POSIX || XPG3] (POLL_*): Likewise.
1681         [POSIX || XPG3] (SEGV_*): Likewise.
1682         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1683         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1684         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1685         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1686         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1687         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1688         Specify type and value.
1689         (TVERSLEN): Likewise.
1690         (REGTYPE): Likewise.
1691         (AREGTYPE): Likewise.
1692         (LNKTYPE): Likewise.
1693         (SYMTYPE): Likewise.
1694         (CHRTYPE): Likewise.
1695         (BLKTYPE): Likewise.
1696         (DIRTYPE): Likewise.
1697         (FIFOTYPE): Likewise.
1698         (CONTTYPE): Likewise.
1699         (TSUID): Likewise.
1700         (TSGID): Likewise.
1701         (TSVTX): Likewise.
1702         (TUREAD): Likewise.
1703         (TUWRITE): Likewise.
1704         (TUEXEC): Likewise.
1705         (TGREAD): Likewise.
1706         (TGWRITE): Likewise.
1707         (TGEXEC): Likewise.
1708         (TOREAD): Likewise.
1709         (TOWRITE): Likewise.
1710         (TOEXEC): Likewise.
1711         [POSIX] (TSVTX): Expect constant.
1712
1713 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1714
1715         * Makefile (tests): Change dependencies to ....
1716         (tests-special): ... additions to this variable.
1717         (tests): Depend on $(tests-special).
1718         * Makerules (check-abi-list): New variable.
1719         (check-abi): Depend on $(check-abi-list).
1720         [$(subdir) = elf] (tests-special): Add
1721         $(objpfx)check-abi-libc.out.
1722         [$(build-shared) = yes && subdir] (tests-special): Add
1723         $(check-abi-list).
1724         [$(build-shared) = yes && subdir] (tests): Do not depend on
1725         check-abi.
1726         * Rules (tests): Depend on $(tests-special).
1727         (xtests): Depend on $(xtests-special).
1728         * catgets/Makefile (tests): Change dependencies to ....
1729         (tests-special): ... additions to this variable.
1730         * conform/Makefile (tests): Change dependencies to ....
1731         (tests-special): ... additions to this variable.
1732         * elf/Makefile (tests): Change dependencies to ....
1733         (tests-special): ... additions to this variable.
1734         * grp/Makefile (tests): Change dependencies to ....
1735         (tests-special): ... additions to this variable.
1736         * iconv/Makefile (xtests): Change dependencies to ....
1737         (xtests-special): ... additions to this variable.
1738         * iconvdata/Makefile (tests): Change dependencies to ....
1739         (tests-special): ... additions to this variable.
1740         * intl/Makefile (tests): Change dependencies to ....
1741         (tests-special): ... additions to this variable.  Also add
1742         $(objpfx)tst-gettext.out.
1743         * io/Makefile (tests): Change dependencies to ....
1744         (tests-special): ... additions to this variable.
1745         * libio/Makefile (tests): Change dependencies to ....
1746         (tests-special): ... additions to this variable.
1747         * malloc/Makefile (tests): Change dependencies to ....
1748         (tests-special): ... additions to this variable.
1749         * misc/Makefile (tests): Change dependencies to ....
1750         (tests-special): ... additions to this variable.
1751         * nptl/Makefile (tests): Change dependencies to ....
1752         (tests-special): ... additions to this variable.
1753         * nptl_db/Makefile (tests): Change dependencies to ....
1754         (tests-special): ... additions to this variable.
1755         * posix/Makefile (tests): Change dependencies to ....
1756         (tests-special): ... additions to this variable.
1757         (xtests): Change dependencies to ....
1758         (xtests-special): ... additions to this variable.
1759         * resolv/Makefile (tests): Change dependencies to ....
1760         (tests-special): ... additions to this variable.
1761         (xtests): Change dependencies to ....
1762         (xtests-special): ... additions to this variable.
1763         * stdio-common/Makefile (tests): Change dependencies to ....
1764         (tests-special): ... additions to this variable.
1765         (do-tst-unbputc): Remove target.
1766         (do-tst-printf): Likewise.
1767         * stdlib/Makefile (tests): Change dependencies to ....
1768         (tests-special): ... additions to this variable.
1769         * string/Makefile (tests): Change dependencies to ....
1770         (tests-special): ... additions to this variable.
1771         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1772         (tests-special): ... additions to this variable.
1773
1774         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1775         whole file.
1776         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1777         whole file.
1778         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1779         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1780
1781         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1782         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1783         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1784         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1785         * conform/data/libgen.h-data [XPG3]: Likewise.
1786         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1787         * conform/data/ndbm.h-data [XPG3]: Likewise.
1788         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1789         * conform/data/netdb.h-data [XPG3]: Likewise.
1790         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1791         * conform/data/poll.h-data [XPG3]: Likewise.
1792         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1793         * conform/data/strings.h-data [XPG3]: Likewise.
1794         * conform/data/stropts.h-data [XPG3]: Likewise.
1795         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1796         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1797         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1798         Likewise.
1799         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1800         * conform/data/sys/time.h-data [XPG3]: Likewise.
1801         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1802         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1803         * conform/data/sys/un.h-data [XPG3]: Likewise.
1804         * conform/data/syslog.h-data [XPG3]: Likewise.
1805         * conform/data/ucontext.h-data [XPG3]: Likewise.
1806         * conform/data/utmpx.h-data [XPG3]: Likewise.
1807         * conform/data/varargs.h-data [UNIX98]: Enable file.
1808
1809         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1810
1811         * math/libm-test.inc (struct test_f_f_data): Move expected results
1812         into structure for each rounding mode.
1813         (struct test_ff_f_data): Likewise.
1814         (struct test_ff_f_data_nexttoward): Likewise.
1815         (struct test_fi_f_data): Likewise.
1816         (struct test_fl_f_data): Likewise.
1817         (struct test_if_f_data): Likewise.
1818         (struct test_fff_f_data): Likewise.
1819         (struct test_c_f_data): Likewise.
1820         (struct test_f_f1_data): Likewise.
1821         (struct test_fF_f1_data): Likewise.
1822         (struct test_ffI_f1_data): Likewise.
1823         (struct test_c_c_data): Likewise.
1824         (struct test_cc_c_data): Likewise.
1825         (struct test_f_i_data): Likewise.
1826         (struct test_ff_i_data): Likewise.
1827         (struct test_f_l_data): Likewise.
1828         (struct test_f_L_data): Likewise.
1829         (struct test_fFF_11_data): Likewise.
1830         (RM_): New macro.
1831         (RM_FE_DOWNWARD): Likewise.
1832         (RM_FE_TONEAREST): Likewise.
1833         (RM_FE_TOWARDZERO): Likewise.
1834         (RM_FE_UPWARD): Likewise.
1835         (RUN_TEST_LOOP_f_f): Update references to expected results.
1836         (RUN_TEST_LOOP_2_f): Likewise.
1837         (RUN_TEST_LOOP_fff_f): Likewise.
1838         (RUN_TEST_LOOP_c_f): Likewise.
1839         (RUN_TEST_LOOP_f_f1): Likewise.
1840         (RUN_TEST_LOOP_fF_f1): Likewise.
1841         (RUN_TEST_LOOP_fI_f1): Likewise.
1842         (RUN_TEST_LOOP_ffI_f1): Likewise.
1843         (RUN_TEST_LOOP_c_c): Likewise.
1844         (RUN_TEST_LOOP_cc_c): Likewise.
1845         (RUN_TEST_LOOP_f_i): Likewise.
1846         (RUN_TEST_LOOP_f_i_tg): Likewise.
1847         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1848         (RUN_TEST_LOOP_f_b): Likewise.
1849         (RUN_TEST_LOOP_f_b_tg): Likewise.
1850         (RUN_TEST_LOOP_f_l): Likewise.
1851         (RUN_TEST_LOOP_f_L): Likewise.
1852         (RUN_TEST_LOOP_fFF_11): Likewise.
1853         * math/gen-libm-test.pl (parse_args): Output four copies of
1854         expected results for each test.
1855
1856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1857         (__ASSUME_UTIMES): Remove.
1858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1859         (__ASSUME_UTIMES): Likewise.
1860
1861         * math/gen-auto-libm-tests.c: Update comment on output format.
1862         (output_for_one_input_case): Generate before-rounding and
1863         after-rounding information as conditions on output flags not
1864         floating-point format.
1865         * math/auto-libm-test-out: Regenerated.
1866         * math/gen-libm-test.pl (cond_value): New function.
1867         (or_cond_value): Use cond_value.
1868         (generate_testfile): Handle conditional exceptions.
1869
1870 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1871
1872         * math/libm-test.inc (max_valid_error): New variable.
1873         (init_max_error): Take new argument specifying whether function
1874         results are exactly determined.  Set max_valid_error and bound
1875         other variables for errors based on this argument.
1876         (set_max_error): Do not record results above max_valid_error.
1877         (check_float_internal): Only accept errors of up to 0.5ulps if
1878         also at most max_valid_error.
1879         (START): Take new argument EXACT and pass it to init_max_error.
1880         (acos_test): Update call to START.
1881         (acos_test_tonearest): Likewise.
1882         (acos_test_towardzero): Likewise.
1883         (acos_test_downward): Likewise.
1884         (acos_test_upward): Likewise.
1885         (acosh_test): Likewise.
1886         (asin_test): Likewise.
1887         (asin_test_tonearest): Likewise.
1888         (asin_test_towardzero): Likewise.
1889         (asin_test_downward): Likewise.
1890         (asin_test_upward): Likewise.
1891         (asinh_test): Likewise.
1892         (atan_test): Likewise.
1893         (atanh_test): Likewise.
1894         (atan2_test): Likewise.
1895         (cabs_test): Likewise.
1896         (cacos_test): Likewise.
1897         (cacosh_test): Likewise.
1898         (carg_test): Likewise.
1899         (casin_test): Likewise.
1900         (casinh_test): Likewise.
1901         (catan_test): Likewise.
1902         (catanh_test): Likewise.
1903         (cbrt_test): Likewise.
1904         (ccos_test): Likewise.
1905         (ccosh_test): Likewise.
1906         (ceil_test): Likewise.
1907         (cexp_test): Likewise.
1908         (cimag_test): Likewise.
1909         (clog_test): Likewise.
1910         (clog10_test): Likewise.
1911         (conj_test): Likewise.
1912         (copysign_test): Likewise.
1913         (cos_test): Likewise.
1914         (cos_test_tonearest): Likewise.
1915         (cos_test_towardzero): Likewise.
1916         (cos_test_downward): Likewise.
1917         (cos_test_upward): Likewise.
1918         (cosh_test): Likewise.
1919         (cosh_test_tonearest): Likewise.
1920         (cosh_test_towardzero): Likewise.
1921         (cosh_test_downward): Likewise.
1922         (cosh_test_upward): Likewise.
1923         (cpow_test): Likewise.
1924         (cproj_test): Likewise.
1925         (creal_test): Likewise.
1926         (csin_test): Likewise.
1927         (csinh_test): Likewise.
1928         (csqrt_test): Likewise.
1929         (ctan_test): Likewise.
1930         (ctan_test_tonearest): Likewise.
1931         (ctan_test_towardzero): Likewise.
1932         (ctan_test_downward): Likewise.
1933         (ctan_test_upward): Likewise.
1934         (ctanh_test): Likewise.
1935         (ctanh_test_tonearest): Likewise.
1936         (ctanh_test_towardzero): Likewise.
1937         (ctanh_test_downward): Likewise.
1938         (ctanh_test_upward): Likewise.
1939         (erf_test): Likewise.
1940         (erfc_test): Likewise.
1941         (exp_test): Likewise.
1942         (exp_test_tonearest): Likewise.
1943         (exp_test_towardzero): Likewise.
1944         (exp_test_downward): Likewise.
1945         (exp_test_upward): Likewise.
1946         (exp10_test): Likewise.
1947         (exp10_test_tonearest): Likewise.
1948         (exp10_test_towardzero): Likewise.
1949         (exp10_test_downward): Likewise.
1950         (exp10_test_upward): Likewise.
1951         (pow10_test): Likewise.
1952         (exp2_test): Likewise.
1953         (expm1_test): Likewise.
1954         (expm1_test_tonearest): Likewise.
1955         (expm1_test_towardzero): Likewise.
1956         (expm1_test_downward): Likewise.
1957         (expm1_test_upward): Likewise.
1958         (fabs_test): Likewise.
1959         (fdim_test): Likewise.
1960         (floor_test): Likewise.
1961         (fma_test): Likewise.
1962         (fma_test_towardzero): Likewise.
1963         (fma_test_downward): Likewise.
1964         (fma_test_upward): Likewise.
1965         (fmax_test): Likewise.
1966         (fmin_test): Likewise.
1967         (fmod_test): Likewise.
1968         (fpclassify_test): Likewise.
1969         (frexp_test): Likewise.
1970         (hypot_test): Likewise.
1971         (ilogb_test): Likewise.
1972         (isfinite_test): Likewise.
1973         (finite_test): Likewise.
1974         (isgreater_test): Likewise.
1975         (isgreaterequal_test): Likewise.
1976         (isinf_test): Likewise.
1977         (isless_test): Likewise.
1978         (islessequal_test): Likewise.
1979         (islessgreater_test): Likewise.
1980         (isnan_test): Likewise.
1981         (isnormal_test): Likewise.
1982         (issignaling_test): Likewise.
1983         (isunordered_test): Likewise.
1984         (j0_test): Likewise.
1985         (j1_test): Likewise.
1986         (jn_test): Likewise.
1987         (ldexp_test): Likewise.
1988         (lgamma_test): Likewise.
1989         (gamma_test): Likewise.
1990         (lrint_test): Likewise.
1991         (lrint_test_tonearest): Likewise.
1992         (lrint_test_towardzero): Likewise.
1993         (lrint_test_downward): Likewise.
1994         (lrint_test_upward): Likewise.
1995         (llrint_test): Likewise.
1996         (llrint_test_tonearest): Likewise.
1997         (llrint_test_towardzero): Likewise.
1998         (llrint_test_downward): Likewise.
1999         (llrint_test_upward): Likewise.
2000         (log_test): Likewise.
2001         (log10_test): Likewise.
2002         (log1p_test): Likewise.
2003         (log2_test): Likewise.
2004         (logb_test): Likewise.
2005         (logb_test_downward): Likewise.
2006         (lround_test): Likewise.
2007         (llround_test): Likewise.
2008         (modf_test): Likewise.
2009         (nearbyint_test): Likewise.
2010         (nextafter_test): Likewise.
2011         (nexttoward_test): Likewise.
2012         (pow_test): Likewise.
2013         (pow_test_tonearest): Likewise.
2014         (pow_test_towardzero): Likewise.
2015         (pow_test_downward): Likewise.
2016         (pow_test_upward): Likewise.
2017         (remainder_test): Likewise.
2018         (drem_test): Likewise.
2019         (remainder_test_tonearest): Likewise.
2020         (drem_test_tonearest): Likewise.
2021         (remainder_test_towardzero): Likewise.
2022         (drem_test_towardzero): Likewise.
2023         (remainder_test_downward): Likewise.
2024         (drem_test_downward): Likewise.
2025         (remainder_test_upward): Likewise.
2026         (drem_test_upward): Likewise.
2027         (remquo_test): Likewise.
2028         (rint_test): Likewise.
2029         (rint_test_tonearest): Likewise.
2030         (rint_test_towardzero): Likewise.
2031         (rint_test_downward): Likewise.
2032         (rint_test_upward): Likewise.
2033         (round_test): Likewise.
2034         (scalb_test): Likewise.
2035         (scalbn_test): Likewise.
2036         (scalbln_test): Likewise.
2037         (signbit_test): Likewise.
2038         (sin_test): Likewise.
2039         (sin_test_tonearest): Likewise.
2040         (sin_test_towardzero): Likewise.
2041         (sin_test_downward): Likewise.
2042         (sin_test_upward): Likewise.
2043         (sincos_test): Likewise.
2044         (sinh_test): Likewise.
2045         (sinh_test_tonearest): Likewise.
2046         (sinh_test_towardzero): Likewise.
2047         (sinh_test_downward): Likewise.
2048         (sinh_test_upward): Likewise.
2049         (sqrt_test): Likewise.
2050         (sqrt_test_tonearest): Likewise.
2051         (sqrt_test_towardzero): Likewise.
2052         (sqrt_test_downward): Likewise.
2053         (sqrt_test_upward): Likewise.
2054         (tan_test): Likewise.
2055         (tan_test_tonearest): Likewise.
2056         (tan_test_towardzero): Likewise.
2057         (tan_test_downward): Likewise.
2058         (tan_test_upward): Likewise.
2059         (tanh_test): Likewise.
2060         (tgamma_test): Likewise.
2061         (trunc_test): Likewise.
2062         (y0_test): Likewise.
2063         (y1_test): Likewise.
2064         (yn_test): Likewise.
2065         (significand_test): Likewise.
2066
2067         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2068         individual tests in comment.
2069         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2070         (prev_max_error): New variable.
2071         (prev_real_max_error): Likewise.
2072         (prev_imag_max_error): Likewise.
2073         (compare_ulp_data): Don't refer to test names in comment.
2074         (find_test_ulps): Remove function.
2075         (find_function_ulps): Likewise.
2076         (find_complex_function_ulps): Likewise.
2077         (init_max_error): Take function name as argument.  Look up ulps
2078         for that function.
2079         (print_ulps): Remove function.
2080         (print_max_error): Use prev_max_error instead of calling
2081         find_function_ulps.
2082         (print_complex_max_error): Use prev_real_max_error and
2083         prev_imag_max_error instead of calling find_complex_function_ulps.
2084         (check_float_internal): Take max_ulp parameter instead of calling
2085         find_test_ulps.  Don't call print_ulps.
2086         (check_float): Update call to check_float_internal.
2087         (check_complex): Update calls to check_float_internal.
2088         (START): Pass argument to init_max_error.
2089         * math/gen-libm-test.pl (%results): Don't include "kind"
2090         information.
2091         (parse_ulps): Don't handle ulps of individual tests.
2092         (print_ulps_file): Likewise.
2093         (output_ulps): Likewise.
2094         * math/README.libm-test: Update.
2095         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2096         individual tests.
2097         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2098         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2099         * sysdeps/arm/libm-test-ulps: Likewise.
2100         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2101         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2102         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2103         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2104         * sysdeps/microblaze/libm-test-ulps: Likewise.
2105         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2106         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2107         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2108         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2109         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2110         * sysdeps/sh/libm-test-ulps: Likewise.
2111         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2112         * sysdeps/tile/libm-test-ulps: Likewise.
2113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2114
2115 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2116
2117         * math/libm-test.inc (print_complex_max_error): Check separately
2118         whether real and imaginary errors are within allowed range and
2119         pass 0 to print_complex_function_ulps instead of value within
2120         allowed range.
2121
2122 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2123
2124         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2125         formatting.
2126         (get_handles_fopen): Likewise.
2127         (do_write_test): Likewise.
2128
2129         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2130
2131         * libio/fileops.c (do_ftell): Use cached offset when
2132         available.
2133         * libio/iofwide.c (do_ftell_wide): Likewise.
2134         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2135         _IO_file_attach.
2136         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2137
2138         [BZ #16532]
2139         * libio/libioP.h (get_file_offset): New function.
2140         * libio/fileops.c (get_file_offset): Likewise.
2141         (do_ftell): Likewise.
2142         (_IO_new_file_seekoff): Split out ftell logic.
2143         * libio/wfileops.c (do_ftell_wide): Likewise.
2144         (_IO_wfile_seekoff): Split out ftell logic.
2145         * libio/tst-ftell-active-handler.c: New test case.
2146         * libio/Makefile (tests): Add it.
2147
2148 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2149
2150         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2151         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2152
2153 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2154
2155         [BZ #16639]
2156         * nscd/connections.c (nscd_init): Call do_exit.
2157         (start_threads): Call do_exit and notify_parent.
2158         (begin_drop_privileges): Call do_exit.
2159         (finish_drop_privileges): Likewise.
2160         * nscd/selinux.c (preserve_capabilities): Likewise.
2161         (install_real_capabilities): Likewise.
2162         (nscd_selinux_enabled): Likewise.
2163         (avc_create_thread): Likewise.
2164         (avc_alloc_lock): Likewise.
2165         (nscd_avc_init): Likewise.
2166         * nscd/nscd.c (parent_fd): New static variable.
2167         (main): Create a pipe between parent and child processes.
2168         Skip closing parent_fd.
2169         (monitor_child): New function.
2170         (do_exit): Likewise.
2171         (notify_parent): Likewise.
2172         * nscd/nscd.h (notify_parent): Likewise.
2173         (do_exit): Likewise.
2174
2175 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2176
2177         * malloc/malloc.c (__libc_calloc): Revert last change.
2178
2179 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2180
2181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2182
2183 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2184
2185         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2187         implementation.
2188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2189         (__libc_ifunc_impl_list): Likewise.
2190         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2191         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2192         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2193         * string/strrchr.c: Define STRRCHR.
2194
2195 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2196
2197         * benchtest/bench-strtok.c (simple_strtok): Delete.
2198         (strtok_string): Use as benchmark.
2199         * string/strtok (STRTOK): New macro.
2200
2201 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2202
2203         * manual/threads.texi: Add header and standard comments to all
2204         functions.
2205
2206         * elf/dl-lookup.c (check_match): New function.
2207         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2208         (do_lookup_x): Remove nested function check_match. Use non-nested
2209         function check_match.
2210
2211 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2212
2213         * csu/Makefile (generated, before-compile): Use += rather than =.
2214         * catgets/Makefile (generated, generated-dirs): Likewise.
2215         * debug/Makefile (generated): Likewise.
2216         * dlfcn/Makefile (generated): Likewise.
2217         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2218         * iconvdata/Makefile (before-compile, generated): Likewise.
2219         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2220         * libio/Makefile (generated): Likewise.
2221         * malloc/Makefile (generated): Likewise.
2222         * manual/Makefile (generated, generated-dirs): Likewise.
2223         * misc/Makefile (generated): Likewise.
2224         * posix/Makefile (generated): Likewise.
2225         * resolv/Makefile (generated): Likewise.
2226         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2227         * timezone/Makefile (generated, generated-dirs): Likewise.
2228
2229         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2230
2231 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2232
2233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2234         implementation.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2236         POWER8 llround ifunc implementation.
2237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2238         POWER8 implementation.
2239         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2240         POWER8 llround implementation.
2241
2242 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2243
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2245         implementation.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2247         POWER8 llrint ifunc implementation.
2248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2249         POWER8 implementation.
2250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2251         POWER8 llrint implementation.
2252
2253 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2254
2255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2256         implementation.
2257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2258         POWER8 finite ifunc implementation.
2259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2260         POWER8 implementation.
2261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2262         Likewise.
2263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2264         POWER8 finite implementation.
2265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2266
2267 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2268
2269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2270         implementation.
2271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2272         POWER8 isinf ifunc implementation.
2273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2274         POWER8 implementation.
2275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2276         Likewise.
2277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2278         POWER8 isinf implementation.
2279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2280
2281 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2282
2283         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2284         Add hwcap2 initialization.
2285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2286         implementation.
2287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2288         POWER8 isnan ifunc implementation.
2289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2290         POWER8 implementation.
2291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2292         Likewise.
2293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2294         POWER8 isnan implementation.
2295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2296
2297 2014-02-27  Joey Ye  <joey.ye@arm.com>
2298
2299         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2300         (_FP_NANFRAC_Q): Set to zero.
2301
2302 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2303
2304         [BZ #16623]
2305         * math/auto-libm-test-in: New test inputs.
2306         * math/auto-libm-test-out: Regenerate.
2307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2308         and DA.
2309         (__cos): Likewise.
2310         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2311
2312 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2313
2314         * scripts/evaluate-test.sh: Take new argument indicating whether
2315         failure is expected.
2316         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2317         indicating whether failure is expected.
2318         * conform/Makefile (test-xfail-run-conformtest): New variable.
2319         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2320         level.
2321         * posix/Makefile (test-xfail-annexc): New variable.
2322         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2323
2324 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2325
2326         * argp/Makefile: Include Makeconfig immediately after defining
2327         subdir.
2328         * assert/Makefile: Likewise.
2329         * benchtests/Makefile: Likewise.
2330         * catgets/Makefile: Likewise.
2331         * conform/Makefile: Likewise.
2332         * crypt/Makefile: Likewise.
2333         * csu/Makefile: Likewise.
2334         (all): Remove target.
2335         * ctype/Makefile: Include Makeconfig immediately after defining
2336         subdir.
2337         * debug/Makefile: Likewise.
2338         * dirent/Makefile: Likewise.
2339         * dlfcn/Makefile: Likewise.
2340         * gmon/Makefile: Likewise.
2341         * gnulib/Makefile: Likewise.
2342         * grp/Makefile: Likewise.
2343         * gshadow/Makefile: Likewise.
2344         * hesiod/Makefile: Likewise.
2345         * hurd/Makefile: Likewise.
2346         (all): Remove target.
2347         * iconvdata/Makefile: Include Makeconfig immediately after
2348         defining subdir.
2349         * inet/Makefile: Likewise.
2350         * intl/Makefile: Likewise.
2351         * io/Makefile: Likewise.
2352         * libio/Makefile: Likewise.
2353         (all): Remove target.
2354         * locale/Makefile: Include Makeconfig immediately after defining
2355         subdir.
2356         * login/Makefile: Likewise.
2357         * mach/Makefile: Likewise.
2358         (all): Remove target.
2359         * malloc/Makefile: Include Makeconfig immediately after defining
2360         subdir.
2361         (all): Remove target.
2362         * manual/Makefile: Include Makeconfig immediately after defining
2363         subdir.
2364         * math/Makefile: Likewise.
2365         * misc/Makefile: Likewise.
2366         * nis/Makefile: Likewise.
2367         * nss/Makefile: Likewise.
2368         * po/Makefile: Likewise.
2369         (all): Remove target.
2370         * posix/Makefile: Include Makeconfig immediately after defining
2371         subdir.
2372         * pwd/Makefile: Likewise.
2373         * resolv/Makefile: Likewise.
2374         * resource/Makefile: Likewise.
2375         * rt/Makefile: Likewise.
2376         * setjmp/Makefile: Likewise.
2377         * shadow/Makefile: Likewise.
2378         * signal/Makefile: Likewise.
2379         * socket/Makefile: Likewise.
2380         * soft-fp/Makefile: Likewise.
2381         * stdio-common/Makefile: Likewise.
2382         * stdlib/Makefile: Likewise.
2383         * streams/Makefile: Likewise.
2384         * string/Makefile: Likewise.
2385         * sunrpc/Makefile: Likewise.
2386         (all): Remove target.
2387         * sysvipc/Makefile: Include Makeconfig immediately after defining
2388         subdir.
2389         * termios/Makefile: Likewise.
2390         * time/Makefile: Likewise.
2391         * timezone/Makefile: Likewise.
2392         (all): Remove target.
2393         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2394         subdir.
2395         * wctype/Makefile: Likewise.
2396
2397 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2398
2399         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2400         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2401         (libc_feholdexcept_setround_mips): Ditto.
2402         (libc_feholdsetround): New.
2403         (libc_feholdsetroundf): New.
2404         (libc_feholdsetroundl): New.
2405         (libc_feupdateenv_test_mips): New.
2406         (libc_feupdateenv_test): New.
2407         (libc_feupdateenv_testf): New.
2408         (libc_feupdateenv_testl): New.
2409         (libc_feresetround): New.
2410         (libc_feresetroundf): New.
2411         (libc_feresetroundl): New.
2412         (libc_fetestexcept_mips): New.
2413         (libc_fetestexcept): New.
2414         (libc_fetestexceptf): New.
2415         (libc_fetestexceptl): New.
2416         (HAVE_RM_CTX): New.
2417         (libc_feholdexcept_setround_mips_ctx): New.
2418         (libc_feholdexcept_setround_ctx): New.
2419         (libc_feholdexcept_setroundf_ctx): New.
2420         (libc_feholdexcept_setroundl_ctx): New.
2421         (libc_fesetenv_mips_ctx): New.
2422         (libc_fesetenv_ctx): New.
2423         (libc_fesetenv_ctxf): New.
2424         (libc_fesetenv_ctxl): New.
2425         (libc_feupdateenv_mips_ctx): New.
2426         (libc_feupdateenv_ctx): New.
2427         (libc_feupdateenvf_ctx): New.
2428         (libc_feupdateenvl_ctx): New.
2429         (libc_feholdsetround_mips_ctx): New.
2430         (libc_feholdsetround_ctx): New.
2431         (libc_feholdsetroundf_ctx): New.
2432         (libc_feholdsetroundl_ctx): New.
2433         (libc_feresetround_mips_ctx): New.
2434         (libc_feresetround_ctx): New.
2435         (libc_feresetroundf_ctx): New.
2436         (libc_feresetroundl_ctx): New.
2437
2438 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2439
2440         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2441
2442         * manual/ipc.texi: New file.
2443         * manual/Makefile (chapters): Add ipc.
2444         * manual/job.texi: Add "Inter-Process Communication" to next.
2445         * manual/process.texi: Add "Inter-Process Communication" to prev.
2446
2447 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2448
2449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2450
2451 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2452
2453         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2454
2455         * manual/arith.texi: Fix spaces after sentences.
2456         * manual/charset.texi: Likewise.
2457         * manual/errno.texi: Likewise.
2458         * manual/install.texi: Likewise.
2459         * manual/llio.texi: Likewise.
2460         * manual/locale.texi: Likewise.
2461         * manual/maint.texi: Likewise.
2462         * manual/math.texi: Likewise.
2463         * manual/memory.texi: Likewise.
2464         * manual/message.texi: Likewise.
2465         * manual/probes.texi: Likewise.
2466         * manual/resource.texi: Likewise.
2467         * manual/signal.texi: Likewise.
2468         * manual/socket.texi: Likewise.
2469         * manual/stdio.texi: Likewise.
2470         * manual/string.texi: Likewise.
2471         * manual/time.texi: Likewise.
2472         * manual/users.texi: Likewise.
2473
2474 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2475
2476         [BZ #16632]
2477         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2478         _DEFAULT_SOURCE is defined.
2479
2480 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2481             Carlos O'Donell  <carlos@redhat.com>
2482
2483         [BZ #16613]
2484         * elf/dl-tls.c (_dl_count_modids): New function.
2485         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2486         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2487         audit library and increment generation counter.
2488         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2489         * elf/tst-audit9.c: New file.
2490         * elf/tst-auditmod9a.c: New file.
2491         * elf/tst-auditmod9b.c: New file.
2492         * elf/Makefile: Add rules to build and run tst-audit9.
2493
2494 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2495
2496         [BZ #15347]
2497         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2498
2499 2014-02-25  Will Newton  <will.newton@linaro.org>
2500
2501         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2502         (__longjmp): Restore sp and lr before restoring callee
2503         saved registers.  Add longjmp and longjmp_target
2504         SystemTap probe point.
2505         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2506         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2507         Define to zero to match jmpbuf layout.
2508         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2509         (__sigsetjmp): Save sp and lr before saving callee
2510         saved registers.  Add setjmp SystemTap probe point.
2511
2512 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2513
2514         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2515
2516 2014-02-24  Andreas Schwab  <schwab@suse.de>
2517
2518         [BZ #15804]
2519         * elf/pldd.c (wait_for_ptrace_stop): New function.
2520         (main): Call it after attaching.
2521
2522 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2523
2524         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2525         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2526         Versions files is now verboten.
2527         * hurd/Versions (libc: GLIBC_2.0):
2528         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2529         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2530         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2531         * mach/Versions: Likewise.
2532
2533         * csu/Versions: Remove unused %include.
2534         * resolv/Versions: Likewise.
2535
2536 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2537
2538         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2539         ($(objpfx)check-local-headers.out): Likewise.
2540         ($(objpfx)begin-end-check.out): Likewise.
2541         * Makerules (check-abi-%.out): Likewise.
2542         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2543         ($(objpfx)test2.cat): Likewise.
2544         ($(objpfx)de/libc.cat): Likewise.
2545         ($(objpfx)test-gencat.out): Likewise.
2546         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2547         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2548         ($(objpfx)noload-mem): Likewise.
2549         ($(objpfx)tst-pathopt.out): Likewise.
2550         ($(objpfx)tst-rtld-load-self.out): Likewise.
2551         ($(objpfx)tst-array1-cmp.out): Likewise.
2552         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2553         ($(objpfx)tst-array2-cmp.out): Likewise.
2554         ($(objpfx)tst-array3-cmp.out): Likewise.
2555         ($(objpfx)tst-array4-cmp.out): Likewise.
2556         ($(objpfx)tst-array5-cmp.out): Likewise.
2557         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2558         ($(objpfx)check-textrel.out): Likewise.
2559         ($(objpfx)check-execstack.out): Likewise.
2560         ($(objpfx)check-localplt.out): Likewise.
2561         ($(objpfx)order2-cmp.out): Likewise.
2562         ($(objpfx)tst-leaks1-mem): Likewise.
2563         ($(objpfx)tst-leaks1-static-mem): Likewise.
2564         ($(objpfx)tst-initorder-cmp.out): Likewise.
2565         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2566         ($(objpfx)tst-unused-dep.out): Likewise.
2567         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2568         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2569         * iconv/Makefile (test-iconvconfig): Likewise.
2570         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2571         ($(objpfx)iconv-test.out): Likewise.
2572         ($(objpfx)tst-tables.out): Likewise.
2573         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2574         ($(objpfx)tst-gettext.out): Likewise.
2575         ($(objpfx)tst-translit.out): Likewise.
2576         ($(objpfx)tst-gettext2.out): Likewise.
2577         ($(objpfx)tst-gettext4.out): Likewise.
2578         ($(objpfx)tst-gettext6.out): Likewise.
2579         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2580         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2581         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2582         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2583         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2584         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2585         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2586         ($(objpfx)wordexp-tst.out): Likewise.
2587         ($(objpfx)annexc.out): Likewise.
2588         ($(objpfx)tst-fnmatch-mem): Likewise.
2589         ($(objpfx)bug-regex2-mem): Likewise.
2590         ($(objpfx)bug-regex14-mem): Likewise.
2591         ($(objpfx)bug-regex21-mem): Likewise.
2592         ($(objpfx)bug-regex31-mem): Likewise.
2593         ($(objpfx)tst-vfork3-mem): Likewise.
2594         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2595         ($(objpfx)tst-pcre-mem): Likewise.
2596         ($(objpfx)tst-boost-mem): Likewise.
2597         ($(objpfx)tst-getconf.out): Likewise.
2598         ($(objpfx)bug-ga2-mem): Likewise.
2599         ($(objpfx)bug-glob2-mem): Likewise.
2600         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2601         ($(objpfx)mtrace-tst-leaks2): Likewise.
2602         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2603         ($(objpfx)tst-printf.out): Likewise.
2604         ($(objpfx)tst-setvbuf1.out): Likewise.
2605         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2606         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2607         ($(objpfx)tst-fmtmsg.out): Likewise.
2608         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2609         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2610
2611         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2612         * bits/sigaction.h [__USE_MISC]: Likewise.
2613         * bits/waitstatus.h: Update #endif comments.
2614         * ctype/ctype.h: Likewise.
2615         * dirent/dirent.h: Likewise.
2616         [__USE_MISC]: Remove redundant conditionals.
2617         * grp/grp.h: Update #endif comments.
2618         [__USE_GNU]: Remove redundant conditionals.
2619         [__USE_MISC]: Likewise.
2620         * inet/netinet/in.h [__USE_GNU]: Likewise.
2621         * io/sys/stat.h [__USE_MISC]: Likewise.
2622         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2623         * libio/bits/stdio.h: Update #endif comments.
2624         [__USE_MISC]: Remove redundant conditionals.
2625         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2626         * libio/stdio.h: Update #endif comments.
2627         [__USE_MISC]: Remove redundant conditionals.
2628         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2629         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2630         * math/math.h: Update #else and #endif comments.
2631         [__USE_MISC]: Remove redundant conditionals.
2632         * misc/sys/uio.h: Update #endif comments.
2633         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2634         * posix/glob.h [__USE_MISC]: Likewise.
2635         * posix/sys/types.h: Update #endif comments.
2636         [__USE_MISC]: Remove redundant conditionals.
2637         * posix/sys/wait.h: Update #endif comments.
2638         [__USE_MISC]: Remove redundant conditionals.
2639         * posix/unistd.h: Update #endif comments.
2640         [__USE_MISC]: Remove redundant conditionals.
2641         * pwd/pwd.h [__USE_GNU]: Likewise.
2642         [__USE_MISC]: Likewise.
2643         * resolv/netdb.h [__USE_GNU]: Likewise.
2644         * signal/signal.h: Update #endif comments.
2645         [__USE_MISC]: Remove redundant conditionals.
2646         * stdlib/stdlib.h: Update #else and #endif comments.
2647         [__USE_MISC]: Remove redundant conditionals.
2648         [__USE_GNU]: Likewise.
2649         * string/bits/string2.h [__USE_MISC]: Likewise.
2650         * string/string.h: Update #endif comments.
2651         [__USE_MISC]: Remove redundant conditionals.
2652         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2653         Likewise.
2654         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2655         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2656         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2657         Likewise.
2658         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2659         Likewise.
2660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2661         comments.
2662         [__USE_MISC]: Remove redundant conditionals.
2663         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2664         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2665         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2666         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2667         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2668         Likewise.
2669         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2670         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2671         Likewise.
2672         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2673         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2678         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2679         Likewise.
2680         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2681         Likewise.
2682         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2683         * sysdeps/x86/bits/string.h: Update #endif comments.
2684         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2685         conditionals.
2686         * time/sys/time.h: Update #endif comments.
2687         * time/time.h: Likewise.
2688         [__USE_MISC]: Remove redundant conditionals.
2689
2690 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2691
2692         [BZ #16600]
2693         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2694
2695 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2696
2697         * Versions.def (librt): Add GLIBC_2.17.
2698
2699 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2700
2701         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2702         synonym for _SYS_AUXV_H to allow direct inclusion.
2703         * sysdeps/sparc/bits/hwcap.h: Likewise.
2704         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2705         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2706         * sysdeps/sparc/sysdep.h: Likewise.
2707
2708 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2709
2710         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2711
2712 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2713
2714         * benchtests/bench-strrchr.c: Print length instead of position.
2715
2716 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2717
2718         [BZ #16611]
2719         * sysdeps/unix/sysv/linux/kernel-features.h
2720         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2721         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2722         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2723         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2724         Likewise.
2725         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2726         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2727         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2728         (__ASSUME_SENDMMSG): Define instead of using previous
2729         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2730         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2731         (__ASSUME_SENDMMSG_SYSCALL): Define.
2732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2733         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2734         Likewise.
2735         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2736         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2739         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2740         Likewise.
2741         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2742         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2743         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2744         [__ASSUME_SENDMMSG]: Change conditionals to
2745         [__ASSUME_SENDMMSG_SOCKETCALL].
2746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2747         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2748         Define.
2749         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2750         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2751         Likewise.
2752         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2753         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2754         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2755         [!__ASSUME_SENDMMSG]: Change conditional to
2756         [!__ASSUME_SENDMMSG_SOCKETCALL].
2757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2758         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2759         Define.
2760
2761         [BZ #16610]
2762         * sysdeps/unix/sysv/linux/kernel-features.h
2763         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2764         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2765         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2766         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2767         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2768         [__i386__ || __sparc__]
2769         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2770         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2771         (__ASSUME_RECVMMSG): Define instead of using previous
2772         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2774         (__ASSUME_RECVMMSG_SYSCALL): Define.
2775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2777         Likewise.
2778         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2780         Likewise.
2781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2785         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2786         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2787         [__ASSUME_RECVMMSG]: Change condition to
2788         [__ASSUME_RECVMMSG_SOCKETCALL].
2789         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2791         Define.
2792         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2794         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2795         Likewise.
2796         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2797         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2798         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2799         [!__ASSUME_RECVMMSG]: Change condition to
2800         [!__ASSUME_RECVMMSG_SOCKETCALL].
2801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2802         (__ASSUME_RECVMMSG_SYSCALL): Define.
2803
2804         [BZ #16609]
2805         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2806         __powerpc__ || __s390__ || __sh__ || __sparc__]
2807         (__ASSUME_SOCKETCALL): Define.
2808         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2809         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2810         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2811         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2812         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2813         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2814         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2815         (__ASSUME_ACCEPT4): Define instead of using previous
2816         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2817         __powerpc__ || __sparc__ || __s390__)] condition.
2818         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2819         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2820         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2821         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2822         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2823         [!__ASSUME_ACCEPT4]: Change condition to
2824         [!__ASSUME_ACCEPT4_SOCKETCALL].
2825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2826         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2827         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2829         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2830         __ASSUME_ACCEPT4_SYSCALL.
2831         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2832         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2833         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2834         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2835         __ASSUME_ACCEPT4_SYSCALL.
2836         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2837         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2838         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2839         [__ASSUME_ACCEPT4]: Change condition to
2840         [__ASSUME_ACCEPT4_SOCKETCALL].
2841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2842         (__ASSUME_SOCKETCALL): Define.
2843         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2845         (__ASSUME_SOCKETCALL): Define.
2846         (__ASSUME_ACCEPT4): Remove.
2847         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2848         Define.
2849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2850         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2851         Likewise.
2852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2853         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2854
2855         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2856         macro.
2857         (HWCAP_ARM_LPAE): Likewise.
2858         (HWCAP_ARM_EVTSTRM): Likewise.
2859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2860         Add vpfd32, lpae and evtstrm.
2861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2862         Increase to 22.
2863
2864 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2865
2866         * math/auto-libm-test-in: Add tests of clog10.
2867         * math/auto-libm-test-out: Regenerated.
2868         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2869         * sysdeps/i386/fpu/libm-test-ulps: Update.
2870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2871
2872 2014-02-18  Andreas Schwab  <schwab@suse.de>
2873
2874         [BZ #16574]
2875         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2876         Store non-zero if the second buffer was newly allocated.
2877         (send_dg): Likewise.
2878         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2879         to send_vc and send_dg.
2880         (res_nsend): Pass NULL for ansp2_malloced.
2881         * resolv/res_query.c (__libc_res_nquery): Add parameter
2882         answerp2_malloced and pass it down to __libc_res_nsend.
2883         (res_nquery): Pass additional NULL to __libc_res_nquery.
2884         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2885         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2886         second answer buffer if answerp2_malloced was set.
2887         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2888         (__libc_res_nquerydomain): Add parameter
2889         answerp2_malloced and pass it down to __libc_res_nquery.
2890         (res_nquerydomain): Pass additional NULL to
2891         __libc_res_nquerydomain.
2892         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2893         additional NULL to __libc_res_nsend and __libc_res_nquery.
2894         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2895         additional NULL to __libc_res_nsearch.
2896         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2897         parameter of __libc_res_nsearch to check for separately allocated
2898         second buffer.
2899         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2900         __libc_res_nquery.
2901         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2902         additional NULL to __libc_res_nquery.
2903         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2904         __libc_res_nsearch.
2905         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2906         * include/resolv.h: Update prototypes of __libc_res_nquery,
2907         __libc_res_nsearch, __libc_res_nsend.
2908
2909 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2910
2911         * math/auto-libm-test-in: Add tests of fma.
2912         * math/auto-libm-test-out: Regenerated.
2913         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2914         (fma_towardzero_test_data): Likewise.
2915         (fma_downward_test_data): Likewise.
2916         (fma_upward_test_data): Likewise.
2917         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2918         mpc_mode.
2919         (rounding_modes): Add values for new field.
2920         (func_calc_method): Add value mpfr_fff_f.
2921         (func_calc_desc): Add mpfr_fff_f union field.
2922         (test_function): Add field exact_args.
2923         (FUNC): Add macro argument EXACT_ARGS.
2924         (FUNC_mpfr_f_f): Update call to FUNC.
2925         (FUNC_mpfr_f_f): Likewise.
2926         (FUNC_mpfr_ff_f): Likewise.
2927         (FUNC_mpfr_if_f): Likewise.
2928         (FUNC_mpc_c_f): Likewise.
2929         (FUNC_mpc_c_c): Likewise.
2930         (test_functions): Add fma.  Update calls to FUNC.
2931         (handle_input_arg): Add argument exact_args.
2932         (add_test): Update call to handle_input_arg.
2933         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2934         (output_for_one_input_case): Update call to calc_generic_results.
2935         Recalculate exact zero results in each rounding mode.
2936
2937         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2938         non-negative before setting low bit.
2939         * math/auto-libm-test-in: Mark one asin test possibly having
2940         spurious underflow.
2941         * math/auto-libm-test-out: Regenerated.
2942         * sysdeps/i386/fpu/libm-test-ulps: Update.
2943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944
2945 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2946
2947         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2948         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2949         ports/sysdeps/unix/sysv/linux/microblaze.
2950         * README: Add missing listing for microblaze*-*-linux-gnu.
2951
2952 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2953
2954         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2955         * sysdeps/unix/sysv/linux/ia64: Move directory from
2956         ports/sysdeps/unix/sysv/linux/ia64.
2957         * README: Update listing for ia64-*-linux-gnu.
2958
2959 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2960             Joseph Myers  <joseph@codesourcery.com>
2961
2962         * Makeconfig (test-name): New variable.
2963         (evaluate-test): Likewise.
2964         * Makerules (do-test-clean): Remove .test-result files.
2965         (common-mostlyclean): Likewise.
2966         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2967         * scripts/evaluate-test.sh: New file.
2968
2969 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2970
2971         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2972         separate $(objpfx)tst-fopenloc-cmp.out and
2973         $(objpfx)tst-fopenloc-mem.out targets.
2974         (tests): Update dependencies.
2975         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2976         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2977         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2978         (tst-rxspencer-no-utf8-ARGS): New variable.
2979         (tst-rxspencer-no-utf8-ENV): Likewise.
2980         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2981         instead of $(objpfx)tst-rxspencer-mem.
2982         ($(objpfx)tst-rxspencer-mem): Change target to
2983         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2984         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2985         * posix/tst-rxspencer-no-utf8.c: New file.
2986
2987         * elf/Makefile ($(objpfx)order.out): Remove rule.
2988         [$(run-built-tests) = yes] (tests): Depend on
2989         $(objpfx)order-cmp.out.
2990         ($(objpfx)order-cmp.out): New rule.
2991         [$(run-built-tests) = yes] (tests): Depend on
2992         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2993         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2994         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2995         $(objpfx)tst-array5-static-cmp.out.
2996         ($(objpfx)tst-array1.out): Remove rule.
2997         ($(objpfx)tst-array1-cmp.out): New rule.
2998         ($(objpfx)tst-array1-static.out): Remove rule.
2999         ($(objpfx)tst-array1-static-cmp.out): New rule.
3000         ($(objpfx)tst-array2.out): Remove rule.
3001         ($(objpfx)tst-array2-cmp.out): New rule.
3002         ($(objpfx)tst-array3.out): Remove rule.
3003         ($(objpfx)tst-array3-cmp.out): New rule.
3004         ($(objpfx)tst-array4.out): Remove rule.
3005         ($(objpfx)tst-array4-cmp.out): New rule.
3006         ($(objpfx)tst-array5.out): Remove rule.
3007         ($(objpfx)tst-array5-cmp.out): New rule.
3008         ($(objpfx)tst-array5-static.out): Remove rule.
3009         ($(objpfx)tst-array5-static-cmp.out): New rule.
3010         [$(run-built-tests) = yes] (tests): Depend on
3011         $(objpfx)order2-cmp.out.
3012         ($(objpfx)order2.out): Remove rule.
3013         ($(objpfx)order2-cmp.out): New rule.
3014         ($(objpfx)tst-initorder.out): Remove rule.
3015         [$(run-built-tests) = yes] (tests): Depend on
3016         $(objpfx)tst-initorder-cmp.out.
3017         ($(objpfx)tst-initorder-cmp.out): New rule.
3018         ($(objpfx)tst-initorder2.out): Remove rule.
3019         [$(run-built-tests) = yes] (tests): Depend on
3020         $(objpfx)tst-initorder2-cmp.out.
3021         ($(objpfx)tst-initorder2-cmp.out): New rule.
3022         [$(run-built-tests) = yes] (tests): Depend on
3023         $(objpfx)tst-unused-dep-cmp.out.
3024         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3025         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3026         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3027         on $(objpfx)tst-setvbuf1-cmp.out.
3028         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3029         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3030         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3031         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3032         ($(objpfx)tst-svc.out): Remove rule.
3033         ($(objpfx)tst-svc-cmp.out): New rule.
3034
3035 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3036
3037         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3038         * ctype/ctype.h [__USE_MISC]: Likewise.
3039         * dirent/dirent.h [__USE_MISC]: Likewise.
3040         * grp/grp.h [__USE_MISC]: Likewise.
3041         * io/fcntl.h [__USE_MISC]: Likewise.
3042         * io/sys/stat.h [__USE_MISC]: Likewise.
3043         * libio/stdio.h [__USE_MISC]: Likewise.
3044         * posix/unistd.h [__USE_MISC]: Likewise.
3045         * pwd/pwd.h [__USE_MISC]: Likewise.
3046         * stdlib.h [__USE_MISC]: Likewise.
3047         * string/bits/string2.h [__USE_MISC]: Likewise.
3048         * string/string.h [__USE_MISC]: Likewise.
3049         * time/time.h [__USE_MISC]: Likewise.
3050
3051 2014-02-13  Andreas Schwab  <schwab@suse.de>
3052
3053         [BZ #16574]
3054         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3055         second answer buffer if it was separately allocated.
3056
3057 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3058
3059         * sysdeps/mips/math-tests.h: Include <features.h>.
3060         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3061         (ROUNDING_TESTS_long_double): Do not define.
3062         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3063         (EXCEPTION_TESTS_long_double): Likewise.
3064         * sysdeps/mips/mips64/libm-test-ulps: Update.
3065
3066         * include/features.h (__USE_BSD): Remove macro definitions.
3067         (__USE_SVID): Likewise.
3068         (_BSD_SOURCE): Likewise.
3069         (_SVID_SOURCE): Likewise.
3070         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3071         from definition of _DEFAULT_SOURCE.
3072         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3073         [_DEFAULT_SOURCE].
3074         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3075         * bits/mman.h [__USE_BSD]: Likewise.
3076         * bits/termios.h [__USE_BSD]: Likewise.
3077         * bits/waitstatus.h [__USE_BSD]: Likewise.
3078         * ctype/ctype.h [__USE_SVID]: Likewise.
3079         * dirent/dirent.h [__USE_BSD]: Likewise.
3080         * grp/grp.h [__USE_SVID]: Likewise.
3081         [__USE_BSD]: Likewise.
3082         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3083         * io/fcntl.h [__USE_BSD]: Likewise.
3084         * io/ftw.h [__USE_BSD]: Likewise.
3085         * io/sys/stat.h [__USE_BSD]: Likewise.
3086         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3087         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3088         * libio/stdio.h [__USE_SVID]: Likewise.
3089         [__USE_BSD]: Likewise.
3090         * math/math.h [__USE_SVID]: Likewise.
3091         [__USE_BSD]: Likewise.
3092         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3093         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3094         * misc/search.h [__USE_SVID]: Likewise.
3095         * misc/sys/mman.h [__USE_BSD]: Likewise.
3096         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3097         * misc/sys/uio.h [__USE_BSD]: Likewise.
3098         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3099         * posix/glob.h [__USE_BSD]: Likewise.
3100         * posix/regex.h [__USE_BSD]: Likewise.
3101         * posix/sys/types.h [__USE_BSD]: Likewise.
3102         [__USE_SVID]: Likewise.
3103         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3104         * posix/sys/wait.h [__USE_BSD]: Likewise.
3105         [__USE_SVID]: Likewise.
3106         * posix/unistd.h [__USE_BSD]: Likewise.
3107         [__USE_SVID]: Likewise.
3108         * pwd/pwd.h [__USE_SVID]: Likewise.
3109         * resolv/netdb.h [__USE_BSD]: Likewise.
3110         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3111         * signal/signal.h [__USE_BSD]: Likewise.
3112         [__USE_SVID]: Likewise.
3113         * socket/sys/socket.h [__USE_BSD]: Likewise.
3114         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3115         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3116         [__USE_SVID]: Likewise.
3117         * string/bits/string2.h [__USE_BSD]: Likewise.
3118         [__USE_SVID]: Likewise.
3119         * string/bits/string3.h [__USE_BSD]: Likewise.
3120         * string/endian.h [__USE_BSD]: Likewise.
3121         * string/string.h [__USE_SVID]: Likewise.
3122         [__USE_BSD]: Likewise.
3123         * string/strings.h [__USE_BSD]: Likewise.
3124         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3125         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3126         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3127         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3128         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3129         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3130         Likewise.
3131         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3132         Likewise.
3133         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3134         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3135         Likewise.
3136         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3137         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3138         Likewise.
3139         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3140         Likewise.
3141         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3142         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3143         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3144         Likewise.
3145         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3146         Likewise.
3147         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3148         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3149         * termios/termios.h [__USE_BSD]: Likewise.
3150         * time/sys/time.h [__USE_BSD]: Likewise.
3151         * time/time.h [__USE_BSD]: Likewise.
3152         [__USE_SVID]: Likewise.
3153
3154         * Makefile (subdir_targets): Remove subdir_lint.out.
3155
3156         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3157         (do-tst-printf): Likewise.
3158         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3159         $(objpfx)tst-printf.out.
3160
3161         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3162
3163         * Makerules (check-abi-%): Change target to
3164         $(objpfx)check-abi-%.out.
3165         (check-abi target): Update dependencies.
3166         (check-abi-pattern variable): Redirect output of diff to $@.
3167         (check-abi variable): Likewise.
3168         * elf/Makefile (check-abi): Update dependencies.
3169
3170         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3171         unused.
3172         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3173         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3174         subnormal range.
3175         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3176         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3177         value has largest subnormal exponent.
3178         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3179         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3180         * sysdeps/aarch64/soft-fp/sfp-machine.h
3181         (_FP_TININESS_AFTER_ROUNDING): New macro.
3182         * sysdeps/alpha/soft-fp/sfp-machine.h
3183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3184         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3185         Likewise.
3186         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3188         * sysdeps/mips/soft-fp/sfp-machine.h
3189         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3190         * sysdeps/powerpc/soft-fp/sfp-machine.h
3191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3192         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3193         Likewise.
3194         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3198         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3199         Likewise.
3200
3201 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3202
3203         [BZ #16545]
3204         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3205         model 1.
3206
3207 2014-02-12  Richard Henderson  <rth@redhat.com>
3208
3209         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3210         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3211         * sysdeps/unix/sysv/linux/alpha: Move directory from
3212         ports/sysdeps/unix/sysv/linux/alpha.
3213         * README: Update listing for alpha-*-linux-gnu.
3214
3215 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3216
3217         * include/features.h: Update comment documenting feature test
3218         macros.
3219         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3220         _DEFAULT_SOURCE.
3221         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3222         (_SVID_SOURCE): Likewise.
3223         (_DEFAULT_SOURCE): Update description of default features.
3224         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3225         with _GNU_SOURCE.
3226         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3227         (S_ISVTX): Likewise.
3228         * manual/math.texi (Mathematical Constants): Likewise.
3229         * manual/signal.texi (Interrupted Primitives): Likewise.
3230         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3231         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3232         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3233         Don't refer to _SVID_SOURCE in warning text.
3234
3235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3236
3237         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3238         already defined.
3239         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3240         * sysdeps/mips/dl-lookup.c: Remove.
3241         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3242
3243 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3244
3245         [BZ #16447]
3246         * math/auto-libm-test-in: Add testcase for expl.
3247         * math/auto-libm-test-out: Regenerate.
3248         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3249         calculation of unsafe.
3250         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3251
3252 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3253
3254         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3255         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3256         ports/sysdeps/unix/sysv/linux/aarch64.
3257         * README: Update listing for aarch64*-*-linux-gnu.
3258
3259 2014-02-11  Will Newton  <will.newton@linaro.org>
3260
3261         * manual/probes.texi (Mathematical Function Probes): Use
3262         "triggered" instead of "hit".
3263
3264 2014-02-11  Will Newton  <will.newton@linaro.org>
3265
3266         * manual/probes.texi (Internal Probes): Add documentation
3267         of setjmp, longjmp and longjmp_target probes.
3268
3269 2014-02-11  Will Newton  <will.newton@linaro.org>
3270
3271         * include/stap-probe.h: Add comment about probe argument
3272         format.
3273
3274 2014-02-11  Will Newton  <will.newton@linaro.org>
3275
3276         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3277         definition.  (tr_where, tr_freehook, tr_mallochook,
3278         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3279
3280 2014-02-11  David S. Miller  <davem@davemloft.net>
3281
3282         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3283         processing int_tests.
3284
3285 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3286
3287         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3288         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3289         * sysdeps/unix/sysv/linux/mips: Move directory from
3290         ports/sysdeps/unix/sysv/linux/mips.
3291         * README: Update listing for mips-*-linux-gnu and
3292         mips64-*-linux-gnu.
3293
3294 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3295
3296         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3297         * sysdeps/unix/sysv/linux/m68k: Move directory from
3298         ports/sysdeps/unix/sysv/linux/m68k.
3299         * README: Update listing for m68k-*-linux-gnu.
3300
3301 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3302
3303         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3304         * sysdeps/unix/sysv/linux/generic: Move directory from
3305         ports/sysdeps/unix/sysv/linux/generic.
3306         * sysdeps/unix/sysv/linux/tile: Move directory from
3307         ports/sysdeps/unix/sysv/linux/tile.
3308         * README: Update listing for tile*-*-linux-gnu.
3309
3310 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3311
3312         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3313         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3314         * catgets/open_catalog.c (__open_catalog): Likewise.
3315         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3316         * debug/confstr_chk.c: Likewise.
3317         * debug/fread_chk.c (__fread_chk): Likewise.
3318         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3319         * debug/getgroups_chk.c: Likewise.
3320         * debug/mbsnrtowcs_chk.c: Likewise.
3321         * debug/mbsrtowcs_chk.c: Likewise.
3322         * debug/mbstowcs_chk.c: Likewise.
3323         * debug/memcpy_chk.c: Likewise.
3324         * debug/memmove_chk.c: Likewise.
3325         * debug/mempcpy_chk.c: Likewise.
3326         * debug/memset_chk.c: Likewise.
3327         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3328         * debug/strcat_chk.c (__strcat_chk): Likewise.
3329         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3330         * debug/strncat_chk.c (__strncat_chk): Likewise.
3331         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3332         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3333         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3334         * debug/wcpncpy_chk.c: Likewise.
3335         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3336         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3337         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3338         * debug/wcsncpy_chk.c: Likewise.
3339         * debug/wcsnrtombs_chk.c: Likewise.
3340         * debug/wcsrtombs_chk.c: Likewise.
3341         * debug/wcstombs_chk.c: Likewise.
3342         * debug/wmemcpy_chk.c: Likewise.
3343         * debug/wmemmove_chk.c: Likewise.
3344         * debug/wmempcpy_chk.c: Likewise.
3345         * debug/wmemset_chk.c: Likewise.
3346         * dirent/scandirat.c (SCANDIRAT): Likewise.
3347         * dlfcn/dladdr1.c (dladdr1): Likewise.
3348         * dlfcn/dladdr.c (dladdr): Likewise.
3349         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3350         * dlfcn/dlerror.c (__dlerror): Likewise.
3351         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3352         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3353         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3354         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3355         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3356         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3357         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3358         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3359         Likewise.
3360         * elf/dl-conflict.c: Likewise.
3361         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3362         * elf/dl-dst.h: Likewise.
3363         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3364         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3365         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3366         * elf/dl-init.c (call_init, _dl_init): Likewise.
3367         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3368         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3369         _dl_map_object_from_fd, open_verify, open_path,
3370         _dl_map_object): Likewise.
3371         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3372         Likewise.
3373         * elf/dl-minimal.c (__libc_memalign): Likewise.
3374         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3375         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3376         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3377         * elf/dl-sym.c (do_sym): Likewise.
3378         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3379         _dl_tls_get_addr_soft): Likewise.
3380         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3381         * elf/dl-writev.h (_dl_writev): Likewise.
3382         * elf/ldconfig.c (search_dir): Likewise.
3383         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3384         dl_main): Likewise.
3385         * elf/setup-vdso.h (setup_vdso): Likewise.
3386         * grp/compat-initgroups.c (compat_call): Likewise.
3387         * grp/fgetgrent.c (fgetgrent): Likewise.
3388         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3389         * grp/putgrent.c (putgrent): Likewise.
3390         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3391         Likewise.
3392         * hurd/hurdinit.c: Likewise.
3393         * iconvdata/8bit-gap.c (struct): Likewise.
3394         * iconvdata/ansi_x3.110.c : Likewise.
3395         * iconvdata/big5.c : Likewise.
3396         * iconvdata/big5hkscs.c : Likewise.
3397         * iconvdata/cp1255.c: Likewise.
3398         * iconvdata/cp1258.c : Likewise.
3399         * iconvdata/cp932.c : Likewise.
3400         * iconvdata/euc-cn.c: Likewise.
3401         * iconvdata/euc-jisx0213.c : Likewise.
3402         * iconvdata/euc-jp.c: Likewise.
3403         * iconvdata/euc-jp-ms.c : Likewise.
3404         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3405         * iconvdata/gb18030.c : Likewise.
3406         * iconvdata/gbbig5.c (const): Likewise.
3407         * iconvdata/gbgbk.c: Likewise.
3408         * iconvdata/gbk.c : Likewise.
3409         * iconvdata/ibm1364.c : Likewise.
3410         * iconvdata/ibm930.c : Likewise.
3411         * iconvdata/ibm932.c: Likewise.
3412         * iconvdata/ibm933.c : Likewise.
3413         * iconvdata/ibm935.c : Likewise.
3414         * iconvdata/ibm937.c : Likewise.
3415         * iconvdata/ibm939.c : Likewise.
3416         * iconvdata/ibm943.c: Likewise.
3417         * iconvdata/iso_11548-1.c: Likewise.
3418         * iconvdata/iso-2022-cn.c : Likewise.
3419         * iconvdata/iso-2022-cn-ext.c : Likewise.
3420         * iconvdata/iso-2022-jp-3.c: Likewise.
3421         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3422         * iconvdata/iso-2022-kr.c : Likewise.
3423         * iconvdata/iso646.c (gconv_end): Likewise.
3424         * iconvdata/iso_6937-2.c : Likewise.
3425         * iconvdata/iso_6937.c : Likewise.
3426         * iconvdata/iso8859-1.c: Likewise.
3427         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3428         * iconvdata/shift_jisx0213.c : Likewise.
3429         * iconvdata/sjis.c : Likewise.
3430         * iconvdata/t.61.c : Likewise.
3431         * iconvdata/tcvn5712-1.c : Likewise.
3432         * iconvdata/tscii.c: Likewise.
3433         * iconvdata/uhc.c : Likewise.
3434         * iconvdata/unicode.c (gconv_end): Likewise.
3435         * iconvdata/utf-16.c (gconv_end): Likewise.
3436         * iconvdata/utf-32.c (gconv_end): Likewise.
3437         * iconvdata/utf-7.c (base64): Likewise.
3438         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3439         * iconv/gconv_close.c (__gconv_close): Likewise.
3440         * iconv/gconv_open.c (__gconv_open): Likewise.
3441         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3442         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3443         internal_ucs4le_loop_single, ucs4le_internal_loop,
3444         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3445         * iconv/iconv.c (iconv): Likewise.
3446         * iconv/iconv_close.c: Likewise.
3447         * iconv/loop.c (SINGLE): Likewise.
3448         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3449         * include/atomic.h: Likewise.
3450         * inet/inet6_option.c (option_alloc): Likewise.
3451         * intl/bindtextdom.c (set_binding_values): Likewise.
3452         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3453         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3454         * intl/localealias.c (read_alias_file): Likewise.
3455         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3456         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3457         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3458         * libio/fmemopen.c (fmemopen): Likewise.
3459         * libio/iofgets.c (_IO_fgets): Likewise.
3460         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3461         * libio/iofgetws.c (fgetws): Likewise.
3462         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3463         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3464         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3465         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3466         * locale/findlocale.c (_nl_find_locale): Likewise.
3467         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3468         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3469         Likewise.
3470         * locale/setlocale.c (setlocale): Likewise.
3471         * login/programs/pt_chown.c (main): Likewise.
3472         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3473         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3474         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3475         mmap, mmap64, mremap, munmap): Likewise.
3476         * math/e_exp2l.c: Likewise.
3477         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3478         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3479         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3480         * math/s_catan.c (__catan): Likewise.
3481         * math/s_catanf.c (__catanf): Likewise.
3482         * math/s_catanh.c (__catanh): Likewise.
3483         * math/s_catanhf.c (__catanhf): Likewise.
3484         * math/s_catanhl.c (__catanhl): Likewise.
3485         * math/s_catanl.c (__catanl): Likewise.
3486         * math/s_ccosh.c (__ccosh): Likewise.
3487         * math/s_ccoshf.c (__ccoshf): Likewise.
3488         * math/s_ccoshl.c (__ccoshl): Likewise.
3489         * math/s_cexp.c (__cexp): Likewise.
3490         * math/s_cexpf.c (__cexpf): Likewise.
3491         * math/s_cexpl.c (__cexpl): Likewise.
3492         * math/s_clog10.c (__clog10): Likewise.
3493         * math/s_clog10f.c (__clog10f): Likewise.
3494         * math/s_clog10l.c (__clog10l): Likewise.
3495         * math/s_clog.c (__clog): Likewise.
3496         * math/s_clogf.c (__clogf): Likewise.
3497         * math/s_clogl.c (__clogl): Likewise.
3498         * math/s_csin.c (__csin): Likewise.
3499         * math/s_csinf.c (__csinf): Likewise.
3500         * math/s_csinh.c (__csinh): Likewise.
3501         * math/s_csinhf.c (__csinhf): Likewise.
3502         * math/s_csinhl.c (__csinhl): Likewise.
3503         * math/s_csinl.c (__csinl): Likewise.
3504         * math/s_csqrt.c (__csqrt): Likewise.
3505         * math/s_csqrtf.c (__csqrtf): Likewise.
3506         * math/s_csqrtl.c (__csqrtl): Likewise.
3507         * math/s_ctan.c (__ctan): Likewise.
3508         * math/s_ctanf.c (__ctanf): Likewise.
3509         * math/s_ctanh.c (__ctanh): Likewise.
3510         * math/s_ctanhf.c (__ctanhf): Likewise.
3511         * math/s_ctanhl.c (__ctanhl): Likewise.
3512         * math/s_ctanl.c (__ctanl): Likewise.
3513         * math/w_pow.c: Likewise.
3514         * math/w_powf.c: Likewise.
3515         * math/w_powl.c: Likewise.
3516         * math/w_scalb.c (sysv_scalb): Likewise.
3517         * math/w_scalbf.c (sysv_scalbf): Likewise.
3518         * math/w_scalbl.c (sysv_scalbl): Likewise.
3519         * misc/error.c (error_tail): Likewise.
3520         * misc/pselect.c (__pselect): Likewise.
3521         * nis/nis_callback.c (__nis_create_callback): Likewise.
3522         * nis/nis_call.c (__nisfind_server): Likewise.
3523         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3524         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3525         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3526         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3527         * nis/nis_lookup.c (nis_lookup): Likewise.
3528         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3529         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3530         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3531         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3532         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3533         internal_getgrgid_r): Likewise.
3534         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3535         Likewise.
3536         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3537         internal_getpwuid_r): Likewise.
3538         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3539         internal_getspnam_r): Likewise.
3540         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3541         _nss_nis_getaliasbyname_r): Likewise.
3542         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3543         _nss_nis_getntohost_r): Likewise.
3544         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3545         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3546         Likewise.
3547         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3548         internal_nis_gethostent_r, internal_gethostbyname2_r,
3549         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3550         _nss_nis_gethostbyname4_r): Likewise.
3551         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3552         initgroups_netid): Likewise.
3553         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3554         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3555         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3556         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3557         _nss_nis_getprotobynumber_r): Likewise.
3558         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3559         _nss_nis_getsecretkey): Likewise.
3560         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3561         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3562         Likewise.
3563         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3564         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3565         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3566         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3567         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3568         _nss_nis_getspnam_r): Likewise.
3569         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3570         Likewise.
3571         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3572         _nss_nisplus_getntohost_r): Likewise.
3573         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3574         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3575         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3576         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3577         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3578         Likewise.
3579         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3580         _nss_nisplus_getnetbyaddr_r): Likewise.
3581         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3582         _nss_nisplus_getprotobynumber_r): Likewise.
3583         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3584         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3585         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3586         Likewise.
3587         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3588         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3589         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3590         _nss_nisplus_getspnam_r): Likewise.
3591         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3592         * nscd/aicache.c (addhstaiX): Likewise.
3593         * nscd/cache.c (cache_search, prune_cache): Likewise.
3594         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3595         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3596         * nscd/grpcache.c (addgrbyX): Likewise.
3597         * nscd/hstcache.c (addhstbyX): Likewise.
3598         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3599         * nscd/mem.c (gc, mempool_alloc): Likewise.
3600         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3601         Likewise.
3602         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3603         Likewise.
3604         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3605         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3606         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3607         Likewise.
3608         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3609         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3610         * nscd/nscd_helper.c (__readvall, open_socket,
3611         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3612         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3613         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3614         * nscd/pwdcache.c (addpwbyX): Likewise.
3615         * nscd/selinux.c (preserve_capabilities): Likewise.
3616         * nscd/servicescache.c (addservbyX): Likewise.
3617         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3618         * posix/fnmatch.c (fnmatch): Likewise.
3619         * posix/getopt.c (_getopt_internal_r): Likewise.
3620         * posix/glob.c (glob, glob_in_dir): Likewise.
3621         * posix/wordexp.c (exec_comm_child): Likewise.
3622         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3623         gaih_getanswer_slice): Likewise.
3624         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3625         * resolv/res_init.c: Likewise.
3626         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3627         * resolv/res_query.c (__libc_res_nquery): Likewise.
3628         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3629         Likewise.
3630         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3631         * stdio-common/perror.c (perror): Likewise.
3632         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3633         * stdio-common/tmpnam.c (tmpnam): Likewise.
3634         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3635         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3636         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3637         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3638         * stdlib/putenv.c (putenv): Likewise.
3639         * stdlib/setenv.c (__add_to_environ): Likewise.
3640         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3641         * stdlib/strtol_l.c (INTERNAL): Likewise.
3642         * string/memmem.c (memmem): Likewise.
3643         * string/strerror.c (strerror): Likewise.
3644         * string/strnlen.c (__strnlen): Likewise.
3645         * string/test-memmem.c (simple_memmem): Likewise.
3646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3647         * sunrpc/pm_getport.c (__get_socket): Likewise.
3648         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3649         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3650         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3651         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3652         Likewise.
3653         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3654         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3655         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3656         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3657         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3658         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3659         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3660         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3661         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3663         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3664         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3666         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3667         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3668         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3669         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3670         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3671         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3672         Likewise.
3673         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3674         Likewise.
3675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3676         Likewise.
3677         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3680         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3681         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3682         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3683         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3684         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3686         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3687         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3689         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3690         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3693         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3694         Likewise.
3695         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3696         Likewise.
3697         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3698         Likewise.
3699         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3701         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3702         Likewise.
3703         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3704         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3705         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3706         * sysdeps/posix/sleep.c: Likewise.
3707         * sysdeps/posix/tempname.c: Likewise.
3708         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3709         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3710         Likewise.
3711         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3712         elf_machine_rela): Likewise.
3713         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3715         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3716         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3717         Likewise.
3718         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3719         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3720         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3721         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3722         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3723         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3724         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3725         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3726         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3727         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3729         elf_machine_lazy_rel): Likewise.
3730         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3732         elf_machine_lazy_rel): Likewise.
3733         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3734         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3735         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3736         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3737         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3738         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3739         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3740         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3741         Likewise.
3742         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3743         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3744         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3745         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3746         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3748         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3749         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3750         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3751         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3752         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3753         Likewise.
3754         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3755         (__posix_fallocate64_l64): Likewise.
3756         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3757         (posix_fallocate): Likewise.
3758         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3759         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3760         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3761         getifaddrs_internal): Likewise.
3762         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3763         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3764         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3765         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3766         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3767         (__posix_fallocate64_l64): Likewise.
3768         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3769         Likewise.
3770         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3771         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3772         Likewise.
3773         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3774         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3775         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3776         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3777         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3778         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3779         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3780         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3781         Likewise.
3782         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3783         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3784         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3785         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3786         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3787         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3788         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3789         Likewise.
3790         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3791         (posix_fallocate): Likewise.
3792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3793         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3794         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3795         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3796         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3797         Likewise.
3798         * time/asctime.c (asctime_internal): Likewise.
3799         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3800         * time/tzset.c (__tzset_parse_tz): Likewise.
3801         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3802         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3803         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3804         * wcsmbs/wcsmbsload.h: Likewise.
3805
3806 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3807
3808         [BZ #15894]
3809         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3810
3811 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3812
3813         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3814         arena_get2): Remove THREAD_STATS conditionals.
3815         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3816         __malloc_stats, int): Likewise.
3817
3818 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3819
3820         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3821         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3822
3823 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3824
3825         * manual/setjmp.texi: Fix typos/grammar errors.
3826
3827 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3828
3829         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3830         Only return early when n is <= 0.  Delete unused return statement.
3831
3832 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3833
3834         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3835         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3836         * debug/tst-longjmp_chk3.c: New file.
3837
3838 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3839
3840         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3841         (test_main): Replace code with set_fortify_handler call.
3842         * debug/test-strcpy_chk.c: Likewise.
3843         * debug/tst-chk1.c: Likewise.
3844         * debug/tst-longjmp_chk.c: Likewise.
3845         * test-skeleton.c: Include fcntl.h & paths.h
3846         (set_fortify_handler): Define.
3847
3848 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3849
3850         * debug/tst-longjmp_chk.c: Add header comment and include
3851         ../test-skeleton.c.
3852         (do_test): Mark static.
3853         (TEST_FUNCTION): Define.
3854
3855 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3856
3857         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3858         (IP_PMTUDISC_INTERFACE): Likewise.
3859         (IP_MULTICAST_IF): Likewise.
3860         (IP_MULTICAST_TTL): Likewise.
3861         (IP_MULTICAST_LOOP): Likewise.
3862         (IP_ADD_MEMBERSHIP): Likewise.
3863         (IP_DROP_MEMBERSHIP): Likewise.
3864         (IP_UNBLOCK_SOURCE): Likewise.
3865         (IP_BLOCK_SOURCE): Likewise.
3866         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3867         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3868         (IP_MSFILTER): Likewise.
3869         (MCAST_JOIN_GROUP): Likewise.
3870         (MCAST_BLOCK_SOURCE): Likewise.
3871         (MCAST_UNBLOCK_SOURCE): Likewise.
3872         (MCAST_LEAVE_GROUP): Likewise.
3873         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3874         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3875         (MCAST_MSFILTER): Likewise.
3876         (IP_MULTICAST_ALL): Likewise.
3877         (IP_UNICAST_IF): Likewise.
3878
3879 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3880
3881         * timezone/Makefile: Delete $(have-ksh) check.
3882         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3883         * timezone/tzselect.ksh: Add +x mode bits.
3884
3885 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3886
3887         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3888         (ANON_INODE_FS_MAGIC): Likewise.
3889         (BDEVFS_MAGIC): Likewise.
3890         (BINFMTFS_MAGIC): Likewise.
3891         (BTRFS_TEST_MAGIC): Likewise.
3892         (CRAMFS_MAGIC_WEND): Likewise.
3893         (DEBUGFS_MAGIC): Likewise.
3894         (ECRYPTFS_SUPER_MAGIC): Likewise.
3895         (EXT3_SUPER_MAGIC): Likewise.
3896         (EXT4_SUPER_MAGIC): Likewise.
3897         (FUTEXFS_SUPER_MAGIC): Likewise.
3898         (HOSTFS_SUPER_MAGIC): Likewise.
3899         (HUGETLBFS_MAGIC): Likewise.
3900         (MINIX3_SUPER_MAGIC): Likewise.
3901         (MTD_INODE_FS_MAGIC): Likewise.
3902         (NILFS_SUPER_MAGIC): Likewise.
3903         (OPENPROM_SUPER_MAGIC): Likewise.
3904         (PIPEFS_MAGIC): Likewise.
3905         (PSTOREFS_MAGIC): Likewise.
3906         (QNX6_SUPER_MAGIC): Likewise.
3907         (RAMFS_MAGIC): Likewise.
3908         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3909         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3910         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3911         (SECURITYFS_MAGIC): Likewise.
3912         (SELINUX_MAGIC): Likewise.
3913         (SMACK_MAGIC): Likewise.
3914         (SOCKFS_MAGIC): Likewise.
3915         (SQUASHFS_MAGIC): Likewise.
3916         (STACK_END_MAGIC): Likewise.
3917         (TMPFS_MAGIC): Likewise.
3918         (USBDEVICE_SUPER_MAGIC): Likewise.
3919         (V9FS_MAGIC): Likewise.
3920         (XENFS_SUPER_MAGIC): Likewise.
3921         (CRAMFS_MAGIC): Fix typo in comment.
3922         (EXT2_SUPER_MAGIC): Update comment.
3923         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3924
3925 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3926
3927         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3928         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3929         * sysdeps/unix/sysv/linux/arm: Move directory from
3930         ports/sysdeps/unix/sysv/linux/arm.
3931         * README: Update listing for arm-*-linux-gnueabi.
3932
3933         * README: Remove mention of am33.
3934
3935 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3936
3937         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3938         than the comma operator, to avoid "rhs of comma has no effect"
3939         compiler warnings.
3940         (__sigfillset, __sigandset, __sigorset): Likewise.
3941         * include/signal.h (__sigemptyset): Likewise.
3942         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3943
3944 2014-02-07  Allan McRae  <allan@archlinux.org>
3945
3946         * version.h (RELEASE): Set to "development".
3947         (VERSION): Set to "2.19.90"
3948         * NEWS: Add 2.20 section.
3949
3950 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3951
3952         [BZ #16529]
3953         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3954
3955 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3956
3957         * manual/contrib.texi: Update entry for Carlos O'Donell,
3958         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3959
3960 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3961
3962         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3963
3964         * sysdeps/unix/sysv/linux/kernel-features.h
3965         [__LINUX_KERNEL_VERSION >= 0x020621]
3966         (__ASSUME_PROC_PID_TASK_COMM): Define.
3967
3968 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3969
3970         [BZ #16398]
3971         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3972         conversion when destination buffer does not have enough space.
3973         * libio/tst-ftell-partial-wide.c: New test case.
3974         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3975
3976         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3977         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3978         Leonard and Allan McRae.
3979
3980 2014-02-04  David S. Miller  <davem@davemloft.net>
3981
3982         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3983         32-bit.
3984
3985 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3986
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3988         file
3989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3990         New file
3991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3992         file.
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3994         file.
3995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3996         New file.
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3998         file.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4000         file.
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4002         New file.
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4004         New file.
4005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4006         New file.
4007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4008         New file.
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4010         New file.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4012         New file.
4013
4014 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4015
4016         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4017         * shlib-versions: Likewise.
4018
4019 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4020             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4021
4022         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4023         (abilist-pattern): New variable, set to %-le.abilist.
4024
4025         * Makerules (abilist-pattern): New variable.
4026         (vpath): Use $(abilist-pattern) in place of %.abilist.
4027         (check-abi-% pattern rule): Likewise.
4028         (check-abi, update-abi): Likewise.
4029
4030 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4031
4032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4033
4034 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4035
4036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4037
4038 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4039
4040         * manual/startup.texi: Add next, previous, and top entries for
4041         the `Program Arguments' and `Environment Variables' nodes.
4042
4043 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4044
4045         * manual/macros.texi: Add comments before MTASC-safety macros.
4046
4047         * manual/users.texi: Document MTASC-safety properties.
4048
4049         * manual/threads.texi (pthread_key_create, pthread_key_delete,
4050         pthread_getspecific, pthread_setspecific): Format with
4051         @deftypefun, and add @safety note.
4052         * manual/signal.texi: Move comments that analyze the above
4053         functions to their home place.
4054
4055 2014-02-03  Allan McRae  <allan@archlinux.org>
4056
4057         * po/sl.po: Update Slovenian translation from translation project.
4058
4059 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4060
4061         * manual/time.texi (timegm): Add missing blank after @c.
4062         Reported by Joseph Myers <joseph@codesourcery.com>.
4063
4064 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4065
4066         * manual/check-safety.sh: New.
4067         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4068
4069         * manual/terminal.texi: Document MTASC-safety properties.
4070
4071         * manual/filesys.texi: Document MTASC-safety properties.
4072
4073         * manual/errno.texi: Document MTASC-safety properties.
4074
4075         * manual/intro.texi: Document safety identifiers and
4076         conditionals.
4077
4078         * manual/string.texi (wcstok): Fix prototype.
4079         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4080
4081         * manual/time.texi: Document MTASC-safety properties.
4082
4083         * manual/string.texi: Document MTASC-safety properties.
4084
4085         * manual/threads.texi: Document MTASC-safety properties.
4086
4087         * manual/stdio.texi: Document MTASC-safety properties.
4088
4089         * manual/syslog.texi: Document MTASC-safety properties.
4090
4091         * manual/sysinfo.texi: Document MTASC-safety properties.
4092
4093         * manual/startup.texi: Document MTASC-safety properties.
4094
4095         * manual/socket.texi: Document MTASC-safety properties.
4096
4097         * manual/signal.texi: Document MTASC-safety properties.
4098
4099 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4100
4101         * manual/setjmp.texi: Document MTASC-safety properties.
4102
4103         * manual/search.texi: Document MTASC-safety properties.
4104
4105         * manual/resource.texi: Document MTASC-safety properties.
4106
4107         * manual/process.texi: Document MTASC-safety properties.
4108
4109         * manual/platform.texi: Document MTASC-safety properties.
4110
4111         * manual/pipe.texi: Document MTASC-safety properties.
4112
4113         * manual/pattern.texi: Document MTASC-safety properties.
4114
4115         * manual/message.texi: Document MTASC-safety properties.
4116
4117         [BZ #12751]
4118         * manual/memory.texi: Document MTASC-safety properties.
4119
4120         * manual/math.texi: Document MTASC-safety properties.
4121
4122         * manual/locale.texi: Document MTASC-safety properties.
4123
4124         * manual/llio.texi: Document MTASC-safety properties.
4125
4126         * manual/libdl.texi: New.
4127
4128         * manual/lang.texi: Document MTASC-safety properties.
4129
4130         * manual/job.texi: Document MTASC-safety properties.
4131
4132         * manual/getopt.texi: Document MTASC-safety properties.
4133
4134         * manual/ctype.texi: Document MTASC-safety properties.
4135
4136 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4137
4138         [BZ #16046]
4139         * csu/libc-tls.c (static_map): Remove variable.
4140         (__libc_setup_tls): Use main executable's link map for TLS data.
4141         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4142         casing for LM_ID_BASE and GL(dl_nns).
4143         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4144         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4145         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4146         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4147         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4148         member.
4149         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4150         l_phnum members.
4151
4152 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4153
4154         * manual/debug.texi: Document MTASC-safety properties.
4155
4156 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4157
4158         [BZ #16510]
4159         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4160         of __x86_64__ when disabling x87 inline functions.
4161
4162 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4163
4164         * manual/charset.texi: Document MTASC-safety properties.
4165
4166         * manual/crypt.texi: Document MTASC-safety properties.
4167
4168         * manual/conf.texi: Document MTASC-safety properties.
4169
4170         * manual/arith.texi: Document MTASC-safety properties.
4171
4172         * manual/argp.texi: Document MTASC-safety properties.
4173
4174         * manual/macros.texi: Introduce macros to document multi
4175         thread, asynchronous signal and asynchronous cancellation
4176         safety properties.
4177         * manual/intro.texi: Introduce the properties themselves.
4178
4179 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4180
4181         * sysdeps/sh/sh4/Makefile: New file.
4182
4183 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4184
4185         * math/gen-libm-test.pl ($srcdir): New variable.
4186         ($auto_input): Use it.
4187
4188 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4189
4190         [BZ #16506]
4191         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4192         access beyond array bounds when parsing netgroups file.
4193
4194         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4195         the old buffer before realloc.
4196
4197 2014-01-27  Allan McRae  <allan@archlinux.org>
4198
4199         * po/fr.po: Update French translation from translation project.
4200
4201 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4202
4203         * sysdeps/sh/libm-test-ulps: Regenerate.
4204
4205 2014-01-24  David S. Miller  <davem@davemloft.net>
4206
4207         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4208
4209 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4210
4211         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4212         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4213
4214 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215
4216         [BZ #16474]
4217         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4218         string pointers after reallocation.
4219
4220 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4221
4222         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4223         __SH4A__ instead of __SH_FPU_ANY__.
4224
4225 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4226
4227         * sysdeps/sh/fpu_control.h: New file.
4228         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4229         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4230         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4231         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4232         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4233         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4234         * sysdeps/sh/sys/ucontext.h: Remove.
4235         * sysdeps/sh/sys: Remove directory.
4236
4237 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4238
4239         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4240         s390/sys/ucontext.h.
4241         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4242         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4243
4244 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4245
4246         [BZ #15605]
4247         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4248
4249 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4250
4251         [BZ#16431]
4252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4253         Adjust the vDSO correctly for internal calls.
4254         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4255
4256 2014-01-20  Allan McRae  <allan@archlinux.org>
4257
4258         * po/ca.po: Update Catalan translation from translation project.
4259
4260 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4261
4262         * sysdeps/s390/sotruss-lib.c: New file.
4263
4264 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4265
4266         [BZ#16430]
4267         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4268         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4269         local calls issues by not having a PLT stub required for IFUNC calls.
4270         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4271
4272 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4273
4274         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4275         * math/test-fpucw-static.c: Likewise.
4276
4277 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4278
4279         [BZ #16453]
4280         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4281
4282 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4283
4284         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4285         implementation for powerpc.
4286
4287 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4288
4289         [BZ #14782]
4290         * sysdeps/posix/system.c (__libc_system): Do not enable
4291         asynchronous cancellation.
4292
4293 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4294
4295         [BZ #16427]
4296         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4297         handling only for numbers special also in the IEEE case.
4298
4299 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4300
4301         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4302
4303 2014-01-11  Allan McRae  <allan@archlinux.org>
4304
4305         * po/bg.po: Update Bulgarian translation from translation project.
4306
4307         * po/de.po: Update German translation from translation project.
4308
4309 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4310
4311         * sysdeps/generic/gcc-compat.h: New file.
4312
4313 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4314
4315         * benchtests/asin-inputs: Correct slow inputs.
4316         * benchtests/acos-inputs: Likewise.
4317
4318 2014-01-10  Allan McRae  <allan@archlinux.org>
4319
4320         * po:sv.po: Update Swedish translation from translation project.
4321
4322         * po/vi.po: Update Vietnamese translation from translation project.
4323
4324         * po/eo.po: Update Esperanto translation from translation project.
4325
4326         * po/cs.po: Update Czech translation from translation project.
4327
4328         * po/nl.po: Update Dutch translation from translation project.
4329
4330         * po/pl.po: Update Polish translation from translation project.
4331
4332         * po/ru.po: Update Russian translation from translation project.
4333
4334         * po/uk.po: Update Ukrainian translation from translation project.
4335
4336 2014-01-08  Brooks Moses  <bmoses@google.com>
4337
4338         * elf/dl-load.c: Fix comment typo.
4339
4340 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4341
4342         * po/header.pot: Rename to...
4343         * po/pot.header: ... this.
4344         * po/Makefile: Use pot.header.
4345
4346 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4347             Maxim Kuvyrkov  <maxim@kugelworks.com>
4348
4349         [BZ #16394]
4350         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4351         SRC and DEST against LEN.
4352
4353 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4354
4355         [BZ #16414]
4356         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4357         implementation.
4358         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4359
4360 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4361
4362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4363
4364 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4365
4366         [BZ #16408]
4367         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4368         for large positive arguments.
4369
4370 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4371
4372         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4373
4374         * math/auto-libm-test-in: Mark various tests with
4375         xfail-rounding:ldbl-128ibm.
4376         * math/auto-libm-test-out: Regenerated.
4377
4378         [BZ #16407]
4379         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4380         Increase overflow threshold.
4381
4382 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4383
4384         [BZ #14286]
4385         * stdio-common/vfprintf.c: Check for integer overflow.
4386
4387 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4388
4389         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4390         the first argument and return value of __tls_get_addr_internal.
4391
4392 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4393
4394         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4395         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4396
4397 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4398
4399         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4400         * sysdeps/s390/rtld-global-offsets.sym: New file.
4401         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4402         GLIBC_2.19 symbol.
4403         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4404         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4405         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4406         ... this.
4407         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4408         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4409         ... this.
4410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4411         Regenerate.
4412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4413         Regenerate.
4414         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4415         halfs of GPRs for high_gprs contexts.
4416         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4417         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4418         field.
4419         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4420         uc_flags field.
4421         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4422         64 bit versions:
4423         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4424         for high GPRs (uc_high_gprs) and for future extensions
4425         (__reserved).
4426         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4427         for future extensions (__reserved).
4428         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4429         64 bit versions:
4430         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4431         SC_HIGHGPRS offset definition.
4432         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4433         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4434
4435 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4436
4437         * Versions.def: Add GLIBC_2.19 for libpthread.
4438         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4439         siglongjmp for libpthread with GLIBC_2.19 symver.
4440         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4441         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4442         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4443         * sysdeps/s390/__longjmp.c: New file.
4444         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4445         * sysdeps/s390/longjmp.c: New file.
4446         * sysdeps/s390/setjmp.S: New file.
4447         * sysdeps/s390/sigjmp.S: New file.
4448         * sysdeps/s390/v1-longjmp.c: New file.
4449         * sysdeps/s390/v1-setjmp.h: New file.
4450         * sysdeps/s390/v1-sigjmp.c: New file.
4451         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4452         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4453         GLIBC_2.19 version.
4454         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4455         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4456         versioned symbols for ____longjmp_chk.
4457         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4458         Likewise.
4459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4460         Regenerate.
4461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4462         Regenerate.
4463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4464         Regenerate.
4465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4466         Regenerate.
4467         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4468         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4469         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4470         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4471         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4472         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4473         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4474         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4475         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4476         * sysdeps/s390/rtld-__longjmp.c: New file.
4477         * sysdeps/s390/rtld-setjmp.S: New file.
4478
4479 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4480
4481         [BZ #16400]
4482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4483         Return -__logl (x) for small positive arguments without evaluating
4484         a polynomial.
4485
4486 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4487
4488         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4489         Rename to ...
4490         (__ptrace_peeksiginfo_args): ... this.
4491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4492         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4493         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4494
4495 2014-01-06  Allan McRae  <allan@archlinux.org>
4496
4497         * inet/netinet/in.h: Fix typo in comment.
4498
4499 2014-01-05  Andreas Jaeger  <aj@suse.de>
4500
4501         * sysdeps/i386/fpu/libm-test-ulps: Update.
4502
4503 2014-01-05  Allan McRae  <allan@archlinux.org>
4504
4505         * po/libc.pot: Regenerated.
4506
4507         * malloc/memusagestat.c: Fix gettext call formatting.
4508
4509 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4510
4511         * nscd/nscd.c: Improve usage() output.
4512
4513 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4514
4515         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4516         * sysdeps/unix/sysv/linux/configure: Regenerated.
4517         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4518         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4519
4520 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4521
4522         [BZ #16390]
4523         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4524         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4525
4526 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4527
4528         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4529         extra tokens at end of #undef directive.
4530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4531         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4532         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4533
4534 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4535
4536         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4537
4538         * math/auto-libm-test-in: Mark various tests with
4539         xfail-rounding:ldbl-128ibm.
4540         * math/auto-libm-test-out: Regenerated.
4541
4542 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4543
4544         [BZ #16386]
4545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4546         numbers with subnormal high part when calculating exponent.
4547
4548         [BZ #16385]
4549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4550         fabs.
4551
4552         [BZ #16384]
4553         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4554         M_LN2l.
4555         (__ieee754_acoshl): Use __log1pl not __log1p.
4556
4557 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4558
4559         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4560         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4561         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4562         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4563         Convert to GNU style.
4564         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4565         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4566         memalign_check, __malloc_set_state): Likewise.
4567         * malloc/mallocbug.c (main): Likewise.
4568         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4569         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4570         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4571         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4572         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4573         * malloc/malloc.h: Likewise.
4574         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4575         memalignhook, reallochook, mabort): Likewise.
4576         * malloc/mcheck.h: Likewise.
4577         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4578         mmap64, mremap, munmap, dest): Likewise.
4579         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4580         * malloc/morecore.c (__default_morecore): Likewise.
4581         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4582         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4583         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4584         print_and_abort): Likewise.
4585         * malloc/obstack.h: Likewise.
4586         * malloc/set-freeres.c (__libc_freeres): Likewise.
4587         * malloc/tst-mallocstate.c (main): Likewise.
4588         * malloc/tst-mtrace.c (main): Likewise.
4589         * malloc/tst-realloc.c (do_test): Likewise.
4590
4591 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4592
4593         [BZ #16366]
4594         * nscd/netgroupcache.c (do_notfound): New function.
4595         (addgetnetgrentX): Use it.
4596
4597         [BZ # 16365]
4598         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4599         NSS_STATUS_NOTFOUND.
4600
4601 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4602
4603         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4605
4606 2014-01-01  Allan McRae  <allan@archlinux.org>
4607
4608         * scripts/update-copyrights: Update configure input file suffix.
4609
4610         * NEWS: Update copyright year.
4611         * catgets/gencat.c: Likewise.
4612         * csu/version.c: Likewise.
4613         * debug/catchsegv.sh: Likewise.
4614         * debug/pcprofiledump.c: Likewise.
4615         * debug/xtrace.sh: Likewise.
4616         * elf/ldconfig.c: Likewise.
4617         * elf/ldd.bash.in: Likewise.
4618         * elf/pldd.c: Likewise.
4619         * elf/sotruss.ksh: Likewise.
4620         * elf/sprof.c: Likewise.
4621         * iconv/iconv_prog.c: Likewise.
4622         * iconv/iconvconfig.c: Likewise.
4623         * locale/programs/locale.c: Likewise.
4624         * locale/programs/localedef.c: Likewise.
4625         * login/programs/pt_chown.c: Likewise.
4626         * malloc/memusage.sh: Likewise.
4627         * malloc/memusagestat.c: Likewise.
4628         * malloc/mtrace.pl: Likewise.
4629         * manual/libc.texinfo: Likewise.
4630         * nscd/nscd.c: Likewise.
4631         * nss/getent.c: Likewise.
4632         * nss/makedb.c: Likewise.
4633         * posix/getconf.c: Likewise.
4634         * scripts/test-installation.pl: Likewise.
4635
4636         * All files with FSF copyright notices: Update copyright dates
4637         using scripts/update-copyrights.
4638         * intl/plural.c: Regenerated.
4639         * locale/programs/charmap-kw.h: Likewise.
4640         * locale/programs/locfile-kw.h: Likewise.
4641
4642 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4643
4644         * sysdeps/unix/sysv/linux/configure: Regenerated.
4645         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4646         the linux/fanotify.h header.
4647         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4648         HAVE_LINUX_FANOTIFY_H is defined.
4649
4650 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4651
4652         * benchtests/cos-inputs: New inputs.
4653         * benchtests/sin-inputs: Likewise.
4654
4655         * benchtests/atan-inputs: New inputs. Fix name of multiple
4656         precision fallback inputs.
4657
4658         * benchtests/atanh-inputs: New inputs.
4659         * benchtests/tanh-inputs: Likewise.
4660
4661         * benchtests/acosh-inputs: New inputs.
4662         * benchtests/asinh-inputs: Likewise.
4663
4664         * benchtests/cosh-inputs: New inputs.
4665         * benchtests/sinh-inputs: Likewise.
4666
4667         * benchtests/acos-inputs: Add more inputs.
4668         * benchtests/asin-inputs: Likewise.
4669
4670 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4671
4672         [BZ #16375]
4673         * manual/arith.texi: Fix spelling.
4674         * manual/charset.texi: Likewise.
4675         * manual/errno.texi: Likewise.
4676         * manual/filesys.texi: Likewise.
4677         * manual/lang.texi: Likewise.
4678         * manual/llio.texi: Likewise.
4679         * manual/locale.texi: Likewise.
4680         * manual/message.texi: Likewise.
4681         * manual/resource.texi: Likewise.
4682         * manual/search.texi: Likewise.
4683         * manual/setjmp.texi: Likewise.
4684         * manual/stdio.texi: Likewise.
4685         * manual/string.texi: Likewise.
4686         * manual/sysinfo.texi: Likewise.
4687         * manual/time.texi: Likewise.
4688
4689 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4690
4691         * po/sl.po: New file.
4692
4693 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4694
4695         * .gitignore: Add core/.gdbinit/.gdb_history.
4696
4697 2013-12-27  Allan McRae  <allan@archlinux.org>
4698
4699         [BZ #16369]
4700         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4701         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4702
4703 2013-12-24  Brooks Moses  <bmoses@google.com>
4704
4705         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4706         all compilers that claim C++98 compliance, not just GCC.
4707         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4708         Likewise.
4709
4710 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4711
4712         * NEWS: Restore accidentally deleted bug-fix entries.
4713
4714 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4715             Ondřej Bílka  <neleai@seznam.cz>
4716
4717         [BZ #15073]
4718         * malloc/malloc.c (_int_free): Perform sanity check only if we
4719         have_lock.
4720
4721 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4722
4723         [BZ #12986]
4724         * manual/stdio.texi (String Input Conversions): Clarify that character
4725         classes are not supported.
4726
4727 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4728
4729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4730
4731 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4732
4733         [BZ #16337]
4734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4735         Calculate results for small negative arguments directly rather
4736         than using reflection formula with special underflow handling.
4737
4738         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4739         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4740         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4741         (fchflags): Likewise.
4742         (revoke): Likewise.
4743         (setlogin): Likewise.
4744         (sigaltstack): Likewise.
4745         (wait4): Likewise.
4746         (sigblock): Remove.
4747         (sigsetmask): Likewise.
4748         (wait3): Likewise.
4749         (waitpid): Likewise.
4750         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4751         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4752         file.
4753         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4754         * sysdeps/unix/bsd/Makefile: ... here.
4755         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4756         * sysdeps/unix/bsd/Versions: ... here.
4757         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4758         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4759         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4760         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4761         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4762         * sysdeps/unix/bsd/sigblock.c: ... here.
4763         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4764         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4765         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4766         * sysdeps/unix/bsd/sigvec.c: ... here.
4767         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4768         * sysdeps/unix/bsd/tcdrain.c: ... here.
4769         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4770         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4771         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4772         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4773         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4774         * sysdeps/unix/bsd/wait.c: ... here.
4775         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4776         * sysdeps/unix/bsd/wait3.c: ... here.
4777         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4778         * sysdeps/unix/bsd/waitpid.c: ... here.
4779
4780 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4781
4782         [BZ #16356]
4783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4784         round-to-nearest for [!USE_AS_EXPM1L].
4785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4786         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4787         more tests of exp and exp10.  Expect some exp10 tests to miss
4788         exceptions or fail in directed rounding modes.
4789         * math/auto-libm-test-out: Regenerated.
4790         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4791         (exp10_test_tonearest): New function.
4792         (exp10_towardzero_test_data): New array.
4793         (exp10_test_towardzero): New function.
4794         (exp10_downward_test_data): New array.
4795         (exp10_test_downward): New function.
4796         (exp10_upward_test_data): New array.
4797         (exp10_test_upward): New function.
4798         (main): Call the new functions.
4799         * sysdeps/i386/fpu/libm-test-ulps: Update.
4800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4801
4802 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4803
4804         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4805         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4806         * math/auto-libm-test-out: Regenerated.
4807         * math/libm-test.inc (acosh_test_data): Add more tests.
4808         (atanh_test_data): Likewise.
4809         (ceil_test_data): Likewise.
4810         (copysign_test_data): Likewise.
4811         * sysdeps/i386/fpu/libm-test-ulps: Update.
4812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4813
4814         * timezone/checktab.awk: Update from tzcode 2013i.
4815         * timezone/private.h: Likewise.
4816         * timezone/scheck.c: Likewise.
4817         * timezone/tzfile.h: Likewise.
4818         * timezone/tzselect.ksh: Likewise.
4819         * timezone/zdump.c: Likewise.
4820         * timezone/zic.c: Likewise.
4821
4822         * math/auto-libm-test-in: Add tests of cpow.
4823         * math/auto-libm-test-out: Regenerated.
4824         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4825         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4826         mpc_cc_c.
4827         (func_calc_desc): Add mpc_cc_c union field.
4828         (test_functions): Add cpow.
4829         (special_fill_2pi): New function.
4830         (special_real_inputs): Add 2pi.
4831         (calc_generic_results): Handle mpc_cc_c.
4832         * sysdeps/i386/fpu/libm-test-ulps: Update.
4833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
4835         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4836         csqrt, ctan and ctanh.
4837         * math/auto-libm-test-out: Regenerated.
4838         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4839         (TEST_COND_x86): Likewise.
4840         (ccos_test_data): Use AUTO_TESTS_c_c.
4841         (ccosh_test_data): Likewise.
4842         (cexp_test_data): Likewise.
4843         (clog_test_data): Likewise.
4844         (csqrt_test_data): Likewise.
4845         (ctan_test_data): Likewise.
4846         (ctan_tonearest_test_data): Likewise.
4847         (ctan_towardzero_test_data): Likewise.
4848         (ctan_downward_test_data): Likewise.
4849         (ctan_upward_test_data): Likewise.
4850         (ctanh_test_data): Likewise.
4851         (ctanh_tonearest_test_data): Likewise.
4852         (ctanh_towardzero_test_data): Likewise.
4853         (ctanh_downward_test_data): Likewise.
4854         (ctanh_upward_test_data): Likewise.
4855         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4856         mpc_c_c.
4857         (func_calc_desc): Add mpc_c_c union field.
4858         (FUNC_mpc_c_c): New macro.
4859         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4860         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4861         ctanh.
4862         (special_fill_min_subnorm_p120): New function.
4863         (special_real_inputs): Add min_subnorm_p120.
4864         (calc_generic_results): Handle mpc_c_c.
4865         * sysdeps/i386/fpu/libm-test-ulps: Update.
4866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867
4868 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4869
4870         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4871         do_sin_slow): New functions.
4872         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4873         cslow2, csloww1, csloww2): Use the new functions.
4874
4875         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4876         Use M to change sign of result instead of X.  Assume X is
4877         positive.
4878         (csloww1): Likewise.
4879         (__sin): Adjust.
4880         (__cos): Adjust.
4881
4882         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4883         arguments A and DA.
4884         (__sin): Adjust.
4885         (__cos): Likewise.
4886
4887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4888         (__cos): Likewise.
4889         (sloww1): Don't adjust sign of DX.
4890         (csloww1): Likewise.
4891         (sloww2): Use X directly and don't adjust sign of DX.
4892         (csloww2): Likewise.
4893
4894 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4895
4896         * math/auto-libm-test-in: Add tests of cabs and carg.
4897         * math/auto-libm-test-out: Regenerated.
4898         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4899         (carg_test_data): Likewise.
4900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4901         mpc_c_f.
4902         (func_calc_desc): Add mpc_c_f union field.
4903         (test_functions): Add cabs and carg.
4904         (calc_generic_results): Handle mpc_c_f.
4905
4906         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4907         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4908         as a macro and a compat symbol.
4909         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4910         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4911         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4912         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4913         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4914         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4915         not use .hidden.
4916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4917         Likewise.
4918         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4919         Likewise.
4920         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4921         Likewise.
4922         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4923         Likewise.
4924         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4925         Likewise.
4926         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4927         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4928         from GLIBC_2.3.2.
4929
4930 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4931
4932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4933
4934 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4935
4936         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4937         trailing whitespace removed.
4938         * scripts/config.guess: Update to version 2013-11-29.
4939         * scripts/config.sub: Update to version 2013-10-01.
4940
4941         * math/auto-libm-test-in: Add tests of sincos.
4942         * math/auto-libm-test-out: Regenerated.
4943         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4945         mpfr_f_11.
4946         (func_calc_desc): Add mpfr_f_11 union field.
4947         (test_functions): Add sincos.
4948         (calc_generic_results): Handle mpfr_f_11.
4949         * sysdeps/i386/fpu/libm-test-ulps: Update.
4950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4951
4952 2013-12-19  Andreas Schwab  <schwab@suse.de>
4953
4954         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4955         CALL_MCOUNT.
4956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4957         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4958         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4959
4960 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4961
4962         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4963         * sysdeps/i386/fpu/libm-test-ulps: Update.
4964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965
4966         [BZ #16293]
4967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4968         round-to-nearest mode when using frndint.
4969         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4970         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4972         Likewise.
4973         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4974         sinh test to fail.
4975         * math/auto-libm-test-out: Regenerated.
4976         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4977         (TEST_COND_x86): Likewise.
4978         (expm1_tonearest_test_data): New array.
4979         (expm1_test_tonearest): New function.
4980         (expm1_towardzero_test_data): New array.
4981         (expm1_test_towardzero): New function.
4982         (expm1_downward_test_data): New array.
4983         (expm1_test_downward): New function.
4984         (expm1_upward_test_data): New array.
4985         (expm1_test_upward): New function.
4986         (main): Run the new test functions.
4987         * sysdeps/i386/fpu/libm-test-ulps: Update.
4988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4989
4990         * include/features.h: Update comment documenting feature test
4991         macros.  Mention _DEFAULT_SOURCE in comment.
4992         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4993         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4994         _BSD_SOURCE and _SVID_SOURCE.
4995         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4996         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4997         !_SVID_SOURCE]: Likewise.
4998         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4999         (__USE_POSIX_IMPLICITLY): Define.
5000         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5001         (_POSIX_SOURCE): Undefine and redefine.
5002         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5003         (_POSIX_C_SOURCE): Likewise.
5004         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5005         (Feature Test Macros): Update documentation of default features.
5006
5007 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5008
5009         * benchtests/Makefile: Add bench-strtok.
5010         * benchtests/bench-strtok.c: New file: strtok benchtest.
5011
5012 2013-12-19  Allan McRae  <allan@archlinux.org>
5013
5014         * manual/install.texi: Suppress menu for plain text output.
5015         * INSTALL: Regenerated.
5016
5017 2013-12-18  Brooks Moses  <bmoses@google.com>
5018
5019         [BZ #15846]
5020         * misc/getauxval.c: Include errno.h.
5021         (__getauxval): Set errno to ENOENT if the requested type is not
5022         found.
5023         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5024         don't declare with __attribute_const__.
5025         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5026         * manual/startup.texi: Document that getauxval sets errno.
5027
5028 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5029
5030         * math/auto-libm-test-in: Add tests of jn and yn.
5031         * math/auto-libm-test-out: Regenerated.
5032         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5033         (yn_test_data): Likewise.
5034         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5035         mpfr_if_f.
5036         (func_calc_desc): Add mpfr_if_f union field.
5037         (FUNC_mpfr_if_f): New macro.
5038         (test_functions): Add jn and yn.
5039         (calc_generic_results): Assert type of second input for
5040         mpfr_ff_f.  Handle mpfr_if_f.
5041         (output_for_one_input_case): Disable all checking for arguments
5042         fitting floating-point types in case of an integer argument.
5043         * sysdeps/i386/fpu/libm-test-ulps: Update.
5044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5045
5046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5047         Don't expect fegetround reference in libm.so.
5048
5049 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5050
5051         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5052         $(config-cflags-nofma).
5053
5054 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5055
5056         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5057         * math/auto-libm-test-out: Regenerated.
5058
5059         [BZ #16338]
5060         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5061         to determine exponent and adjust argument to have exponent of -1.
5062         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5063         log2.
5064         * math/auto-libm-test-out: Regenerated.
5065         * sysdeps/i386/fpu/libm-test-ulps: Update.
5066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067
5068 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5069
5070         * manual/probes.texi: Remove cases when per-thread arenas are
5071         disabled.
5072
5073 2013-12-18  Andreas Schwab  <schwab@suse.de>
5074
5075         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5076         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5077         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5078         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5079         * sysdeps/i386/i686/multiarch/Makefile: Update.
5080         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5081
5082 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5083
5084         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5085         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5086
5087 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5088
5089         [BZ #15968]
5090         Support TZ transition times < 00:00:00.
5091         This is needed for version-3 tz-format files; it supports time
5092         stamps past 2037 for America/Godthab (the only entry in the tz
5093         database for which this change is relevant).
5094         * manual/time.texi (TZ Variable): Document transition times
5095         from -167:59:59 through -00:00:01.
5096         * time/tzset.c (tz_rule): Time of day is now signed.
5097         (__tzset_parse_tz): Parse negative time of day.
5098
5099         Document TZ transition times >= 25:00:00.
5100         * manual/time.texi (TZ Variable): Document transition times from
5101         25:00:00 through 167:59:59.  These are already supported, and this
5102         support will help with version-3 tz-format files.
5103
5104         * manual/time.texi (TZ Variable): Modernize North America example
5105         to reflect current (i.e., 2007-and-later) daylight saving rules.
5106
5107         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5108
5109 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5110
5111         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5112         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5115         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5116         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5117         * sysdeps/unix/bsd/clock.c: Likewise.
5118         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5119         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5120         * sysdeps/unix/bsd/init-posix.c: Likewise.
5121         * sysdeps/unix/bsd/poll.c: Likewise.
5122         * sysdeps/unix/bsd/ptsname.c: Likewise.
5123         * sysdeps/unix/bsd/seekdir.c: Likewise.
5124         * sysdeps/unix/bsd/setegid.c: Likewise.
5125         * sysdeps/unix/bsd/seteuid.c: Likewise.
5126         * sysdeps/unix/bsd/setgid.c: Likewise.
5127         * sysdeps/unix/bsd/setrgid.c: Likewise.
5128         * sysdeps/unix/bsd/setruid.c: Likewise.
5129         * sysdeps/unix/bsd/setsid.c: Likewise.
5130         * sysdeps/unix/bsd/setuid.c: Likewise.
5131         * sysdeps/unix/bsd/sigaction.c: Likewise.
5132         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5133         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5134         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5135         * sysdeps/unix/bsd/telldir.c: Likewise.
5136         * sysdeps/unix/bsd/times.c: Likewise.
5137         * sysdeps/unix/bsd/usleep.c: Likewise.
5138
5139         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5140         ($(objpfx)libbsd-compat.a): Remove rule.
5141
5142         * include/features.h (__FAVOR_BSD): Do not define.
5143         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5144         features conflicting with POSIX.
5145         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5146         (_BSD_SOURCE): Remove description of not being a subset of other
5147         feature test macros.
5148         * manual/job.texi (getpgrp): Do not document BSD version.
5149         (getpgid): Do not document by reference to BSD getpgrp.
5150         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5151         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5152         * signal/signal.h [__FAVOR_BSD]: Likewise.
5153         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5154         instead of making contents conditional on [__FAVOR_BSD].
5155         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5156
5157 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5158
5159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5160
5161 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5162
5163         [BZ #16314]
5164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5165         values below 2**-450, not 2**-500.
5166         * math/auto-libm-test-in: Don't allow spurious underflow from
5167         hypot.
5168         * math/auto-libm-test-out: Regenerated.
5169
5170         [BZ #16316]
5171         [BZ #16330]
5172         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5173         values of ha and hb and sort them after adjusting subnormal
5174         arguments.
5175         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5176         Likewise.
5177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5178         values of ea and eb and sort them after adjusting subnormal
5179         arguments.
5180         * math/auto-libm-test-in: Do not expect some hypot tests of
5181         subnormals to fail.  Add more hypot tests.
5182         * math/auto-libm-test-out: Regenerated.
5183
5184 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5185
5186         [BZ #13304]
5187         * sysdeps/sh/s_fma.c: New file.
5188         * sysdeps/sh/s_fmaf.c: New file.
5189         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5190         version.
5191         * sysdeps/sh/Implies: Add sh/soft-fp.
5192
5193 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5194
5195         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5196         level of indirection to members `objname', `errstring', `malloced'.
5197         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5198         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5199         it as the __longjmp argument (just pass 1 instead).
5200         (_dl_catch_error): Initialize C with argument pointers and address of
5201         volatile local ERRCODE rather than copying values out of C at return.
5202
5203 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5204
5205         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5206         * math/auto-libm-test-out: Regenerated.
5207         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5208         (hypot_test_data): Likewise.
5209         (pow_test_data): Likewise.
5210         (pow_tonearest_test_data): Likewise.
5211         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5212         mpfr_ff_f.
5213         (func_calc_desc): Add mpfr_ff_f union field.
5214         (FUNC_mpfr_ff_f): New macro.
5215         (test_functions): Add atan2, hypot and pow.
5216         (special_fill_min): New function.
5217         (special_fill_minus_min): Likewise.
5218         (special_fill_min_subnorm): Likewise.
5219         (special_fill_minus_min_subnorm): Likewise.
5220         (special_real_inputs): Add min, -min, min_subnorm and
5221         -min_subnorm.
5222         (calc_generic_results): Handle mpfr_ff_f.
5223         * sysdeps/i386/fpu/libm-test-ulps: Update.
5224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
5226 2013-12-16  Will Newton  <will.newton@linaro.org>
5227
5228         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5229         (Aligned Memory Blocks): Add documentation for aligned_alloc
5230         and suggest it as an alternative to posix_memalign.
5231         (Hooks for Malloc): Document __memalign_hook is also called
5232         for aligned_alloc.  (Summary of Malloc): Add summary for
5233         aligned alloc.  Document __memalign_hook is also called
5234         for aligned_alloc.
5235
5236 2013-12-16  Will Newton  <will.newton@linaro.org>
5237
5238         * manual/memory.texi (Malloc Examples): Clarify default
5239         alignment documentation.  Suggest posix_memalign rather
5240         than memalign or valloc.
5241         (Aligned Memory Blocks): Remove suggestion to use memalign
5242         or valloc.  Remove obsolete comment about BSD.
5243         Document memalign errno values and mark the function obsolete.
5244         Document posix_memalign returned error codes.  Mark valloc
5245         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5246         called for posix_memalign and valloc.
5247         (Summary of Malloc): Add posix_memalign to function summary.
5248         __memalign_hook is also called for posix_memalign and valloc.
5249
5250 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5251
5252         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5253         TAYLOR_SIN.
5254         (__sin): Adjust.
5255         (__cos): Likewise.
5256         (sloww): Use mynumber union.  Expand ternary operator into
5257         if-else statements.
5258         (cslow): use mynumber union.
5259
5260 2013-12-16  Allan McRae  <allan@archlinux.org>
5261
5262         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5263         * configure: Regenerated.
5264
5265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5266
5267         [BZ #14120]
5268         * configure.ac: Added --enable-maintainer-mode. Check for
5269         autoconf when enabled.
5270         * configure: Regenerated.
5271
5272         * nscd/nscd.service: New file.
5273         * nscd/nscd.tmpfiles: New file.
5274
5275 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5276
5277         [BZ #12100]
5278         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5279         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5280         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5281         (strstr): Add __strstr_sse2_unaligned ifunc.
5282         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5283         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5284         (strcasestr): Remove __strcasestr_sse42 ifunc.
5285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5288
5289 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5290
5291         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5292         * sysdeps/sh/bits/fenv.h: ... here.
5293         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5294
5295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5296
5297         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5298
5299 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5300
5301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5302         hypotf multiarch implementations.
5303         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5306         multiarch hypot for PPC64.
5307         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5310         multiarch hypotf for PPC64.
5311
5312 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5313
5314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5315         modff multiarch implementations.
5316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5319         multiarch modf for PPC64.
5320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5323         multiarch modff for PPC64.
5324
5325 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5326
5327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5328         and logl multiarch implementations.
5329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5332         multiarch logb for PPC64.
5333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5336         multiarch logb for PPC64.
5337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5340         multiarch logb for PPC64.
5341
5342 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5343
5344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5345         isinff multiarch implementation.
5346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5347         file.
5348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5350         multiarch isinf for PPC64.
5351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5352         file.
5353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5354         multiarch isinff for PPC64.
5355
5356 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5357
5358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5359         finitef multiarch implementation.
5360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5361         file.
5362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5364         multiarch finite for PPC64.
5365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5366         file.
5367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5368         multiarch finitef for PPC64.
5369
5370 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5371
5372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5373         lrint multiarch implementation.
5374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5375         file.
5376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5378         multiarch llrint for PPC64.
5379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5380         multiarch lrint for PPC64.
5381
5382 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5383
5384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5385         copysignf multiarch implementation.
5386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5387         file.
5388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5389         file.
5390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5391         multiarch copysign for PPC64.
5392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5393         multiarch copysignf for PPC64.
5394
5395 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5396
5397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5398         multiarch implementation.
5399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5400         file.
5401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5402         file.
5403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5404         file.
5405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5406         file.
5407         multiarch llround for PPC64.
5408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5409         multiarch trunc for PPC64.
5410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5411         multiarch truncf for PPC64.
5412
5413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5414
5415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5416         multiarch implementation.
5417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5418         file.
5419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5420         file.
5421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5422         file.
5423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5424         file.
5425         multiarch llround for PPC64.
5426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5427         multiarch round for PPC64.
5428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5429         multiarch roundf for PPC64.
5430
5431 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5432
5433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5434         multiarch implementation.
5435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5436         file.
5437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5438         file.
5439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5440         file.
5441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5442         file.
5443         multiarch llround for PPC64.
5444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5445         multiarch floor for PPC64.
5446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5447         multiarch floorf for PPC64.
5448
5449 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5450
5451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5452         multiarch implementation.
5453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5454         file.
5455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5456         file.
5457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5458         file.
5459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5460         file.
5461         multiarch llround for PPC64.
5462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5463         multiarch ceil for PPC64.
5464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5465         multiarch ceilf for PPC64.
5466
5467 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5468
5469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5470         multiarch implementation.
5471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5472         file.
5473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5474         file.
5475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5476         file.
5477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5478         multiarch llround for PPC64.
5479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5480         multiarch lround for PPC64.
5481
5482 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5483
5484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5485         multiarch implementation.
5486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5489         file.
5490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5493         multiarch isnan for PPC64.
5494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5495         multiarch isnanf for PPC64.
5496
5497 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5498
5499         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5500         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5501         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5502         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5503         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5505
5506 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5507
5508         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5509         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5511         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5512
5513 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5514
5515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5516         multiarch implementations.
5517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5518         (__libc_ifunc_impl_list): Likewise.
5519         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5522         multiarch stpcpy for PPC64.
5523
5524 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5525
5526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5527         multiarch implementations.
5528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5529         (__libc_ifunc_impl_list): Likewise.
5530         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5532         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5533         multiarch strcpy for PPC64.
5534
5535 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5536
5537         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5538         redefine function name.
5539         (_wordcopy_fwd_dest_aligned): Likewise.
5540         (_wordcopy_bwd_aligned): Likewise.
5541         (_wordcopy_bwd_dest_aligned): Likewise.
5542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5543         multiarch implementations.
5544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5545         (__libc_ifunc_impl_list): Likewise.
5546         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5547         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5549         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5550         multiarch wcscpy for PPC64.
5551
5552 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5553
5554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5555         multiarch implementations.
5556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5557         (__libc_ifunc_impl_list): Likewise.
5558         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5559         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5560         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5561         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5562         multiarch wcscpy for PPC64.
5563
5564 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5565
5566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5567         multiarch implementations.
5568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5569         (__libc_ifunc_impl_list): Likewise.
5570         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5571         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5572         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5574         multiarch wcsrchr for PPC64.
5575
5576 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5577
5578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5579         multiarch implementations.
5580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5581         (__libc_ifunc_impl_list): Likewise.
5582         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5584         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5585         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5586         multiarch wcschr for PPC64.
5587
5588 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5589
5590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5591         multiarch implementations.
5592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5593         (__libc_ifunc_impl_list): Likewise.
5594         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5595         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5597         multiarch strchrnul for PPC64.
5598
5599 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5600
5601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5602         implementations.
5603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5604         (__libc_ifunc_impl_list): Likewise.
5605         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5606         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5607         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5608         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5609         strchr for PPC64.
5610
5611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5612
5613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5614         implementations.
5615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5616         (__libc_ifunc_impl_list): Likewise.
5617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5619         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5620         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5621         strncmp for PPC64.
5622
5623 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5624
5625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5626         multiarch implementations.
5627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628         (__libc_ifunc_impl_list): Likewise.
5629         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5630         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5631         strncasecmp for PPC64.
5632         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5633         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5634         multiarch strncasecmp_l for PPC64.
5635
5636 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5637
5638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5639         multiarch implementations.
5640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5641         (__libc_ifunc_impl_list): Likewise.
5642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5644         multiarch strcasecmp for PPC64.
5645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5646         file.
5647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5648         multiarch strcasecmp_l for PPC64.
5649
5650 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5651
5652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5653         implementations.
5654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5655         (__libc_ifunc_impl_list): Likewise.
5656         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5657         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5658         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5659         strnlen for PPC64.
5660
5661 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5662
5663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5664         implementations.
5665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5666         (__libc_ifunc_impl_list): Likewise.
5667         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5668         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5669         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5670         strlen for PPC64.
5671
5672 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5673
5674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5675         implementations.
5676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5677         (__libc_ifunc_impl_list): Likewise.
5678         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5679         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5680         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5681         rawmemrchr for PPC64.
5682
5683 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5684
5685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5686         implementation.
5687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5688         (__libc_ifunc_impl_list): Likewise.
5689         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5690         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5691         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5692         memrchr for PPC64.
5693
5694 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5695
5696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5697         implementation.
5698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5699         (__libc_ifunc_impl_list): Likewise.
5700         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5701         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5702         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5703         memchr for PPC64.
5704
5705 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5706
5707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5708         implementation.
5709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5710         (__libc_ifunc_impl_list): Likewise.
5711         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5712         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5713         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5714         mempcpy for PPC64.
5715
5716 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5717
5718         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5719         avoid cretion of __bzero symbol.
5720         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5721         Likewise.
5722         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5723         Likewise.
5724         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5725         Likewise.
5726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5727         multiarch implementations.
5728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5729         (__libc_ifunc_impl_list): Likewise.
5730         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5731         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5732         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5733         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5734         bzero for PPC32.
5735         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5736         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5737         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5738         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5739         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5740         memset for PPC64.
5741         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5742
5743 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5744
5745         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5747         implementations.
5748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5749         (__libc_ifunc_impl_list): Likewise.
5750         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5753         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5754         memcmp for PPC64.
5755
5756 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5757
5758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5759         multiarch for POWER/PPC64.
5760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5761         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5768         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5769         memcpy for PPC64.
5770
5771 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5772
5773         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5774         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5775         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5776         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5777         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5778         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5779         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5780         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5781         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5782         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5783         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5784         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5785         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5786         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5787         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5795
5796 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5797
5798         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5799
5800 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5801
5802         * benchtests/Makefile (bench): Add exp2 and log2.
5803         (LDLIBS-bench-exp2): Add -lm.
5804         (LDLIBS-bench-log2): Likewise.
5805         * benchtests/exp2-inputs: New inputs file.
5806         * benchtests/log2-inputs: New inputs file.
5807         * benchtests/log-inputs: Add new inputs.
5808         * benchtests/tan-inputs: Likewise.
5809
5810 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5811
5812         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5813         definition...
5814         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5815         csloww1, csloww2): ... from here.
5816
5817         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5818         instead of structures.
5819         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5820         (POLYNOMIAL): Likewise.
5821         (TAYLOR_SLOW): Likewise.
5822         (__sin): Likewise.
5823         (__cos): Likewise.
5824         (slow1): Likewise.
5825         (slow2): Likewise.
5826         (sloww): Likewise.
5827         (sloww1); Likewise.
5828         (sloww2): Likewise.
5829         (bsloww1): Likewise.
5830         (bsloww2): Likewise.
5831         (cslow2): Likewise.
5832         (csloww): Likewise.
5833         (csloww1): Likewise.
5834         (csloww2): Likewise.
5835
5836 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5837
5838         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5839         (__malloc_assert, __libc_realloc, __libc_calloc,
5840         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5841         memcpy and memset.
5842         * malloc/hooks.c (realloc_check): Likewise.
5843
5844 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5845
5846         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5847         * malloc/arena.c: Remove PER_THREAD conditional.
5848         [!PER_THREAD]: Remove code.
5849         (ptmalloc_unlock_all2): Likewise.
5850         (ptmalloc_init): Likewise.
5851         (_int_new_arena): Likewise.
5852         (arena_get2): Likewise.
5853         * malloc/hooks.c (__malloc_get_state): Likewise.
5854         (__malloc_set_state): Likewise.
5855         * malloc/malloc.c: Likewise.
5856         (struct malloc_state): Likewise.
5857         (struct malloc_par): Likewise.
5858         (__libc_realloc): Likewise.
5859         (__libc_mallopt): Likewise.
5860
5861 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5862
5863         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5864
5865 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5866
5867         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5868         macro to a function.  Check for zero perturb_byte.
5869         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5870
5871 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5872
5873         * malloc/malloc.c: (force_reg): Remove.
5874         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5875         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5876         force_reg by atomic_forced_read.
5877         * malloc/arena.c (ptmalloc_init): Likewise.
5878         * malloc/hooks.c (top_check): Likewise.
5879
5880 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5881
5882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5883
5884 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5885
5886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5887
5888 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5889
5890         * math/auto-libm-test-in: Add tests of lgamma.
5891         * math/auto-libm-test-out: Regenerated.
5892         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5893         (M_LOG_2_SQRT_PIl): Likewise.
5894         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5895         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5896         mpfr_f_f1.
5897         (func_calc_desc): Add mpfr_f_f1 union field.
5898         (ARGS1): New macro.
5899         (ARGS2): Likewise.
5900         (ARGS3): Likewise.
5901         (ARGS4): Likewise.
5902         (RET1): Likewise.
5903         (RET2): Likewise.
5904         (CALC): Likewise.
5905         (FUNC): Likewise.
5906         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5907         (test_functions): Add lgamma.
5908         (calc_generic_results): Handle mpfr_f_f1.
5909         * sysdeps/i386/fpu/libm-test-ulps: Update.
5910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911
5912 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5913
5914         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5915         __mpn_add_n for PowerPC64/POWER7.
5916         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5917         __mpn_sub_n for PowerPC64/POWER7.
5918
5919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5920
5921         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5922         __mpn_addmul_1 for PowerPC64.
5923         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5924         __mpn_submul_1 for PowerPC64.
5925         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5926         for PowerPC64.
5927         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5928         for PowerPC64.
5929
5930 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5931
5932         [BZ #15089]
5933         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5934
5935 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5936
5937         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5938
5939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5940
5941         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5942         add multiarch folders.
5943         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5944         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5945         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5946         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5947         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5948         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5949         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5950         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5951         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5952         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5953         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5960
5961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5962
5963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5964         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5966         New file.
5967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5968         New file.
5969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5970         multiarch __ieee754_hypot for PowerPC32.
5971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5972         New file.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5974         New file.
5975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5976         multiarch __ieee754_hypotf for PowerPC32.
5977
5978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5979
5980         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5981         long_double_symbol only if __logbl is defined.
5982         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5983         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5985         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5986         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5987         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5988         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5989         path for implementation.
5990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5993         logb, and logbl multiarch implementations for PowerPC32.
5994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5995         file.
5996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5997         file.
5998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5999         multiarch logb for PowerPC32.
6000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6001         file.
6002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6003         file.
6004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6005         multiarch logbf for PowerPC32.
6006         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6008         file.
6009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6010         multiarch logbl implementation for PowerPC32.
6011
6012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6013
6014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6015         and modff multiarch implementations.
6016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6017         New file.
6018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6019         New file.
6020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6021         multiarch modf for PowerPC32.
6022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6023         New file.
6024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6025         New file.
6026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6027         multiarch modff for PowerPC32.
6028
6029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6030
6031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6032         and lrintf multiarch implementations.
6033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6034         New file.
6035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6036         New file.
6037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6038         multiarch lrint for PowerPC32.
6039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6040         file: multiarch lrintf for PowerPC32.
6041
6042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6043
6044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6045         and lroundf multiarch implementations.
6046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6047         New file.
6048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6049         New file.
6050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6051         New file.
6052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6053         multiarch lround for PowerPC32.
6054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6055         file: multiarch lroundf for PowerPC32.
6056
6057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6058
6059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6060         copysign and copysignf multiarch implementations.
6061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6062         New file.
6063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6064         New file.
6065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6066         file: multiarch copysign for PowerPC32.
6067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6068         file: multiarch copysignf for PowerPC32.
6069
6070 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6071
6072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6073         and truncf multiarch implementations.
6074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6075         New file.
6076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6077         file.
6078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6079         multiarch trunc for PowerPC32.
6080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6081         New file.
6082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6083         New file.
6084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6085         multiarch truncf for PowerPC32.
6086
6087 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6088
6089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6090         and roundf multiarch implementations.
6091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6092         New file.
6093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6094         file.
6095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6096         multiarch round for PowerPC32.
6097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6098         New file.
6099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6100         New file.
6101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6102         multiarch roundf for PowerPC32.
6103
6104 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6105
6106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6107         and floorf multiarch implementations.
6108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6109         New file.
6110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6111         file.
6112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6113         multiarch floor for PowerPC32.
6114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6115         New file.
6116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6117         New file.
6118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6119         multiarch floorf for PowerPC32.
6120
6121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6122
6123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6124         and ceilf multiarch implementations.
6125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6126         New file.
6127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6128         file.
6129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6130         multiarch ceil for PowerPC32.
6131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6132         New file.
6133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6134         file.
6135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6136         multiarch ceilf for PowerPC32.
6137
6138 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6139
6140         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6141         is defined.
6142         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6143         FINITEF is defined.
6144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6145         and finitef multiarch implementations.
6146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6147         New file.
6148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6149         file.
6150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6151         multiarch finite for PowerPC32.
6152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6153         New file.
6154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6155         file: multiarch finitef for PowerPC32.
6156
6157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6158
6159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6160         and isinff multiarch implementations.
6161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6162         file.
6163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6164         file.
6165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6166         multiarch isinf for PowerPC32.
6167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6168         New file.
6169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6170         multiarch isinff for PowerPC32.
6171
6172 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173
6174         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6175         alias when __isnan is defined.
6176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6177         and isnanf multiarch implementations.
6178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6179         file.
6180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6181         file.
6182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6183         file.
6184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6185         file.
6186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6187         multiarch isnan for PowerPC32.
6188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6189         New file.
6190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6191         New file.
6192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6193         multiarch isnanf for PowerPC32.
6194
6195 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196
6197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6198         and sqrtf multiarch implementations.
6199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6200         file.
6201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6202         file.
6203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6204         multiarch sqrt for PowerPC32.
6205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6206         file.
6207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6208         file.
6209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6210         multiarch sqrtf for PowerPC32.
6211
6212 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6213
6214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6215         and llroundf multiarch implementations.
6216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6217         New file.
6218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6219         New file.
6220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6221         New file.
6222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6223         file: multiarch llround for PowerPC32.
6224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6225         file: multiarch llroundf for PowerPC32.
6226
6227 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6228
6229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6230         multiarch PowerPC32 fpu implementations.
6231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6232         New file.
6233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6234         New file.
6235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6236         multiarch llrint for PowerPC32.
6237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6238         New file.
6239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6240         New file.
6241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6242         file.
6243
6244 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6245
6246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6247
6248 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6249
6250         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6251         file.
6252         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6253         file.
6254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6255         file.
6256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6257         multiarch wordcopy for PPC32.
6258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6259         wordcopy objects.
6260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6261         (__libc_ifunc_impl_list): Likewise.
6262         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6263         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6264         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6265         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6267         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6268
6269 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6270
6271         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6273         file.
6274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6275         file.
6276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6277         file.
6278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6279         multiarch wcscpy for PPC32.
6280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6281         multiarch objects.
6282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6283         (__libc_ifunc_impl_list): Likewise.
6284         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6285         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6286         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6287         sysdeps/powerpc/power6/wcscpy.c.
6288
6289 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6290
6291         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6293         file.
6294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6295         file.
6296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6297         file.
6298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6299         multiarch wcsrchr for PPC32.
6300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6301         multiarch objects.
6302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6303         (__libc_ifunc_impl_list): Likewise.
6304         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6305         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6306         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6307         sysdeps/powerpc/power6/wcsrchr.c.
6308
6309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6310
6311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6312         file.
6313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6314         file.
6315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6317         multiarch wcschr for PPc32.
6318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6319         multiarch objects.
6320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6321         (__libc_ifunc_impl_list): Likewise.
6322         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6323         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6324         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6325         sysdeps/powerpc/power6/wcschr.c.
6326
6327 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6328
6329         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6330         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6331         file.
6332         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6333         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6334         file: multiarch strchr for PPC32.
6335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6336         multiarch objects.
6337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6338         (__libc_ifunc_impl_list): Likewise.
6339
6340 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341
6342         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6343         name.
6344         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6345         file.
6346         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6347         file.
6348         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6349         multiarch strchrnul for PPC32.
6350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6351         multiarch objects.
6352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6353         (__libc_ifunc_impl_list): Likewise.
6354
6355 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6356
6357         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6358         file.
6359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6360         multiarch strncasecmp for PPC32.
6361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6362         file.
6363         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6364         multiarch strncasecmp_l for PPC32.
6365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6366         strncasecmp multiarch objects.
6367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6368         (__libc_ifunc_impl_list): Likewise.
6369
6370 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6371
6372         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6373         file.
6374         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6375         multiarch strncasecmp for PPC32.
6376         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6377         New file.
6378         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6379         multiarch strcasecmp_l for PPC32.
6380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6381         multiarch objects.
6382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6383         (__libc_ifunc_impl_list): Likewise.
6384
6385 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6386
6387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6388         file.
6389         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6390         file.
6391         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6392         multiarch strncmp for PPC32.
6393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6394         multiarch objects.
6395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6396         (__libc_ifunc_impl_list): Likewise.
6397
6398 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6399
6400         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6401         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6402         file.
6403         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6404         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6406         multiarch objects.
6407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6408         (__libc_ifunc_impl_list): Likewise.
6409
6410 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6411
6412         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6413         file.
6414         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6415         file.
6416         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6418         multiarch objects.
6419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6420         (__libc_ifunc_impl_list): Likewise.
6421
6422 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6423
6424         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6425         file.
6426         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6427         file.
6428         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6429         multiarch rawmemchr for PPC32.
6430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6431         multiarch objects.
6432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6433         (__libc_ifunc_impl_list): Likewise.
6434
6435 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6436
6437         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6438         file.
6439         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6440         file.
6441         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6442         file: memrchr multiarch for PPC32.
6443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6444         multiarch objects.
6445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6446         (__libc_ifunc_impl_list): Likewise.
6447
6448 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6449
6450         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6452         file.
6453         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6455         multiarch memchr for PPC32.
6456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6457         multiarch objects.
6458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6459         (__libc_ifunc_impl_list): Likewise.
6460
6461 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6462
6463         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6464         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6465         file.
6466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6467         file.
6468         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6469         file: multiarch mempcpy for PPC32.
6470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6471         multiarch objects.
6472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6473         (__libc_ifunc_impl_list): Likewise.
6474
6475 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6476
6477         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6478         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6481         multiarch bzero for PPC32.
6482         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6483         file.
6484         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6485         file.
6486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6487         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6488         file: multiarch memset for PPC32.
6489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6491         memset multiarch objects.
6492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6493         (__libc_ifunc_impl_list): Likewise.
6494
6495 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6496
6497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6498         file.
6499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6501         memcmp for PPC32.
6502         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6504         multiarch objects.
6505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6506         (__libc_ifunc_impl_list): Likewise.
6507
6508 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6509
6510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6513         file.
6514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6515         file.
6516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6517         file.
6518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6519         multiarch memcpy for PPC32.
6520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6521         multiarch objects.
6522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6523         (__libc_ifunc_impl_list): Likewise.
6524
6525 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6526
6527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6528         support multiarch for POWER/PPC32.
6529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6530         Likewise.
6531         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6533         Implies file to make multiarch folder appers before the fpu and
6534         default folder for power4 configuration.
6535
6536 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6537
6538         * scripts/bench.pl: Append volatile keyword to type.
6539
6540 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6541
6542         * sysdeps/sh/sotruss-lib.c: New file.
6543         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6544
6545 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6546
6547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6548
6549 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6550
6551         [BZ #6810]
6552         * math/w_tgamma.c: Include <errno.h>.
6553         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6554         * math/w_tgammaf.c: Include <errno.h>.
6555         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6556         * math/w_tgammal.c: Include <errno.h>.
6557         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6558         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6559         underflow.  Add more tgamma tests.
6560         * math/auto-libm-test-out: Regenerated.
6561         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6563
6564         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6565         sin, sinh, tan, tanh, tgamma, y0 and y1.
6566         * math/auto-libm-test-out: Regenerated.
6567         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6568         (TEST_COND_x86): Likewise.
6569         (M_E2l): Remove macro.
6570         (M_E3l): Likewise.
6571         (M_2_SQRT_PIl): Likewise.
6572         (M_SQRT_PIl): Likewise.
6573         (M_1_DIV_El): Likewise.
6574         (log_test_data): Use AUTO_TESTS_f_f.
6575         (log10_test_data): Likewise.
6576         (log1p_test_data): Likewise.
6577         (log2_test_data): Likewise.
6578         (sin_test_data): Likewise.
6579         (sin_tonearest_test_data): Likewise.
6580         (sin_towardzero_test_data): Likewise.
6581         (sin_downward_test_data): Likewise.
6582         (sin_upward_test_data): Likewise.
6583         (sinh_test_data): Likewise.
6584         (sinh_tonearest_test_data): Likewise.
6585         (sinh_towardzero_test_data): Likewise.
6586         (sinh_downward_test_data): Likewise.
6587         (sinh_upward_test_data): Likewise.
6588         (tan_test_data): Likewise.
6589         (tan_tonearest_test_data): Likewise.
6590         (tan_towardzero_test_data): Likewise.
6591         (tan_downward_test_data): Likewise.
6592         (tan_upward_test_data): Likewise.
6593         (tanh_test_data): Likewise.
6594         (tgamma_test_data): Likewise.
6595         (y0_test_data): Likewise.
6596         (y1_test_data): Likewise.
6597         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6598         (special_real_inputs): Add pi/4.
6599         * sysdeps/i386/fpu/libm-test-ulps: Update.
6600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6601
6602 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6603
6604         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6605         "longjmp_target" static probes.
6606         (__longjmp): Rename to __longjmp_symbol.
6607         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6608         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6609         on which longjmp to generate.
6610         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6612         probe.
6613         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6614         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6615         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6616         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6617         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6618         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6620         __longjmp_symbol based on which __longjmp to generate.
6621         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6622         probe.
6623         (setjmp): Rename to setjmp_symbol.
6624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6625         (_setjmp): Rename to _setjmp_symbol.
6626         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6627         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6628         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6629         which setjmp to generate.
6630         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6631         "longjmp_target" static probes.
6632
6633 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6634
6635         * benchtests/README: Add note about output arguments.
6636         * benchtests/bench-sincos.c: Remove file.
6637         * benchtests/sincos-inputs: New file.
6638         * scripts/bench.pl: Identify output arguments and define
6639         static variables for them.
6640
6641         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6642
6643         [BZ #15941]
6644         * Makefile (INSTALL): Add install-plain.texi as the primary
6645         dependency.
6646         * manual/install-plain.texi: New file.
6647         * manual/install.texi: Include node directive only for
6648         non-plaintext output.
6649
6650 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6651
6652         * stdlib/longlong.h: Update from GCC.
6653
6654         [BZ #6807]
6655         [BZ #15901]
6656         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6657         * math/w_j0f.c (y0f): Likewise.
6658         * math/w_j0l.c (__y0l): Likewise.
6659         * math/w_j1.c (y1): Likewise.
6660         * math/w_j1f.c (y1f): Likewise.
6661         * math/w_j1l.c (__y1l): Likewise
6662         * math/w_jn.c (yn): Likewise.
6663         * math/w_jnf.c (ynf): Likewise.
6664         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6665         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6666         value for Bessel function domain errors outside _SVID_ mode.
6667         Adjust sign of return value for yn (negative integer, 0).
6668         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6669         by zero in return for negative x and set sign appropriately for
6670         negative n.
6671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6672         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6673         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6674         expectations in error cases.
6675         (y1_test_data): Likewise.
6676         (yn_test_data): Likewise.
6677         * sysdeps/i386/fpu/libm-test-ulps: Update.
6678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6679
6680 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6681
6682         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6683         "64" to "64-v1".  Add "64-v2".
6684         (abi-64-options): Rename to ...
6685         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6686         (abi-64-condition): Rename to ...
6687         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6688         (abi-64-ld-soname): Rename to ...
6689         (abi-64-v1-ld-soname): ... this.
6690         (abi-64-v2-options): Define.
6691         (abi-64-v2-condition): Likewise.
6692         (abi-64-v2-ld-soname): Likewise.
6693         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6694         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6698
6699 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6700             Alan Modra  <amodra@gmail.com>
6701
6702         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6703         New versions for use with the ELFv2 ABI.
6704         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6705         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6706         declaration.
6707         (struct La_ppc64v2_retval): Likewise.
6708         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6709         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6710         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6711         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6712         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6714         Do not save or restore CR.
6715         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6716         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6717         return values for ELFv2 ABI.  Fix location of FPR return registers.
6718         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6719         updated values for _CALL_ELF == 2.
6720         (La_regs, La_retval, int_retval): Likewise.
6721
6722 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6723
6724         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6725         (FRAME_MIN_SIZE_PARM): Likewise.
6726         (FRAME_BACKCHAIN): Likewise.
6727         (FRAME_CR_SAVE): Likewise.
6728         (FRAME_LR_SAVE): Likewise.
6729         (FRAME_TOC_SAVE): Likewise.
6730         (FRAME_PARM_SAVE): Likewise.
6731         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6732         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6733         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6734         (call_mcount_parm_offset): New macro.
6735         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6736         (PROF): Use symbolic stack frame offsets.
6737         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6739         Redefine in terms of FRAME_MIN_SIZE.
6740         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6741         (_dl_profile_resolve): Likewise.  Update comment.
6742         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6743         symbols stack frame offsets.
6744         (__sigsetjmp): Likewise.
6745         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6746         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6747         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6748         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6749
6750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6751         (FRAME_BACKCHAIN): Remove.
6752         (FRAME_CR_SAVE): Likewise.
6753         (FRAME_LR_SAVE): Likewise.
6754         (FRAME_COMPILER_DW): Likewise.
6755         (FRAME_LINKER_DW): Likewise.
6756         (FRAME_TOC_SAVE): Likewise.
6757         (FRAME_PARM_SAVE): Likewise.
6758         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6759         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6760         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6762         (CHECK_SP): Use symbolic stack frame offsets.
6763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6764         zone" instead of caller's parameter save area for temp storage.
6765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6766         Likewise.  Also, use symbolic stack frame offsets.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6768         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6769         our own stack frame instead of the caller's.
6770         (__socket): Use symbolic stack frame offsets.
6771
6772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6773             Alan Modra  <amodra@gmail.com>
6774
6775         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6776         Define.
6777         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6778         PPC64_LOCAL_ENTRY_OFFSET): Define.
6779         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6780         New function.
6781         (elf_machine_fixup_plt): Call it.
6782         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6783         reloc arguments.
6784         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6786         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6787         r2 before calling target.
6788
6789 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6790             Alan Modra  <amodra@gmail.com>
6791
6792         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6793         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6794         versions of macros to support ELFv2 ABI.
6795         (LOCALENTRY): New macro.
6796         (ENTRY, EALIGN): Use it.
6797         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6798         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6799         fall through into ENTRY entry point.
6800         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6801         Only define if _CALL_ELF != 2.
6802
6803         (elf_machine_matches_host): Verify ABI version matches.
6804         (RTLD_START): Use LOCALENTRY.
6805         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6806         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6807         (PLT_ENTRY_WORDS): New macro.
6808         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6809         (elf_machine_runtime_setup): Support ELFv2 ABI.
6810         (elf_machine_fixup_plt): Likewise.
6811         (elf_machine_plt_conflict): Likewise.
6812         (resolve_ifunc): Likewise.
6813         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6815         Likewise.
6816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6817         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6819         (makecontext): Support ELFv2 ABI.
6820         * elf/elf.h (EF_PPC64_ABI): Define.
6821
6822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6823
6824         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6825         New assembler macro.
6826         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6827         [ASSEMBLER] (ENTRY): ... but instead here ...
6828         [ASSEMBLER] (EALIGN): ... and here.
6829         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6830         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6831         [!ASSEMBLER] (ENTRY_2): Use it.
6832         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6833         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6835         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6836         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6838         Use PPC64_LOAD_FUNCPTR.
6839
6840 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6841
6842         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6843
6844 2013-12-04  Alan Modra  <amodra@gmail.com>
6845
6846         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6847         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6848         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6849         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6850
6851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6852         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6853         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6854         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6855         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6856         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6857
6858 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6859
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6861         (__makecontext): Fix incorrect CFI when backtracing out of
6862         context created via makecontext.
6863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6864         (__setcontext): Fix incorrect CFI during switch to new context.
6865         (__novec_setcontext): Likewise.
6866
6867 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6868
6869         [BZ #4772]
6870         * time/strptime_l.c (__strptime_internal): Allow modifiers
6871         in strptime.
6872         * time/tst-strptime.c (day_tests): Add testcase.
6873
6874
6875 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6876
6877         * scripts/bench.pl: Skip over blank lines.
6878
6879 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6880
6881         [BZ #926]
6882         * manual/time.texi (Calendar Time): Clarify what timezone functions
6883         use.
6884
6885 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6886
6887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6888
6889 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6890
6891         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6892         implementation.
6893         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6894         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6895         * debug/memset_chk.c (__memset_chk): Likewise.
6896         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6897         * debug/strncpy_chk.c: Likewise.
6898
6899 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6900
6901         [BZ #15268]
6902         [BZ #15425]
6903         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6904         (__ieee754_exp): For possibly underflowing results, check size of
6905         result and force underflow exception if required.
6906         * math/auto-libm-test-in: Add more tests of exp.
6907         * math/auto-libm-test-out: Regenerated.
6908         * sysdeps/i386/fpu/libm-test-ulps: Update.
6909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
6911         [BZ #16283]
6912         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6913         * math/w_exp2f.c (__exp2f): Likewise.
6914         * math/w_exp2l.c (__exp2l): Likewise.
6915         * math/auto-libm-test-in: Do not allow missing errno on exp2
6916         underflow.
6917         * math/auto-libm-test-out: Regenerated.
6918
6919 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6920
6921         [BZ #16274]
6922         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6923         handle filename validation.
6924         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6925         (do_open): Delete.
6926
6927 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6928
6929         [BZ #6786]
6930         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6931         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6932         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6933         <float.h>.
6934         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6935         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6936         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6938         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6940         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6941         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6942         Add more erfc tests.
6943         * math/auto-libm-test-out: Regenerated.
6944         * sysdeps/i386/fpu/libm-test-ulps: Update.
6945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946
6947         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6948         exp2, expm1, j0 and j1.
6949         * math/auto-libm-test-out: Regenerated.
6950         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6951         (erfc_test_data): Likewise.
6952         (exp_test_data): Likewise.
6953         (exp_tonearest_test_data): Likewise.
6954         (exp_towardzero_test_data): Likewise.
6955         (exp_downward_test_data): Likewise.
6956         (exp_upward_test_data): Likewise.
6957         (exp10_test_data): Likewise.
6958         (exp2_test_data): Likewise.
6959         (expm1_test_data): Likewise.
6960         (j0_test_data): Likewise.
6961         (j1_test_data): Likewise.
6962         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6963         (input_flag_type): Add flag_xfail_rounding.
6964         (input_flags): Add xfail-rounding.
6965         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6966         (output_for_one_input_case): Handle flag_xfail_rounding.
6967         * sysdeps/i386/fpu/libm-test-ulps: Update.
6968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6969
6970 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6971
6972         [BZ #16289]
6973         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6974         division by 0.
6975
6976 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6977
6978         [BZ #16195]
6979         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6980         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6981         (STAP_PROBE0): New macro.
6982         (STAP_PROBE1): Likewise.
6983         (STAP_PROBE2): Likewise.
6984         (STAP_PROBE3): Likewise.
6985         (STAP_PROBE4): Likewise.
6986
6987 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6988
6989         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6990
6991 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6992
6993         * benchtests/Makefile (bench): Add sqrt.
6994         (LDLIBS-bench-sqrt): New.
6995         * benchtests/sqrt-input: New.
6996
6997 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6998
6999         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7000         (GAIH_EAI): Likewise.
7001         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7002         (gaih_inet): Likewise.
7003         (getaddrinfo): Don't use GAIH_EAI.
7004
7005         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7006         (struct gaih): Remove definition.
7007
7008 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7009
7010         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7011         Use HERRNOP directly.
7012
7013 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7014
7015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7016
7017 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7018
7019         * math/gen-auto-libm-tests.c (test_functions): Add more
7020         single-argument functions.
7021         (special_fill_pi_2): New function.
7022         (special_fill_minus_pi_2): Likewise.
7023         (special_fill_pi_6): Likewise.
7024         (special_fill_minus_pi_6): Likewise.
7025         (special_fill_pi_3): Likewise.
7026         (special_fill_2pi_3): Likewise.
7027         (special_fill_e): Likewise.
7028         (special_fill_1_e): Likewise.
7029         (special_fill_e_minus_1): Likewise.
7030         (special_real_inputs): Add more special inputs.
7031         (output_for_one_input_case): Do not require ERANGE on underflow to
7032         zero if round-to-nearest result does not underflow to zero, unless
7033         exact results required.
7034         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7035         atan, atanh, cbrt, cos and cosh.
7036         * math/auto-libm-test-out: Regenerated.
7037         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7038         (acos_tonearest_test_data): Likewise.
7039         (acos_towardzero_test_data): Likewise.
7040         (acos_downward_test_data): Likewise.
7041         (acos_upward_test_data): Likewise.
7042         (acosh_test_data): Likewise.
7043         (asin_test_data): Likewise.
7044         (asin_tonearest_test_data): Likewise.
7045         (asin_towardzero_test_data): Likewise.
7046         (asin_upward_test_data): Likewise.
7047         (asinh_test_data): Likewise.
7048         (atan_test_data): Likewise.
7049         (atanh_test_data): Likewise.
7050         (cbrt_test_data): Likewise.
7051         (cos_test_data): Likewise.
7052         (cos_tonearest_test_data): Likewise.
7053         (cos_towardzero_test_data): Likewise.
7054         (cos_downward_test_data): Likewise.
7055         (cos_upward_test_data): Likewise.
7056         (cosh_test_data): Likewise.
7057         (cosh_tonearest_test_data): Likewise.
7058         (cosh_towardzero_test_data): Likewise.
7059         (cosh_downward_test_data): Likewise.
7060         (cosh_upward_test_data): Likewise.
7061         * sysdeps/i386/fpu/libm-test-ulps: Update.
7062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063
7064 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7065
7066         [BZ #6787]
7067         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7068         * math/w_exp10f.c (__exp10f): Likewise.
7069         * math/w_exp10l.c (__exp10l): Likewise.
7070         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7071         errno settings in existing tests.
7072
7073         [BZ #14032]
7074         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7075         precision control set to double precision.
7076         * sysdeps/i386/fpu/w_sqrt.c: New file.
7077         * math/auto-libm-test-in: Add more tests.
7078         * math/auto-libm-test-out: Update.
7079
7080         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7081         (sqrt_test_tonearest): New function.
7082         (sqrt_towardzero_test_data): New variable.
7083         (sqrt_test_towardzero): New function.
7084         (sqrt_downward_test_data): New variable.
7085         (sqrt_test_downward): New function.
7086         (sqrt_upward_test_data): New variable.
7087         (sqrt_test_upward): New function.
7088         (main): Call the new functions.
7089
7090         * math/gen-auto-libm-tests.c: New file.
7091         * math/auto-libm-test-in: Likewise.
7092         * math/auto-libm-test-out: New generated file.
7093         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7094         variables.
7095         (%beautify): Add generated representations of zero.
7096         (top level): Set $auto_input and call parse_auto_input.
7097         (beautify): Remove trailing "f" from hex float constants.
7098         (parse_args): Handle XFAIL_TEST.
7099         (convert_condition): New function.
7100         (or_value): Likewise.
7101         (or_cond_value): Likewise.
7102         (generate_testfile): Handle AUTO_TESTS_* lines.
7103         (parse_auto_input): New function.
7104         * math/libm-test.inc (XFAIL_TEST): New macro.
7105         (ERRNO_UNCHANGED): Update value.
7106         (ERRNO_EDOM): Likewise.
7107         (ERRNO_ERANGE): Likewise.
7108         (IGNORE_RESULT): Likewise.
7109         (TEST_COND_flt_32): New macro.
7110         (TEST_COND_dbl_64): Likewise.
7111         (TEST_COND_ldbl_96_intel): Likewise.
7112         (TEST_COND_ldbl_96_m68k): Likewise.
7113         (TEST_COND_ldbl_128): Likewise.
7114         (TEST_COND_ldbl_128ibm): Likewise.
7115         (TEST_COND_long32): Likewise.
7116         (TEST_COND_long64): Likewise.
7117         (TEST_COND_before_rounding): Likewise.
7118         (TEST_COND_after_rounding): Likewise.
7119         (enable_test): Handle XFAIL_TEST flag.
7120         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7121         with finite results.
7122         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7123         auto-libm-test-out.
7124
7125 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7126             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7127
7128         [BZ #16214]
7129         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7130         __tls_get_addr_internal instead of __tls_get_offset in order to
7131         avoid GOT pointer dependency.  Make rtld export
7132         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7133         __tls_get_addr since we are a __tls_get_offset platform.
7134         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7135         GOT pointer being set up before.
7136         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7137
7138 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7139
7140         * manual/math.texi (Errors in Math Functions): Document accuracy
7141         goals.
7142
7143         [BZ #15004]
7144         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7145         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7146         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7147         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7152         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7153         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7160
7161         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7162         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7163         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7164         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7165         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7166         Likewise.
7167         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7168         Likewise.
7169         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7170         Likewise.
7171         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7173         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7174         atomic-feupdateenv and flt-rounds.
7175         * sysdeps/powerpc/nofpu/Versions (libc): Add
7176         __atomic_feholdexcept, __atomic_feclearexcept,
7177         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7178         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7179         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7180         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7181         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7182         here.
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7184         Update.
7185
7186         * manual/arith.texi (FP Exceptions): Document that exceptions may
7187         not be raised when matherr is used.
7188         (Math Error Reporting): Document overflow in directed rounding
7189         modes.  Document that errno may not be set when finite values are
7190         returned on overflow.  Document intent to set errno on underflow
7191         only for underflow to zero.
7192
7193         [BZ #16271]
7194         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7195         round-to-nearest then adjust result for other rounding modes.
7196         * include/fenv.h (fegetround): Use libm_hidden_proto.
7197         * math/fegetround.c (fegetround): Use libm_hidden_def.
7198         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7199         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7200         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7201         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7202         Likewise.
7203         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7204         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7205         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7206         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7207
7208 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7209
7210         [BZ #16077]
7211         * nss/Versions (libnss_files): Add
7212         _nss_files_gethostbyname3_r.
7213         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7214         New function.
7215         (HOST_DB_LOOKUP): Remove macro.
7216         (_nss_files_gethostbyname_r): Implement function without the
7217         HOST_DB_LOOKUP macro.
7218         (_nss_files_gethostbyname2_r): Likewise.
7219
7220 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7221
7222         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7223
7224 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7225
7226         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7227         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7228         warning.
7229
7230 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7231
7232         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7233         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7234         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7235         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7236         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7237         __fe_nomask_env_priv and attribute_hidden.
7238         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7239         (libc_feupdateenv_test_ppc): Likewise.
7240         (libc_feresetround_ppc): Likewise.
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7242         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7243         compat_symbol macro.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7245         (__fe_nomask_env): Likewise.
7246         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7247
7248 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7249
7250         * string/Makefile: Remove ifunc tests.
7251         * string/test-string.h: Define TEST_IFUNC.
7252         * string/test-bcopy-ifunc.c: Remove.
7253         * string/test-bzero-ifunc.c: Likewise.
7254         * string/test-memccpy-ifunc.c: Likewise.
7255         * string/test-memchr-ifunc.c: Likewise.
7256         * string/test-memcmp-ifunc.c: Likewise.
7257         * string/test-memcpy-ifunc.c: Likewise.
7258         * string/test-memmem-ifunc.c: Likewise.
7259         * string/test-memmove-ifunc.c: Likewise.
7260         * string/test-mempcpy-ifunc.c: Likewise.
7261         * string/test-memrchr-ifunc.c: Likewise.
7262         * string/test-memset-ifunc.c: Likewise.
7263         * string/test-rawmemchr-ifunc.c: Likewise.
7264         * string/test-stpcpy-ifunc.c: Likewise.
7265         * string/test-stpncpy-ifunc.c: Likewise.
7266         * string/test-strcasecmp-ifunc.c: Likewise.
7267         * string/test-strcasestr-ifunc.c: Likewise.
7268         * string/test-strcat-ifunc.c: Likewise.
7269         * string/test-strchr-ifunc.c: Likewise.
7270         * string/test-strchrnul-ifunc.c: Likewise.
7271         * string/test-strcmp-ifunc.c: Likewise.
7272         * string/test-strcpy-ifunc.c: Likewise.
7273         * string/test-strcspn-ifunc.c: Likewise.
7274         * string/test-strlen-ifunc.c: Likewise.
7275         * string/test-strncasecmp-ifunc.c: Likewise.
7276         * string/test-strncat-ifunc.c: Likewise.
7277         * string/test-strncmp-ifunc.c: Likewise.
7278         * string/test-strncpy-ifunc.c: Likewise.
7279         * string/test-strnlen-ifunc.c: Likewise.
7280         * string/test-strpbrk-ifunc.c: Likewise.
7281         * string/test-strrchr-ifunc.c: Likewise.
7282         * string/test-strspn-ifunc.c: Likewise.
7283         * string/test-strstr-ifunc.c: Likewise.
7284
7285 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7286
7287         * benchtests/Makefile: Remove ifunc tests.
7288         * benchtests/bench-string.h: Define TEST_IFUNC.
7289         * benchtests/bench-bcopy-ifunc.c: Remove.
7290         * benchtests/bench-bzero-ifunc.c: Likewise.
7291         * benchtests/bench-memccpy-ifunc.c: Likewise.
7292         * benchtests/bench-memchr-ifunc.c: Likewise.
7293         * benchtests/bench-memcmp-ifunc.c: Likewise.
7294         * benchtests/bench-memcpy-ifunc.c: Likewise.
7295         * benchtests/bench-memmem-ifunc.c: Likewise.
7296         * benchtests/bench-memmove-ifunc.c: Likewise.
7297         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7298         * benchtests/bench-memrchr-ifunc.c: Likewise.
7299         * benchtests/bench-memset-ifunc.c: Likewise.
7300         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7301         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7302         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7303         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7304         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7305         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7306         * benchtests/bench-strcat-ifunc.c: Likewise.
7307         * benchtests/bench-strchr-ifunc.c: Likewise.
7308         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7309         * benchtests/bench-strcmp-ifunc.c: Likewise.
7310         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7311         * benchtests/bench-strcpy-ifunc.c: Likewise.
7312         * benchtests/bench-strcspn-ifunc.c: Likewise.
7313         * benchtests/bench-strlen-ifunc.c: Likewise.
7314         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7315         * benchtests/bench-strncat-ifunc.c: Likewise.
7316         * benchtests/bench-strncmp-ifunc.c: Likewise.
7317         * benchtests/bench-strncpy-ifunc.c: Likewise.
7318         * benchtests/bench-strnlen-ifunc.c: Likewise.
7319         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7320         * benchtests/bench-strrchr-ifunc.c: Likewise.
7321         * benchtests/bench-strsep-ifunc.c: Likewise.
7322         * benchtests/bench-strspn-ifunc.c: Likewise.
7323         * benchtests/bench-strstr-ifunc.c: Likewise.
7324
7325 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7326
7327         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7328
7329 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7330
7331         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7332         * rt/aio.h: Likewise.
7333         * sysdeps/gnu/bits/utmp.h: Likewise.
7334         * sysdeps/gnu/bits/utmpx.h: Likewise.
7335         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7336         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7337         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7338         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7339         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7340         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7341         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7342         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7343         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7344         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7345         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7346         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7347         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7349         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7350         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7351         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7352         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7353         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7354         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7355         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7358         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7359         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7361         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7362         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7363         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7364         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7365         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7367         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7368         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7369         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7370         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7371         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7372         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7373         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7374         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7375         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7376         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7377
7378 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7379
7380         [BZ #16245]
7381         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7382         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7383
7384 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7385
7386         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7387         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7388         Likewise.
7389
7390 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7391
7392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7393         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7394         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7395         (__fesetround): Remove define.
7396         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7397         rounding and exceptions handling.
7398         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7399         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7400         (__fe_nomask_env): Likewise.
7401         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7402         __fegetround instead of fegetround.
7403         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7404         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7405
7406 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7407
7408         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7409         it's there.
7410
7411         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7412
7413 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7414
7415         [BZ #11157]
7416         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7417         (encrypt_r): Likewise.
7418         * malloc/obstack.h (obstack_free): Likewise.
7419         * posix/unistd.h (encrypt): Likewise.
7420
7421 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7422
7423         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7424         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7425         DL_CALL_DT_FINI() that call the functions directly.
7426         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7427         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7428         * elf/dl-fini.c: Likewise.
7429
7430 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7431
7432         * malloc/hooks.c (memalign_check): Add alignment rounding.
7433         * malloc/malloc.c (_mid_memalign): New function.
7434         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7435         Implement by calling _mid_memalign.
7436         * manual/probes.texi (Memory Allocation Probes): Remove
7437         memory_valloc_retry and memory_pvalloc_retry.
7438
7439 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7440
7441         * locale/programs/locarchive.c (open_archive): Add const
7442         qualifier to ARCHIVEFNAME and copy default fname to
7443         DEFAULT_FNAME.
7444
7445         [BZ #15601]
7446         * libio/tst-widetext.input: Rename Oriya to Odia.
7447         * locale/iso-639.def: Likewise.
7448
7449         * manual/probes.texi (Mathematical Function Probes): Add
7450         documentation for sin, cos, asin and acos probes.
7451         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7452         (__sin32): Add slowasin probe.
7453         (__cos32): Add slowacos probe.
7454         (__mpsin): Add slowsin probe.
7455         (__mpcos): Add slowcos probe.
7456
7457 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7458
7459         [BZ #15483]
7460         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7461         thread-local __sim_exceptions_thread and global
7462         __sim_exceptions_global.
7463         (__sim_disabled_exceptions): Change to thread-local
7464         __sim_disabled_exceptions_thread and global
7465         __sim_disabled_exceptions_global.
7466         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7467         and global __sim_round_mode_global.
7468         (__simulate_exceptions): Use thread-local floating-point state and
7469         set global state from it as needed.
7470         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7471         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7472         __sim_round_mode_thread.
7473         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7474         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7475         and global __sim_exceptions_global.
7476         (__sim_disabled_exceptions): Change to thread-local
7477         __sim_disabled_exceptions_thread and global
7478         __sim_disabled_exceptions_global.
7479         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7480         and global __sim_round_mode_global.
7481         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7482         (SIM_SET_GLOBAL): Likewise.
7483         * sysdeps/powerpc/soft-fp/sfp-machine.h
7484         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7485         __sim_round_mode_thread.
7486         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7487         __sim_disabled_exceptions_thread.
7488         (__sim_exceptions): Change to __sim_exceptions_thread.
7489         (__sim_disabled_exceptions): Change to
7490         __sim_disabled_exceptions_thread.
7491         (__sim_round_mode): Change to __sim_round_mode_thread.
7492         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7493         thread-local floating-point state and set global state from it as
7494         needed.
7495         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7496         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7497         (__sim_disabled_exceptions): Remove extern declaration.
7498         (feenableexcept): Use thread-local floating-point state and set
7499         global state from it as needed.
7500         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7501         extern declaration.
7502         (__sim_disabled_exceptions): Likewise.
7503         (__sim_round_mode): Likewise.
7504         (__fegetenv): Use thread-local floating-point state.
7505         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7506         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7507         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7508         floating-point state and set global state from it as needed.
7509         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7510         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7511         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7512         Likewise.
7513         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7514         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7515         Likewise.
7516         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7517         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7518         Use __sim_round_mode_thread.
7519         * math/test-fenv-tls.c: New file.
7520         * math/Makefile (tests): Add test-fenv-tls.
7521         ($(objpfx)test-fenv-tls): Depend on
7522         $(common-objpfx)nptl/libpthread.so.
7523
7524 2013-11-19  Andreas Schwab  <schwab@suse.de>
7525
7526         * locale/programs/locale.c (show_info): Decode wordarray elements.
7527         * locale/categories.def (LC_MONETARY): Add element for
7528         _NL_MONETARY_CRNCYSTR.
7529         * locale/C-monetary.c (conversion_rate): New variable.
7530         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7531         element.
7532
7533 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7534
7535         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7536         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7537
7538 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7539
7540         * elf/Makefile (tst-auxv): New test.
7541         * elf/tst-auxv.c: New
7542         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7543
7544 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7545
7546         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7547         (hidden_proto): Caller changed.
7548         (hidden_tls_proto): New macro.
7549         (libc_hidden_tls_proto): Likewise.
7550         (rtld_hidden_tls_proto): Likewise.
7551         (libm_hidden_tls_proto): Likewise.
7552         (libresolv_hidden_tls_proto): Likewise.
7553         (librt_hidden_tls_proto): Likewise.
7554         (libdl_hidden_tls_proto): Likewise.
7555         (libnss_files_hidden_tls_proto): Likewise.
7556         (libnsl_hidden_tls_proto): Likewise.
7557         (libnss_nisplus_hidden_tls_proto): Likewise.
7558         (libutil_hidden_tls_proto): Likewise.
7559
7560 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7561
7562         [BZ #10253]
7563         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7564         (decompose_rpath): Defer expansion to fillin_rpath.
7565         (_dl_init_paths): Pass linkmap to fillin_rpath.
7566
7567 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7568
7569         * benchtests/Makefile: Add strsep.
7570         * benchtests/bench-strsep.c: New file: strsep benchtest.
7571         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7572
7573 2013-11-18  Andreas Schwab  <schwab@suse.de>
7574
7575         * locale/programs/locale.c (show_info) [case byte]: Check for
7576         '\377' instead of '\177'.
7577         * locale/C-monetary.c (not_available): Always use "\377".
7578         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7579         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7580         detect unavailable sign_posn locale elements.
7581         * locale/localeconv.c (__localeconv): For grouping and
7582         mon_grouping handle "\177" and "\377" like no grouping.
7583         (INT_ELEM): New macro.  Use it to set all numeric members.
7584         * locale/programs/ld-monetary.c (monetary_read)
7585         <tok_mon_grouping>: Normalize single -1 to the empty string.
7586         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7587         Likewise.
7588
7589 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7590
7591         [BZ #16055]
7592         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7593         when we match (nil).
7594         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7595
7596 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7597
7598         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7599         (NO_TEST_INLINE): Update value.
7600         (ERRNO_UNCHANGED): Likewise.
7601         (ERRNO_EDOM): Likewise.
7602         (ERRNO_ERANGE): Likewise.
7603         (IGNORE_RESULT): Likewise.
7604         (check_float_internal): Check signs of NaN results if
7605         TEST_NAN_SIGN used.
7606         (check_complex): Pass TEST_NAN_SIGN flag through to second
7607         check_float_internal call.
7608         (copysign_test_data): Add tests with quiet NaNs as second
7609         argument.  Use TEST_NAN_SIGN.
7610         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7611         TEST_NAN_SIGN.
7612         (signbit_test_data): Add tests of quiet NaN argument.
7613         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7614
7615         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7616         $ignore_result.
7617         (parse_args): Handle function results specified as IGNORE.
7618         * math/libm-test.inc (IGNORE_RESULT): New macro.
7619         (check_float_internal): Do not check numerical result if flag
7620         IGNORE_RESULT set.
7621         (check_complex): Pass through IGNORE_RESULT to second
7622         check_float_internal call.
7623         (check_int): Do not check numerical result if flag IGNORE_RESULT
7624         set.
7625         (check_long): Likewise.
7626         (check_bool): Likewise.
7627         (check_longlong): Likewise.
7628         (lrint_test_data): Add tests of infinite and NaN arguments.
7629         (lrint_tonearest_test_data): Likewise.
7630         (lrint_towardzero_test_data): Likewise.
7631         (lrint_downward_test_data): Likewise.
7632         (lrint_upward_test_data): Likewise.
7633         (llrint_test_data): Likewise.
7634         (llrint_tonearest_test_data): Likewise.
7635         (llrint_towardzero_test_data): Likewise.
7636         (llrint_downward_test_data): Likewise.
7637         (llrint_upward_test_data): Likewise.
7638         (lround_test_data): Likewise.
7639         (llround_test_data): Likewise.
7640
7641         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7642         (ERRNO_UNCHANGED): Update value.
7643         (ERRNO_EDOM): Likewise.
7644         (ERRNO_ERANGE): Likewise.
7645         (NO_TEST_INLINE_FLOAT): New macro.
7646         (NO_TEST_INLINE_DOUBLE): Likewise.
7647         (enable_test): New function.
7648         (RUN_TEST_f_f): Check enable_test before running test.
7649         (RUN_TEST_2_f): Likewise.
7650         (RUN_TEST_fff_f): Likewise.
7651         (RUN_TEST_c_f): Likewise.
7652         (RUN_TEST_f_f1): Likewise.
7653         (RUN_TEST_fF_f1): Likewise.
7654         (RUN_TEST_fI_f1): Likewise.
7655         (RUN_TEST_ffI_f1): Likewise.
7656         (RUN_TEST_c_c): Likewise.
7657         (RUN_TEST_cc_c): Likewise.
7658         (RUN_TEST_f_i): Likewise.
7659         (RUN_TEST_f_i_tg): Likewise.
7660         (RUN_TEST_ff_i_tg): Likewise.
7661         (RUN_TEST_f_b): Likewise.
7662         (RUN_TEST_f_b_tg): Likewise.
7663         (RUN_TEST_f_l): Likewise.
7664         (RUN_TEST_f_L): Likewise.
7665         (RUN_TEST_fFF_11): Likewise.
7666         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7667         conditionals.
7668         (cosh_test_data): Likewise.
7669         (exp_test_data): Likewise.
7670         (expm1_test_data): Likewise.
7671         (hypot_test_data): Likewise.
7672         (pow_test_data): Likewise.
7673         (sinh_test_data): Likewise.
7674         (tanh_test_data): Likewise.
7675         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7676         flags argument.
7677
7678         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7679         tests with quiet NaN input and output.
7680         (acosh_test_data): Likewise.
7681         (asin_test_data): Likewise.
7682         (asinh_test_data): Likewise.
7683         (atan_test_data): Likewise.
7684         (atanh_test_data): Likewise.
7685         (atan2_test_data): Likewise.
7686         (cbrt_test_data): Likewise.
7687         (cos_test_data): Likewise.
7688         (cosh_test_data): Likewise.
7689         (erf_test_data): Likewise.
7690         (erfc_test_data): Likewise.
7691         (exp_test_data): Likewise.
7692         (exp10_test_data): Likewise.
7693         (exp2_test_data): Likewise.
7694         (expm1_test_data): Likewise.
7695         (hypot_test_data): Likewise.
7696         (j0_test_data): Likewise.
7697         (j1_test_data): Likewise.
7698         (jn_test_data): Likewise.
7699         (lgamma_test_data): Likewise.
7700         (log_test_data): Likewise.
7701         (log10_test_data): Likewise.
7702         (log1p_test_data): Likewise.
7703         (log2_test_data): Likewise.
7704         (pow_test_data): Likewise.
7705         (scalb_test_data): Likewise.
7706         (sin_test_data): Likewise.
7707         (sincos_test_data): Likewise.
7708         (sinh_test_data): Likewise.
7709         (tan_test_data): Likewise.
7710         (tanh_test_data): Likewise.
7711         (tgamma_test_data): Likewise.
7712         (y0_test_data): Likewise.
7713         (y1_test_data): Likewise.
7714         (yn_test_data): Likewise.
7715
7716         [BZ #16167]
7717         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7718         argument being NaN and avoid computations with second argument in
7719         that case.
7720         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7721         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7722         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7723
7724 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7725
7726         * locale/iso-639.def: Add Chitwani Tharu (the).
7727
7728 2013-11-14  Andreas Schwab  <schwab@suse.de>
7729
7730         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7731         word instead of empty string.
7732
7733 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7734
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7736         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7738         (__fe_nomask_env): Likewise.
7739
7740 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7741
7742         * benchtests/bench-timing.h: Include time.h.
7743
7744 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7745
7746         [BZ #15997]
7747         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7748         to 3.4.0 for x32.
7749         * sysdeps/unix/sysv/linux/configure: Regenerated.
7750
7751 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7752
7753         [BZ #16151]
7754         * stdlib/strtod_l.c (round_and_return): Do not consider
7755         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7756         exponent one less than half the least subnormal exponent.
7757         * stdlib/test-strtod-round-data: Add more tests.
7758         * stdlib/tst-strtod-round.c (tests): Regenerated.
7759
7760 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7761
7762         [BZ #14143]
7763         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7764         (__fe_mask_env): Likewise.
7765         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7766         libm_hidden_proto and add function prototype.
7767         (__fe_mask_env): Add function prototype.
7768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7769         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7771         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7773         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7774
7775 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7776
7777         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7778         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7779
7780 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7781
7782         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7783         of htab_find_slot().
7784
7785 2013-11-11  David S. Miller  <davem@davemloft.net>
7786
7787         [BZ #16150]
7788         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7789         symbol in the non-vis3 case in static builds.
7790         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7791         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7792         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7793         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7794
7795 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7796
7797         [BZ #387]
7798         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7799         it is empty.
7800
7801 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7802
7803         * benchtests/Makefile: Add bench-strtod.
7804         * benchtests/bench-strtod.c: New file: strtod benchtest
7805
7806 2013-11-11  Andreas Schwab  <schwab@suse.de>
7807
7808         [BZ #16153]
7809         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7810         terminating NUL in key length.
7811
7812 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7813
7814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7815         Add artificial ODP entry for vDSO symbol for PPC64.
7816         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7817         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7818
7819 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7820
7821         [BZ #15374]
7822         * nss/getent.c (services_keys): Recognize services starting with digit.
7823
7824 2013-11-06  David S. Miller  <davem@davemloft.net>
7825
7826         [BZ #15985]
7827         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7828         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7829
7830 2013-11-06  Will Newton  <will.newton@linaro.org>
7831
7832         * manual/memory.texi (Malloc Examples): Remove register
7833         keyword from examples.
7834
7835 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7836
7837         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7838
7839 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7840
7841         [BZ #6981]
7842         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7843         depending on [__GCC_IEC_559 > 0].
7844         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7845         depending on [__GCC_IEC_559_COMPLEX > 0].
7846
7847 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7848
7849         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7850         to iso-639.def.
7851
7852 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7853
7854         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7855
7856 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7857
7858         [BZ #16112]
7859         * malloc/malloc (malloc_info): Do not handle first bin as
7860         special case.
7861
7862 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7863
7864         * locale/iso-639.def: Add Central Nahuatl (nhn).
7865
7866 2013-11-01  Bruno Haible  <bruno@clisp.org>
7867
7868         [BZ #7003]
7869         * manual/math.texi (BSD Random): Specify range upper bound as
7870         in POSIX.
7871
7872 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7873
7874         * locale/iso-639.def: Add Meadow Mari (mhr).
7875
7876 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7877
7878         [BZ #14752], [BZ #15763]
7879         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7880         Validate name.
7881         * rt/tst_shm.c: Add test for escaping directory.
7882
7883 2013-10-31  Andreas Schwab  <schwab@suse.de>
7884
7885         [BZ #15917]
7886         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7887         followed by 'x' as part of digit sequence.
7888         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7889
7890 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7891
7892         [BZ #16037]
7893         * configure.ac: allow GNU Make 4.0 and greater.
7894         * configure: Regenerated.
7895
7896 2013-10-30  Will Newton  <will.newton@linaro.org>
7897
7898         [BZ #16038]
7899         * malloc/hooks.c (memalign_check): Limit alignment to the
7900         maximum representable power of two.
7901         * malloc/malloc.c (__libc_memalign): Likewise.
7902         * malloc/tst-memalign.c (do_test): Add test for very
7903         large alignment values.
7904         * malloc/tst-posix_memalign.c (do_test): Likewise.
7905
7906 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7907
7908         [BZ #11087]
7909         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7910         (munmap_chunk): Likewise.
7911         (mremap_chunk): Likewise.
7912
7913 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7914
7915         [BZ #15799]
7916         * stdlib/div.c (div): Remove obsolete code.
7917         * stdlib/ldiv.c (ldiv): Likewise.
7918         * stdlib/lldiv.c (lldiv): Likewise.
7919
7920 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7921
7922         [BZ #16071]
7923         * nss/nss_files/files-XXX.c (get_contents_ret): New
7924         enumerator.
7925         (get_contents): New function.
7926         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7927
7928 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7929
7930         * configure.in: Moved to ...
7931         * configure.ac: ... here. Change reference to configure.in
7932         to configure.ac.
7933         * sysdeps/arm/preconfigure.ac: ... here.
7934         configure.in to configure.ac.
7935         * sysdeps/gnu/configure.in: Moved to ...
7936         * sysdeps/gnu/configure.ac: ... here.
7937         * sysdeps/i386/configure.in: Moved to ...
7938         * sysdeps/i386/configure.ac: ... here.
7939         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7940         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7941         * sysdeps/mach/configure.in: Moved to ...
7942         * sysdeps/mach/configure.ac: ... here.
7943         * sysdeps/mach/hurd/configure.in: Moved to ...
7944         * sysdeps/mach/hurd/configure.ac: ... here.
7945         * sysdeps/powerpc/configure.in: Moved to ...
7946         * sysdeps/powerpc/configure.ac: ... here.
7947         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7948         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7949         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7950         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7951         * sysdeps/s390/s390-32/configure.in: Moved to ...
7952         * sysdeps/s390/s390-32/configure.ac: ... here.
7953         * sysdeps/s390/s390-64/configure.in: Moved to ...
7954         * sysdeps/s390/s390-64/configure.ac: ... here.
7955         * sysdeps/sh/configure.in: Moved to ...
7956         * sysdeps/sh/configure.ac: ... here.
7957         * sysdeps/sparc/configure.in: Moved to ...
7958         * sysdeps/sparc/configure.ac: ... here.
7959         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7960         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7961         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7962         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7963         * sysdeps/x86_64/configure.in: Moved to ...
7964         * sysdeps/x86_64/configure.ac: ... here.
7965         * sysdeps/x86_64/preconfigure.in: Moved to ...
7966         * sysdeps/x86_64/preconfigure.ac: ... here.
7967         * aclocal.m4: Change reference to configure.in to configure.ac.
7968         * config.h.in: Likewise.
7969         * manual/install.texi: Likewise.
7970         * manual/maint.texi: Likewise.
7971         * Makefile: Likewise.
7972         * malloc/Makefile: Likewise.
7973         * nscd/Makefile: Likewise.
7974         * Makeconfig: Change reference to configure.in and
7975         preconfigure.in to configure.ac and preconfigure.ac
7976         respectively.
7977         * INSTALL: Regenerated.
7978         * configure: Likewise.
7979         * sysdeps/gnu/configure: Likewise.
7980         * sysdeps/i386/configure: Likewise.
7981         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7982         * sysdeps/mach/configure: Likewise.
7983         * sysdeps/mach/hurd/configure: Likewise.
7984         * sysdeps/powerpc/configure: Likewise.
7985         * sysdeps/powerpc/powerpc32/configure: Likewise.
7986         * sysdeps/powerpc/powerpc64/configure: Likewise.
7987         * sysdeps/s390/s390-32/configure: Likewise.
7988         * sysdeps/s390/s390-64/configure: Likewise.
7989         * sysdeps/sh/configure: Likewise.
7990         * sysdeps/sparc/configure: Likewise.
7991         * sysdeps/unix/sysv/linux/configure: Likewise.
7992         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7993         * sysdeps/x86_64/configure: Likewise.
7994         * sysdeps/x86_64/preconfigure: Likewise.
7995
7996 2013-10-29  Andreas Schwab  <schwab@suse.de>
7997
7998         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7999
8000 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8001
8002         * benchtests/pow-inputs: Add new inputs.
8003
8004         * benchtests/exp-inputs: Add new inputs.
8005
8006         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8007         conditional check for return value.
8008         (__cos32): Likewise.
8009
8010 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8011
8012         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8013         to provide a boost for large inputs with word alignment.
8014         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8015         implementation based on optimized PPC64 strcpy.
8016         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8017         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8018         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8019         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8020
8021 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8022
8023         [BZ #2801]
8024         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8025
8026 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8027
8028         [BZ #14876]
8029         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8030         * time/tst-strptime.c (day_tests): Add testcase.
8031
8032 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8033
8034         [BZ #14029]
8035         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8036
8037 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8038
8039         [BZ #16074]
8040         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8041         MAP_FAILED on error.
8042
8043 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8044
8045         [BZ #16072]
8046         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8047         heap for large requests.
8048
8049 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8050
8051         [BZ #9954]
8052         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8053         result if the result has no associated interface.
8054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8055         interface for all 127.X.Y.Z addresses.
8056
8057 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8058
8059         * locale/iso-639.def: Add Ligurian (lij)
8060
8061 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8062
8063         [BZ #15825]
8064         * sunrpc/rpc_main.c: Document rpcgen -5.
8065
8066 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8067
8068         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8069
8070 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8071
8072         [BZ #10278]
8073         * posix/glob.c: Match only directories when trailing slash is present.
8074         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8075         (main): Add testcase.
8076
8077 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8078
8079         [BZ #15670]
8080         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8081
8082 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8083
8084         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8085         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8086         AUTH_DES and cindex for FIPS 140-2.
8087         (DES Encryption): Add cindex FIPS 46-3.
8088
8089         * locale/locarchive.h (struct locarhandle): Add fname.
8090         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8091         if an optional argument was specified to --list-archive,
8092         otherwise NULL.
8093         * locale/programs/locarchive.c (show_archive_content): Take new
8094         argument fname and pass it via ah.fname to open_archive.
8095         * locale/programs/localedef.h: Update decl.
8096         (open_archive): If AH->fname is non-null, open that file
8097         rather than the default file name, and don't ignore ENOENT.
8098         (create_archive): Set AH.fname to NULL.
8099         (delete_locales_from_archive): Likewise.
8100         (add_locales_to_archive): Likewise.
8101         * locale/programs/locfile.c (write_all_categories): Likewise.
8102
8103 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8104             Aldy Hernandez  <aldyh@redhat.com>
8105
8106         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8107         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8108         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8109         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8110         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8114         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8116         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8118         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8119         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8121         Likewise.
8122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8123         Likewise.
8124         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8125         Likewise.
8126         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8127         Likewise.
8128         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8130         Likewise.
8131         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8132         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8133         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8134         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8135         Likewise.
8136         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8137         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8138         * sysdeps/powerpc/preconfigure: Likewise.
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8140         Likewise.
8141         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8142         Replace contents of file by #include of <fenv_libc.h>.
8143         * sysdeps/powerpc/soft-fp/sfp-machine.h
8144         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8145         and <sys/prctl.h>.
8146         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8159         Allow copysignl PLT reference to be missing.
8160
8161 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8162             Joseph Myers  <joseph@codesourcery.com
8163
8164         [BZ #15948]
8165         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8166         single character.
8167         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8168
8169 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8170
8171         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8172         * elf/tst-tls1.c: Likewise.
8173         * elf/tst-tls10.h: Likewise.
8174         * elf/tst-tls14.c: Likewise.
8175         * elf/tst-tls2.c: Likewise.
8176         * elf/tst-tls3.c: Likewise.
8177         * elf/tst-tls4.c: Likewise.
8178         * elf/tst-tls5.c: Likewise.
8179         * elf/tst-tls6.c: Likewise.
8180         * elf/tst-tls7.c: Likewise.
8181         * elf/tst-tls8.c: Likewise.
8182         * elf/tst-tls9.c: Likewise.
8183         * elf/tst-tlsmod1.c: Likewise.
8184         * elf/tst-tlsmod13.c: Likewise.
8185         * elf/tst-tlsmod13a.c: Likewise.
8186         * elf/tst-tlsmod14a.c: Likewise.
8187         * elf/tst-tlsmod16a.c: Likewise.
8188         * elf/tst-tlsmod16b.c: Likewise.
8189         * elf/tst-tlsmod2.c: Likewise.
8190         * elf/tst-tlsmod3.c: Likewise.
8191         * elf/tst-tlsmod4.c: Likewise.
8192         * elf/tst-tlsmod5.c: Likewise.
8193         * elf/tst-tlsmod6.c: Likewise.
8194
8195 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8196
8197         [BZ #12486]
8198         * malloc/malloc.c: remove checks for statistics.
8199
8200 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8201
8202         [BZ #15277]
8203         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8204         * inet/tst-network.c: Add testcase.
8205
8206 2013-10-17  Andreas Schwab  <schwab@suse.de>
8207
8208         [BZ #15218]
8209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8210         to determine canonical name.
8211
8212 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8213
8214         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8215         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8217         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8219         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8220         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8221         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8222         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8223         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8224         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8225         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8227         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8229         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8230         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8231         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8232         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8233         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8234         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8235         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8237         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8238         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8239         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8241         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8242         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8243         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8244         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8246         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8247         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8248         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8249         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8250         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8251         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8252         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8254         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8255         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8256         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8257         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8258         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8259         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8260         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8261         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8262         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8263         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8264         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8265         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8269         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8271         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8272
8273 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8274
8275         [BZ #16041]
8276         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8277         make result into a quiet NaN.
8278
8279 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8280
8281         * soft-fp/adddf3.c: Fix horizontal whitespace.
8282         * soft-fp/addsf3.c: Likewise.
8283         * soft-fp/addtf3.c: Likewise.
8284         * soft-fp/divdf3.c: Likewise.
8285         * soft-fp/divsf3.c: Likewise.
8286         * soft-fp/divtf3.c: Likewise.
8287         * soft-fp/double.h: Likewise.
8288         * soft-fp/eqdf2.c: Likewise.
8289         * soft-fp/eqsf2.c: Likewise.
8290         * soft-fp/eqtf2.c: Likewise.
8291         * soft-fp/extenddftf2.c: Likewise.
8292         * soft-fp/extended.h: Likewise.
8293         * soft-fp/extendsfdf2.c: Likewise.
8294         * soft-fp/extendsftf2.c: Likewise.
8295         * soft-fp/extendxftf2.c: Likewise.
8296         * soft-fp/fixdfdi.c: Likewise.
8297         * soft-fp/fixdfsi.c: Likewise.
8298         * soft-fp/fixdfti.c: Likewise.
8299         * soft-fp/fixsfdi.c: Likewise.
8300         * soft-fp/fixsfsi.c: Likewise.
8301         * soft-fp/fixsfti.c: Likewise.
8302         * soft-fp/fixtfdi.c: Likewise.
8303         * soft-fp/fixtfsi.c: Likewise.
8304         * soft-fp/fixtfti.c: Likewise.
8305         * soft-fp/fixunsdfdi.c: Likewise.
8306         * soft-fp/fixunsdfsi.c: Likewise.
8307         * soft-fp/fixunsdfti.c: Likewise.
8308         * soft-fp/fixunssfdi.c: Likewise.
8309         * soft-fp/fixunssfsi.c: Likewise.
8310         * soft-fp/fixunssfti.c: Likewise.
8311         * soft-fp/fixunstfdi.c: Likewise.
8312         * soft-fp/fixunstfsi.c: Likewise.
8313         * soft-fp/fixunstfti.c: Likewise.
8314         * soft-fp/floatdidf.c: Likewise.
8315         * soft-fp/floatdisf.c: Likewise.
8316         * soft-fp/floatditf.c: Likewise.
8317         * soft-fp/floatsidf.c: Likewise.
8318         * soft-fp/floatsisf.c: Likewise.
8319         * soft-fp/floatsitf.c: Likewise.
8320         * soft-fp/floattidf.c: Likewise.
8321         * soft-fp/floattisf.c: Likewise.
8322         * soft-fp/floattitf.c: Likewise.
8323         * soft-fp/floatundidf.c: Likewise.
8324         * soft-fp/floatundisf.c: Likewise.
8325         * soft-fp/floatunditf.c: Likewise.
8326         * soft-fp/floatunsidf.c: Likewise.
8327         * soft-fp/floatunsisf.c: Likewise.
8328         * soft-fp/floatunsitf.c: Likewise.
8329         * soft-fp/floatuntidf.c: Likewise.
8330         * soft-fp/floatuntisf.c: Likewise.
8331         * soft-fp/floatuntitf.c: Likewise.
8332         * soft-fp/fmadf4.c: Likewise.
8333         * soft-fp/fmasf4.c: Likewise.
8334         * soft-fp/fmatf4.c: Likewise.
8335         * soft-fp/gedf2.c: Likewise.
8336         * soft-fp/gesf2.c: Likewise.
8337         * soft-fp/getf2.c: Likewise.
8338         * soft-fp/ledf2.c: Likewise.
8339         * soft-fp/lesf2.c: Likewise.
8340         * soft-fp/letf2.c: Likewise.
8341         * soft-fp/muldf3.c: Likewise.
8342         * soft-fp/mulsf3.c: Likewise.
8343         * soft-fp/multf3.c: Likewise.
8344         * soft-fp/negdf2.c: Likewise.
8345         * soft-fp/negsf2.c: Likewise.
8346         * soft-fp/negtf2.c: Likewise.
8347         * soft-fp/op-1.h: Likewise.
8348         * soft-fp/op-2.h: Likewise.
8349         * soft-fp/op-4.h: Likewise.
8350         * soft-fp/op-8.h: Likewise.
8351         * soft-fp/op-common.h: Likewise.
8352         * soft-fp/quad.h: Likewise.
8353         * soft-fp/single.h: Likewise.
8354         * soft-fp/soft-fp.h: Likewise.
8355         * soft-fp/sqrtdf2.c: Likewise.
8356         * soft-fp/sqrtsf2.c: Likewise.
8357         * soft-fp/sqrttf2.c: Likewise.
8358         * soft-fp/subdf3.c: Likewise.
8359         * soft-fp/subsf3.c: Likewise.
8360         * soft-fp/subtf3.c: Likewise.
8361         * soft-fp/truncdfsf2.c: Likewise.
8362         * soft-fp/trunctfdf2.c: Likewise.
8363         * soft-fp/trunctfsf2.c: Likewise.
8364         * soft-fp/trunctfxf2.c: Likewise.
8365         * soft-fp/unorddf2.c: Likewise.
8366         * soft-fp/unordsf2.c: Likewise.
8367         * soft-fp/unordtf2.c: Likewise.
8368
8369 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8370
8371         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8372         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8373
8374 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8375
8376         * elf/dl-libc.c: Clear initfini list after freeing.
8377
8378 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8379
8380         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8381         * soft-fp/addsf3.c: Likewise.
8382         * soft-fp/addtf3.c: Likewise.
8383         * soft-fp/divdf3.c: Likewise.
8384         * soft-fp/divsf3.c: Likewise.
8385         * soft-fp/divtf3.c: Likewise.
8386         * soft-fp/double.h: Likewise.
8387         * soft-fp/eqdf2.c: Likewise.
8388         * soft-fp/eqsf2.c: Likewise.
8389         * soft-fp/eqtf2.c: Likewise.
8390         * soft-fp/extenddftf2.c: Likewise.
8391         * soft-fp/extended.h: Likewise.
8392         * soft-fp/extendsfdf2.c: Likewise.
8393         * soft-fp/extendsftf2.c: Likewise.
8394         * soft-fp/extendxftf2.c: Likewise.
8395         * soft-fp/fixdfdi.c: Likewise.
8396         * soft-fp/fixdfsi.c: Likewise.
8397         * soft-fp/fixdfti.c: Likewise.
8398         * soft-fp/fixsfdi.c: Likewise.
8399         * soft-fp/fixsfsi.c: Likewise.
8400         * soft-fp/fixsfti.c: Likewise.
8401         * soft-fp/fixtfdi.c: Likewise.
8402         * soft-fp/fixtfsi.c: Likewise.
8403         * soft-fp/fixtfti.c: Likewise.
8404         * soft-fp/fixunsdfdi.c: Likewise.
8405         * soft-fp/fixunsdfsi.c: Likewise.
8406         * soft-fp/fixunsdfti.c: Likewise.
8407         * soft-fp/fixunssfdi.c: Likewise.
8408         * soft-fp/fixunssfsi.c: Likewise.
8409         * soft-fp/fixunssfti.c: Likewise.
8410         * soft-fp/fixunstfdi.c: Likewise.
8411         * soft-fp/fixunstfsi.c: Likewise.
8412         * soft-fp/fixunstfti.c: Likewise.
8413         * soft-fp/floatdidf.c: Likewise.
8414         * soft-fp/floatdisf.c: Likewise.
8415         * soft-fp/floatditf.c: Likewise.
8416         * soft-fp/floatsidf.c: Likewise.
8417         * soft-fp/floatsisf.c: Likewise.
8418         * soft-fp/floatsitf.c: Likewise.
8419         * soft-fp/floattidf.c: Likewise.
8420         * soft-fp/floattisf.c: Likewise.
8421         * soft-fp/floattitf.c: Likewise.
8422         * soft-fp/floatundidf.c: Likewise.
8423         * soft-fp/floatundisf.c: Likewise.
8424         * soft-fp/floatunsidf.c: Likewise.
8425         * soft-fp/floatunsisf.c: Likewise.
8426         * soft-fp/floatuntidf.c: Likewise.
8427         * soft-fp/floatuntisf.c: Likewise.
8428         * soft-fp/floatuntitf.c: Likewise.
8429         * soft-fp/fmadf4.c: Likewise.
8430         * soft-fp/fmasf4.c: Likewise.
8431         * soft-fp/fmatf4.c: Likewise.
8432         * soft-fp/gedf2.c: Likewise.
8433         * soft-fp/gesf2.c: Likewise.
8434         * soft-fp/getf2.c: Likewise.
8435         * soft-fp/ledf2.c: Likewise.
8436         * soft-fp/lesf2.c: Likewise.
8437         * soft-fp/letf2.c: Likewise.
8438         * soft-fp/muldf3.c: Likewise.
8439         * soft-fp/mulsf3.c: Likewise.
8440         * soft-fp/multf3.c: Likewise.
8441         * soft-fp/negdf2.c: Likewise.
8442         * soft-fp/negsf2.c: Likewise.
8443         * soft-fp/negtf2.c: Likewise.
8444         * soft-fp/op-1.h: Likewise.
8445         * soft-fp/op-2.h: Likewise.
8446         * soft-fp/op-4.h: Likewise.
8447         * soft-fp/op-8.h: Likewise.
8448         * soft-fp/op-common.h: Likewise.
8449         * soft-fp/quad.h: Likewise.
8450         * soft-fp/single.h: Likewise.
8451         * soft-fp/soft-fp.h: Likewise.
8452         * soft-fp/sqrtdf2.c: Likewise.
8453         * soft-fp/sqrtsf2.c: Likewise.
8454         * soft-fp/sqrttf2.c: Likewise.
8455         * soft-fp/subdf3.c: Likewise.
8456         * soft-fp/subsf3.c: Likewise.
8457         * soft-fp/subtf3.c: Likewise.
8458         * soft-fp/truncdfsf2.c: Likewise.
8459         * soft-fp/trunctfdf2.c: Likewise.
8460         * soft-fp/trunctfsf2.c: Likewise.
8461         * soft-fp/trunctfxf2.c: Likewise.
8462         * soft-fp/unorddf2.c: Likewise.
8463         * soft-fp/unordsf2.c: Likewise.
8464         * soft-fp/unordtf2.c: Likewise.
8465
8466 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8467
8468         [BZ #15672]
8469         * misc/error.c (error_tail): Fix possible buffer overflow.
8470
8471 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8472
8473         [BZ #13028]
8474         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8475         address.
8476
8477 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8478
8479         [BZ #832]
8480         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8481         testing pipefail option.
8482
8483 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8484
8485         * soft-fp/double.h: Indent preprocessor directives inside #if.
8486         * soft-fp/extended.h: Likewise.
8487         * soft-fp/op-2.h: Likewise.
8488         * soft-fp/op-4.h: Likewise.
8489         * soft-fp/op-common.h: Likewise.
8490         * soft-fp/quad.h: Likewise.
8491         * soft-fp/single.h: Likewise.
8492         * soft-fp/soft-fp.h: Likewise.
8493
8494 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8495
8496         * iconv/iconv_prog.c: Fix typos.
8497         * stdio-common/psiginfo-data.h: Likewise.
8498
8499 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8500
8501         [BZ #15764]
8502         * locale/setlocale.c: Fix typo.
8503
8504 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8505
8506         [BZ #16036]
8507         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8508         signaling NaN arguments.
8509         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8510         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8511
8512         [BZ #14910]
8513         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8514         unordered operands.
8515         * soft-fp/gesf2.c (__gesf2): Likewise.
8516         * soft-fp/getf2.c (__getf2): Likewise.
8517         * soft-fp/ledf2.c (__ledf2): Likewise.
8518         * soft-fp/lesf2.c (__lesf2): Likewise.
8519         * soft-fp/letf2.c (__letf2): Likewise.
8520
8521         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8522         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8523         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8524         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8525         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8526         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8527         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8528         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8529         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8530         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8531         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8532         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8533         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8534         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8535         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8536         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8537         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8538         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8539         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8540         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8541         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8542         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8543         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8544         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8545         * soft-fp/floattidf.c (__floattidf): Likewise.
8546         * soft-fp/floattisf.c (__floattisf): Likewise.
8547         * soft-fp/floattitf.c (__floattitf): Likewise.
8548         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8549         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8550         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8551         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8552         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8553         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8554         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8555         * soft-fp/gesf2.c (__gesf2): Likewise.
8556         * soft-fp/getf2.c (__getf2): Likewise.
8557         * soft-fp/ledf2.c (__ledf2): Likewise.
8558         * soft-fp/lesf2.c (__lesf2): Likewise.
8559         * soft-fp/letf2.c (__letf2): Likewise.
8560
8561         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8562         Undefine and redefine.
8563         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8564         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8565         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8566         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8567         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8568         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8569         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8570         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8571         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8572         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8573         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8574         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8575         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8576         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8577         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8578
8579         [BZ #16032]
8580         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8581         without decrementing exponent if mantissa >= that for the
8582         denominator, not >.
8583         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8584         denominator, not >.  Decrement exponent in < case instead of
8585         incrementing in >= case.
8586         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8587         without decrementing exponent if mantissa >= that for the
8588         denominator, not >.
8589
8590         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8591         computing saturated result for unsigned overflow.
8592
8593 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8594             Jeff Law  <law@redhat.com>
8595
8596         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8597         (atan2Mp): Add systemtap probe marker.
8598         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8599         (__ieee754_log): Add systemtap probe marker.
8600         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8601         (atanMp): Add systemtap probe marker.
8602         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8603         (tanMp): Add systemtap probe marker.
8604         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8605         (__slowexp): Add systemtap probe marker.
8606         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8607         (__slowpow): Add systemtap probe marker.
8608         * manual/probes.texi: Document probes.
8609
8610 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8611
8612         [BZ #15362]
8613         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8614         written.
8615         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8616         written.
8617         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8618         written to buffer but not flushed.
8619         * libio/iofwrite_u.c:  Likewise.
8620         * libio/iopadn.c:  Return bytes returned even if EOF was
8621         encountered.
8622         * libio/iowpadn.c:  Likewise.
8623         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8624         if _IO_padn does not write the whole buffer.
8625         [!COMPILE_WPRINTF] (PAD): Likewise.
8626
8627 2013-10-10  David S. Miller  <davem@davemloft.net>
8628
8629         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8630         directory block.
8631
8632 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8633
8634         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8635         instead of FSF address.
8636         * soft-fp/fixdfti.c: Likewise.
8637         * soft-fp/fixsfti.c: Likewise.
8638         * soft-fp/fixtfti.c: Likewise.
8639         * soft-fp/fixunsdfti.c: Likewise.
8640         * soft-fp/fixunssfti.c: Likewise.
8641         * soft-fp/fixunstfti.c: Likewise.
8642         * soft-fp/floattidf.c: Likewise.
8643         * soft-fp/floattisf.c: Likewise.
8644         * soft-fp/floattitf.c: Likewise.
8645         * soft-fp/floatuntidf.c: Likewise.
8646         * soft-fp/floatuntisf.c: Likewise.
8647         * soft-fp/floatuntitf.c: Likewise.
8648         * soft-fp/trunctfxf2.c: Likewise.
8649
8650         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8651         * soft-fp/fixdfti.c: Likewise.
8652         * soft-fp/fixsfti.c: Likewise.
8653         * soft-fp/fixtfti.c: Likewise.
8654         * soft-fp/fixunsdfti.c: Likewise.
8655         * soft-fp/fixunssfti.c: Likewise.
8656         * soft-fp/fixunstfti.c: Likewise.
8657         * soft-fp/floattidf.c: Likewise.
8658         * soft-fp/floattisf.c: Likewise.
8659         * soft-fp/floattitf.c: Likewise.
8660         * soft-fp/floatuntidf.c: Likewise.
8661         * soft-fp/floatuntisf.c: Likewise.
8662         * soft-fp/floatuntitf.c: Likewise.
8663         * soft-fp/trunctfxf2.c: Likewise.
8664
8665 2013-10-10  David S. Miller  <davem@davemloft.net>
8666
8667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8668
8669 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8670
8671         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8672         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8673         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8674         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8675         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8676         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8677         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8678
8679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8680         for NaNs before doing comparisons on argument.
8681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8682         Likewise.
8683
8684 2013-10-10  Will Newton  <will.newton@linaro.org>
8685
8686         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8687         passed to _int_memalign does not overflow.
8688
8689 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8690
8691         * scripts/bench.pl: Add include-sources directive.
8692         * benchtests/README: Update documentation.
8693
8694 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8695
8696         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8697         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8698         instead of FP_INIT_ROUNDMODE.
8699         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8700         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8701
8702         [BZ #16034]
8703         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8704         copy class of input value.
8705         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8706         not handle exceptions.
8707         * soft-fp/negsf2.c (__negsf2): Likewise.
8708         * soft-fp/negtf2.c (__negtf2): Likewise.
8709         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8710
8711 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8712
8713         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8714         semicolon.  From Linux kernel.
8715
8716 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8717
8718         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8719
8720 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8721
8722         [BZ #156]
8723         * manual/socket.texi: Added statement about buffer
8724         for gethostbyname2_r.
8725
8726 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8727
8728         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8729         Use .p2align directive instead, throughout.
8730         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8731         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8732         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8735         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8736         * sysdeps/x86_64/strchr.S: Likewise.
8737         * sysdeps/x86_64/strrchr.S: Likewise.
8738
8739 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8740
8741         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8742
8743         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8744
8745         * sysdeps/generic/math_private.h (__mpsin1): Remove
8746         declaration.
8747         (__mpcos1): Likewise.
8748         (__mpsin): New argument __range_reduce.
8749         (__mpcos): Likewise.
8750         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8751         (slow): Use __mpsin and __mpcos.
8752         (slow1): Likewise.
8753         (slow2): Likewise.
8754         (sloww): Likewise.
8755         (sloww1): Likewise.
8756         (sloww2): Likewise.
8757         (bsloww): Likewise.
8758         (bsloww1): Likewise.
8759         (bsloww2): Likewise.
8760         (cslow2): Likewise.
8761         (csloww): Likewise.
8762         (csloww1): Likewise.
8763         (csloww2): Likewise.
8764         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8765         range_reduce.  Merge in __mpsin1.
8766         (__mpcos): Likewise.
8767         (__mpsin1): Remove.
8768         (__mpcos1): Likewise.
8769
8770 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8771
8772         * locale/loadlocale.c (_nl_intern_locale_data): Use
8773         LOCFILE_ALIGNED_P.
8774         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8775         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8776         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8777         obstack data is appropriately aligned.
8778         (obstack_int32_grow_fast): Likewise.
8779         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8780         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8781         (add_locale_uint32_array): Likewise.
8782
8783 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8784
8785         * benchtests/Makefile: Remove ARGLIST and RET variables.
8786         ($(objpfx)bench-%.c): Pass only function name to the script.
8787         * benchtests/README: Update documentation.
8788         * benchtests/acos-inputs: Add new directives.
8789         * benchtests/acosh-inputs: Likewise.
8790         * benchtests/asin-inputs: Likewise.
8791         * benchtests/asinh-inputs: Likewise.
8792         * benchtests/atan-inputs: Likewise.
8793         * benchtests/atanh-inputs: Likewise.
8794         * benchtests/cos-inputs: Likewise.
8795         * benchtests/cosh-inputs: Likewise.
8796         * benchtests/exp-inputs: Likewise.
8797         * benchtests/log-inputs: Likewise.
8798         * benchtests/pow-inputs: Likewise.
8799         * benchtests/rint-inputs: Likewise.
8800         * benchtests/sin-inputs: Likewise.
8801         * benchtests/sinh-inputs: Likewise.
8802         * benchtests/tan-inputs: Likewise.
8803         * benchtests/tanh-inputs: Likewise.
8804         * scripts/bench.pl: Add support for new directives.
8805
8806 2013-10-07  Alan Modra  <amodra@gmail.com>
8807
8808         * README: Fix careless merge.
8809
8810 2013-10-05  Alan Modra  <amodra@gmail.com>
8811
8812         * NEWS: Mention powerpc64le support and bugs fixed.
8813         * README: Both big-endian and little-endian powerpc64 supported.
8814
8815 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8816
8817         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8818         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8819         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8820         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8821
8822 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8823
8824         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8825         match prototype.
8826
8827 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8828
8829         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8830         Move -mhard-float appending from
8831         ports/sysdeps/powerpc/powerpc32/Makefile.
8832         [$(with-fp) = yes] (ASFLAGS): Likewise.
8833         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8834         * sysdeps/powerpc/nofpu: Move directory from
8835         ports/sysdeps/powerpc/nofpu.
8836         * sysdeps/powerpc/soft-fp: Move directory from
8837         ports/sysdeps/powerpc/soft-fp.
8838         * sysdeps/powerpc/powerpc32/405: Move directory from
8839         ports/sysdeps/powerpc/powerpc32/405.
8840         * sysdeps/powerpc/powerpc32/440: Move directory from
8841         ports/sysdeps/powerpc/powerpc32/440.
8842         * sysdeps/powerpc/powerpc32/464: Move directory from
8843         ports/sysdeps/powerpc/powerpc32/464.
8844         * sysdeps/powerpc/powerpc32/476: Move directory from
8845         ports/sysdeps/powerpc/powerpc32/476.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8853         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8855         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8856         * README: Update for powerpc-*-linux-gnu software floating point
8857         support in libc.
8858
8859         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8860         case to powerpc/powerpc32*.
8861         * sysdeps/unix/sysv/linux/configure: Regenerated.
8862
8863         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8864         (_FPU_MASK_OM): Define as 0x04.
8865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8867         0x00c10080.
8868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8869         0x0000003c.
8870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8871
8872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8874         getcontext_e500.
8875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8877         setcontext_e500.
8878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8879         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8880         and setcontext_e500.
8881
8882 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8883
8884         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8885
8886 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8887
8888         * manual/threads.texi (Default Thread Attributes): Fix typo.
8889
8890 2013-10-04  Will Newton  <will.newton@linaro.org>
8891
8892         * malloc/Makefile: Add tst-memalign.
8893         * malloc/tst-memalign.c: New file.
8894
8895         * malloc/tst-posix_memalign.c: Add comments.
8896         (do_test): Add comments and call free on all potentially
8897         allocated pointers. Add space after cast.
8898
8899         * malloc/tst-pvalloc.c: Add comments.
8900         (do_test): Add comments and call free on all potentially
8901         allocated pointers. Remove duplicate check for NULL pointer.
8902         Add space after cast.
8903
8904         * malloc/tst-valloc.c: Add comments.
8905         (do_test): Add comments and call free on all potentially
8906         allocated pointers. Remove duplicate check for NULL pointer.
8907         Add space after cast.
8908
8909 2013-10-04  Alan Modra  <amodra@gmail.com>
8910
8911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8912         Use stdint types in rather than __attribute__((mode())).
8913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8914
8915 2013-10-04  Alan Modra  <amodra@gmail.com>
8916
8917         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8918         Correct handling of unaligned relocs for little-endian.
8919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8920
8921 2013-10-04  Alan Modra  <amodra@gmail.com>
8922
8923         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8924         * configure: Regenerate.
8925         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8926         * shlib-versions: Likewise.
8927
8928 2013-10-04  Alan Modra  <amodra@gmail.com>
8929
8930         * string/tester.c (test_memrchr): Increment reported test cycle.
8931
8932 2013-10-04  Alan Modra  <amodra@gmail.com>
8933
8934         * string/test-memcpy.c (do_one_test): When reporting errors, print
8935         string address and don't overrun end of string.
8936
8937 2013-10-04  Alan Modra  <amodra@gmail.com>
8938
8939         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8940         insrdi.  Make better use of reg selection to speed exit slightly.
8941         Schedule entry path a little better.  Remove useless "are we done"
8942         checks on entry to main loop.  Handle wrapping around zero address.
8943         Correct main loop count.  Handle single left-over word from main
8944         loop inline rather than by using loop_small.  Remove extra word
8945         case in loop_small caused by wrong loop count.  Add little-endian
8946         support.
8947         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8949         cache hint.
8950         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8951         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8952         support.  Avoid rlwimi.
8953         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8954
8955 2013-10-04  Alan Modra  <amodra@gmail.com>
8956
8957         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8958         insrdi.  Formatting.
8959         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8960         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8961         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8962         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8963         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8964         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8965
8966 2013-10-04  Alan Modra  <amodra@gmail.com>
8967
8968         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8970         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8971         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8972         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8973         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8976         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8977         use of regs.  Use power7 mtocrf.  Tidy function tails.
8978
8979 2013-10-04  Alan Modra  <amodra@gmail.com>
8980
8981         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8982         Formatting.  Consistently use rXXX register defines or rN defines.
8983         Use early exit labels that avoid restoring unused non-volatile regs.
8984         Make cr field use more consistent with rWORDn compares.  Rename
8985         regs used as shift registers for unaligned loop, using rN defines
8986         for short lifetime/multiple use regs.
8987         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8989         addi 1,1,64 to pop stack frame.  Simplify return value code.
8990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8991
8992 2013-10-04  Alan Modra  <amodra@gmail.com>
8993
8994         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8995         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8996         rather than rlwimi.
8997         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8998         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8999         little-endian support.  Correct typos.
9000         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9001         rather than rlwimi.
9002         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9003         in loop and entry code to keep "and." results.
9004         (strchr): Add little-endian support.  Comment.  Move cntlzd
9005         earlier in tail.
9006         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9007
9008 2013-10-04  Alan Modra  <amodra@gmail.com>
9009
9010         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9011         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9012         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9013         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9014
9015 2013-10-04  Alan Modra  <amodra@gmail.com>
9016
9017         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9018         (rTMP): Define as r11.
9019         (strcmp): Add little-endian support.  Optimise tail.
9020         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9022         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9026         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9027
9028 2013-10-04  Alan Modra  <amodra@gmail.com>
9029
9030         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9031         little-endian support.  Remove unnecessary "are we done" tests.
9032         Handle "s" wrapping around zero and extremely large "size".
9033         Correct main loop count.  Handle single left-over word from main
9034         loop inline rather than by using small_loop.  Correct comments.
9035         Delete "zero" tail, use "end_max" instead.
9036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9037
9038 2013-10-04  Alan Modra  <amodra@gmail.com>
9039
9040         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9041         support.  Don't branch over align.
9042         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9043         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9044         support.  Rearrange tmp reg use to suit.  Comment.
9045         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9046
9047 2013-10-04  Alan Modra  <amodra@gmail.com>
9048
9049         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9050
9051 2013-10-04  Alan Modra  <amodra@gmail.com>
9052
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9054         conditional form of branch and link when obtaining pc.
9055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9056
9057 2013-10-04  Alan Modra  <amodra@gmail.com>
9058
9059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9060         HIWORD/LOWORD.
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9063
9064 2013-10-04  Alan Modra  <amodra@gmail.com>
9065
9066         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9067         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9068         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9069         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9070         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9071         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9072         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9074         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9075         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9076
9077 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9078             Alistair Popple <alistair@ozlabs.au.ibm.com>
9079             Alan Modra <amodra@gmail.com>
9080
9081         [BZ #15723]
9082         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9083         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9084         _dl_hwcap access for little-endian.
9085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9086         destroy vmx regs when saving unaligned.
9087         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9088         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9089         destroy vmx regs when saving unaligned.
9090
9091 2013-10-04  Alan Modra  <amodra@gmail.com>
9092
9093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9094         Don't use a union to pack hi/low value.
9095
9096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9097
9098         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9099         for little-endian.
9100         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9102         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9104         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9105
9106 2013-10-04  Alan Modra  <amodra@gmail.com>
9107
9108         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9109         constants to usual value for .cst8 section, and remove redundant
9110         high address load.
9111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9112         constant for 0x1p52.  Load little-endian words of double from
9113         correct stack offsets.
9114
9115 2013-10-04  Alan Modra  <amodra@gmail.com>
9116
9117         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9118         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9119         words of double from correct stack offsets.
9120         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9121         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9122         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9124         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9125         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9126         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9127         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9128         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9130         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9131         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9132         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9134         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9135         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9136         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9137
9138 2013-10-04  Alan Modra  <amodra@gmail.com>
9139
9140         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9141         64-bit int/double union.
9142         (_FPU_SETCW): Likewise.
9143         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9144         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9145
9146 2013-10-04  Alan Modra  <amodra@gmail.com>
9147
9148         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9149         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9150
9151 2013-10-04  Alan Modra  <amodra@gmail.com>
9152
9153         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9154         use vector int constants.
9155         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9156
9157 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9158
9159         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9160         array with long long.
9161         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9162         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9163         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9164         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9165         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9166         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9167         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9168         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9169         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9170         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9171         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9172         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9173         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9174
9175 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9176
9177         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9178         (__signbit): Likewise.  Correct for little-endian.
9179         (__signbitl): Call __signbit.
9180         (lrint): Correct for little-endian.
9181         (lrintf): Call lrint.
9182
9183 2013-10-04  Alan Modra  <amodra@gmail.com>
9184
9185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9186         union 32-bit int array member with 64-bit int array.
9187         (t515, tm256): Double rather than long double.
9188         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9189
9190 2013-10-04  Alan Modra  <amodra@gmail.com>
9191
9192         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9193         Delete.
9194         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9196         version of math_ldbl.h.
9197
9198 2013-10-04  Alan Modra  <amodra@gmail.com>
9199
9200         [BZ #15734], [BZ #15735]
9201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9202         all uses of ieee875 long double macros and unions.  Simplify test
9203         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9204         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9205         normalize after ldbl_extract_mantissa, and don't add hidden bit
9206         already handled.  Don't treat low word of ieee854 mantissa like
9207         low word of IBM long double and mask off bit when testing for
9208         zero.
9209         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9210         all uses of ieee875 long double macros and unions.  Simplify tests
9211         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9212         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9213         two1022, instead use their values.  Recognise that tests for large
9214         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9215         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9216         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9217         test for 0.0L and nan.  Correct negation.
9218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9219         ieee875 long double macros and unions.  Correct output for large
9220         magnitude x.  Correct absolute value calculation.
9221         (__erfcl): Likewise.
9222         * math/libm-test.inc: Add tests for errors discovered in IBM long
9223         double versions of fmodl, remainderl, erfl and erfcl.
9224
9225 2013-10-04  Alan Modra  <amodra@gmail.com>
9226
9227         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9228         all uses of ieee854 long double macros and unions.  Simplify tests
9229         for long doubles that are fully specified by the high double.
9230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9231         Likewise.
9232         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9233         Remove dead code too.
9234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9235         (__ieee754_ynl): Likewise.
9236         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9239         Remove dead code too.
9240         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9243         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9244         Simplify.
9245         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9246         Simplify.
9247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9248         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9250         Comment on variable precision.
9251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9253         Likewise.
9254         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9258         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9259
9260 2013-10-04  Alan Modra  <amodra@gmail.com>
9261
9262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9264         all uses of ieee854 long double macros and unions.
9265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9267         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9269         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9270         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9271         Likewise.
9272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9276         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9278         Simplify sign and nan test too.
9279         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9280         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9281         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9282         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9283         Likewise.
9284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9285         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9286         Likewise.
9287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9291         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9293
9294 2013-10-04  Alan Modra  <amodra@gmail.com>
9295
9296         * stdio-common/printf_size.c (__printf_size): Don't use
9297         union ieee854_long_double in fpnum union.
9298         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9299         signbit macro to retrieve sign from long double.
9300         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9301         retrieve sign from long double.
9302         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9303         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9304         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9305         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9306         * math/test-misc.c (main): Don't use union ieee854_long_double.
9307
9308 2013-10-04  Alan Modra  <amodra@gmail.com>
9309
9310         [BZ #15680]
9311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9313         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9314         calculation.  Remove unnecessary test for denormal exponent.
9315         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9316         Correct handling of denormals.  Avoid undefined shift behaviour.
9317         Correct normalisation of low mantissa when low double is denormal.
9318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9319         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9320         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9321         Correct normalisation of low mantissa.  Test for overflow of high
9322         mantissa and normalise.
9323         (ldbl_nearbyint): Use more readable constant for two52.
9324         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9325         (__mpn_construct_long_double): Fix test for overflow of high
9326         mantissa and correct normalisation.  Avoid undefined shift.
9327
9328 2013-10-04  Alan Modra  <amodra@gmail.com>
9329
9330         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9331         (union ibm_extended_long_double): Define as an array of ieee754_double.
9332         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9333         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9334         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9337         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9339         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9341         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9342         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9343
9344 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9345
9346         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9347         page size instead of calling getpagesize.
9348
9349         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9350         (LOCFILE_ALIGN_MASK): Likewise.
9351         (LOCFILE_ALIGN_UP): Likewise.
9352         (LOCFILE_ALIGNED_P): Likewise.
9353         * locale/programs/ld-collate.c (collate_output): Use the new
9354         macros instead of __alignof__ (int32_t).
9355         * locale/weight.h (findidx): Likewise.
9356
9357 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9358
9359         [BZ #431]
9360         * manual/string.texi: Fix strncat and wcsncat.
9361
9362 2013-10-03  Brooks Moses  <bmoses@google.com>
9363
9364         [BZ #15915]
9365         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9366         * Makerules: ...here, and adjust associated comments.
9367
9368 2013-10-02  Will Newton  <will.newton@linaro.org>
9369
9370         * malloc/Makefile: Add tst-pvalloc.
9371         * malloc/tst-pvalloc.c: New file.
9372
9373 2013-10-02  Will Newton  <will.newton@linaro.org>
9374
9375         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9376         improve test coverage.
9377
9378 2013-10-02  Will Newton  <will.newton@linaro.org>
9379
9380         * malloc/Makefile: Add tst-posix_memalign.
9381         * malloc/tst-posix_memalign.c: New file.
9382
9383 2013-10-01  Eric Blake  <eblake@redhat.com>
9384
9385         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9386         Use __THROWNL rather than __THROW on static functions.
9387
9388 2013-09-30  Petr Machata  <pmachata@redhat.com>
9389
9390         * elf/elf.h (R_AARCH64_ABS16): New macro.
9391         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9392         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9393         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9394         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9395         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9396         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9397         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9398         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9399         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9400         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9401         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9402         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9403         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9404         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9405         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9406         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9407         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9408         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9409         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9410         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9411         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9412         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9413         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9414         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9415         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9416         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9417         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9418         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9419         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9420         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9421         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9422         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9423         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9424         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9425         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9426         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9427         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9428         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9429         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9430         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9431         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9432         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9433         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9434         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9435         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9436         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9437         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9438         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9439         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9440         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9441         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9442         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9443         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9444         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9445         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9446         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9447         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9448         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9449         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9450         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9451         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9452         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9453         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9454         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9455         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9456         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9457         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9458         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9459         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9460         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9461         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9462         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9463         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9464         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9465         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9466         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9467         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9468         (R_AARCH64_TLSDESC_LDR): Likewise.
9469         (R_AARCH64_TLSDESC_ADD): Likewise.
9470         (R_AARCH64_TLSDESC_CALL): Likewise.
9471
9472 2013-09-30  Andreas Schwab  <schwab@suse.de>
9473
9474         [BZ #15048]
9475         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9476         the nss database lookup.
9477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9479
9480 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9481
9482         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9483
9484 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9485
9486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9487         ${Bash-specific parameter/pattern/string} parameter expansion.
9488         * sysdeps/unix/make-syscalls.sh: Likewise.
9489
9490 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9491
9492         * sysdeps/sh/stackguard-macros.h: New file.
9493
9494 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9495
9496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9498         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9499         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9500         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9501         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9502
9503 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9504
9505         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9506         Fix thread ID register.
9507
9508 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9509
9510         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9511         [POSIX || UNIX98]: Require rather than permitting all symbols from
9512         <time.h>.
9513         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9514         element of struct sched_param.
9515         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9516         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9517         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9518         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9519         constant.
9520
9521 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9522
9523         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9524         argument calculation.
9525
9526 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9527
9528         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9529         Expect macro.
9530         [POSIX] (pthread_attr_t): Do not require type.
9531         [POSIX] (pthread_cond_t): Likewise.
9532         [POSIX] (pthread_condattr_t): Likewise.
9533         [POSIX] (pthread_key_t): Likewise.
9534         [POSIX] (pthread_mutex_t): Likewise.
9535         [POSIX] (pthread_mutexattr_t): Likewise.
9536         [POSIX] (pthread_once_t): Likewise.
9537         [POSIX] (pthread_t): Likewise.
9538         [POSIX-based standards] (pthread_atfork): Expect function.
9539
9540 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9541             Richard Sandiford  <richard@codesourcery.com>
9542
9543         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9544         (swap_endianness_p): New extern variable.
9545         (set_big_endian): New inline function.
9546         (maybe_swap_uint32): Likewise.
9547         (maybe_swap_uint32_array): Likewise.
9548         (maybe_swap_uint32_obstack): Likewise.
9549         * locale/programs/locfile.c: Include <stdbool.h>.
9550         (swap_endianness_p): New variable.
9551         (add_locale_uint32): Call maybe_swap_uint32.
9552         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9553         (write_locale_data): Call maybe_swap_uint32_array.
9554         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9555         maybe_swap_uint32.
9556         (obstack_int32_grow_fast): Likewise.
9557         (output_weightwc): Call maybe_swap_uint32_obstack.
9558         (collate_output): Likewise.
9559         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9560         (OPT_LITTLE_ENDIAN): Likewise.
9561         (options): Add --little-endian and --big-endian options.
9562         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9563         * locale/programs/locarchive.c: Include "locfile.h".
9564         (GET): New macro.
9565         (SET): Likewise.
9566         (INC): Likewise.
9567         (create_archive): Use the new macros to access fields of
9568         structures directly mapped from or written to locale archives.
9569         (oldlocrecentcmp): Likewise.
9570         (enlarge_archive): Likewise.
9571         (insert_name): Likewise.
9572         (add_alias): Likewise.
9573         (add_locale): Likewise.
9574         (delete_locales_from_archive): Likewise.
9575         (show_archive_content): Likewise.
9576         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9577         locale data.
9578
9579 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9580
9581         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9582         http://www.gnu.org/doc/freemanuals.texi.
9583         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9584
9585 2013-09-24  Will Newton  <will.newton@linaro.org>
9586
9587         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9588         macro.
9589
9590 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9591
9592         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9593         unsigned char.
9594
9595 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9596
9597         * manual/threads.texi (POSIX Threads): Fix a typo.
9598
9599 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600
9601         [BZ #14547]
9602         * string/tst-strcoll-overflow.c: New test case.
9603         * string/Makefile (xtests): Add tst-strcoll-overflow.
9604         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9605         cache if string sizes may cause integer overflow.
9606
9607         [BZ #14547]
9608         * string/strcoll_l.c (coll_seq): New members rule, idx,
9609         save_idx and back_us.
9610         (get_next_seq_nocache): New function.
9611         (do_compare_nocache): New function.
9612         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9613         when malloc fails.
9614
9615 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9616
9617         [BZ #15754]
9618         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9619         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9620         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9621
9622         [BZ #15754]
9623         * elf/Makefile (tests): Add tst-ptrguard1.
9624         (tests-static): Add tst-ptrguard1-static.
9625         (tst-ptrguard1-ARGS): Define.
9626         (tst-ptrguard1-static-ARGS): Define.
9627         * elf/tst-ptrguard1.c: New file.
9628         * elf/tst-ptrguard1-static.c: New file.
9629         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9630         * sysdeps/i386/stackguard-macros.h: Likewise.
9631         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9632         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9633         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9634         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9635         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9636         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9637
9638 2013-09-23  Hector Marco  <hecmargi@upv.es>
9639             Ismael Ripoll  <iripoll@disca.upv.es>
9640             Carlos O'Donell  <carlos@redhat.com>
9641
9642         [BZ #15754]
9643         * sysdeps/generic/stackguard-macros.h: Define
9644         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9645         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9646         Define __pointer_chk_guard_local.
9647         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9648         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9649
9650 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9651
9652         [BZ #15859]
9653         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9654
9655 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9656
9657         * include/string.h (__ffs): Declare as hidden.
9658         * string/ffs.c (__ffs): Define as hidden.
9659         * sysdeps/i386/ffs.c (__ffs): Likewise.
9660         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9661         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9662         * sysdeps/s390/ffs.c (__ffs): Likewise.
9663         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9664
9665 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9666
9667         * NEWS: Mention malloc probes.
9668
9669         * malloc/arena.c (new_heap): New memory_heap_new probe.
9670         (grow_heap): New memory_heap_more probe.
9671         (shrink_heap): New memory_heap_less probe.
9672         (heap_trim): New memory_heap_free probe.
9673         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9674         (systrim): New memory_sbrk_less probe.
9675         * manual/probes.texi: Document them.
9676
9677         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9678         * manual/probes.texi: Document it.
9679
9680         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9681         (__libc_realloc): Add memory_realloc_retry probe.
9682         (__libc_memalign): Add memory_memalign_retry probe.
9683         (__libc_valloc): Add memory_valloc_retry probe.
9684         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9685         (__libc_calloc): Add memory_calloc_retry probe.
9686         * manual/probes.texi: Document them.
9687
9688         * malloc/arena.c (get_free_list): Add probe
9689         memory_arena_reuse_free_list.
9690         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9691         and memory_arena_reuse.
9692         (arena_get2) [!PER_THREAD]: Likewise.
9693         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9694         memory_arena_reuse_realloc.
9695         * manual/probes.texi: Document them.
9696
9697         * malloc/malloc.c (__libc_free): Add
9698         memory_mallopt_free_dyn_thresholds probe.
9699         (__libc_mallopt): Add multiple memory_mallopt probes.
9700         * manual/probes.texi: Document them.
9701
9702         * malloc/malloc.c: Include stap-probe.h.
9703         (__libc_mallopt): Add memory_mallopt probe.
9704         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9705         * manual/probes.texi: New.
9706         * manual/Makefile (chapters): Add probes.
9707         * manual/threads.texi: Set next node.
9708
9709 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9710
9711         [BZ #15963, #13985]
9712         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9713         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9714         Add `Chinese' to `nan' entry name.
9715
9716 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9717
9718         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9719         (POLYNOMIAL): Likewise.
9720         (TAYLOR_SINCOS): Likewise.
9721         (TAYLOR_SLOW): Likewise.
9722         (__sin): Use TAYLOR_SINCOS.
9723         (__cos): Likewise.
9724         (slow): Use TAYLOR_SLOW.
9725         (sloww): Likewise.
9726         (bsloww): Likewise.
9727         (csloww): Likewise.
9728
9729 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9730
9731         * stdlib/strtod_l.c: Fix buffer overrun.
9732
9733 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9734
9735         * benchtests/Makefile (bench): Add sincos.
9736         * benchtests/bench-sincos.c: New file.
9737
9738         * math/libm-test.inc (cos_test_data): New test inputs.
9739         (sin_test_data): Likewise.
9740
9741         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9742         macro.
9743         (__sin): Use it.
9744         (__cos): Likewise.
9745         (slow1): Likewise.
9746         (slow2): Likewise.
9747         (sloww1): Likewise.
9748         (sloww2): Likewise.
9749         (bsloww1): Likewise.
9750         (bsloww2): Likewise.
9751         (cslow2): Likewise.
9752         (csloww1): Likewise.
9753         (csloww2): Likewise.
9754
9755         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9756         function.
9757         (__sin): Use it.
9758         (__cos): Likewise.
9759
9760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9761         gotos.
9762         (__cos): Likewise.
9763
9764 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9765
9766         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9767         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9768         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9769         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9770         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9771         * elf/cache.c (print_entry): Handle the new cache flags.
9772
9773 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9774             Aldy Hernandez  <aldyh@redhat.com>
9775
9776         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9777         Change condition to [_SOFT_FLOAT].
9778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9790         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9793         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9794         declaration.
9795
9796 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9797
9798         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9799         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9800         (__longjmp): Use LOAD_GP to load saved GPRs.
9801         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9802         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9803         (__sigsetjmp): Use SAVE_GP to save GPRs.
9804
9805         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9806         Do not append -msoft-float.
9807         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9808
9809 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9810
9811         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9812
9813 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9814
9815         [BZ #15966]
9816         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9817         (_FPU_GETCW): Use initial "__" on variable and field names but not
9818         on macro parameter name.
9819         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9820         parentheses around reference to macro parameter.
9821
9822 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9823
9824         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9825         prototype.
9826         (ctype_startup): Use uint32_t in cast and sizeof for
9827         ctype->charnames.
9828
9829 2013-09-11  Jia Liu  <proljc@gmail.com>
9830
9831         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9832         __daddr_t_defined.
9833         [__FreeBSD__]: Likewise.
9834
9835 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9836
9837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9838         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9839         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9840         (strchr): Remove __strchr_sse42 ifunc selection.
9841         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9842         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9843
9844 2013-09-11  Will Newton  <will.newton@linaro.org>
9845
9846         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9847         parameter to RES. Remove hardcoded 1000 value.
9848         * benchtests/bench-skeleton.c (main): Pass RES parameter
9849         to TIMING_INIT and multiply result by 1000.
9850
9851 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9852
9853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9854
9855 2013-09-11  Andreas Schwab  <schwab@suse.de>
9856
9857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9858         if not defined.
9859         (O_TMPFILE) [__USE_GNU]: Define.
9860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9861         Define.
9862
9863 2013-09-11  Will Newton  <will.newton@linaro.org>
9864
9865         [BZ #15857]
9866         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9867         does not overflow.
9868
9869 2013-09-11  Will Newton  <will.newton@linaro.org>
9870
9871         [BZ #15856]
9872         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9873         does not overflow.
9874
9875 2013-09-11  Will Newton  <will.newton@linaro.org>
9876
9877         [BZ #15855]
9878         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9879         does not overflow.
9880
9881 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9882
9883         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9886         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9887         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9888
9889 2013-09-10  Allan McRae  <allan@archlinux.org>
9890
9891         [BZ #15748]
9892         * manual/arith.texi (Parsing of Floats): Clarify
9893         cross-reference.
9894
9895         [BZ #15849]
9896         * manual/install.texi (Running make install): Mention
9897         --enable-pt-chown.
9898         * INSTALL: Regenerated.
9899
9900 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9901
9902         * csu/init-first.c (_init): Remove the !SHARED condition around
9903         FPU control word initialization.
9904         * elf/dl-support.c (_dl_fpu_control): New variable.
9905         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9906         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9907         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9908         * math/test-fpucw-static.c: New file.
9909         * math/test-fpucw-ieee.c: New file.
9910         * math/test-fpucw-ieee-static.c: New file.
9911         * math/Makefile (tests): Add `test-fpucw-ieee' and
9912         `$(tests-static)'.
9913         (tests-static): New variable.
9914         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9915         dependency to...
9916         [($(build-shared),yes)]
9917         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9918         ... this.
9919         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9920         New dependency.
9921
9922 2013-09-09  Allan McRae  <allan@archlinux.org>
9923
9924         [BZ #15939]
9925         * manual/string.texi (Collation Functions): Fix typo in
9926         strcoll example.
9927         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9928
9929         [BZ #15893]
9930         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9931
9932         [BZ #15892]
9933         * libio/memstream.c (open_memstream): Fix memory leak.
9934         * libio/wmemstream.c (open_wmemstream): Likewise.
9935
9936         [BZ #15895]
9937         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9938
9939 2013-09-09  Will Newton  <will.newton@linaro.org>
9940
9941         * malloc/Makefile: Add tst-realloc to tests.
9942         * malloc/tst-realloc.c: New file.
9943
9944 2013-09-09  Allan McRae  <allan@archlinux.org>
9945
9946         [BZ #15844]
9947         * COPYING: Update from GNU website to fix FSF address.
9948         * COPYING.LIB: Likewise.
9949
9950 2013-09-06  David S. Miller  <davem@davemloft.net>
9951
9952         * po/zh_TW.po: Update Chinese (traditional) translation from
9953         translation project.
9954
9955 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9956             Joseph Myers  <joseph@codesourcery.com>
9957
9958         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9959         "localeinfo.h".
9960         (obstack_chunk_alloc): New macro.
9961         (obstack_chunk_free): Likewise.
9962         (record_offset): New function.
9963         (init_locale_data): Likewise.
9964         (align_locale_data): Likewise.
9965         (add_locale_empty): Likewise.
9966         (add_locale_raw_data): Likewise.
9967         (add_locale_raw_obstack): Likewise.
9968         (add_locale_string): Likewise.
9969         (add_locale_wstring): Likewise.
9970         (add_locale_uint32): Likewise.
9971         (add_locale_uint32_array): Likewise.
9972         (add_locale_char): Likewise.
9973         (start_locale_structure): Likewise.
9974         (end_locale_structure): Likewise.
9975         (start_locale_prelude): Likewise.
9976         (end_locale_prelude): Likewise.
9977         (write_locale_data): Take locale_file structure rather than an
9978         iovec.
9979         * locale/programs/locfile.h: Include "obstack.h".
9980         (struct locale_file): Change to store locale file contents instead
9981         of header.
9982         (init_locale_data): New prototype.
9983         (align_locale_data): Likewise.
9984         (add_locale_empty): Likewise.
9985         (add_locale_raw_data): Likewise.
9986         (add_locale_raw_obstack): Likewise.
9987         (add_locale_string): Likewise.
9988         (add_locale_wstring): Likewise.
9989         (add_locale_uint32): Likewise.
9990         (add_locale_uint32_array): Likewise.
9991         (add_locale_char): Likewise.
9992         (start_locale_structure): Likewise.
9993         (end_locale_structure): Likewise.
9994         (start_locale_prelude): Likewise.
9995         (end_locale_prelude): Likewise.
9996         (write_locale_data): Update prototype.
9997         * locale/programs/3level.h (struct TABLE): Remove result field.
9998         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9999         Use new locale_file interface.
10000         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10001         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10002         * locale/programs/ld-address.c (address_output): Use new
10003         locale_file interface.
10004         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10005         NO_ADD_LOCALE.
10006         (collate_finish): Don't call collseq_table_finalize.
10007         (collate_output): Use new locale_file interface.
10008         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10009         in file.
10010         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10011         (TABLE): Move defines earlier in file.
10012         (ELEMENT): Likewise.
10013         (DEFAULT): Likewise.
10014         (wctrans_table_add): Move macro and inline function earlier in
10015         file.
10016         (struct wctype_table): Move type earlier in file.
10017         (add_locale_wctype_table): New static prototype.
10018         (struct locale_ctype_t): Use logical types instead of struct iovec
10019         pointers for members.
10020         (ctype_output): Use new locale_file interface.
10021         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10022         new locale_file interface.
10023         (allocate_arrays): Update for use of new locale_file interface.
10024         * locale/programs/ld-identification.c (identification_output): Use
10025         new locale_file interface.
10026         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10027         * locale/programs/ld-messages.c (messages_output): Likewise.
10028         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10029         * locale/programs/ld-name.c (name_output): Likewise.
10030         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10031         * locale/programs/ld-paper.c (paper_output): Likewise.
10032         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10033         * locale/programs/ld-time.c (time_output): Likewise.
10034
10035 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10036
10037         * benchtests/Makefile: Add memrchr benchmark.
10038         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10039         benchmark as memrchr.
10040         * benchtests/bench-memrchr-ifunc.c: New file.
10041         * benchtests/bench-memrchr.c: New file.
10042
10043 2013-09-06   Will Newton  <will.newton@linaro.org>
10044
10045         * benchtests/Makefile (string-bench): Add memcpy.
10046
10047 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10048             Cong Wang  <amwang@redhat.com>
10049
10050         [BZ #15850]
10051         * sysdeps/unix/sysv/linux/bits/in.h
10052         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10053         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10054         before __USE_KERNEL_IPV6_DEFS uses.
10055         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10056         IPPROTO_BEETPH.
10057         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10058         sockaddr_in6, or ipv6_mreq.
10059
10060 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10061
10062         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10063         memory access for final bytes in some large inputs.
10064         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10065
10066 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10067
10068         * string/test-memrchr.c: New file.
10069         * string/test-memrchr-ifunc.c: New file.
10070         * string/Makefile: Add new memrchr testcase.
10071
10072 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10073
10074         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10075         fanotify_init returns EPERM.
10076
10077 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10078
10079         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10080         errors.
10081         (top level): Treat second token from macro or constant entries for
10082         allowed headers as allowed.
10083         * include/complex.h: Condition internal declarations on
10084         [!_ISOMAC].
10085         * include/fenv.h: Condition include of <stdbool.h> and internal
10086         declarations on [!_ISOMAC].
10087
10088 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10089
10090         [BZ #15923]
10091         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10092
10093 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10094
10095         * configure.in (--enable-versioning): Remove configure option.
10096         (libc_cv_asm_symver_directive): Remove configure test.
10097         (libc_cv_ld_version_script_option): Likewise.
10098         (VERSIONING): Remove variable and AC_SUBST.
10099         (DO_VERSIONING): Remove AC_DEFINE.
10100         * configure: Regenerated.
10101         * config.h.in (DO_VERSIONING): Remove macro.
10102         * Makerules [$(versioning) = yes]: Change conditionals to
10103         [$(build-shared) = yes].
10104         * config.make.in (versioning): Remove variable.
10105         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10106         [$(build-shared) = yes].
10107         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10108         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10109         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10110         [$(build-shared) = yes].
10111         * extra-lib.mk [$(versioning) = yes]: Likewise.
10112         * hurd/Makefile [$(versioning) = yes]: Likewise.
10113         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10114         [SHARED].
10115         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10116         [SHARED].
10117         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10118         [SHARED && !NO_HIDDEN].
10119         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10120         [SHARED].
10121         [SHARED && DO_VERSIONING]: Likewise..
10122         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10123         [$(build-shared) = yes].
10124         * manual/install.texi (--disable-versioning): Remove
10125         documentation.
10126         * INSTALL: Regenerated.
10127         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10128         to [SHARED].
10129         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10130         [$(build-shared) = yes].
10131         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10132         * sysdeps/i386/i686/multiarch/strstr-c.c
10133         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10134         [SHARED && !NO_HIDDEN].
10135         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10136         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10137         * sysdeps/powerpc/powerpc32/dl-machine.c
10138         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10139         * sysdeps/powerpc/powerpc32/sysdep.h
10140         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10141         to [SHARED && PIC && !NO_HIDDEN].
10142         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10143         conditional to [SHARED].
10144
10145 2013-09-04   Will Newton  <will.newton@linaro.org>
10146
10147         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10148         * benchtests/bench-string.h: Include bench-timing.h instead
10149         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10150         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10151         call to HP_TIMING_DIFF_INIT.
10152         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10153         instead of hp-timing.h macros.
10154         * benchtests/bench-memchr.c: Likewise.
10155         * benchtests/bench-memcmp.c: Likewise.
10156         * benchtests/bench-memcpy.c: Likewise.
10157         * benchtests/bench-memmem.c: Likewise.
10158         * benchtests/bench-memmove.c: Likewise.
10159         * benchtests/bench-memset.c: Likewise.
10160         * benchtests/bench-rawmemchr.c: Likewise.
10161         * benchtests/bench-strcasecmp.c: Likewise.
10162         * benchtests/bench-strcasestr.c: Likewise.
10163         * benchtests/bench-strcat.c: Likewise.
10164         * benchtests/bench-strchr.c: Likewise.
10165         * benchtests/bench-strcmp.c: Likewise.
10166         * benchtests/bench-strcpy.c: Likewise.
10167         * benchtests/bench-strcpy_chk.c: Likewise.
10168         * benchtests/bench-strlen.c: Likewise.
10169         * benchtests/bench-strncasecmp.c: Likewise.
10170         * benchtests/bench-strncat.c: Likewise.
10171         * benchtests/bench-strncmp.c: Likewise.
10172         * benchtests/bench-strncpy.c: Likewise.
10173         * benchtests/bench-strnlen.c: Likewise.
10174         * benchtests/bench-strpbrk.c: Likewise.
10175         * benchtests/bench-strrchr.c: Likewise.
10176         * benchtests/bench-strspn.c: Likewise.
10177         * benchtests/bench-strstr.c: Likewise.
10178
10179 2013-09-04  Will Newton  <will.newton@linaro.org>
10180
10181         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10182
10183 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10184
10185         [BZ #15427]
10186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10187         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10188         * math/libm-test.inc (lgamma_test_data): Add more tests.
10189         * sysdeps/i386/fpu/libm-test-ulps: Update.
10190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10191
10192 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10193
10194         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10196         Add ifunc.
10197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10198         Add strcmp-sse2-unaligned
10199         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10200
10201 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10202
10203         * Versions.def (libc): Add GLIBC_2.19.
10204
10205 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10206
10207         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10208         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10209
10210 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10211
10212         [BZ #14155]
10213         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10214         intermediate calculations in recurrence.
10215         (__ieee754_ynf): Likewise.
10216         * math/libm-test.inc (jn_test_data): Do not allow spurious
10217         underflow exception.  Add more tests.
10218         (yn_test_data): Add more tests.
10219         * sysdeps/i386/fpu/libm-test-ulps: Update.
10220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221
10222 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10223
10224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10225
10226 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10227
10228         * csu/init-first.c: Fix then/than typos.
10229         * locale/programs/ld-collate.c: Likewise.
10230         * locale/programs/linereader.h: Likewise.
10231         * manual/charset.texi: Likewise.
10232         * manual/filesys.texi: Likewise.
10233         * manual/stdio.texi: Likewise.
10234         * manual/string.texi: Likewise.
10235         * stdlib/fmtmsg.c: Likewise.
10236         * sysdeps/i386/stpncpy.S: Likewise.
10237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10238         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10239         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10240         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10241
10242 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10243
10244         * elf/dl-open.c: Fix typos.
10245         * iconvdata/gbbig5.c: Likewise.
10246         * iconvdata/iso-2022-jp.c: Likewise.
10247         * iconv/gconv_int.h: Likewise.
10248         * iconv/loop.c: Likewise.
10249         * nis/rpcsvc/nis.h: Likewise.
10250         * resolv/ns_name.c: Likewise.
10251         * stdio-common/vfscanf.c: Likewise.
10252         * streams/stropts.h: Likewise.
10253         * sunrpc/rpc_thread.c: Likewise.
10254         * sysdeps/i386/strpbrk.S: Likewise.
10255         * sysdeps/ieee754/k_standard.c: Likewise.
10256         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10257         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10258         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10259         * sysdeps/mach/hurd/profil.c: Likewise.
10260         * sysdeps/s390/dl-procinfo.h: Likewise.
10261         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10262         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10263         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10264         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10265         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10266
10267 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10268
10269         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10271
10272 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10273
10274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10275         aix specific files.
10276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10278         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10279         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10281         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10282         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10283         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10284
10285 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10286             Roland McGrath  <roland@hack.frob.com>
10287
10288         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10289         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10290
10291 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10292
10293         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10294         __executable_start symbol instead of _start.
10295
10296 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10297
10298         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10299         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10300         Move macros to...
10301         * sysdeps/gnu/ldsodefs.h: ... this new file.
10302
10303         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10304         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10305         instead of ELFOSABI_LINUX.
10306
10307         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10308         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10309         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10310         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10311         Likewise.
10312         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10313         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10315         Likewise.
10316         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10317         (ibm_extended_long_double): Add ieee_nan member.
10318         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10319         (do_test): New function.
10320
10321         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10322         TEST_TRUNC.
10323         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10324         functions, renamed from truncdfsf_test, trunctfsf_test,
10325         trunctfdf_test.
10326         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10327         functions.
10328         (do_test): Run all these.
10329
10330 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10331
10332         * argp/argp-help.c: Fix typos.
10333         * argp/argp-parse.c: Likewise.
10334         * debug/backtracesyms.c: Likewise.
10335         * elf/elf.h: Likewise.
10336         * malloc/malloc.c: Likewise.
10337         * nis/nis_print.c: Likewise.
10338         * resolv/res_comp.c: Likewise.
10339         * stdlib/stdlib.h: Likewise.
10340         * sunrpc/clnt_tcp.c: Likewise.
10341         * sunrpc/clnt_udp.c: Likewise.
10342         * sunrpc/clnt_unix.c: Likewise.
10343         * sysdeps/unix/bsd/ptsname.c: Likewise.
10344         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10345         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10353
10354 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10355
10356         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10358
10359 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10360
10361         [BZ #15897]
10362         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10363         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10364         ($(objpfx)bug-dl-leaf): New rule.
10365         ($(objpfx)bug-dl-leaf.so): Likewise.
10366         ($(objpfx)bug-dl-leaf.out): Likewise.
10367         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10368         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10369         * dlfcn/bug-dl-leaf.c: New test.
10370         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10371         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10372         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10373         (dlclose): Likewise.
10374         (dlmopen): Likewise.
10375
10376 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10377
10378         * include/netdb.h [!_ISOMAC]:
10379         Don't include <tls.h>.
10380         (h_errno, __libc_h_errno): Move declaration and macros out of
10381         [_LIBC_REENTRANT].
10382
10383         * include/resolv.h [_RESOLV_H_]:
10384         Don't include <tls.h>.
10385         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10386         * resolv/res_libc.c: Don't include <tls.h>.
10387         (_res): Use __attribute__ ((nocommon)) in place of
10388         __attribute__ ((section (".bss"))).
10389
10390         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10391         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10392
10393         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10394
10395         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10396         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10397
10398         * resolv/res_mkquery.c: Include <sys/time.h>.
10399
10400         * inet/ifreq.c: Moved to ...
10401         * sysdeps/unix/ifreq.c: ... here.
10402         * inet/ifreq.c: New file, true stub version.
10403
10404         * socket/sa_len.c: New file.
10405         * socket/Makefile (aux): Add it.
10406         * sysdeps/unix/sysv/linux/Makefile
10407         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10408         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10409         and #include <socket/sa_len.c>.
10410         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10411         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10412
10413         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10414         * bits/socket.h: ... here.
10415
10416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10417         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10418         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10419
10420 2013-08-27  Andreas Schwab  <schwab@suse.de>
10421
10422         [BZ #15736]
10423         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10424         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10425         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10426         * string/test-strcasecmp.c (test_main): Run tests in several
10427         locales.
10428         * string/test-strncasecmp.c (test_main): Likewise.
10429
10430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10431         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10432         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10434         (__strncasecmp_ssse3) [PIC]: Likewise.
10435
10436 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10437
10438         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10439
10440         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10441         instead of explicitly declaring xdecrypt.
10442         * nis/nss_nis/nis-publickey.c: Likewise.
10443
10444 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10445
10446         [BZ #15890]
10447         * nscd/aicache.c: Include res_hconf.h.
10448         (addhstaiX): Initialize res_hconf.
10449
10450 2013-08-26  Andreas Schwab  <schwab@suse.de>
10451
10452         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10453         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10454
10455 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10456
10457         * nscd/aicache.c (addhstaiX): Fix indentation.
10458
10459 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10460
10461         * configure.ac: Quote $build_pt_chown test.
10462         * configure: Regenerated.
10463
10464 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10465
10466         [BZ #15532]
10467         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10468         * math/s_cexpf.c (__cexpf): Likewise.
10469         * math/s_cexpl.c (__cexpl): Likewise.
10470         * math/libm-test.inc (cexp_test_data): Correct expected return
10471         value for NaN + i0.  Add another test.
10472
10473 2013-08-22  David S. Miller  <davem@davemloft.net>
10474
10475         * po/ca.po: Update Catalan translation from translation project.
10476         * po/uk.po: Add Ukrainian translations from translation project.
10477
10478 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10479
10480         [BZ #15797]
10481         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10482         is infinite, not alongside NaN test.
10483         * math/s_fdimf.c (__fdimf): Likewise.
10484         * math/s_fdiml.c (__fdiml): Likewise.
10485         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10486         errno is unchanged.
10487
10488 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10489
10490         * argp/argp-help.c: Fix typos.
10491         * crypt/speeds.c: Likewise.
10492         * csu/check_fds.c: Likewise.
10493         * elf/dl-load.c: Likewise.
10494         * elf/dl-open.c: Likewise.
10495         * elf/reldep3.c: Likewise.
10496         * elf/reldep.c: Likewise.
10497         * elf/sprof.c: Likewise.
10498         * iconv/iconv_charmap.c: Likewise.
10499         * iconv/skeleton.c: Likewise.
10500         * iconv/strtab.c: Likewise.
10501         * io/lockf64.c: Likewise.
10502         * libio/libioP.h: Likewise.
10503         * resolv/gai_notify.c: Likewise.
10504         * resolv/ns_name.c: Likewise.
10505         * resolv/ns_samedomain.c: Likewise.
10506         * resolv/res_send.c: Likewise.
10507         * stdlib/random.c: Likewise.
10508         * sunrpc/rpc/xdr.h: Likewise.
10509         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10511         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10512         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10514         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10517         * sysdeps/mach/hurd/check_fds.c: Likewise.
10518         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10519         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10520         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10522         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10524         * sysdeps/pthread/aio_notify.c: Likewise.
10525         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10526         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10527         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10529         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10530
10531 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10532
10533         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10534         version if bit_Slow_SSE4_2 is set.
10535         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10536         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10537
10538 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10539
10540         [BZ #15867]
10541         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10542         trampoline stack frame information.
10543         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10545         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10546         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10547         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10548         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10549         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10550         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10551         sa_flags value.
10552         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10553         interrupting a syscall and set with option SA_SIGINFO.
10554
10555 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10556
10557         [BZ #15531]
10558         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10559         argument is infinite.
10560         * math/s_cprojf.c (__cprojf): Likewise.
10561         * math/s_cprojl.c (__cprojl): Likewise.
10562         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10563         * math/libm-test.inc (cproj_test_data): Add more tests.
10564
10565         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10566
10567         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10568         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10569         size.  Use __ffs to determine corresponding shift.
10570
10571 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10572             Roland McGrath  <roland@hack.frob.com>
10573
10574         * Makefile (INSTALL): Remove trailing blank lines from output of
10575         makeinfo.
10576
10577 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10578
10579         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10580         Align 32 bit compat elf_greg to 8 bytes.
10581
10582 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10583
10584         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10585
10586 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10587
10588         * string/strcoll_l.c (coll_seq): New structure.
10589         (get_next_seq_cached): New function.
10590         (get_next_seq): New function.
10591         (do_compare): New function.
10592         (STRCOLL): Use GNU style definition.  Simplify implementation
10593         by using get_next_seq, get_next_seq_cached and do_compare.
10594
10595 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10596
10597         [BZ #14699]
10598         CVE-2013-4237
10599         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10600         member.
10601         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10602         member.
10603         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10604         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10605         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10606         conditional.
10607         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10608         GETDENTS_64BIT_ALIGNED.
10609         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10610         * manual/filesys.texi (Reading/Closing Directory): Document
10611         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10612         strongly.
10613         * manual/conf.texi (Limits for Files): Add portability note to
10614         NAME_MAX, PATH_MAX.
10615         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10616
10617 2013-08-13  Andreas Schwab  <schwab@suse.de>
10618
10619         [BZ #15749]
10620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10621         of fabs.
10622         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10623         LDBL_MAX_EXP >= 16384]: Add tests for it.
10624
10625 2013-08-12  David S. Miller  <davem@davemloft.net>
10626
10627         * version.h (RELEASE): Set to "development".
10628         (VERSION): Set to "2.18.90".
10629         * NEWS: Add 2.19 section.
10630
10631 2013-08-03  David S. Miller  <davem@davemloft.net>
10632
10633         * po/ko.po: Update Korean translation from translation project.
10634
10635 2013-08-01  David S. Miller  <davem@davemloft.net>
10636
10637         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10638         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10639         Bilka.
10640
10641 2013-07-30  David S. Miller  <davem@davemloft.net>
10642
10643         * po/fr.po: Update French translation from translation project.
10644
10645 2013-07-28  David S. Miller  <davem@davemloft.net>
10646
10647         * po/cs.po: Update Czech translation from translation project.
10648
10649         * po/sv.po: Update Swedish translation from translation project.
10650
10651 2013-07-27  David S. Miller  <davem@davemloft.net>
10652
10653         * po/eo.po: Update Esperanto translation from translation project.
10654
10655         * po/vi.po: Update Vietnamese translation from translation project.
10656
10657         * po/de.po: Update German translation from translation project.
10658
10659 2013-07-26  David S. Miller  <davem@davemloft.net>
10660
10661         * po/bg.po: Update Bulgarian translation from translation project.
10662
10663         * po/nl.po: Update Dutch translation from translation project.
10664         * po/pl.po: Update Polish translation from translation project.
10665         * po/ru.po: Update Russian translation from translation project.
10666
10667 2013-07-24  David S. Miller  <davem@davemloft.net>
10668
10669         * po/libc.pot: Update.
10670
10671 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10672
10673         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10674         variable page size.
10675         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10676         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10677         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10678
10679 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10680
10681         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10682
10683 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684             Andreas Schwab  <schwab@suse.de>
10685             Roland McGrath  <roland@hack.frob.com>
10686             Joseph Myers  <joseph@codesourcery.com>
10687             Carlos O'Donell  <carlos@redhat.com>
10688
10689         [BZ #15755]
10690         * config.h.in: Define HAVE_PT_CHOWN.
10691         * config.make.in (build-pt-chown): New variable.
10692         * configure.in (--enable-pt_chown): New configure option.
10693         * configure: Regenerate.
10694         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10695         build-pt-chown is enabled.
10696         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10697         pt_chown to fix pty ownership.
10698         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10699         CLOSE_ALL_FDS.
10700         * manual/install.texi (Configuring and compiling): Mention
10701         --enable-pt_chown. Add @findex for grantpt.
10702         * INSTALL: Regenerate.
10703
10704 2013-07-20  David S. Miller  <davem@davemloft.net>
10705
10706         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10707         difference between 32-bit and 64-bit.
10708
10709 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10710
10711         [BZ #15711]
10712         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10713         Avoid system header dependency with -ffreestanding.
10714         ($(objpfx)bits/syscall%d): Likewise.
10715
10716 2013-07-13  David S. Miller  <davem@davemloft.net>
10717
10718         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10719         underflows from atanl/atan2l due to bug 15319.
10720         (casinh_test_data): Likewise.
10721
10722 2013-07-07  David S. Miller  <davem@davemloft.net>
10723
10724         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10725
10726 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10727
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10730
10731 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10732
10733         * configure.in (--enable-lock-elision): Fix message text.
10734         * INSTALL: Regenerate.
10735         * configure: Regenerate.
10736
10737 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10738
10739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10740
10741 2013-07-03  Andreas Jaeger  <aj@suse.de>
10742
10743         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10744         define.
10745         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10746         (ptrace_peeksiginfo_args): Add.
10747         (__ptrace_peeksiginfo_flags): Add.
10748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10751
10752 2013-07-03  Allan McRae  <allan@archlinux.org>
10753
10754         * sysdeps/i386/fpu/libm-test-ulps: Update.
10755
10756 2013-07-02  David S. Miller  <davem@davemloft.net>
10757
10758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10759
10760 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10761
10762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10763
10764 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10765
10766         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10768
10769 2013-07-02  Andi Kleen <ak@linux.intel.com>
10770
10771         * config.h.in (ENABLE_LOCK_ELISION): Add.
10772         * configure.in (--enable-lock-elision): Add option.
10773         * manual/install.texi: Document --enable lock elision.
10774         * configure: Regenerate
10775         * INSTALL: Regenerate.
10776
10777 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10778
10779         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10780         SSE4.2 strcasecmp for libc.a.
10781         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10782
10783 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10784
10785         [BZ #13304]
10786         * soft-fp/op-common.h (_FP_FMA): New macro.
10787         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10788         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10789         (_FP_MUL_MEAT_1_imm): ... here.
10790         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10791         (_FP_MUL_MEAT_1_wide): ... here.
10792         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10793         (_FP_MUL_MEAT_1_hard): ... here.
10794         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10795         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10796         (_FP_MUL_MEAT_2_wide): ... here.
10797         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10798         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10799         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10800         (_FP_MUL_MEAT_2_gmp): ... here.
10801         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10802         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10803         (_FP_MUL_MEAT_4_wide): ... here.
10804         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10805         (_FP_MUL_MEAT_4_gmp): ... here.
10806         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10807         (_FP_WFRACBITS_DW_S): Likewise.
10808         (_FP_WFRACXBITS_DW_S): Likewise.
10809         (_FP_HIGHBIT_DW_S): Likewise.
10810         (FP_FMA_S): Likewise.
10811         (_FP_FRAC_HIGH_DW_S): Likewise.
10812         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10813         (_FP_WFRACBITS_DW_D): Likewise.
10814         (_FP_WFRACXBITS_DW_D): Likewise.
10815         (_FP_HIGHBIT_DW_D): Likewise.
10816         (FP_FMA_D): Likewise.
10817         (_FP_FRAC_HIGH_DW_D): Likewise.
10818         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10819         (_FP_WFRACBITS_DW_E): Likewise.
10820         (_FP_WFRACXBITS_DW_E): Likewise.
10821         (_FP_HIGHBIT_DW_E): Likewise.
10822         (FP_FMA_E): Likewise.
10823         (_FP_FRAC_HIGH_DW_E): Likewise.
10824         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10825         (_FP_WFRACBITS_DW_Q): Likewise.
10826         (_FP_WFRACXBITS_DW_Q): Likewise.
10827         (_FP_HIGHBIT_DW_Q): Likewise.
10828         (FP_FMA_Q): Likewise.
10829         (_FP_FRAC_HIGH_DW_Q): Likewise.
10830         * soft-fp/fmasf4.c: New file.
10831         * soft-fp/fmadf4.c: Likewise.
10832         * soft-fp/fmatf4.c: Likewise.
10833
10834 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10835
10836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10837         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10838         Silvermont.
10839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10840         macro.
10841         (index_Slow_SSE4_2): Likewise.
10842         (index_Prefer_PMINUB_for_stringop): Likewise.
10843         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10844         bit_Slow_SSE4_2 is set.
10845         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10846         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10847
10848 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10849
10850         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10851         rtld_global._dl_hwcap2.
10852         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10853         POWER8.
10854         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10855         POWER8 feature descriptions defined in _dl_hwcap2.
10856         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10857         string handling for POWER8 feature bits.
10858         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10859         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10860         _dl_powerpc_cap_flags.
10861         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10862         * sysdeps/powerpc/rtld-global-offsets.sym
10863         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10864         _dl_hwcap2 in the rtld_global_ro structure.
10865
10866 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10867
10868         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10869         hardware capabilities in support of AT_HWCAP2.
10870         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10871         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10872         GLRO(dl_hwcap2).
10873         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10874         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10875         explicitly the unknown a_type display mechanism is used.
10876         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10877         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10878         struct member.
10879         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10880         to macro prototype for AT_HWCAP2 support.
10881         * sysdeps/i386/dl-procinfo.h: Likewise.
10882         * sysdeps/s390/dl-procinfo.h: Likewise.
10883         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10884         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10885         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10886         return -1 for unknown a_type display fallback.
10887         * sysdeps/sparc/dl-procinfo.h: Likewise.
10888         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10889         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10890
10891 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10892
10893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10894         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10895
10896 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10897
10898         [BZ #12492]
10899         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10900         mprotect making __stack_prot writable.
10901
10902 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10903             Joseph Myers  <joseph@codesourcery.com>
10904
10905         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10906         as being properly aligned.
10907
10908 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10909
10910         * dlfcn/modstatic5.c: New file.
10911         * dlfcn/tststatic5.c: New file.
10912         * dlfcn/Makefile (tests): Add tststatic5.
10913         (tests-static): Likewise.
10914         (modules-names): Add modstatic5.
10915         (tststatic5-ENV): New variable.
10916         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10917
10918         [BZ #15022]
10919         * elf/dl-support.c (_dl_main_map): New variable.
10920         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10921         (_dl_nns, _dl_load_adds): Set to 1.
10922         (_dl_initial_searchlist): Refer to _dl_main_map.
10923         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10924         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10925         call to _dl_get_origin.
10926         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10927         around call_map.
10928         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10929         * dlfcn/modstatic3.c: New file.
10930         * dlfcn/tststatic3.c: New file.
10931         * dlfcn/tststatic4.c: New file.
10932         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10933         (tests-static): Likewise.
10934         (modules-names): Add modstatic3.
10935         (tststatic3-ENV, tststatic4-ENV): New variables.
10936         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10937         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10938
10939 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10940
10941         * configure.in (CC): Require GCC version 4.4 or later.
10942         * configure: Regenerated.
10943         * manual/install.texi (Tools for Compilation): Update GCC version
10944         requirement.
10945         * INSTALL: Regenerated.
10946
10947 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10948
10949         [BZ #15674]
10950         * string/test-memcmp.c (check2): New.
10951         (main): Call check2.
10952
10953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10954
10955 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10956
10957         [BZ #15022]
10958         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10959         over to...
10960         (dl_open_worker) [!SHARED]: ... here.
10961
10962 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10963
10964         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10965
10966 2013-06-25  Richard Henderson  <rth@redhat.com>
10967
10968         * locale/programs/locarchive.c: Include <libc-internal.h>
10969
10970 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10971
10972         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10973         trailing whitespace removed.
10974
10975 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10976
10977         [BZ #10283]
10978         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10979         * locale/programs/locarchive.c: Include libc-mmap.h.
10980         (prepare_address_space): Take two new outputs (the mmap base and len).
10981         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10982         values.
10983         (create_archive): Declare new mmap base and len values for
10984         prepare_address_space, and store the result in ah.
10985         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10986         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10987         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10988         Declare new mmap base and len values for
10989         prepare_address_space, and store the result in new_ah.
10990         (open_archive): Declare new mmap base and len values for
10991         prepare_address_space, and store the result in ah.
10992         (close_archive): If ah->mmap_base is not NULL, use that and
10993         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10994         * sysdeps/generic/libc-mmap.h: New file.
10995
10996 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10997
10998         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10999         (ALIGN_UP): Likewise.
11000         (PTR_ALIGN_DOWN): Likewise.
11001         (PTR_ALIGN_UP): Likewise.
11002
11003 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11004
11005         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11006         entry mapped to PPC_PLATFORM_POWER8.
11007         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11008         POWER8.
11009         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11010         (_dl_string_platform): Add case for exporting platform position for
11011         POWER8.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11013         search path to sysdeps/powerpc/powerpc32/power8 directory.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11015         search path to sysdeps/powerpc/powerpc64/power8 directory.
11016         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11017         power7 directories.
11018         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11019         power7 directories.
11020
11021 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11022
11023         * INSTALL: Regenerate.
11024
11025         * nscd/connections.c (nscd_init): Fix comment.
11026
11027 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11028
11029         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11030
11031         [BZ #15667]
11032         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11033         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11034
11035 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11036
11037         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11038         DL_DST_REQ_STATIC.
11039         (DL_DST_REQ_STATIC): Remove macro.
11040
11041 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11042
11043         [BZ #7006]
11044         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11045         with a shift of 0 bits.
11046
11047 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11048
11049         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11050         $(tststatic-ENV).
11051
11052 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11053
11054         [BZ #15655]
11055         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11056
11057 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11058
11059         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11060         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11061         accepts -fno-tree-loop-distribute-patterns.
11062         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11063         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11064         recursive call.
11065         * string/memset.c (memset): Likewise.
11066         * string/test-memmove.c (simple_memmove): Disable loop transformation
11067         to library calls.
11068         * string/test-memset.c (simple_memset): Likewise.
11069         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11070         * benchtests/bench-memset.c (simple_memset): Likewise.
11071         * configure: Regenerated.
11072
11073 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11074
11075         * math/test-misc.c (main): Ignore fesetround failure when failures
11076         of subsequent rounding tests would be ignored.
11077
11078         [BZ #15654]
11079         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11080         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11081         * math/fegetenv.c (__fegetenv): Return 0.
11082         * math/fegetexcept.c (fegetexcept): Return 0.
11083         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11084         FE_TONEAREST.
11085         * math/feholdexcpt.c (feholdexcept): Return 0.
11086         * math/fesetenv.c (__fesetenv): Return 0.
11087         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11088         argument FE_TONEAREST.
11089         * math/feupdateenv.c (__feupdateenv): Return 0.
11090         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11091
11092 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11093
11094         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11095         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11096         ($(objpfx)rtld-%.os rules): Use them.
11097
11098 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11099
11100         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11101         fields.
11102
11103 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11104
11105         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11106         length of target pattern, then descending length of dependency pattern.
11107         * configure.in (AWK): Require gawk 3.1.2 or newer.
11108         * manual/install.texi (Tools for Compilation): Say that we do.
11109         * configure: Regenerated.
11110
11111         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11112         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11113         * scripts/sysd-rules.awk: ... this new script.
11114         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11115         than a glob-style pattern.
11116
11117 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11118
11119         * math/test-misc.c (main): Do not treat incorrectly rounded
11120         conversions as failure unless ROUNDING_TESTS passes.
11121
11122 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11123
11124         [BZ #15631]
11125         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11126         restore exception state around main square root computation, then
11127         check for inexactness explicitly.
11128
11129         * math/libm-test.inc (fma_test_data): Add another test.
11130
11131 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11132
11133         * manual/threads.texi (Non-POSIX Extensions): New document
11134         node.  Document pthread_getattr_default_np and
11135         pthread_setattr_default_np.
11136
11137         * Versions.def (libpthread): Add GLIBC_2.18.
11138         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11140         Likewise.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11142         Likewise.
11143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11144         Likewise.
11145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11146         Likewise.
11147         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11148         Likewise.
11149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11150         Likewise.
11151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11152         Likewise.
11153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11154         Likewise.
11155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11156         Likewise.
11157
11158 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11159
11160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11161         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11162
11163 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11164             H.J. Lu  <hjl.tools@gmail.com>
11165
11166         [BZ #15627]
11167         * sysdeps/x86_64/rtld-memset.c: Remove file.
11168         * sysdeps/x86_64/rtld-memset.S: New file.
11169
11170 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11171
11172         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11173         (test_in_one_mode): Take arguments for whether the rounding mode
11174         is supported for each floating-point type.
11175         (do_test): Pass new arguments to test_in_one_mode using
11176         ROUNDING_TESTS.
11177
11178 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11179
11180         * posix/tst-waitid.c (do_test): Distinguish different instances of
11181         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11182         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11183         before entering the kernel for waitpid.
11184
11185 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11186
11187         * NEWS: Fix note on clock function precision.  Text by Roland
11188         McGrath.
11189
11190 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11191
11192         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11193         it into place only when and if the sanity check passes.
11194
11195 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11196
11197         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11198         output for whether conversion result is exact.  Take argument
11199         indicating whether type is IBM long double.
11200         (round_for_all): Change need_exact field to ibm_ld.
11201         * stdlib/tst-strtod-round.c (struct exactness): New type.
11202         (struct test): Change bool ld_ok field to struct exactness exact.
11203         (TEST): Update all definitions for change to field.
11204         (tests): Regenerate array contents.
11205         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11206         field value.  Check for IBM long double here.
11207         (do_test): Update calls to test_in_one_mode.
11208
11209 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11210
11211         [BZ #12515]
11212         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11213         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11214
11215 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11216
11217         [BZ #15605]
11218         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11219         generated by the compiler on loop optimizations.
11220         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11221         general definitions.
11222
11223 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11224
11225         * math/bug-nextafter.c: Include <math-tests.h>.
11226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11227         the relevant type.
11228         * math/bug-nexttoward.c: Include <math-tests.h>.
11229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11230         the relevant type.
11231         * math/test-misc.c: Include <math-tests.h>.
11232         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11233         the relevant type.
11234
11235 2013-06-12  Andreas Jaeger  <aj@suse.de>
11236
11237         * po/ia.po: Update Interlingua translation from translation
11238         project.
11239
11240 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11241
11242         * include/fenv.h: Include stdbool.h.
11243         (struct rm_ctx): New structure.
11244         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11245         Define macro.
11246         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11247         (SET_RESTORE_ROUNDF): Likewise.
11248         (SET_RESTORE_ROUNDL): Likewise.
11249         (SET_RESTORE_ROUND_NOEX): Likewise.
11250         (SET_RESTORE_ROUND_NOEXF): Likewise.
11251         (SET_RESTORE_ROUND_NOEXL): Likewise.
11252         (SET_RESTORE_ROUND_53BIT): Likewise.
11253         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11254         (libc_feresetround_noexf_ctx): Likewise.
11255         (libc_feresetround_noexl_ctx): Likewise.
11256         (libc_feholdsetround_53bit_ctx): Likewise.
11257         (libc_feresetround_53bit_ctx): Likewise.
11258         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11259         (libc_feholdexcept_setround_sse_ctx): New function.
11260         (libc_fesetenv_sse_ctx): Likewise.
11261         (libc_feupdateenv_sse_ctx): Likewise.
11262         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11263         (libc_feholdexcept_setround_387_ctx): Likewise.
11264         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11265         (libc_feholdsetround_387_prec_ctx): Likewise.
11266         (libc_feholdsetround_387_ctx): Likewise.
11267         (libc_feholdsetround_387_53bit_ctx): Likewise.
11268         (libc_feholdsetround_sse_ctx): Likewise.
11269         (libc_feresetround_sse_ctx): Likewise.
11270         (libc_feresetround_387_ctx): Likewise.
11271         (libc_feupdateenv_387_ctx): Likewise.
11272         (libc_feholdexcept_setroundf_ctx): Define macro.
11273         (libc_fesetenvf_ctx): Likewise.
11274         (libc_feupdateenvf_ctx): Likewise.
11275         (libc_feholdsetroundf_ctx): Likewise.
11276         (libc_feresetroundf_ctx): Likewise.
11277         (libc_feholdexcept_setround_ctx): Likewise.
11278         (libc_fesetenv_ctx): Likewise.
11279         (libc_feupdateenv_ctx): Likewise.
11280         (libc_feholdsetround_ctx): Likewise.
11281         (libc_feresetround_ctx): Likewise.
11282         (libc_feholdexcept_setroundl_ctx): Likewise.
11283         (libc_feupdateenvl_ctx): Likewise.
11284         (libc_feholdsetroundl_ctx): Likewise.
11285         (libc_feresetroundl_ctx): Likewise.
11286         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11287         (libc_feresetround_53bit_ctx): Likewise.
11288
11289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290
11291         * locale/iso-639.def: Convert to UTF-8.
11292
11293 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11294
11295         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11296         (EXCEPTION_TESTS_double): Likewise.
11297         (EXCEPTION_TESTS_long_double): Likewise.
11298         (EXCEPTION_TESTS): Likewise.
11299         * math/libm-test.inc (test_exceptions): Only test exceptions if
11300         EXCEPTION_TESTS (FLOAT).
11301
11302 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11303
11304         * benchtests/Makefile (string-bench): Add strcpy_chk and
11305         stpcpy_chk.
11306         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11307         * benchtests/bench-stpcpy_chk.c: New file.
11308         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11309         * benchtests/bench-strcpy_chk.c: New file.
11310         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11311         code.
11312         (do_test): Likewise.
11313
11314 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11315
11316         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11317         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11318         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11319         with tabs where appropriate.
11320         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11321         dl-procinfo.h.
11322         [PPC_PLATFORM_PPC440]: Likewise.
11323         [PPC_PLATFORM_PPC464]: Likewise.
11324         [PPC_PLATFORM_PPC476]: Likewise.
11325         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11326         ppc464, and ppc476 platform strings merging from ports/
11327         dl-procinfo.h.
11328
11329 2013-06-11  Andreas Schwab  <schwab@suse.de>
11330
11331         [BZ #14991]
11332         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11333         (from_ucs4_idx): Regenerate.
11334         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11335         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11336         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11337         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11338         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11339         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11340         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11341         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11342         from FROM_LOOP and TO_LOOP specific macros.
11343         (BODY): Handle combining characters.
11344         * iconvdata/BIG5HKSCS.irreversible: Update.
11345         * iconvdata/BIG5HKSCS.precomposed: New file.
11346         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11347         characters.
11348         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11349
11350 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11351
11352         * include/sys/time.h: Fix indentation and add copyright header.
11353
11354         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11355         (do_test): Likewise.
11356         * string/test-memchr.c (do_one_test): Likewise.
11357         (do_test): Likewise.
11358         * string/test-memcmp.c (do_one_test): Likewise.
11359         (do_test): Likewise.
11360         * string/test-memcpy.c (do_one_test): Likewise.
11361         (do_test): Likewise.
11362         * string/test-memmem.c (do_one_test): Likewise.
11363         (do_test): Likewise.
11364         (do_random_tests): Likewise.
11365         * string/test-memmove.c (do_one_test): Likewise.
11366         (do_test): Likewise.
11367         * string/test-memset.c (do_one_test): Likewise.
11368         (do_test): Likewise.
11369         * string/test-rawmemchr.c (do_one_test): Likewise.
11370         (do_test): Likewise.
11371         * string/test-strcasecmp.c (do_one_test): Likewise.
11372         (do_test): Likewise.
11373         * string/test-strcasestr.c (do_one_test): Likewise.
11374         (do_test): Likewise.
11375         * string/test-strcat.c (do_one_test): Likewise.
11376         (do_test): Likewise.
11377         * string/test-strchr.c (do_one_test): Likewise.
11378         (do_test): Likewise.
11379         * string/test-strcmp.c (do_one_test): Likewise.
11380         (do_test): Likewise.
11381         * string/test-strcpy.c (do_one_test): Likewise.
11382         (do_test): Likewise.
11383         * string/test-string.h: Likewise.
11384         (test_init): Likewise.
11385         * string/test-strlen.c (do_one_test): Likewise.
11386         (do_test): Likewise.
11387         * string/test-strncasecmp.c (do_one_test): Likewise.
11388         (do_test): Likewise.
11389         * string/test-strncat.c (do_one_test): Likewise.
11390         (do_test): Likewise.
11391         * string/test-strncmp.c (do_one_test): Likewise.
11392         (do_test_limit): Likewise.
11393         (do_test): Likewise.
11394         * string/test-strncpy.c (do_one_test): Likewise.
11395         (do_test): Likewise.
11396         * string/test-strnlen.c (do_one_test): Likewise.
11397         (do_test): Likewise.
11398         * string/test-strpbrk.c (do_one_test): Likewise.
11399         (do_test): Likewise.
11400         * string/test-strrchr.c (do_one_test): Likewise.
11401         (do_test): Likewise.
11402         * string/test-strspn.c (do_one_test): Likewise.
11403         (do_test): Likewise.
11404         * string/test-strstr.c (do_one_test): Likewise.
11405         (do_test): Likewise.
11406
11407         * benchtests/Makefile (string-bench): Add string benchmarks.
11408         * benchtests/bench-bcopy-ifunc.c: New file.
11409         * benchtests/bench-bcopy.c: New file.
11410         * benchtests/bench-bzero-ifunc.c: New file.
11411         * benchtests/bench-bzero.c: New file.
11412         * benchtests/bench-memccpy-ifunc.c: New file.
11413         * benchtests/bench-memccpy.c: New file.
11414         * benchtests/bench-memchr-ifunc.c: New file.
11415         * benchtests/bench-memchr.c: New file.
11416         * benchtests/bench-memcmp-ifunc.c: New file.
11417         * benchtests/bench-memcmp.c: New file.
11418         * benchtests/bench-memmem-ifunc.c: New file.
11419         * benchtests/bench-memmem.c: New file.
11420         * benchtests/bench-memmove-ifunc.c: New file.
11421         * benchtests/bench-memmove.c: New file.
11422         * benchtests/bench-mempcpy-ifunc.c: New file.
11423         * benchtests/bench-mempcpy.c: New file.
11424         * benchtests/bench-memset-ifunc.c: New file.
11425         * benchtests/bench-memset.c: New file.
11426         * benchtests/bench-rawmemchr-ifunc.c: New file.
11427         * benchtests/bench-rawmemchr.c: New file.
11428         * benchtests/bench-stpcpy-ifunc.c: New file.
11429         * benchtests/bench-stpcpy.c: New file.
11430         * benchtests/bench-stpncpy-ifunc.c: New file.
11431         * benchtests/bench-stpncpy.c: New file.
11432         * benchtests/bench-strcasecmp-ifunc.c: New file.
11433         * benchtests/bench-strcasecmp.c: New file.
11434         * benchtests/bench-strcasestr-ifunc.c: New file.
11435         * benchtests/bench-strcasestr.c: New file.
11436         * benchtests/bench-strcat-ifunc.c: New file.
11437         * benchtests/bench-strcat.c: New file.
11438         * benchtests/bench-strchr-ifunc.c: New file.
11439         * benchtests/bench-strchr.c: New file.
11440         * benchtests/bench-strchrnul-ifunc.c: New file.
11441         * benchtests/bench-strchrnul.c: New file.
11442         * benchtests/bench-strcmp-ifunc.c: New file.
11443         * benchtests/bench-strcmp.c: New file.
11444         * benchtests/bench-strcpy-ifunc.c: New file.
11445         * benchtests/bench-strcpy.c: New file.
11446         * benchtests/bench-strcspn-ifunc.c: New file.
11447         * benchtests/bench-strcspn.c: New file.
11448         * benchtests/bench-strlen-ifunc.c: New file.
11449         * benchtests/bench-strlen.c: New file.
11450         * benchtests/bench-strncasecmp-ifunc.c: New file.
11451         * benchtests/bench-strncasecmp.c: New file.
11452         * benchtests/bench-strncat-ifunc.c: New file.
11453         * benchtests/bench-strncat.c: New file.
11454         * benchtests/bench-strncmp-ifunc.c: New file.
11455         * benchtests/bench-strncmp.c: New file.
11456         * benchtests/bench-strncpy-ifunc.c: New file.
11457         * benchtests/bench-strncpy.c: New file.
11458         * benchtests/bench-strnlen-ifunc.c: New file.
11459         * benchtests/bench-strnlen.c: New file.
11460         * benchtests/bench-strpbrk-ifunc.c: New file.
11461         * benchtests/bench-strpbrk.c: New file.
11462         * benchtests/bench-strrchr-ifunc.c: New file.
11463         * benchtests/bench-strrchr.c: New file.
11464         * benchtests/bench-strspn-ifunc.c: New file.
11465         * benchtests/bench-strspn.c: New file.
11466         * benchtests/bench-strstr-ifunc.c: New file.
11467         * benchtests/bench-strstr.c: New file.
11468
11469         * benchtests/Makefile: Disable parallel execution of targets.
11470         (string-bench): Add memcpy.
11471         (benchset): New variable to store a list of benchmark sets.
11472         (bench-func): Renamed from bench.
11473         (bench-set): New target.
11474         (bench): Depend on bench-func and bench-set.
11475         * benchtests/README: Add section on benchmark sets.
11476         * benchtests/bench-memcpy-ifunc.c: New file.
11477         * benchtests/bench-memcpy.c: New file.
11478         * benchtests/bench-string.h: New file.
11479
11480 2013-06-11  Andreas Schwab  <schwab@suse.de>
11481
11482         [BZ #15577]
11483         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11484         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11485         values in the triple.
11486         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11487         terminator in the group key.
11488
11489 2013-06-11  Andreas Jaeger  <aj@suse.de>
11490
11491         * po/zh_TW.po: Update Chinese (traditional) translation from
11492         translation project.
11493
11494 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11495
11496         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11497         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11498         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11500         (clock_getcpuclockid): Likewise.
11501         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11502         Add weak_alias and libc_hidden_def.
11503         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11504         * rt/clock_gettime.c (clock_gettime): Rename to
11505         __clock_gettime.  Add weak_alias and libc_hidden_def.
11506         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11507         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11508         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11509         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11510         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11511         Likewise.
11512         * rt/clock_settime.c (clock_settime): Rename to
11513         __clock_settime.  Add weak_alias and libc_hidden_def.
11514         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11515
11516 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11517
11518         * mach/err_boot.sub: Remove trailing whitespace.
11519         * mach/err_ipc.sub: Likewise.
11520         * mach/err_mach.sub: Likewise.
11521
11522         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11523         (ROUNDING_TESTS_double): Likewise.
11524         (ROUNDING_TESTS_long_double): Likewise.
11525         (ROUNDING_TESTS): Likewise.
11526         * math/libm-test.inc: Include <math-tests.h>.
11527         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11528         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11529         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11530         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11531
11532 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11533
11534         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11535         of assigning.
11536
11537 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11538
11539         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11540         otherwise empty TRANS lines.
11541         * sysdeps/gnu/errlist.c: Regenerated.
11542
11543         * catgets/gencat.c (error_print): Use (void) in function
11544         definition.
11545         * crypt/crypt_util.c (__init_des): Likewise.
11546         * crypt/speeds.c (Stop): Likewise.
11547         (main): Likewise.
11548         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11549         * inet/ruserpass.c (token): Likewise.
11550         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11551         * intl/localealias.c (extend_alias_table): Likewise.
11552         * intl/plural-exp.c (init_germanic_plural): Likewise.
11553         * libio/fcloseall.c (__fcloseall): Likewise.
11554         * libio/genops.c (_IO_flush_all): Likewise.
11555         (_IO_flush_all_linebuffered): Likewise.
11556         (_IO_cleanup): Likewise.
11557         (_IO_iter_begin): Likewise.
11558         (_IO_iter_end): Likewise.
11559         (_IO_list_lock): Likewise.
11560         (_IO_list_unlock): Likewise.
11561         (_IO_list_resetlock): Likewise.
11562         * libio/getchar.c (getchar): Likewise.
11563         * libio/getchar_u.c (getchar_unlocked): Likewise.
11564         * libio/getwchar.c (getwchar): Likewise.
11565         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11566         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11567         * login/getpt.c (__getpt): Likewise.
11568         * login/tst-utmp.c (main): Likewise.
11569         * malloc/hooks.c (__malloc_check_init): Likewise.
11570         * malloc/malloc.c (__malloc_stats): Likewise.
11571         * malloc/mtrace.c (tr_break): Likewise.
11572         (mtrace): Likewise.
11573         (muntrace): Likewise.
11574         * misc/fstab.c (endfsent): Likewise.
11575         * misc/getclktck.c (__getclktck): Likewise.
11576         * misc/getdtsz.c (__getdtablesize): Likewise.
11577         * misc/gethostid.c (gethostid): Likewise.
11578         * misc/getpagesize.c (__getpagesize): Likewise.
11579         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11580         (__get_nprocs): Likewise.
11581         (__get_phys_pages): Likewise.
11582         (__get_avphys_pages): Likewise.
11583         * misc/getttyent.c (getttyent): Likewise.
11584         (setttyent): Likewise.
11585         (endttyent): Likewise.
11586         * misc/getusershell.c (getusershell): Likewise.
11587         (endusershell): Likewise.
11588         (setusershell): Likewise.
11589         (initshells): Likewise.
11590         * misc/hsearch.c (__hdestroy): Likewise.
11591         * misc/sync.c (sync): Likewise.
11592         * misc/syslog.c (closelog_internal): Likewise.
11593         (closelog): Likewise.
11594         * misc/ttyslot.c (ttyslot): Likewise.
11595         * misc/vhangup.c (vhangup): Likewise.
11596         * posix/fork.c (__fork): Likewise.
11597         * posix/getegid.c (__getegid): Likewise.
11598         * posix/geteuid.c (__geteuid): Likewise.
11599         * posix/getgid.c (__getgid): Likewise.
11600         * posix/getpid.c (__getpid): Likewise.
11601         * posix/getppid.c (__getppid): Likewise.
11602         * posix/getuid.c (__getuid): Likewise.
11603         * posix/pause.c (pause): Likewise.
11604         * posix/setpgrp.c (setpgrp): Likewise.
11605         * posix/setsid.c (__setsid): Likewise.
11606         * posix/test-vfork.c (noop): Likewise.
11607         * resolv/gethnamaddr.c (_endhtent): Likewise.
11608         (_gethtent): Likewise.
11609         (ht_endhostent): Likewise.
11610         (gethostent): Likewise.
11611         (dns_service): Likewise.
11612         * stdlib/drand48.c (drand48): Likewise.
11613         * stdlib/lrand48.c (lrand48): Likewise.
11614         * stdlib/mrand48.c (mrand48): Likewise.
11615         * stdlib/rand.c (rand): Likewise.
11616         * stdlib/random.c (__random): Likewise.
11617         * stdlib/setenv.c (clearenv): Likewise.
11618         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11619         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11620         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11621         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11622         (__get_nprocs): Likewise.
11623         (__get_phys_pages): Likewise.
11624         (__get_avphys_pages): Likewise.
11625         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11626         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11627         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11628         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11629         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11630         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11631         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11632         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11633         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11634         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11635         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11636         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11637         * sysdeps/posix/clock.c (clock): Likewise.
11638         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11639         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11640         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11641         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11642         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11644         (__get_nprocs_conf): Likewise.
11645         (__get_phys_pages): Likewise.
11646         (__get_avphys_pages): Likewise.
11647         * time/clock.c (clock): Likewise.
11648         * time/tzset.c (__tzname_max): Likewise.
11649
11650 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11651
11652         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11653         (__bswap_32): Do not use "register".
11654         * crypt/crypt.c (_ufc_doit_r): Likewise.
11655         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11656         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11657         * gmon/gmon.c (__monstartup): Likewise.
11658         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11659         * hurd/hurdmalloc.c (more_memory): Likewise.
11660         (malloc): Likewise.
11661         (free): Likewise.
11662         (realloc): Likewise.
11663         (malloc_fork_prepare): Likewise.
11664         (malloc_fork_parent): Likewise.
11665         (malloc_fork_child): Likewise.
11666         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11667         (_svcauth_des): Likewise.
11668         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11669         * inet/inet_net.c (inet_network): Likewise.
11670         * inet/inet_netof.c (inet_netof): Likewise.
11671         * inet/rcmd.c (__validuser2_sa): Likewise.
11672         * io/fts.c (fts_open): Likewise.
11673         (fts_load): Likewise.
11674         (fts_close): Likewise.
11675         (fts_read): Likewise.
11676         (fts_children): Likewise.
11677         (fts_build): Likewise.
11678         (fts_stat): Likewise.
11679         (fts_sort): Likewise.
11680         (fts_alloc): Likewise.
11681         (fts_lfree): Likewise.
11682         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11683         (_IO_file_xsgetn): Likewise.
11684         (_IO_file_xsgetn_mmap): Likewise.
11685         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11686         (_IO_cookie_write): Likewise.
11687         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11688         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11689         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11690         * malloc/obstack.c (_obstack_begin): Likewise.
11691         (_obstack_begin_1): Likewise.
11692         (_obstack_newchunk): Likewise.
11693         (_obstack_allocated_p): Likewise.
11694         (obstack_free): Likewise.
11695         (_obstack_memory_used): Likewise.
11696         * misc/getttyent.c (getttynam): Likewise.
11697         (getttyent): Likewise.
11698         (skip): Likewise.
11699         (value): Likewise.
11700         * misc/getusershell.c (initshells): Likewise.
11701         * misc/syslog.c (__vsyslog_chk): Likewise.
11702         * misc/ttyslot.c (ttyslot): Likewise.
11703         * nis/nis_hash.c (__nis_hash): Likewise.
11704         * posix/fnmatch_loop.c (FCT): Likewise.
11705         * posix/getconf.c (print_all): Likewise.
11706         (main): Likewise.
11707         * posix/getopt.c (exchange): Likewise.
11708         * posix/glob.c (globfree): Likewise.
11709         (prefix_array): Likewise.
11710         (__glob_pattern_type): Likewise.
11711         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11712         (NS_GET32): Likewise.
11713         (NS_PUT16): Likewise.
11714         (NS_PUT32): Likewise.
11715         * resolv/gethnamaddr.c (getanswer): Likewise.
11716         (gethostbyname2): Likewise.
11717         (gethostbyaddr): Likewise.
11718         (_gethtent): Likewise.
11719         (_gethtbyname2): Likewise.
11720         (_gethtbyaddr): Likewise.
11721         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11722         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11723         * resolv/res_init.c (__res_vinit): Likewise.
11724         (net_mask): Likewise.
11725         * resolv/res_mkquery.c (outchar): Likewise.
11726         (PRINT): Likewise.
11727         * stdio-common/printf_fp.c (outchar): Likewise.
11728         (PRINT): Likewise.
11729         * stdio-common/printf_fphex.c (outchar): Likewise.
11730         (PRINT): Likewise.
11731         * stdio-common/printf_size.c (outchar): Likewise.
11732         (PRINT): Likewise.
11733         * stdio-common/test_rdwr.c (main): Likewise.
11734         * stdio-common/tfformat.c (matches): Likewise.
11735         * stdio-common/vfprintf.c (outchar): Likewise.
11736         (printf_unknown): Likewise.
11737         (buffered_vfprintf): Likewise.
11738         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11739         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11740         (ReadFile): Likewise.
11741         * stdlib/qsort.c (SWAP): Likewise.
11742         (_quicksort): Likewise.
11743         * stdlib/setenv.c (__add_to_environ): Likewise.
11744         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11745         * stdlib/strtol_l.c (__strtol_l): Likewise.
11746         * stdlib/tst-strtod.c (main): Likewise.
11747         * stdlib/tst-strtol.c (main): Likewise.
11748         * stdlib/tst-strtoll.c (main): Likewise.
11749         * string/bits/string2.h (__strcmp_cc): Likewise.
11750         (__strcmp_cg): Likewise.
11751         (__strcspn_c1): Likewise.
11752         (__strcspn_c2): Likewise.
11753         (__strcspn_c3): Likewise.
11754         (__strspn_c1): Likewise.
11755         (__strspn_c2): Likewise.
11756         (__strspn_c3): Likewise.
11757         (__strsep_1c): Likewise.
11758         (__strsep_2c): Likewise.
11759         (__strsep_3c): Likewise.
11760         * string/memccpy.c (__memccpy): Likewise.
11761         * string/stpcpy.c (__stpcpy): Likewise.
11762         * string/strcmp.c (strcmp): Likewise.
11763         * string/strrchr.c (strrchr): Likewise.
11764         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11765         Likewise.
11766         * sysdeps/mach/hurd/getcwd.c
11767         (_hurd_canonicalize_directory_name_internal): Likewise.
11768         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11769         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11770         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11771         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11772         Likewise, in both definitions.
11773         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11774         definitions.
11775         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11776         64] (__bswap_64): Likewise.
11777         * time/test_time.c (main): Likewise.
11778         * time/tzfile.c (__tzfile_read): Likewise.
11779         (__tzfile_compute): Likewise.
11780         * time/tzset.c (__tzset_parse_tz): Likewise.
11781         (tzset_internal): Likewise.
11782         (compute_change): Likewise.
11783         * wcsmbs/wcscat.c (__wcscat): Likewise.
11784         * wcsmbs/wcschr.c (wcschr): Likewise.
11785         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11786         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11787         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11788         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11789         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11790         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11791         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11792         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11793         * wcsmbs/wmemset.c (wmemset): Likewise.
11794
11795 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11796
11797         * scripts/config.guess: Update to version 2013-05-16.
11798         * scripts/config.sub: Update to version 2013-04-24.
11799         * scripts/install-sh: Update to version 2011-11-20.07.
11800         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11801         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11802
11803 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11804
11805         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11806         * elf/sln.c: Likewise.
11807         * hurd/hurd/ioctl.h: Likewise.
11808         * hurd/hurdmalloc.c: Likewise.
11809         * hurd/xattr.c: Likewise.
11810         * include/shlib-compat.h: Likewise.
11811         * inet/ruserpass.c: Likewise.
11812         * libio/iofgets_u.c: Likewise.
11813         * libio/iofgetws_u.c: Likewise.
11814         * locale/programs/ld-identification.c: Likewise.
11815         * locale/programs/ld-time.c: Likewise.
11816         * mach/msg-destroy.c: Likewise.
11817         * nss/nss_files/files-netgrp.c: Likewise.
11818         * resolv/res_data.c: Likewise.
11819         * soft-fp/op-1.h: Likewise.
11820         * soft-fp/op-2.h: Likewise.
11821         * soft-fp/op-4.h: Likewise.
11822         * soft-fp/op-common.h: Likewise.
11823         * stdio-common/printf_fphex.c: Likewise.
11824         * stdlib/strtod_l.c: Likewise.
11825         * sunrpc/rpc/clnt.h: Likewise.
11826         * sysdeps/generic/framestate.c: Likewise.
11827         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11828         * sysdeps/i386/bsd-setjmp.S: Likewise.
11829         * sysdeps/i386/__longjmp.S: Likewise.
11830         * sysdeps/i386/setjmp.S: Likewise.
11831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11832         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11840         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11842         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11843         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11844         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11848         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11849         * sysdeps/ieee754/support.c: Likewise.
11850         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11851         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11852         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11853         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11854         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11855         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11856         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11857         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11858         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11859         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11860         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11861         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11863         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11864         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11865         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11866         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11868
11869 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11870
11871         * posix/transbug.c: Remove executable mode.
11872
11873 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11874
11875         * crypt/speeds.c: Remove trailing whitespace.
11876         * dlfcn/default.c: Likewise.
11877         * elf/ifuncdep2.c: Likewise.
11878         * elf/ifuncmain1.c: Likewise.
11879         * elf/ifuncmain1vis.c: Likewise.
11880         * elf/testobj.h: Likewise.
11881         * elf/tst-stackguard1.c: Likewise.
11882         * gmon/sys/gmon.h: Likewise.
11883         * hurd/hurdmsg.c: Likewise.
11884         * hurd/new-fd.c: Likewise.
11885         * hurd/ports-get.c: Likewise.
11886         * iconvdata/ibm1008_420.c: Likewise.
11887         * inet/tst-getni1.c: Likewise.
11888         * inet/tst-getni2.c: Likewise.
11889         * libio/ioungetc.c: Likewise.
11890         * libio/wfiledoalloc.c: Likewise.
11891         * manual/libm-err-tab.pl: Likewise.
11892         * math/w_dremf.c: Likewise.
11893         * misc/ftruncate.c: Likewise.
11894         * posix/bug-glob2.c: Likewise.
11895         * posix/tst-pcre.c: Likewise.
11896         * posix/wait4.c: Likewise.
11897         * resolv/README: Likewise.
11898         * resolv/res_debug.h: Likewise.
11899         * resolv/tst-inet_ntop.c: Likewise.
11900         * setjmp/bug269-setjmp.c: Likewise.
11901         * soft-fp/extended.h: Likewise.
11902         * soft-fp/op-1.h: Likewise.
11903         * soft-fp/op-2.h: Likewise.
11904         * soft-fp/op-4.h: Likewise.
11905         * soft-fp/op-8.h: Likewise.
11906         * soft-fp/testit.c: Likewise.
11907         * stdio-common/bug16.c: Likewise.
11908         * stdlib/random.c: Likewise.
11909         * sunrpc/rpcsvc/rquota.x: Likewise.
11910         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11911         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11912         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11913         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11914         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11915         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11916         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11918         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11920         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11921         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11926         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11928         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11929         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11930         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11932         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11933         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11934         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11938         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11939         * sysdeps/ieee754/s_lib_version.c: Likewise.
11940         * sysdeps/mach/hurd/check_fds.c: Likewise.
11941         * sysdeps/mach/hurd/getsockname.c: Likewise.
11942         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11943         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11944         * sysdeps/powerpc/bits/link.h: Likewise.
11945         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11946         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11947         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11948         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11949         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11950         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11951         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11953         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11954         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11955         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11956         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11957         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11958         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11959         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11960         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11965         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11966         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11968         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11969         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11971         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11973         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11976         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11977         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11978         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11979         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11980         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11981         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11982         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11983         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11984         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11985         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11986         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11987         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11988         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11990         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11991         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11992         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11993         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11994         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11996         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11997         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11999         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12000         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12001         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12003         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12005         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12006         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12007         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12009         * sysdeps/powerpc/sysdep.h: Likewise.
12010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12011         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12012         * sysdeps/sh/dl-trampoline.S: Likewise.
12013         * sysdeps/sh/memset.S: Likewise.
12014         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12015         * sysdeps/sh/strlen.S: Likewise.
12016         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12017         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12018         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12019         * sysdeps/sparc/sparc32/rem.S: Likewise.
12020         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12021         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12022         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12023         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12024         * sysdeps/sparc/sparc32/urem.S: Likewise.
12025         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12026         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12027         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12028         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12030         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12031         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12032         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12033         * sysdeps/unix/bsd/times.c: Likewise.
12034         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12035         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12041         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12043         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12044         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12046         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12047         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12049         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12050         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12051         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12052         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12053         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12054         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12055         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12056         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12057         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12058         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12059         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12060         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12061         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12062         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12063         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12064         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12065         * sysdeps/x86_64/strcspn.S: Likewise.
12066
12067 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12068
12069         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12070         generated file.  Regenerate properly from gen-translit.pl.
12071         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12072         locale/C-translit.h.
12073
12074 2013-06-05  Andreas Schwab  <schwab@suse.de>
12075
12076         [BZ #15100]
12077         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12078         week as 6 instead of -1.
12079         * time/tst-strptime.c (day_tests): Add test case.
12080
12081 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12082
12083         * sysdeps/generic/math_private.h
12084         (libc_feholdexcept_setround_53bit): Replace with
12085         libc_feholdsetround_53bit.
12086         (libc_feupdateenv_53bit): Replace with
12087         libc_feresetround_53bit.
12088         (SET_RESTORE_ROUND_53BIT): Adjust.
12089
12090 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12091
12092         * string/test-strchrnul.c: Add copyright header.
12093
12094         * posix/tst-getaddrinfo4.c: Increase test timeout.
12095
12096 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12097
12098         [BZ #15536]
12099         * math/libm-test.inc (MAX_EXP): Remove
12100         (MIN_EXP): Define.
12101         (ulp): Use MIN_EXP - MANT_DIG.
12102         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12103
12104 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12105
12106         * po/be.po: Revert last change.
12107         * po/zh_CN.po: Likewise.
12108         * po/header.pot: Likewise.
12109
12110 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12111
12112         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12113         link-libc-deps to empty as target-specific variable.
12114         * Makerules (link-libc-args): New variable.
12115         (libc-for-link): Likewise.
12116         (link-libc-deps): Likewise.
12117         (lib%.so): Depend on $(link-libc-deps).  Link with
12118         $(link-libc-args).
12119         (build-module): Link with $(link-libc-args).
12120         (build-module-asneeded): Likewise.
12121         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12122         list of objects.
12123         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12124         target-specific variable.
12125         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12126         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12127         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12128         libc.
12129         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12130         libc and ld.so.
12131         ($(objpfx)libpcprofile.so): Likewise.
12132         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12133         libc_nonshared.a.
12134         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12135         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12136         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12137         $(link-libc-deps).
12138         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12139         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12140         * login/Makefile ($(objpfx)libutil.so): Likewise.
12141         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12142         * math/Makefile ($(objpfx)libm.so): Likewise.
12143         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12144         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12145         variable instead of depending directly on libc.
12146         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12147         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12148         $(link-libc-deps).
12149         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12150         libc.
12151         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12152         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12153         ($(objpfx)libanl.so): Likewise.
12154         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12155         ld.so.
12156         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12157         $(link-libc-deps).
12158         * sysdeps/i386/fpu/Makefile: Remove file.
12159         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12160         ($(objpfx)libm.so): Remove dependency on ld.so.
12161
12162 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12163
12164         [BZ # 15553]
12165         * nis/yp_xdr.c (XDRMAXNAME): Define.
12166         (XDRMAXRECORD): Define.
12167         (xdr_domainname): Use XDRMAXNAME.
12168         (xdr_mapname): Likewise.
12169         (xdr_peername): Likewise.
12170         (xdr_keydat): Use XDRMAXRECORD.
12171         (xdr_valdat): Likewise.
12172
12173 2013-05-30  Jeff Law  <law@redhat.com>
12174
12175         [BZ #14256]
12176         * manual/errno.texi (ESTALE): Update to account for more than
12177         just NFS file systems.
12178         * sysdeps/gnu/errlist.c: Regenerated.
12179
12180 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12181
12182         [BZ #15465]
12183         * elf/Makefile (tests): Add tst-null-argv.
12184         (modules-names):  Add tst-null-argv-lib.
12185         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12186         (tst-null-argv-ENV): Set environment for tst-null-argv.
12187         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12188         (RTLD_PROGNAME): New macro.
12189         * elf/tst-null-argv.c: New test case.
12190         * elf/tst-null-argv-lib.c: Library for test case.
12191         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12192         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12193         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12194         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12195         * elf/dl-init.c (call_init): Likewise.
12196         (_dl_init): Likewise.
12197         * elf/dl-load.c (print_search_path): Likewise.
12198         (_dl_map_object): Likewise.
12199         * elf/dl-lookup.c (do_lookup_x): Likewise.
12200         (add_dependency): Likewise.
12201         (_dl_lookup_symbol_x): Likewise.
12202         (_dl_debug_bindings): Likewise.
12203         * elf/dl-open.c (_dl_show_scope): Likewise.
12204         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12205         * elf/dl-version.c (match_symbol): Likewise.
12206         (_dl_check_map_versions): Likewise.
12207         * elf/rtld.c (dl_main): Likewise.
12208         (print_unresolved): Use RTLD_PROGNAME.
12209         (print_missing_version): Likewise.
12210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12211         (elf_machine_rela): Likewise.
12212         * sysdeps/powerpc/powerpc32/dl-machine.c
12213         (__process_machine_rela): Likewise.
12214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12215         Likewise.
12216         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12217         Likewise.
12218         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12219         Likewise.
12220         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12222         Likewise.
12223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12224         Likewise.
12225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12226
12227 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12228
12229         * po/be.po: Add descriptive title.
12230         * po/zh_CN.po: Likewise.
12231         * po/header.pot: Likewise.
12232
12233 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12234
12235         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12236         error message.
12237         (enlarge_archive): Likewise.
12238
12239 2013-05-28  Ben North  <ben@redfrontdoor.org>
12240
12241         * manual/arith.texi (frexp): It is the magnitude of the return
12242         value which lies in [0.5, 1), not the return value itself.
12243
12244 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12245
12246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12247
12248 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12249
12250         * stdio-common/bug26.c (main): Correct fscanf template.
12251
12252         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12253         declare _dl_skip_args.
12254
12255         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12256         Don't declare.
12257
12258         * manual/platform.texi: Add missing @end deftypefun.
12259
12260 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12261
12262         [BZ #15529]
12263         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12264         bit of mantissa of 2^16382.
12265         * math/libm-test.inc (hypot_test_data): Add more tests.
12266
12267         * math/libm-test.inc: Add drem and pow10 to list of tested
12268         functions.
12269         (pow10_test): New function.
12270         (drem_test): Likewise.
12271         (drem_test_tonearest): Likewise.
12272         (drem_test_towardzero): Likewise.
12273         (drem_test_downward): Likewise.
12274         (drem_test_upward): Likewise.
12275         (main): Call the new functions.
12276
12277         * math/libm-test.inc (finite_test_data): Remove.
12278         (finite_test): Run tests from isfinite_test_data.
12279         (gamma_test_data): Remove.
12280         (gamma_test): Run tests from lgamma_test_data.
12281         * sysdeps/i386/fpu/libm-test-ulps: Update.
12282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12283
12284 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12285
12286         * manual/platform.texi: Add PowerPC PPR function set documentation.
12287         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12288         implementation.
12289
12290 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12291
12292         * math/libm-test.inc (MAX_EXP): Define.
12293         (ULPDIFF): Define.
12294         (ulp): New function.
12295         (check_float_internal): Use ULPDIFF.
12296         (cpow_test): Disable failing test.
12297         (check_ulp): Test ulp() implemetnation.
12298         (main): Call check_ulp before starting tests.
12299
12300 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12301
12302         * math/gen-libm-test.pl (generate_testfile): Do not handle
12303         START_DATA and END_DATA.
12304         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12305         END_DATA.
12306         (acos_tonearest_test_data): Likewise.
12307         (acos_towardzero_test_data): Likewise.
12308         (acos_downward_test_data): Likewise.
12309         (acos_upward_test_data): Likewise.
12310         (acosh_test_data): Likewise.
12311         (asin_test_data): Likewise.
12312         (asin_tonearest_test_data): Likewise.
12313         (asin_towardzero_test_data): Likewise.
12314         (asin_downward_test_data): Likewise.
12315         (asin_upward_test_data): Likewise.
12316         (asinh_test_data): Likewise.
12317         (atan_test_data): Likewise.
12318         (atanh_test_data): Likewise.
12319         (atan2_test_data): Likewise.
12320         (cabs_test_data): Likewise.
12321         (cacos_test_data): Likewise.
12322         (cacosh_test_data): Likewise.
12323         (carg_test_data): Likewise.
12324         (casin_test_data): Likewise.
12325         (casinh_test_data): Likewise.
12326         (catan_test_data): Likewise.
12327         (catanh_test_data): Likewise.
12328         (cbrt_test_data): Likewise.
12329         (ccos_test_data): Likewise.
12330         (ccosh_test_data): Likewise.
12331         (ceil_test_data): Likewise.
12332         (cexp_test_data): Likewise.
12333         (cimag_test_data): Likewise.
12334         (clog_test_data): Likewise.
12335         (clog10_test_data): Likewise.
12336         (conj_test_data): Likewise.
12337         (copysign_test_data): Likewise.
12338         (cos_test_data): Likewise.
12339         (cos_tonearest_test_data): Likewise.
12340         (cos_towardzero_test_data): Likewise.
12341         (cos_downward_test_data): Likewise.
12342         (cos_upward_test_data): Likewise.
12343         (cosh_test_data): Likewise.
12344         (cosh_tonearest_test_data): Likewise.
12345         (cosh_towardzero_test_data): Likewise.
12346         (cosh_downward_test_data): Likewise.
12347         (cosh_upward_test_data): Likewise.
12348         (cpow_test_data): Likewise.
12349         (cproj_test_data): Likewise.
12350         (creal_test_data): Likewise.
12351         (csin_test_data): Likewise.
12352         (csinh_test_data): Likewise.
12353         (csqrt_test_data): Likewise.
12354         (ctan_test_data): Likewise.
12355         (ctan_tonearest_test_data): Likewise.
12356         (ctan_towardzero_test_data): Likewise.
12357         (ctan_downward_test_data): Likewise.
12358         (ctan_upward_test_data): Likewise.
12359         (ctanh_test_data): Likewise.
12360         (ctanh_tonearest_test_data): Likewise.
12361         (ctanh_towardzero_test_data): Likewise.
12362         (ctanh_downward_test_data): Likewise.
12363         (ctanh_upward_test_data): Likewise.
12364         (erf_test_data): Likewise.
12365         (erfc_test_data): Likewise.
12366         (exp_test_data): Likewise.
12367         (exp_tonearest_test_data): Likewise.
12368         (exp_towardzero_test_data): Likewise.
12369         (exp_downward_test_data): Likewise.
12370         (exp_upward_test_data): Likewise.
12371         (exp10_test_data): Likewise.
12372         (exp2_test_data): Likewise.
12373         (expm1_test_data): Likewise.
12374         (fabs_test_data): Likewise.
12375         (fdim_test_data): Likewise.
12376         (finite_test_data): Likewise.
12377         (floor_test_data): Likewise.
12378         (fma_test_data): Likewise.
12379         (fma_towardzero_test_data): Likewise.
12380         (fma_downward_test_data): Likewise.
12381         (fma_upward_test_data): Likewise.
12382         (fmax_test_data): Likewise.
12383         (fmin_test_data): Likewise.
12384         (fmod_test_data): Likewise.
12385         (fpclassify_test_data): Likewise.
12386         (frexp_test_data): Likewise.
12387         (gamma_test_data): Likewise.
12388         (hypot_test_data): Likewise.
12389         (ilogb_test_data): Likewise.
12390         (isfinite_test_data): Likewise.
12391         (isgreater_test_data): Likewise.
12392         (isgreaterequal_test_data): Likewise.
12393         (isinf_test_data): Likewise.
12394         (isless_test_data): Likewise.
12395         (islessequal_test_data): Likewise.
12396         (islessgreater_test_data): Likewise.
12397         (isnan_test_data): Likewise.
12398         (isnormal_test_data): Likewise.
12399         (issignaling_test_data): Likewise.
12400         (isunordered_test_data): Likewise.
12401         (j0_test_data): Likewise.
12402         (j1_test_data): Likewise.
12403         (jn_test_data): Likewise.
12404         (ldexp_test_data): Likewise.
12405         (lgamma_test_data): Likewise.
12406         (lrint_test_data): Likewise.
12407         (lrint_tonearest_test_data): Likewise.
12408         (lrint_towardzero_test_data): Likewise.
12409         (lrint_downward_test_data): Likewise.
12410         (lrint_upward_test_data): Likewise.
12411         (llrint_test_data): Likewise.
12412         (llrint_tonearest_test_data): Likewise.
12413         (llrint_towardzero_test_data): Likewise.
12414         (llrint_downward_test_data): Likewise.
12415         (llrint_upward_test_data): Likewise.
12416         (log_test_data): Likewise.
12417         (log10_test_data): Likewise.
12418         (log1p_test_data): Likewise.
12419         (log2_test_data): Likewise.
12420         (logb_test_data): Likewise.
12421         (logb_downward_test_data): Likewise.
12422         (lround_test_data): Likewise.
12423         (llround_test_data): Likewise.
12424         (modf_test_data): Likewise.
12425         (nearbyint_test_data): Likewise.
12426         (nextafter_test_data): Likewise.
12427         (nexttoward_test_data): Likewise.
12428         (pow_test_data): Likewise.
12429         (pow_tonearest_test_data): Likewise.
12430         (pow_towardzero_test_data): Likewise.
12431         (pow_downward_test_data): Likewise.
12432         (pow_upward_test_data): Likewise.
12433         (remainder_test_data): Likewise.
12434         (remainder_tonearest_test_data): Likewise.
12435         (remainder_towardzero_test_data): Likewise.
12436         (remainder_downward_test_data): Likewise.
12437         (remainder_upward_test_data): Likewise.
12438         (remquo_test_data): Likewise.
12439         (rint_test_data): Likewise.
12440         (rint_tonearest_test_data): Likewise.
12441         (rint_towardzero_test_data): Likewise.
12442         (rint_downward_test_data): Likewise.
12443         (rint_upward_test_data): Likewise.
12444         (round_test_data): Likewise.
12445         (scalb_test_data): Likewise.
12446         (scalbn_test_data): Likewise.
12447         (scalbln_test_data): Likewise.
12448         (signbit_test_data): Likewise.
12449         (sin_test_data): Likewise.
12450         (sin_tonearest_test_data): Likewise.
12451         (sin_towardzero_test_data): Likewise.
12452         (sin_downward_test_data): Likewise.
12453         (sin_upward_test_data): Likewise.
12454         (sincos_test_data): Likewise.
12455         (sinh_test_data): Likewise.
12456         (sinh_tonearest_test_data): Likewise.
12457         (sinh_towardzero_test_data): Likewise.
12458         (sinh_downward_test_data): Likewise.
12459         (sinh_upward_test_data): Likewise.
12460         (sqrt_test_data): Likewise.
12461         (tan_test_data): Likewise.
12462         (tan_tonearest_test_data): Likewise.
12463         (tan_towardzero_test_data): Likewise.
12464         (tan_downward_test_data): Likewise.
12465         (tan_upward_test_data): Likewise.
12466         (tanh_test_data): Likewise.
12467         (tgamma_test_data): Likewise.
12468         (trunc_test_data): Likewise.
12469         (y0_test_data): Likewise.
12470         (y1_test_data): Likewise.
12471         (yn_test_data): Likewise.
12472         (significand_test_data): Likewise.
12473
12474         * math/gen-libm-test.pl (@functions): Remove variable.
12475         (generate_testfile): Don't handle START and END lines.
12476         * math/libm-test.inc (START): New macro.
12477         (END): Likewise.
12478         (END_COMPLEX): Likewise.
12479         (acos_test): Use END macro without arguments.
12480         (acos_test_tonearest): Likewise.
12481         (acos_test_towardzero): Likewise.
12482         (acos_test_downward): Likewise.
12483         (acos_test_upward): Likewise.
12484         (acosh_test): Likewise.
12485         (asin_test): Likewise.
12486         (asin_test_tonearest): Likewise.
12487         (asin_test_towardzero): Likewise.
12488         (asin_test_downward): Likewise.
12489         (asin_test_upward): Likewise.
12490         (asinh_test): Likewise.
12491         (atan_test): Likewise.
12492         (atanh_test): Likewise.
12493         (atan2_test): Likewise.
12494         (cabs_test): Likewise.
12495         (cacos_test): Use END_COMPLEX macro without arguments.
12496         (cacosh_test): Likewise.
12497         (carg_test): Use END macro without arguments.
12498         (casin_test): Use END_COMPLEX macro without arguments.
12499         (casinh_test): Likewise.
12500         (catan_test): Likewise.
12501         (catanh_test): Likewise.
12502         (cbrt_test): Use END macro without arguments.
12503         (ccos_test): Use END_COMPLEX macro without arguments.
12504         (ccosh_test): Likewise.
12505         (ceil_test): Use END macro without arguments.
12506         (cexp_test): Use END_COMPLEX macro without arguments.
12507         (cimag_test): Use END macro without arguments.
12508         (clog_test): Use END_COMPLEX macro without arguments.
12509         (clog10_test): Likewise.
12510         (conj_test): Likewise.
12511         (copysign_test): Use END macro without arguments.
12512         (cos_test): Likewise.
12513         (cos_test_tonearest): Likewise.
12514         (cos_test_towardzero): Likewise.
12515         (cos_test_downward): Likewise.
12516         (cos_test_upward): Likewise.
12517         (cosh_test): Likewise.
12518         (cosh_test_tonearest): Likewise.
12519         (cosh_test_towardzero): Likewise.
12520         (cosh_test_downward): Likewise.
12521         (cosh_test_upward): Likewise.
12522         (cpow_test): Use END_COMPLEX macro without arguments.
12523         (cproj_test): Likewise.
12524         (creal_test): Use END macro without arguments.
12525         (csin_test): Use END_COMPLEX macro without arguments.
12526         (csinh_test): Likewise.
12527         (csqrt_test): Likewise.
12528         (ctan_test): Likewise.
12529         (ctan_test_tonearest): Likewise.
12530         (ctan_test_towardzero): Likewise.
12531         (ctan_test_downward): Likewise.
12532         (ctan_test_upward): Likewise.
12533         (ctanh_test): Likewise.
12534         (ctanh_test_tonearest): Likewise.
12535         (ctanh_test_towardzero): Likewise.
12536         (ctanh_test_downward): Likewise.
12537         (ctanh_test_upward): Likewise.
12538         (erf_test): Use END macro without arguments.
12539         (erfc_test): Likewise.
12540         (exp_test): Likewise.
12541         (exp_test_tonearest): Likewise.
12542         (exp_test_towardzero): Likewise.
12543         (exp_test_downward): Likewise.
12544         (exp_test_upward): Likewise.
12545         (exp10_test): Likewise.
12546         (exp2_test): Likewise.
12547         (expm1_test): Likewise.
12548         (fabs_test): Likewise.
12549         (fdim_test): Likewise.
12550         (finite_test): Likewise.
12551         (floor_test): Likewise.
12552         (fma_test): Likewise.
12553         (fma_test_towardzero): Likewise.
12554         (fma_test_downward): Likewise.
12555         (fma_test_upward): Likewise.
12556         (fmax_test): Likewise.
12557         (fmin_test): Likewise.
12558         (fmod_test): Likewise.
12559         (fpclassify_test): Likewise.
12560         (frexp_test): Likewise.
12561         (gamma_test): Likewise.
12562         (hypot_test): Likewise.
12563         (ilogb_test): Likewise.
12564         (isfinite_test): Likewise.
12565         (isgreater_test): Likewise.
12566         (isgreaterequal_test): Likewise.
12567         (isinf_test): Likewise.
12568         (isless_test): Likewise.
12569         (islessequal_test): Likewise.
12570         (islessgreater_test): Likewise.
12571         (isnan_test): Likewise.
12572         (isnormal_test): Likewise.
12573         (issignaling_test): Likewise.
12574         (isunordered_test): Likewise.
12575         (j0_test): Likewise.
12576         (j1_test): Likewise.
12577         (jn_test): Likewise.
12578         (ldexp_test): Likewise.
12579         (lgamma_test): Likewise.
12580         (lrint_test): Likewise.
12581         (lrint_test_tonearest): Likewise.
12582         (lrint_test_towardzero): Likewise.
12583         (lrint_test_downward): Likewise.
12584         (lrint_test_upward): Likewise.
12585         (llrint_test): Likewise.
12586         (llrint_test_tonearest): Likewise.
12587         (llrint_test_towardzero): Likewise.
12588         (llrint_test_downward): Likewise.
12589         (llrint_test_upward): Likewise.
12590         (log_test): Likewise.
12591         (log10_test): Likewise.
12592         (log1p_test): Likewise.
12593         (log2_test): Likewise.
12594         (logb_test): Likewise.
12595         (logb_test_downward): Likewise.
12596         (lround_test): Likewise.
12597         (llround_test): Likewise.
12598         (modf_test): Likewise.
12599         (nearbyint_test): Likewise.
12600         (nextafter_test): Likewise.
12601         (nexttoward_test): Likewise.
12602         (pow_test): Likewise.
12603         (pow_test_tonearest): Likewise.
12604         (pow_test_towardzero): Likewise.
12605         (pow_test_downward): Likewise.
12606         (pow_test_upward): Likewise.
12607         (remainder_test): Likewise.
12608         (remainder_test_tonearest): Likewise.
12609         (remainder_test_towardzero): Likewise.
12610         (remainder_test_downward): Likewise.
12611         (remainder_test_upward): Likewise.
12612         (remquo_test): Likewise.
12613         (rint_test): Likewise.
12614         (rint_test_tonearest): Likewise.
12615         (rint_test_towardzero): Likewise.
12616         (rint_test_downward): Likewise.
12617         (rint_test_upward): Likewise.
12618         (round_test): Likewise.
12619         (scalb_test): Likewise.
12620         (scalbn_test): Likewise.
12621         (scalbln_test): Likewise.
12622         (signbit_test): Likewise.
12623         (sin_test): Likewise.
12624         (sin_test_tonearest): Likewise.
12625         (sin_test_towardzero): Likewise.
12626         (sin_test_downward): Likewise.
12627         (sin_test_upward): Likewise.
12628         (sincos_test): Likewise.
12629         (sinh_test): Likewise.
12630         (sinh_test_tonearest): Likewise.
12631         (sinh_test_towardzero): Likewise.
12632         (sinh_test_downward): Likewise.
12633         (sinh_test_upward): Likewise.
12634         (sqrt_test): Likewise.
12635         (tan_test): Likewise.
12636         (tan_test_tonearest): Likewise.
12637         (tan_test_towardzero): Likewise.
12638         (tan_test_downward): Likewise.
12639         (tan_test_upward): Likewise.
12640         (tanh_test): Likewise.
12641         (tgamma_test): Likewise.
12642         (trunc_test): Likewise.
12643         (y0_test): Likewise.
12644         (y1_test): Likewise.
12645         (yn_test): Likewise.
12646         (significand_test): Likewise.
12647
12648 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12649
12650         [BZ #15381]
12651         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12652
12653 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12654
12655         [BZ #14894]
12656         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12657         __ppc_mdoio and __ppc_mdoom.
12658         * manual/platform.texi: Document new functions __ppc_yield,
12659         __ppc_mdoio and __ppc_mdoom.
12660
12661 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12662
12663         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12664         (main): Mention "tls" pseudo-hwcap is legacy.
12665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12666
12667 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12668
12669         * math/gen-libm-test.pl (parse_args): Output only string of
12670         arguments as text for test name, not full call or descriptions of
12671         tests for extra outputs.
12672         (generate_testfile): Do not pass function name to parse_args.
12673         Generate this_func variable from START.
12674         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12675         field to arg_str.
12676         (struct test_ff_f_data): Likewise.
12677         (test_ff_f_data_nexttoward): Likewise.
12678         (struct test_fi_f_data): Likewise.
12679         (struct test_fl_f_data): Likewise.
12680         (struct test_if_f_data): Likewise.
12681         (struct test_fff_f_data): Likewise.
12682         (struct test_c_f_data): Likewise.
12683         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12684         (struct test_fF_f1_data): Likewise.
12685         (struct test_ffI_f1_data): Likewise.
12686         (struct test_c_c_data): Rename test_name field to arg_str.
12687         (struct test_cc_c_data): Likewise.
12688         (struct test_f_i_data): Likewise.
12689         (struct test_ff_i_data): Likewise.
12690         (struct test_f_l_data): Likewise.
12691         (struct test_f_L_data): Likewise.
12692         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12693         and extra2_name.
12694         (COMMON_TEST_SETUP): New macro.
12695         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12696         (COMMON_TEST_CLEANUP): Likewise.
12697         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12698         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12699         macros.
12700         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12701         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12702         macros.
12703         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12704         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12705         cleanup macros.
12706         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12707         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12708         macros.
12709         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12710         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12711         macros.
12712         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12713         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12714         cleanup macros.
12715         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12716         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12717         cleanup macros.
12718         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12719         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12720         cleanup macros.
12721         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12722         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12723         macros.
12724         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12725         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12726         macros.
12727         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12728         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12729         macros.
12730         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12731         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12732         cleanup macros.
12733         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12734         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12735         cleanup macros.
12736         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12737         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12738         macros.
12739         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12740         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12741         cleanup macros.
12742         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12743         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12744         macros.
12745         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12746         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12747         macros.
12748         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12749         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12750         cleanup macros.
12751         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12752
12753 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12754
12755         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12756         to _sifields.sigfault.
12757         (si_addr_lsb): Define new macro.
12758         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12761
12762 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12763
12764         [BZ #15441]
12765         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12766         returns -1.
12767         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12768         null return -1.
12769         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12770         loading the domain.
12771
12772 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12773
12774         * math/gen-libm-test.pl (parse_args): Do not include expected
12775         result in test name.
12776         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12778         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12779         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12780         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12782
12783 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784
12785         * benchtests/Makefile: Sort function entries.
12786
12787         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12788         tanh, asinh, acosh, atanh.
12789         * benchtests/acos-inputs: New file.
12790         * benchtests/acosh-inputs: New file.
12791         * benchtests/asin-inputs: New file.
12792         * benchtests/asinh-inputs: New file.
12793         * benchtests/atanh-inputs: New file.
12794         * benchtests/cosh-inputs: New file.
12795         * benchtests/log-inputs: New file.
12796         * benchtests/sinh-inputs: New file.
12797         * benchtests/tanh-inputs: New file.
12798
12799 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12800
12801         [BZ #15339]
12802         * posix/tst-getaddrinfo4.c: New test.
12803         * posix/Makefile (tests): Add it.
12804
12805 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12806
12807         [BZ #15339]
12808         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12809         when no services were used.
12810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12811         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12812
12813 2013-05-21  Andreas Schwab  <schwab@suse.de>
12814
12815         [BZ #15014]
12816         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12817         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12818         successful.
12819         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12820         redundant variable declarations and reallocation of buffer when
12821         parsing as IPv6 address.  Always set NSS status when called from
12822         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12823         buffer too small.  Correct computation of needed size.
12824         * nss/Makefile (tests): Add test-digits-dots.
12825         * nss/test-digits-dots.c: New test.
12826
12827 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12828
12829         * benchtests/Makefile: Remove instructions for adding
12830         benchmark tests.
12831         * benchtests/README: New file to explain how to execute and
12832         enhance the benchmark tests.
12833
12834 2013-05-21  Andreas Schwab  <schwab@suse.de>
12835
12836         [BZ #15493]
12837         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12838         * setjmp/tst-sigsetjmp.c: New test.
12839
12840 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12841
12842         * sysdeps/x86_64/memset.S (memset): New implementation.
12843         (__bzero): Likewise.
12844         (__memset_tail): New function.
12845
12846 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12847
12848         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12849         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12850         __memcpy_sse2_unaligned ifunc selection.
12851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12852         Add memcpy-sse2-unaligned.S.
12853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12854         Add: __memcpy_sse2_unaligned.
12855
12856 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12857
12858         [BZ #15490]
12859         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12860         math_force_eval before restoring floating-point envrionment.
12861         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12863         Likewise.
12864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12865         <math_private.h>.
12866         (__nearbyintl): Use math_force_eval before restoring
12867         floating-point environment.
12868         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12869
12870         * math/gen-libm-test.pl (special_functions): Remove.
12871         (parse_args): Don't handle TEST_extra.  Handle functions with no
12872         return value.
12873         * math/libm-test.inc (struct test_sincos_data): Replace with
12874         struct test_fFF_11_data.
12875         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12876         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12877         (sincos_test_data): Change element type to struct
12878         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12879         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12880         RUN_TEST_LOOP_sincos.
12881         * math/README.libm-test: Don't mention special handling of
12882         individual functions.
12883         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12885         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12886         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12887         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889
12890         * math/gen-libm-test.pl (get_variable): Remove function.
12891         (parse_args): Don't show pointer parameters to call in test
12892         names.  Use "extra output N" in test names for extra outputs
12893         rather than naming variables.
12894
12895 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12896
12897         [BZ #15488]
12898         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12899         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12900         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12901         double tests.
12902         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12903         disable.
12904         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12905         check_long_double.
12906
12907         * math/gen-libm-test.pl (@tests): Remove variable.
12908         ($count): Likewise.
12909         (new_test): Remove function.
12910         (show_exceptions): New function.
12911         (special_functions): Use show_exceptions instead of new_test.
12912         (parse_args): Likewise.
12913         (generate_testfile): Pass only function name in generated call to
12914         print_max_error or print_complex_max_error.
12915         (get_ulps): Do not handle complex tests specially.
12916         (output_test): Rename to ...
12917         (get_all_ulps_for_test): ... this.  Return a string rather than
12918         printing to a file.  Require ulps to be present.
12919         (output_ulps): Generate arrays rather than #defines.
12920         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12921         (struct ulp_data): New type.
12922         (BUILD_COMPLEX_ULP): Remove macro.
12923         (compare_ulp_data): New function.
12924         (find_ulps): Likewise.
12925         (find_test_ulps): Likewise.
12926         (find_function_ulps): Likewise.
12927         (find_complex_function_ulps): Likewise.
12928         (print_max_error): Determine allowed ulps using
12929         find_function_ulps.
12930         (print_complex_max_error): Determine allowed ulps using
12931         find_complex_function_ulps.
12932         (check_float_internal): Determine max ulps using find_test_ulps.
12933         (check_float): Do not take max_ulp parameter.  Update call to
12934         check_float_internal.
12935         (check_complex): Likewise.
12936         (check_int): Do not take max_ulp parameter.
12937         (check_long): Likewise.
12938         (check_bool): Likewise.
12939         (check_longlong): Likewise.
12940         (struct test_f_f_data): Remove max_ulp field.
12941         (struct test_ff_f_data): Likewise.
12942         (struct test_ff_f_data_nexttoward): Likewise.
12943         (struct test_fi_f_data): Likewise.
12944         (struct test_fl_f_data): Likewise.
12945         (struct test_if_f_data): Likewise.
12946         (struct test_fff_f_data): Likewise.
12947         (struct test_c_f_data): Likewise.
12948         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12949         (struct test_fF_f1_data): Likewise.
12950         (struct test_ffI_f1_data): Likewise.
12951         (struct test_c_c_data): Remove max_ulp field.
12952         (struct test_cc_c_data): Likewise.
12953         (struct test_f_i_data): Likewise.
12954         (struct test_ff_i_data): Likewise.
12955         (struct test_f_l_data): Likewise.
12956         (struct test_f_L_data): Likewise.
12957         (struct test_sincos_data): Likewise.
12958         (RUN_TEST_f_f): Do not handle ulps.
12959         (RUN_TEST_LOOP_f_f): Likewise.
12960         (RUN_TEST_2_f): Likewise.
12961         (RUN_TEST_LOOP_2_f): Likewise.
12962         (RUN_TEST_fff_f): Likewise.
12963         (RUN_TEST_LOOP_fff_f): Likewise.
12964         (RUN_TEST_c_f): Likewise.
12965         (RUN_TEST_LOOP_c_f): Likewise.
12966         (RUN_TEST_f_f1): Likewise.
12967         (RUN_TEST_LOOP_f_f1): Likewise.
12968         (RUN_TEST_fF_f1): Likewise.
12969         (RUN_TEST_LOOP_fF_f1): Likewise.
12970         (RUN_TEST_fI_f1): Likewise.
12971         (RUN_TEST_LOOP_fI_f1): Likewise.
12972         (RUN_TEST_ffI_f1): Likewise.
12973         (RUN_TEST_LOOP_ffI_f1): Likewise.
12974         (RUN_TEST_c_c): Likewise.
12975         (RUN_TEST_LOOP_c_c): Likewise.
12976         (RUN_TEST_cc_c): Likewise.
12977         (RUN_TEST_LOOP_cc_c): Likewise.
12978         (RUN_TEST_f_i): Likewise.
12979         (RUN_TEST_LOOP_f_i): Likewise.
12980         (RUN_TEST_f_i_tg): Likewise.
12981         (RUN_TEST_LOOP_f_i_tg): Likewise.
12982         (RUN_TEST_ff_i_tg): Likewise.
12983         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12984         (RUN_TEST_f_b): Likewise.
12985         (RUN_TEST_LOOP_f_b): Likewise.
12986         (RUN_TEST_f_b_tg): Likewise.
12987         (RUN_TEST_LOOP_f_b_tg): Likewise.
12988         (RUN_TEST_f_l): Likewise.
12989         (RUN_TEST_LOOP_f_l): Likewise.
12990         (RUN_TEST_f_L): Likewise.
12991         (RUN_TEST_LOOP_f_L): Likewise.
12992         (RUN_TEST_sincos): Likewise.
12993         (RUN_TEST_LOOP_sincos): Likewise.
12994
12995 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12996
12997         [BZ #15480]
12998         [BZ #15485]
12999         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13000         main case of finite arguments, set rounding mode to FE_TONEAREST
13001         and discard exceptions.
13002         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13003         exceptions.
13004         (remainder_tonearest_test_data): New variable.
13005         (remainder_test_tonearest): New function.
13006         (remainder_towardzero_test_data): New variable.
13007         (remainder_test_towardzero): New function.
13008         (remainder_downward_test_data): New variable.
13009         (remainder_test_downward): New function.
13010         (remainder_upward_test_data): New variable.
13011         (remainder_test_upward): New function.
13012         (main): Call the new test functions.
13013
13014         * math/libm-test.inc (struct test_f_f1_data): Remove field
13015         extra_init.
13016         (struct test_fF_f1_data): Likewise.
13017         (struct test_ffI_f1_data): Likewise.
13018         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13019         based on value of EXTRA_EXPECTED.
13020         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13021         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13022         EXTRA_VAR based on value of EXTRA_EXPECTED.
13023         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13024         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13025         EXTRA_VAR based on value of EXTRA_EXPECTED.
13026         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13027         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13028         EXTRA_VAR based on value of EXTRA_EXPECTED.
13029         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13030         * math/gen-libm-test.pl (parse_args): Don't output initializers
13031         for extra output values.
13032
13033         * math/libm-test.inc (check_int): Expect result to be exactly
13034         equal to expected value and do not handle ulps.
13035         (check_long): Likewise.
13036         (check_longlong): Likewise.
13037
13038         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13039         exceptions.
13040         (cimag_test_data): Likewise.
13041         (conj_test_data): Likewise.
13042         (copysign_test_data): Likewise.
13043         (cproj_test_data): Likewise.
13044         (creal_test_data): Likewise.
13045         (fabs_test_data): Likewise.
13046         (fdim_test_data): Likewise.
13047         (finite_test_data): Likewise.
13048         (floor_test_data): Likewise.
13049         (fmax_test_data): Likewise.
13050         (fmin_test_data): Likewise.
13051         (fmod_test_data): Likewise.
13052         (fpclassify_test_data): Likewise.
13053         (frexp_test_data): Likewise.
13054         (ilogb_test_data): Likewise.
13055         (isfinite_test_data): Likewise.
13056         (isgreater_test_data): Likewise.
13057         (isgreaterequal_test_data): Likewise.
13058         (isinf_test_data): Likewise.
13059         (isless_test_data): Likewise.
13060         (islessequal_test_data): Likewise.
13061         (islessgreater_test_data): Likewise.
13062         (isnan_test_data): Likewise.
13063         (isnormal_test_data): Likewise.
13064         (issignaling_test_data): Likewise.
13065         (isunordered_test_data): Likewise.
13066         (ldexp_test_data): Likewise.
13067         (lrint_test_data): Likewise.
13068         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13069         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13070         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13071         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13072         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13073         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13074         test input.
13075         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13076         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13077         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13078         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13079         that test input.
13080         (lrint_downward_test_data): Test for "inexact" exceptions.
13081         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13082         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13083         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13084         test input.
13085         (lrint_upward_test_data): Test for "inexact" exceptions.
13086         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13087         test input.
13088         (llrint_test_data): Test for "inexact" exceptions.
13089         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13090         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13091         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13092         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13093         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13094         (llrint_downward_test_data): Test for "inexact" exceptions.
13095         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13096         (llrint_upward_test_data): Test for "inexact" exceptions.
13097         (logb_test_data): Likewise.
13098         (logb_downward_test_data): Likewise.
13099         (nextafter_test_data): Likewise.
13100         (nexttoward_test_data): Likewise.
13101         (remainder_test_data): Likewise.
13102         (remquo_test_data): Likewise.
13103         (scalbn_test_data): Likewise.
13104         (scalbln_test_data): Likewise.
13105         (signbit_test_data): Likewise.
13106         (sqrt_test_data): Likewise.
13107         (significand_test_data): Likewise.
13108
13109 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13110
13111         [BZ #15424]
13112         * benchtests/bench-modf.c (struct args): Mark arg0 as
13113         volatile.
13114         * scripts/bench.pl: Mark members of struct args as volatile.
13115
13116 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13117
13118         [BZ # 15497]
13119         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13120         negative infinity on POWER6 or lower.
13121         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13122
13123 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13124
13125         [BZ #15442]
13126         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13127         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13128         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13129         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13130         (_FP_SETQNAN): New macro.
13131         (_FP_SETQNAN_SEMIRAW): Likewise.
13132         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13133         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13134         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13135         (FP_EXTEND): Use _FP_FRAC_SNANP.
13136         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13137         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13138         into account.
13139         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13140         New macro.
13141         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13142         Likewise.
13143
13144 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13145
13146         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13147         with DIVIDE_BY_ZERO_EXCEPTION.
13148         (gamma_test_data): Likewise.
13149         (lgamma_test_data): Likewise.
13150         (log_test_data): Likewise.
13151         (log10_test_data): Likewise.
13152         (log2_test_data): Likewise.
13153         (tgamma_test_data): Likewise.
13154
13155         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13156         (acos_test_tonearest): Likewise.
13157         (acos_test_towardzero): Likewise.
13158         (acos_test_downward): Likewise.
13159         (acos_test_upward): Likewise.
13160         (acosh_test): Likewise.
13161         (asin_test): Likewise.
13162         (asin_test_tonearest): Likewise.
13163         (asin_test_towardzero): Likewise.
13164         (asin_test_downward): Likewise.
13165         (asin_test_upward): Likewise.
13166         (asinh_test): Likewise.
13167         (atan_test): Likewise.
13168         (atanh_test): Likewise.
13169         (atan2_test): Likewise.
13170         (cabs_test): Likewise.
13171         (cacos_test): Likewise.
13172         (cacosh_test): Likewise.
13173         (casin_test): Likewise.
13174         (casinh_test): Likewise.
13175         (catan_test): Likewise.
13176         (catanh_test): Likewise.
13177         (cbrt_test): Likewise.
13178         (ccos_test): Likewise.
13179         (ccosh_test): Likewise.
13180         (cexp_test): Likewise.
13181         (clog_test): Likewise.
13182         (clog10_test): Likewise.
13183         (cos_test): Likewise.
13184         (cos_test_tonearest): Likewise.
13185         (cos_test_towardzero): Likewise.
13186         (cos_test_downward): Likewise.
13187         (cos_test_upward): Likewise.
13188         (cosh_test): Likewise.
13189         (cosh_test_tonearest): Likewise.
13190         (cosh_test_towardzero): Likewise.
13191         (cosh_test_downward): Likewise.
13192         (cosh_test_upward): Likewise.
13193         (cpow_test): Likewise.
13194         (csin_test): Likewise.
13195         (csinh_test): Likewise.
13196         (csqrt_test): Likewise.
13197         (ctan_test): Likewise.
13198         (ctan_test_tonearest): Likewise.
13199         (ctan_test_towardzero): Likewise.
13200         (ctan_test_downward): Likewise.
13201         (ctan_test_upward): Likewise.
13202         (ctanh_test): Likewise.
13203         (ctanh_test_tonearest): Likewise.
13204         (ctanh_test_towardzero): Likewise.
13205         (ctanh_test_downward): Likewise.
13206         (ctanh_test_upward): Likewise.
13207         (erf_test): Likewise.
13208         (erfc_test): Likewise.
13209         (exp_test): Likewise.
13210         (exp_test_tonearest): Likewise.
13211         (exp_test_towardzero): Likewise.
13212         (exp_test_downward): Likewise.
13213         (exp_test_upward): Likewise.
13214         (exp10_test): Likewise.
13215         (exp2_test): Likewise.
13216         (expm1_test): Likewise.
13217         (fmod_test): Likewise.
13218         (gamma_test): Likewise.
13219         (hypot_test): Likewise.
13220         (j0_test): Likewise.
13221         (j1_test): Likewise.
13222         (jn_test): Likewise.
13223         (lgamma_test): Likewise.
13224         (log_test): Likewise.
13225         (log10_test): Likewise.
13226         (log1p_test): Likewise.
13227         (log2_test): Likewise.
13228         (logb_test_downward): Likewise.
13229         (pow_test): Likewise.
13230         (pow_test_tonearest): Likewise.
13231         (pow_test_towardzero): Likewise.
13232         (pow_test_downward): Likewise.
13233         (pow_test_upward): Likewise.
13234         (remainder_test): Likewise.
13235         (remquo_test): Likewise.
13236         (sin_test): Likewise.
13237         (sin_test_tonearest): Likewise.
13238         (sin_test_towardzero): Likewise.
13239         (sin_test_downward): Likewise.
13240         (sin_test_upward): Likewise.
13241         (sincos_test): Likewise.
13242         (sinh_test): Likewise.
13243         (sinh_test_tonearest): Likewise.
13244         (sinh_test_towardzero): Likewise.
13245         (sinh_test_downward): Likewise.
13246         (sinh_test_upward): Likewise.
13247         (sqrt_test): Likewise.
13248         (tan_test): Likewise.
13249         (tan_test_tonearest): Likewise.
13250         (tan_test_towardzero): Likewise.
13251         (tan_test_downward): Likewise.
13252         (tan_test_upward): Likewise.
13253         (tanh_test): Likewise.
13254         (tgamma_test): Likewise.
13255         (y0_test): Likewise.
13256         (y1_test): Likewise.
13257         (yn_test): Likewise.
13258
13259         * math/gen-libm-test.pl (adjust_arg): Remove function.
13260         (special_function): Remove argument $in_func.  Only handle
13261         generating output for tables of tests, not inside functions.
13262         (parse_args): Likewise.
13263         (generate_testfile): Remove variable $in_func.  Update call to
13264         parse_args.
13265         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13266         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13267         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13268         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13269         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13270         (MAX_VALUE_INIT): Rename macro to max_value.
13271         (MIN_VALUE_INIT): Rename macro to min_value.
13272         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13273         (plus_zero): Remove variable.
13274         (minus_zero): Likewise.
13275         (plus_infty): Likewise.
13276         (minus_infty): Likewise.
13277         (qnan_value): Likewise.
13278         (max_value): Likewise.
13279         (min_value): Likewise.
13280         (min_subnorm_value): Likewise.
13281
13282 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13283
13284         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13285         uint64_t or uint32_t usage.
13286         * crypt/sha256-block.c: Likewise.
13287         * crypt/sha256-crypt.c: Likewise.
13288         * crypt/sha256.c: Likewise.
13289         * crypt/sha512-block.c: Likewise.
13290         * crypt/sha512-crypt.c: Likewise.
13291         * crypt/sha512.c: Likewise.
13292         * debug/backtrace-tst.c: Likewise.
13293         * debug/pcprofiledump.c: Likewise.
13294         * elf/cache.c: Likewise.
13295         * elf/dl-cache.c: Likewise.
13296         * elf/dl-misc.c: Likewise.
13297         * elf/dl-profile.c: Likewise.
13298         * elf/dl-support.c: Likewise.
13299         * elf/ldconfig.c: Likewise.
13300         * elf/sprof.c: Likewise.
13301         * iconv/dummy-repertoire.c: Likewise.
13302         * iconv/iconv_charmap.c: Likewise.
13303         * iconv/skeleton.c: Likewise.
13304         * iconvdata/8bit-generic.c: Likewise.
13305         * iconvdata/cp737.h: Likewise.
13306         * iconvdata/cp775.h: Likewise.
13307         * iconvdata/ibm1008.h: Likewise.
13308         * iconvdata/ibm1025.h: Likewise.
13309         * iconvdata/ibm1046.h: Likewise.
13310         * iconvdata/ibm1097.h: Likewise.
13311         * iconvdata/ibm1112.h: Likewise.
13312         * iconvdata/ibm1122.h: Likewise.
13313         * iconvdata/ibm1123.h: Likewise.
13314         * iconvdata/ibm1124.h: Likewise.
13315         * iconvdata/ibm1129.h: Likewise.
13316         * iconvdata/ibm1130.h: Likewise.
13317         * iconvdata/ibm1132.h: Likewise.
13318         * iconvdata/ibm1133.h: Likewise.
13319         * iconvdata/ibm1137.h: Likewise.
13320         * iconvdata/ibm1140.h: Likewise.
13321         * iconvdata/ibm1141.h: Likewise.
13322         * iconvdata/ibm1142.h: Likewise.
13323         * iconvdata/ibm1143.h: Likewise.
13324         * iconvdata/ibm1144.h: Likewise.
13325         * iconvdata/ibm1145.h: Likewise.
13326         * iconvdata/ibm1146.h: Likewise.
13327         * iconvdata/ibm1147.h: Likewise.
13328         * iconvdata/ibm1148.h: Likewise.
13329         * iconvdata/ibm1149.h: Likewise.
13330         * iconvdata/ibm1153.h: Likewise.
13331         * iconvdata/ibm1154.h: Likewise.
13332         * iconvdata/ibm1155.h: Likewise.
13333         * iconvdata/ibm1156.h: Likewise.
13334         * iconvdata/ibm1157.h: Likewise.
13335         * iconvdata/ibm1158.h: Likewise.
13336         * iconvdata/ibm1160.h: Likewise.
13337         * iconvdata/ibm1161.h: Likewise.
13338         * iconvdata/ibm1162.h: Likewise.
13339         * iconvdata/ibm1163.h: Likewise.
13340         * iconvdata/ibm1164.h: Likewise.
13341         * iconvdata/ibm1166.h: Likewise.
13342         * iconvdata/ibm1167.h: Likewise.
13343         * iconvdata/ibm12712.h: Likewise.
13344         * iconvdata/ibm1390.h: Likewise.
13345         * iconvdata/ibm1399.h: Likewise.
13346         * iconvdata/ibm16804.h: Likewise.
13347         * iconvdata/ibm4517.h: Likewise.
13348         * iconvdata/ibm4899.h: Likewise.
13349         * iconvdata/ibm4909.h: Likewise.
13350         * iconvdata/ibm4971.h: Likewise.
13351         * iconvdata/ibm5347.h: Likewise.
13352         * iconvdata/ibm803.h: Likewise.
13353         * iconvdata/ibm856.h: Likewise.
13354         * iconvdata/ibm901.h: Likewise.
13355         * iconvdata/ibm902.h: Likewise.
13356         * iconvdata/ibm9030.h: Likewise.
13357         * iconvdata/ibm9066.h: Likewise.
13358         * iconvdata/ibm921.h: Likewise.
13359         * iconvdata/ibm922.h: Likewise.
13360         * iconvdata/ibm9448.h: Likewise.
13361         * iconvdata/isiri-3342.h: Likewise.
13362         * iconvdata/jis0201.h: Likewise.
13363         * include/link.h: Likewise.
13364         * include/netdb.h: Likewise.
13365         * inet/check_native.c: Likewise.
13366         * inet/check_pf.c: Likewise.
13367         * inet/getipv4sourcefilter.c: Likewise.
13368         * inet/getnameinfo.c: Likewise.
13369         * inet/getsourcefilter.c: Likewise.
13370         * inet/htonl.c: Likewise.
13371         * inet/setipv4sourcefilter.c: Likewise.
13372         * inet/setsourcefilter.c: Likewise.
13373         * inet/test-inet6_opt.c: Likewise.
13374         * inet/tst-network.c: Likewise.
13375         * locale/C-collate.c: Likewise.
13376         * locale/C-ctype.c: Likewise.
13377         * locale/C-time.c: Likewise.
13378         * locale/C-translit.h: Likewise.
13379         * locale/loadarchive.c: Likewise.
13380         * locale/programs/3level.h: Likewise.
13381         * locale/programs/charmap.c: Likewise.
13382         * locale/programs/charmap.h: Likewise.
13383         * locale/programs/ld-address.c: Likewise.
13384         * locale/programs/ld-collate.c: Likewise.
13385         * locale/programs/ld-ctype.c: Likewise.
13386         * locale/programs/ld-identification.c: Likewise.
13387         * locale/programs/ld-measurement.c: Likewise.
13388         * locale/programs/ld-messages.c: Likewise.
13389         * locale/programs/ld-monetary.c: Likewise.
13390         * locale/programs/ld-name.c: Likewise.
13391         * locale/programs/ld-numeric.c: Likewise.
13392         * locale/programs/ld-paper.c: Likewise.
13393         * locale/programs/ld-telephone.c: Likewise.
13394         * locale/programs/ld-time.c: Likewise.
13395         * locale/programs/linereader.c: Likewise.
13396         * locale/programs/locale.c: Likewise.
13397         * locale/programs/locarchive.c: Likewise.
13398         * locale/programs/locfile.h: Likewise.
13399         * locale/programs/repertoire.c: Likewise.
13400         * locale/programs/simple-hash.c: Likewise.
13401         * locale/programs/simple-hash.h: Likewise.
13402         * malloc/memusage.c: Likewise.
13403         * malloc/memusagestat.c: Likewise.
13404         * nis/nis_defaults.c: Likewise.
13405         * nis/nis_hash.c: Likewise.
13406         * nis/nis_print.c: Likewise.
13407         * nis/nis_xdr.c: Likewise.
13408         * nscd/connections.c: Likewise.
13409         * nscd/hstcache.c: Likewise.
13410         * nscd/nscd_gethst_r.c: Likewise.
13411         * nscd/nscd_getserv_r.c: Likewise.
13412         * nscd/nscd_helper.c: Likewise.
13413         * nscd/servicescache.c: Likewise.
13414         * nss/makedb.c: Likewise.
13415         * nss/nss_db/db-XXX.c: Likewise.
13416         * nss/nss_db/db-initgroups.c: Likewise.
13417         * nss/nss_db/db-netgrp.c: Likewise.
13418         * nss/nss_files/files-network.c: Likewise.
13419         * nss/nss_files/files-parse.c: Likewise.
13420         * posix/bug-regex5.c: Likewise.
13421         * posix/fnmatch_loop.c: Likewise.
13422         * posix/regcomp.c: Likewise.
13423         * posix/regexec.c: Likewise.
13424         * posix/tst-rfc3484-2.c: Likewise.
13425         * posix/tst-rfc3484-3.c: Likewise.
13426         * posix/tst-rfc3484.c: Likewise.
13427         * resolv/nss_dns/dns-canon.c: Likewise.
13428         * resolv/nss_dns/dns-network.c: Likewise.
13429         * resolv/res_init.c: Likewise.
13430         * resolv/res_mkquery.c: Likewise.
13431         * resolv/tst-aton.c: Likewise.
13432         * stdlib/cxa_atexit.c: Likewise.
13433         * stdlib/cxa_finalize.c: Likewise.
13434         * stdlib/gen-fpioconst.c: Likewise.
13435         * stdlib/strtol_l.c: Likewise.
13436         * string/tst-endian.c: Likewise.
13437         * sunrpc/auth_des.c: Likewise.
13438         * sunrpc/clnt_udp.c: Likewise.
13439         * sunrpc/rtime.c: Likewise.
13440         * sunrpc/svcauth_des.c: Likewise.
13441         * sunrpc/xdr.c: Likewise.
13442         * sunrpc/xdr_intXX_t.c: Likewise.
13443         * sunrpc/xdr_rec.c: Likewise.
13444         * sysdeps/generic/ldconfig.h: Likewise.
13445         * sysdeps/generic/ldsodefs.h: Likewise.
13446         * sysdeps/generic/memusage.h: Likewise.
13447         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13449         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13453         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13454         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13455         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13457         * sysdeps/posix/getaddrinfo.c: Likewise.
13458         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13459         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13460         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13461         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13462         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13463         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13464         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13465         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13466         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13467         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13468         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13469         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13470         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13471         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13472         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13473         * sysdeps/x86_64/dl-tls.h: Likewise.
13474         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13475         * time/alt_digit.c: Likewise.
13476         * time/era.c: Likewise.
13477         * wcsmbs/tst-c16c32-1.c: Likewise.
13478
13479 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13480
13481         * math/libm-test.inc (struct test_sincos_data): New type.
13482         (RUN_TEST_LOOP_sincos): New macro.
13483         (sincos_test_data): New variable.
13484         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13485
13486 2013-05-16  Richard Henderson  <rth@redhat.com>
13487
13488         * math/atest-exp2.c (LIMB64): New macro.
13489         (CONSTSZ): New macro.
13490         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13491         (hexdig): Move ...
13492         (print_mpn_fp): ... to function scope.
13493         (read_mpn_hex): Remove.
13494         (get_log2): Remove.
13495         (exp2_mpn): Use mp_log2.
13496         (main): Use mp_exp1.
13497
13498 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13499
13500         * math/libm-test.inc: Remove comment about not testing "inexact"
13501         exceptions.
13502         (INEXACT_EXCEPTION): New macro.
13503         (NO_INEXACT_EXCEPTION): Likewise.
13504         (INVALID_EXCEPTION_OK): Update value.
13505         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13506         (OVERFLOW_EXCEPTION_OK): Likewise.
13507         (UNDERFLOW_EXCEPTION_OK): Likewise.
13508         (IGNORE_ZERO_INF_SIGN): Likewise.
13509         (ERRNO_UNCHANGED): Likewise.
13510         (ERRNO_EDOM): Likewise.
13511         (ERRNO_ERANGE): Likewise.
13512         (test_exceptions): Handle testing "inexact" exceptions.
13513         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13514         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13515         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13516         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13517         INEXACT_EXCEPTION.
13518         (rint_towardzero_test_data): Likewise.
13519         (rint_downward_test_data): Likewise.
13520         (rint_upward_test_data): Likewise.
13521
13522         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13523         with OVERFLOW_EXCEPTION.
13524         (exp10_test_data): Likewise.
13525         (exp2_test_data): Likewise.
13526         (expm1_test_data): Likewise.
13527         (lgamma_test_data): Likewise.
13528         (pow_test_data): Likewise.
13529         (tgamma_test_data): Likewise.
13530         (yn_test_data): Remove duplicate test of overflow.
13531
13532         * math/libm-test.inc (struct test_cc_c_data): New type.
13533         (RUN_TEST_LOOP_cc_c): New macro.
13534         (cpow_test_data): New variable.
13535         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13536
13537         * math/libm-test.inc (struct test_f_L_data): New type.
13538         (RUN_TEST_LOOP_f_L): New macro.
13539         (llrint_test_data): New variable.
13540         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13541         (llrint_tonearest_test_data): New variable.
13542         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13543         (llrint_towardzero_test_data): New variable.
13544         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13545         (llrint_downward_test_data): New variable.
13546         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13547         (llrint_upward_test_data): New variable.
13548         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13549         (llround_test_data): New variable.
13550         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13551
13552 2013-05-13  Peter Collingbourne  <pcc@google.com>
13553
13554         * math/atest-exp2.c (get_log2): Remove const attribute.
13555
13556 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13557
13558         * math/libm-test.inc (struct test_f_l_data): New type.
13559         (RUN_TEST_LOOP_f_l): New macro.
13560         (lrint_test_data): New variable.
13561         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13562         (lrint_tonearest_test_data): New variable.
13563         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13564         (lrint_towardzero_test_data): New variable.
13565         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13566         (lrint_downward_test_data): New variable.
13567         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13568         (lrint_upward_test_data): New variable.
13569         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13570         (lround_test_data): New variable.
13571         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13572
13573 2013-05-15  Peter Collingbourne  <pcc@google.com>
13574
13575         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13576         (EXTRACT_WORDS64) Use where appropriate.
13577         (INSERT_WORDS64) Likewise.
13578
13579         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13580         constraints with x constraints.
13581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13582
13583         * malloc/obstack.c (_obstack_compat): Add initializer.
13584
13585 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13586
13587         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13588         si_trapno and add si_addr_lsb to _sifields.sigfault.
13589         (si_trapno): Remove macro.
13590         (si_addr_lsb): Define new macro.
13591         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13592
13593 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13594
13595         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13596         instead of TEST_f_l.
13597         (llrint_test_tonearest): Likewise.
13598         (llrint_test_towardzero): Likewise.
13599         (llrint_test_downward): Likewise.
13600         (llrint_test_upward): Likewise.
13601         (llround_test): Likewise.
13602
13603         * math/libm-test.inc (struct test_f_i_data): Add comment.
13604         (RUN_TEST_LOOP_f_b): New macro.
13605         (RUN_TEST_LOOP_f_b_tg): Likewise.
13606         (finite_test_data): New variable.
13607         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13608         (isfinite_test_data): New variable.
13609         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13610         (isinf_test_data): New variable.
13611         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13612         (isnan_test_data): New variable.
13613         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13614         (isnormal_test_data): New variable.
13615         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13616         (issignaling_test_data): New variable.
13617         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13618         (signbit_test_data): New variable.
13619         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13620
13621         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13622         with INVALID_EXCEPTION.
13623         (acosh_test_data): Likewise.
13624         (asin_test_data): Likewise.
13625         (atanh_test_data): Likewise.
13626         (fmod_test_data): Likewise.
13627         (log_test_data): Likewise.
13628         (log10_test_data): Likewise.
13629         (log2_test_data): Likewise.
13630         (pow_test_data): Likewise.
13631         (sqrt_test_data): Likewise.
13632         (y0_test_data): Likewise.
13633         (y1_test_data): Likewise.
13634         (yn_test_data): Likewise.
13635
13636         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13637         function contents.
13638
13639         * math/libm-test.inc (struct test_ff_i_data): New type.
13640         (RUN_TEST_LOOP_ff_i_tg): New macro.
13641         (isgreater_test_data): New variable.
13642         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13643         (isgreaterequal_test_data): New variable.
13644         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13645         (isless_test_data): New variable.
13646         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13647         (islessequal_test_data): New variable.
13648         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13649         (islessgreater_test_data): New variable.
13650         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13651         (isunordered_test_data): New variable.
13652         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13653
13654 2013-05-14  David S. Miller  <davem@davemloft.net>
13655
13656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13657
13658 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13659
13660         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13661
13662         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13663         extra_test to int.
13664         (struct test_f_i_data): Change type of max_ulp to int.
13665
13666         * math/libm-test.inc (test_ffI_f1_data): New type.
13667         (RUN_TEST_LOOP_ffI_f1): New macro.
13668         (remquo_test_data): New variable.
13669         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13670
13671         * setjmp/tst-setjmp-fp.c: New file.
13672         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13673         (link-libm): New variable.
13674         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13675
13676         * math/libm-test.inc (struct test_f_i_data): New type.
13677         (RUN_TEST_LOOP_f_i): New macro.
13678         (RUN_TEST_LOOP_f_i_tg): Likewise.
13679         (fpclassify_test_data): New variable.
13680         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13681         (ilogb_test_data): New variable.
13682         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13683
13684         * math/libm-test.inc (scalbln_test): Correct function name in END
13685         call.
13686
13687         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13688         (RUN_TEST_LOOP_fI_f1): New macro.
13689         (frexp_test_data): New variable.
13690         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13691
13692         * math/libm-test.inc (struct test_fF_f1_data): New type.
13693         (RUN_TEST_LOOP_fF_f1): New macro.
13694         (modf_test_data): New variable.
13695         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13696
13697         * math/libm-test.inc (struct test_f_f1_data): New type.
13698         (RUN_TEST_LOOP_f_f1): New macro.
13699         (gamma_test_data): New variable.
13700         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13701         (lgamma_test_data): New variable.
13702         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13703
13704 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13705
13706         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13707         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13708         (main): Comment "tls" pseudo-hwcap.
13709
13710 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13711
13712         * math/libm-test.inc (struct test_fl_f_data): New type.
13713         (RUN_TEST_LOOP_fl_f): New variable.
13714         (scalbln_test_data): New variable.
13715         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13716
13717         * math/libm-test.inc (struct test_fi_f_data): New type.
13718         (RUN_TEST_LOOP_fi_f): New macro.
13719         (ldexp_test_data): New variable.
13720         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13721         (scalbn_test_data): New variable.
13722         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13723
13724         * math/libm-test.inc (struct test_c_f_data): New type.
13725         (RUN_TEST_LOOP_c_f): New macro.
13726         (cabs_test_data): New variable.
13727         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13728         (carg_test_data): New variable.
13729         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13730         (cimag_test_data): New variable.
13731         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13732         (creal_test_data): New variable.
13733         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13734
13735         * math/libm-test.inc (struct test_if_f_data): New type.
13736         (RUN_TEST_LOOP_if_f): New macro.
13737         (jn_test_data): New variable.
13738         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13739         (yn_test_data): New variable.
13740         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13741
13742         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13743
13744 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13745
13746         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13747         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13748
13749 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750
13751         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13752         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13753         (bench-deps): Add bench-timing.h.
13754         * benchtests-bench-skeleton.c: Include bench-timing.h.
13755         (main): Use TIMING_* macros instead of clock_gettime.
13756         * benchtests/bench-timing.h: New file.
13757
13758         [BZ #14582]
13759         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13760         Renamed from _LIB_VERSION.
13761         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13762
13763 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13764
13765         * math/libm-test.inc (struct test_fff_f_data): New type.
13766         (RUN_TEST_LOOP_fff_f): New macro.
13767         (fma_test_data): New variable.
13768         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13769         (fma_towardzero_test_data): New variable.
13770         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13771         (fma_downward_test_data): New variable.
13772         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13773         (fma_upward_test_data): New variable.
13774         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13775
13776         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13777         (struct test_c_c_data): New type.
13778         (RUN_TEST_LOOP_c_c): New macro.
13779         (cacos_test_data): New variable.
13780         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13781         (cacosh_test_data): New variable.
13782         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13783         (casin_test_data): New variable.
13784         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13785         (casinh_test_data): New variable.
13786         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13787         (catan_test_data): New variable.
13788         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13789         (catanh_test_data): New variable.
13790         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13791         (ccos_test_data): New variable.
13792         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13793         (ccosh_test_data): New variable.
13794         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13795         (cexp_test_data): New variable.
13796         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13797         (clog_test_data): New variable.
13798         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13799         (clog10_test_data): New variable.
13800         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13801         (conj_test_data): New variable.
13802         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13803         (cproj_test_data): New variable.
13804         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13805         (csin_test_data): New variable.
13806         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13807         (csinh_test_data): New variable.
13808         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13809         (csqrt_test_data): New variable.
13810         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13811         (ctan_test_data): New variable.
13812         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13813         (ctan_tonearest_test_data): New variable.
13814         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13815         (ctan_towardzero_test_data): New variable.
13816         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13817         (ctan_downward_test_data): New variable.
13818         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13819         (ctan_upward_test_data): New variable.
13820         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13821         (ctanh_test_data): New variable.
13822         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13823         (ctanh_tonearest_test_data): New variable.
13824         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13825         (ctanh_towardzero_test_data): New variable.
13826         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13827         (ctanh_downward_test_data): New variable.
13828         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13829         (ctanh_upward_test_data): New variable.
13830         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13831         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13832         of BUILD_COMPLEX.
13833
13834         * math/libm-test.inc (struct test_ff_f_data): New type.
13835         (struct test_ff_f_data_nexttoward): Likewise.
13836         (RUN_TEST_LOOP_2_f): New macro.
13837         (RUN_TEST_LOOP_ff_f): Likewise.
13838         (atan2_test_data): New variable.
13839         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13840         (copysign_test_data): New variable.
13841         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13842         (fdim_test_data): New variable.
13843         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13844         (fmax_test_data): New variable.
13845         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13846         (fmin_test_data): New variable.
13847         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13848         (fmod_test_data): New variable.
13849         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13850         (hypot_test_data): New variable.
13851         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13852         (nextafter_test_data): New variable.
13853         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13854         (nexttoward_test_data): New variable.
13855         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13856         (pow_test_data): New variable.
13857         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13858         (pow_tonearest_test_data): New variable.
13859         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13860         (pow_towardzero_test_data): New variable.
13861         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13862         (pow_downward_test_data): New variable.
13863         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13864         (pow_upward_test_data): New variable.
13865         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13866         (remainder_test_data): New variable.
13867         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13868         (scalb_test_data): New variable.
13869         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13870         * sysdeps/i386/fpu/libm-test-ulps: Update.
13871
13872 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13873
13874         * math/libm-test.inc (fma_test): Use max_value instead of local
13875         variable fltmax.
13876         (nextafter_test): Likewise.
13877
13878         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13879         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13880         (acos_downward_test_data): New variable.
13881         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13882         (acos_upward_test_data): New variable.
13883         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13884         (acosh_test_data): New variable.
13885         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13886         (asin_test_data): New variable.
13887         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13888         (asin_tonearest_test_data): New variable.
13889         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13890         (asin_towardzero_test_data): New variable.
13891         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13892         (asin_downward_test_data): New variable.
13893         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13894         (asin_upward_test_data): New variable.
13895         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13896         (asinh_test_data): New variable.
13897         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13898         (atan_test_data): New variable.
13899         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13900         (atanh_test_data): New variable.
13901         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13902         (cbrt_test_data): New variable.
13903         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13904         (ceil_test_data): New variable.
13905         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13906         (cos_test_data): New variable.
13907         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13908         (cos_tonearest_test_data): New variable.
13909         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13910         (cos_towardzero_test_data): New variable.
13911         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13912         (cos_downward_test_data): New variable.
13913         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13914         (cos_upward_test_data): New variable.
13915         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13916         (cosh_test_data): New variable.
13917         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13918         (cosh_tonearest_test_data): New variable.
13919         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13920         (cosh_towardzero_test_data): New variable.
13921         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13922         (cosh_downward_test_data): New variable.
13923         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13924         (cosh_upward_test_data): New variable.
13925         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13926         (erf_test_data): New variable.
13927         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13928         (erfc_test_data): New variable.
13929         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13930         (exp_test_data): New variable.
13931         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13932         (exp_tonearest_test_data): New variable.
13933         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13934         (exp_towardzero_test_data): New variable.
13935         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13936         (exp_downward_test_data): New variable.
13937         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13938         (exp_upward_test_data): New variable.
13939         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13940         (exp10_test_data): New variable.
13941         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13942         (exp2_test_data): New variable.
13943         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13944         (expm1_test_data): New variable.
13945         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13946         (fabs_test_data): New variable.
13947         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13948         (floor_test_data): New variable.
13949         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13950         (j0_test_data): New variable.
13951         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13952         (j1_test_data): New variable.
13953         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13954         (log_test_data): New variable.
13955         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13956         (log10_test_data): New variable.
13957         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13958         (log1p_test_data): New variable.
13959         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13960         (log2_test_data): New variable.
13961         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13962         (logb_test_data): New variable.
13963         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13964         (logb_downward_test_data): New variable.
13965         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13966         (nearbyint_test_data): New variable.
13967         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13968         (rint_test_data): New variable.
13969         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13970         (rint_tonearest_test_data): New variable.
13971         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13972         (rint_towardzero_test_data): New variable.
13973         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13974         (rint_downward_test_data): New variable.
13975         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13976         (rint_upward_test_data): New variable.
13977         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13978         (round_test_data): New variable.
13979         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13980         (sin_test_data): New variable.
13981         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13982         (sin_tonearest_test_data): New variable.
13983         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13984         (sin_towardzero_test_data): New variable.
13985         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13986         (sin_downward_test_data): New variable.
13987         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13988         (sin_upward_test_data): New variable.
13989         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13990         (sinh_test_data): New variable.
13991         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13992         (sinh_tonearest_test_data): New variable.
13993         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13994         (sinh_towardzero_test_data): New variable.
13995         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13996         (sinh_downward_test_data): New variable.
13997         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13998         (sinh_upward_test_data): New variable.
13999         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14000         (sqrt_test_data): New variable.
14001         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14002         (tan_test_data): New variable.
14003         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14004         (tan_tonearest_test_data): New variable.
14005         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14006         (tan_towardzero_test_data): New variable.
14007         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14008         (tan_downward_test_data): New variable.
14009         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14010         (tan_upward_test_data): New variable.
14011         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14012         (tanh_test_data): New variable.
14013         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14014         (tgamma_test_data): New variable.
14015         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14016         (trunc_test_data): New variable.
14017         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14018         (y0_test_data): New variable.
14019         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14020         (y1_test_data): New variable.
14021         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14022         (significand_test_data): New variable.
14023         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14024
14025 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14026
14027         [BZ #12387]
14028         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14029
14030 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14031
14032         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14033
14034 2013-05-10  Andreas Jaeger  <aj@suse.de>
14035
14036         [BZ #15448]
14037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14038         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14039
14040 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14041
14042         * math/gen-libm-test.pl (adjust_arg): New function.
14043         (special_functions): Handle generating output in both functions
14044         and arrays.
14045         (parse_args): Likewise.
14046         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14047         $in_func argument to parse_args.
14048         * math/libm-test.inc (struct test_f_f_data): New type.
14049         (IF_ROUND_INIT_): New macro.
14050         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14051         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14052         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14053         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14054         (ROUND_RESTORE_): Likewise.
14055         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14056         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14057         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14058         (ROUND_RESTORE_FE_UPWARD): Likewise.
14059         (RUN_TEST_LOOP_f_f): New macro.
14060         (acos_test_data): New variable.
14061         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14062         (acos_tonearest_test_data): New variable.
14063         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14064
14065 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14066
14067         * benchtests/bench-skeleton.c (startup): Fix coding style.
14068
14069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14070
14071         [BZ #6809]
14072         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14073         negative infinity argument.
14074         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14075         negative infinity argument.
14076         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14077         negative infinity argument.
14078         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14079         domain errors.
14080
14081 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14082
14083         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14084         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14085         * iconv/iconv_prog.c (main): Likewise.
14086         * locale/programs/charmap-dir.c (charmap_readdir)
14087         (fopen_uncompressed): Likewise.
14088         * locale/programs/locfile.c (siblings_uncached)
14089         (write_locale_data): Use lstat64 instead of lstat.
14090         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14091         stat.
14092
14093 2013-05-10  Andreas Jaeger  <aj@suse.de>
14094
14095         [BZ #15395]
14096         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14097         localization.
14098         Include <locale.h>.
14099
14100 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14101
14102         * elf/dl-close.c (_dl_close_worker): Add comments.
14103
14104 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14105
14106         [BZ #15359]
14107         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14108         high part of pi/2.
14109         (__ieee754_rem_pio2l): Update comments.
14110
14111         [BZ #15429]
14112         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14113         high part of pi/2.
14114         (__ieee754_rem_pio2l): Update comments.
14115
14116         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14117         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14118
14119         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14120         M_PI_4l.
14121
14122         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14123         (M_PI_34_LOG10El): Likewise.
14124         (M_PI2_LOG10El): Likewise.
14125         (M_PI4_LOG10El): Likewise.
14126         (M_PI_LOG10El): Likewise.
14127
14128 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14129
14130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131
14132 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14133
14134         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14135         (MINUS_ZERO_INIT): Likewise.
14136         (PLUS_INFTY_INIT): Likewise.
14137         (MINUS_INFTY_INIT): Likewise.
14138         (QNAN_VALUE_INIT): Likewise.
14139         (MAX_VALUE_INIT): Likewise.
14140         (MIN_VALUE_INIT): Likewise.
14141         (MIN_SUBNORM_VALUE_INIT): Likewise.
14142         (plus_zero): Initialize with PLUS_ZERO_INIT.
14143         (minus_zero): Initialize with MINUS_ZERO_INIT.
14144         (plus_infty): Initialize with PLUS_INFTY_INIT.
14145         (minus_infty): Initialize with MINUS_INFTY_INIT.
14146         (qnan_value): Initialize with QNAN_VALUE_INIT.
14147         (max_value): Initialize with MAX_VALUE_INIT.
14148         (min_value): Initialize with MIN_VALUE_INIT.
14149         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14150
14151         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14152         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14153         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14154         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14155
14156         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14157         (RUN_TEST_2_f): Likewise.
14158         (RUN_TEST_ff_f): Likewise.
14159         (RUN_TEST_fi_f): Likewise.
14160         (RUN_TEST_fl_f): Likewise.
14161         (RUN_TEST_fff_f): Likewise.
14162         (RUN_TEST_c_f): Likewise.
14163         (RUN_TEST_f_f1): Likewise.
14164         (RUN_TEST_fF_f1): Likewise.
14165         (RUN_TEST_fI_f1): Likewise.
14166         (RUN_TEST_ffI_f1): Likewise.
14167         (RUN_TEST_c_c): Likewise.
14168         (RUN_TEST_cc_c): Likewise.
14169         (RUN_TEST_f_i): Likewise.
14170         (RUN_TEST_f_i_tg): Likewise.
14171         (RUN_TEST_ff_i_tg): Likewise.
14172         (RUN_TEST_f_b): Likewise.
14173         (RUN_TEST_f_b_tg): Likewise.
14174         (RUN_TEST_f_l): Likewise.
14175         (RUN_TEST_f_L): Likewise.
14176         (RUN_TEST_sincos): Likewise.
14177         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14178         whether to show exceptions.  Do not include ");\n" in return
14179         value.
14180         (special_functions): Output call to RUN_TEST_sincos instead of
14181         check_float calls.  Update calls to new_test.
14182         (parse_args): Output call to single RUN_TEST_* macro instead of
14183         check_* calls and other assignments.  Update calls to new_test.
14184
14185         [BZ #2546]
14186         [BZ #2560]
14187         [BZ #5159]
14188         [BZ #15426]
14189         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14190         input to result for tgamma overflow.
14191         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14192         (gamma_coeff): New variable.
14193         (NCOEFF): New macro.
14194         (gamma_positive): New function.
14195         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14196         underflow here.  Use gamma_positive instead of exp (lgamma) for
14197         other arguments.
14198         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14199         (gamma_coeff): New variable.
14200         (NCOEFF): New macro.
14201         (gammaf_positive): New function.
14202         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14203         underflow here.  Use gamma_positive instead of exp (lgamma) for
14204         other arguments.
14205         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14206         (gamma_coeff): New variable.
14207         (NCOEFF): New macro.
14208         (gammal_positive): New function.
14209         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14210         underflow here.  Use gamma_positive instead of exp (lgamma) for
14211         other arguments.
14212         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14213         (gamma_coeff): New variable.
14214         (NCOEFF): New macro.
14215         (gammal_positive): New function.
14216         (__ieee754_gammal_r): Handle positive infinity, overflow and
14217         underflow here.  Handle NaN the same as positive infinity.  Remove
14218         check x < 0xffffffff for negative integers.  Use gamma_positive
14219         instead of exp (lgamma) for other arguments.
14220         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14221         (gamma_coeff): New variable.
14222         (NCOEFF): New macro.
14223         (gammal_positive): New function.
14224         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14225         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14226         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14227         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14228         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14229         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14230         * sysdeps/generic/math_private.h (__gamma_productf): New
14231         prototype.
14232         (__gamma_product): Likewise.
14233         (__gamma_productl): Likewise.
14234         * math/Makefile (libm-calls): Add gamma_product.
14235         * math/libm-test.inc (tgamma_test): Add more tests.
14236         * sysdeps/i386/fpu/libm-test-ulps: Update.
14237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14238
14239 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14240
14241         * benchtests/bench-skeleton.c (main): Preheat CPU.
14242
14243 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14244
14245         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14246
14247 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14248
14249         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14250         and _dl_skip_args_internal.
14251
14252 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14253
14254         * manual/message.texi (Message Translation): Talk about users.
14255         Message to key mapping impacts design.
14256
14257 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14258
14259         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14260
14261         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14262
14263         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14264         * sysdeps/wordsize-64/glob64.c: ... here.
14265
14266         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14267         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14268         New macros.
14269
14270         * debug/getlogin_r_chk.c: Moved to ...
14271         * login/getlogin_r_chk.c: ... here.
14272         * debug/Makefile (routines): Move getlogin_r_chk to ...
14273         * login/Makefile (routines): ... here.
14274         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14275         * login/Versions (libc: GLIBC_2.4): ... here.
14276
14277         * io/poll.c (__poll): Renamed from poll.
14278         Add libc_hidden_def.
14279         (poll): Define as weak alias.
14280
14281         * debug/ptsname_r_chk.c: Moved to ...
14282         * login/ptsname_r_chk.c: ... here.
14283         * debug/Makefile (routines): Move ptsname_r_chk to ...
14284         * login/Makefile (routines): ... here.
14285         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14286         * login/Versions (libc: GLIBC_2.4): ... here.
14287
14288         * posix/getlogin.c: Moved to ...
14289         * login/getlogin.c: ... here.
14290         * posix/getlogin_r.c: Moved to ...
14291         * login/getlogin_r.c: ... here.
14292         * posix/getlogin_r.c: Moved to ...
14293         * login/getlogin_r.c: ... here.
14294         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14295         * login/Makefile (routines): ... here.
14296         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14297         * login/Versions (libc: GLIBC_2.0): ... here.
14298
14299         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14300         (setrlimit): Define as weak alias.
14301
14302         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14303         Call __ names for open, ftruncate, and close.
14304         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14305         (truncate): Define as weak alias.
14306
14307 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14308
14309         * math/gen-libm-test.pl (parse_args): Initialize x before each
14310         test of frexp, modf and remquo.
14311
14312         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14313         test signgam value.
14314
14315 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14316
14317         [BZ #15418]
14318         [BZ #15419]
14319         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14320         internal tests.
14321         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14322
14323 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14324
14325         * elf/dl-writev.h: New file.
14326         * elf/dl-misc.c: Include it.
14327         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14328         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14329
14330 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14331
14332         * math/libm-test.inc (noXFails): Remove variable.
14333         (noXPasses): Likewise.
14334         (BUILD_COMPLEX_INT): Remove macro.
14335         (print_screen): Remove xfail argument.
14336         (print_screen_max_error): Likewise.
14337         (update_stats): Likewise.
14338         (print_max_error): Likewise.  Update calls to other affected
14339         functions.
14340         (print_complex_max_error): Likewise.
14341         (test_single_exception): Update calls to print_screen.
14342         (test_single_errno): Likewise.
14343         (check_float_internal): Remove xfail argument.  Update calls to
14344         other affected functions.
14345         (check_float): Likewise.
14346         (check_complex): Likewise.
14347         (check_int): Likewise.
14348         (check_long): Likewise.
14349         (check_bool): Likewise.
14350         (check_longlong): Likewise.
14351         (main): Don't print noXFails and noXPasses.
14352         * math/gen-libm-test.pl (top level): Don't mention expected
14353         failure handling in comment.
14354         (new_test): Don't handle expected failures.
14355         (parse_args): Don't mention expected failure handling in comment.
14356         (generate_testfile): Don't handle expected failures.
14357         (parse_ulps): Likewise.
14358         (print_ulps_file): Likewise.
14359         (get_failure): Remove function.
14360         (output_test): Don't handle expected failures.
14361         * make/README.libm-test: Don't mention expected failure handling.
14362
14363         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14364         (minus_zero): Likewise.
14365         (plus_infty): Likewise.
14366         (minus_infty): Likewise.
14367         (qnan_value): Likewise.
14368         (max_value): Likewise.
14369         (min_value): Likewise.
14370         (min_subnorm_value): Likewise.
14371         (initialize): Do not initialize those variables dynamically.
14372
14373 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14374
14375         * io/open.c (__open_2): Moved to ...
14376         * io/open_2.c: ... this new file.
14377         * io/open64.c (__open64_2): Moved to ...
14378         * io/open64_2.c: ... this new file.
14379         * io/openat.c (__openat_2): Moved to ...
14380         * io/openat_2.c: ... this new file.
14381         * io/openat64.c (__openat64_2): Moved to ...
14382         * io/openat64_2.c: ... this new file.
14383         * io/Makefile (routines): Add them.
14384         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14385         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14386         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14387         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14388         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14389         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14390         (__openat64): Add hidden_ver.
14391         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14392         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14393
14394         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14395         Separately conditionalize setting of GLRO(dl_sysinfo) so
14396         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14397         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14398
14399 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14400
14401         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14403         definition.
14404         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14405         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14406         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14407         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14408         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14409
14410 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14411
14412         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14413         test signgam value.
14414
14415         * math/libm-test.inc (hypot_test): Do not use
14416         IGNORE_ZERO_INF_SIGN.
14417
14418 2013-05-03  Andreas Jaeger  <aj@suse.de>
14419
14420         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14421         Linux 3.9.
14422         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14423         (PF_MAX): Adjust for VSOCK change.
14424
14425 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14426
14427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14428
14429 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14430
14431         [BZ #15264]
14432         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14433         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14434         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14435
14436 2013-05-02  David S. Miller  <davem@davemloft.net>
14437
14438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14439
14440 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14441
14442         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14443
14444 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14445
14446         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14447
14448 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14449
14450         [BZ #14952]
14451         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14452         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14453         Use __attribute__ ((__gnu_inline__)).
14454         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14455         Don't use __attribute__ ((__gnu_inline__)).
14456
14457 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14458
14459         [BZ #15423]
14460         * math/s_catan.c (__catan): Handle small real or imaginary part of
14461         input specially to avoid spurious underflow.
14462         * math/s_catanf.c (__catanf): Likewise.
14463         * math/s_catanh.c (__catanh): Likewise.
14464         * math/s_catanhf.c (__catanhf): Likewise.
14465         * math/s_catanhl.c (__catanhl): Likewise.
14466         * math/s_catanl.c (__catanl): Likewise.
14467         * math/libm-test.inc (catan_test): Add more tests.
14468         (catanh_test): Likewise.
14469         * sysdeps/i386/fpu/libm-test-ulps: Update.
14470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14471
14472 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14473
14474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14475
14476 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14477
14478         [BZ #15416]
14479         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14480         accurately for denominator in atan2.
14481         * math/s_catanf.c (__catanf): Likewise.
14482         * math/s_catanh.c (__catanh): Likewise.
14483         * math/s_catanhf.c (__catanhf): Likewise.
14484         * math/s_catanhl.c (__catanhl): Likewise.
14485         * math/s_catanl.c (__catanl): Likewise.
14486         * math/libm-test.inc (catan_test): Add more tests.
14487         (catanh_test): Likewise.
14488         * sysdeps/i386/fpu/libm-test-ulps: Update.
14489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
14491 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14492
14493         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14494
14495         * benchtests/Makefile (bench): Remove slow benchmarks.
14496         * benchtests/atan-inputs: Add slow benchmark inputs.
14497         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14498         (BENCH_FUNC): Accept variant offset.
14499         (VARIANT): Define.
14500         * benchtests/bench-skeleton.c (main): Run benchmark for each
14501         variant.
14502         * benchtests/cos-inputs: Add slow benchmark inputs.
14503         * benchtests/exp-inputs: Likewise.
14504         * benchtests/pow-inputs: Likewise.
14505         * benchtests/sin-inputs: Likewise.
14506         * benchtests/slowatan-inputs: Remove.
14507         * benchtests/slowatan.c: Remove.
14508         * benchtests/slowcos-inputs: Remove.
14509         * benchtests/slowcos.c: Remove.
14510         * benchtests/slowexp-inputs: Remove.
14511         * benchtests/slowexp.c: Remove.
14512         * benchtests/slowpow-inputs: Remove.
14513         * benchtests/slowpow.c: Remove.
14514         * benchtests/slowsin-inputs: Remove.
14515         * benchtests/slowsin.c: Remove.
14516         * benchtests/slowtan-inputs: Remove.
14517         * benchtests/slowtan.c: Remove.
14518         * benchtests/tan-inputs: Add slow benchmark inputs.
14519         * scripts/bench.pl: Parse comments and directives.
14520
14521         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14522         in CPPFLAGS.
14523         ($(objpfx)bench-%.c): Remove *-ITER.
14524         * benchtests/bench-modf.c: Remove definition of ITER.
14525         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14526         (main): Loop for DURATION seconds instead of fixed number of
14527         iterations.
14528         * scripts/bench.pl: Don't expect iterations in parameters.
14529
14530 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14531
14532         * io/fchdir.c (__fchdir): Renamed from fchdir.
14533         (fchdir): Define as weak alias.
14534
14535 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14536
14537         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14538         (ERRNO_EDOM): Likewise.
14539         (ERRNO_ERANGE): Likewise.
14540         (noErrnoTests): New variable.
14541         (init_max_error): Set errno to 0.
14542         (test_single_errno): New function.
14543         (test_errno): Likewise.
14544         (check_float_internal): Call test_errno.  Set errno to 0.
14545         (check_complex): Refer to errno tests in comment.
14546         (check_int): Call test_errno.  Set errno to 0.
14547         (check_long): Likewise.
14548         (check_bool): Likewise.
14549         (check_longlong): Likewise.
14550         (cos_test): Use ERRNO_* flags for errno tests instead of
14551         check_int.
14552         (expm1_test): Likewise.
14553         (fmod_test): Likewise.
14554         (ilogb_test): Likewise.
14555         (lgamma_test): Likewise.
14556         (pow_test): Likewise.
14557         (remainder_test): Likewise.
14558         (sin_test): Likewise.
14559         (tan_test): Likewise.
14560         (yn_test): Likewise.
14561         (initialize): Set errno to 0.
14562         (main): Print number of errno tests.
14563         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14564
14565 2013-04-29  Andreas Jaeger  <aj@suse.de>
14566
14567         [BZ #15084]
14568         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14569         and RES_USEVC.
14570
14571         [BZ #15085]
14572         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14573         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14574         unimplemented.
14575
14576         [BZ #15380]
14577         * stdlib/random.c (__initstate): Return NULL if
14578         __initstate fails.
14579
14580         [BZ #15086]
14581         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14582         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14583         RES_SNGLKUPREOP.
14584
14585 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14586
14587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14588
14589 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14590
14591         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14592         of individual tests.
14593         (casin_test): Likewise.
14594         (casinh_test): Likewise.
14595
14596 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14597
14598         [BZ #15409]
14599         * math/s_catan.c (__catan): Handle arguments with large real or
14600         imaginary part separately without squaring.
14601         * math/s_catanf.c (__catanf): Likewise.
14602         * math/s_catanh.c (__catanh): Likewise.
14603         * math/s_catanhf.c (__catanhf): Likewise.
14604         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14605         and redefine.
14606         (__catanhl): Handle arguments with large real or imaginary part
14607         separately without squaring.
14608         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14609         and redefine.
14610         (__catanl): Handle arguments with large real or imaginary part
14611         separately without squaring.
14612         * math/libm-test.inc (catan_test): Add more tests.
14613         (catanh_test): Likewise.
14614         * sysdeps/i386/fpu/libm-test-ulps: Update.
14615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14616
14617 2013-04-27  Andreas Jaeger  <aj@suse.de>
14618
14619         [BZ #15007]
14620         * stdlib/stdlib.h: Update guards for qecvt.
14621         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14622         <stdlib.h>.
14623
14624 2013-04-27  Allan McRae  <allan@archlinux.org>
14625
14626         * sysdeps/i386/fpu/libm-test-ulps: Update.
14627
14628 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14629
14630         [BZ #15406]
14631         * math/s_catan.c: Include <float.h>.
14632         (__catan): Ensure underflow exception occurs for underflowed
14633         result.
14634         * math/s_catanf.c: Include <float.h>.
14635         (__catanf): Ensure underflow exception occurs for underflowed
14636         result.
14637         * math/s_catanh.c: Include <float.h>.
14638         (__catanh): Ensure underflow exception occurs for underflowed
14639         result.
14640         * math/s_catanhf.c: Include <float.h>.
14641         (__catanhf): Ensure underflow exception occurs for underflowed
14642         result.
14643         * math/s_catanhl.c: Include <float.h>.
14644         (__catanhl): Ensure underflow exception occurs for underflowed
14645         result.
14646         * math/s_catanl.c: Include <float.h>.
14647         (__catanl): Ensure underflow exception occurs for underflowed
14648         result.
14649         * math/libm-test.inc (catan_test): Add more tests.
14650         (catanh_test): Likewise.
14651
14652         [BZ #15405]
14653         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14654         underflowed result.
14655         * math/s_ccoshf.c (__ccoshf): Likewise.
14656         * math/s_ccoshl.c (__ccoshl): Likewise.
14657         * math/s_csin.c (__csin): Likewise.
14658         * math/s_csinf.c (__csinf): Likewise.
14659         * math/s_csinh.c (__csinh): Likewise.
14660         * math/s_csinhf.c (__csinhf): Likewise.
14661         * math/s_csinhl.c (__csinhl): Likewise.
14662         * math/s_csinl.c (__csinl): Likewise.
14663         * math/libm-test.inc (ccos_test): Add more tests.
14664         (ccosh_test): Likewise.
14665         (csin_test): Likewise.
14666         (csinh_test): Likewise.
14667
14668 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14669
14670         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14671         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14672         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14673         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14674         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14675         powerpc/power5+/fpu folders.
14676         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14677
14678
14679 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14680
14681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14682
14683 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14684
14685         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14686         additions to variable.
14687         [$(config-machine) = x86_64] (modules-names): Likewise.
14688         ($(objpfx)tst-audit3): Remove dependency.
14689         ($(objpfx)tst-audit3.out): Likewise.
14690         ($(objpfx)tst-audit4): Likewise.
14691         ($(objpfx)tst-audit4.out): Likewise.
14692         ($(objpfx)tst-audit5): Likewise.
14693         ($(objpfx)tst-audit5.out): Likewise.
14694         ($(objpfx)tst-audit6): Likewise.
14695         ($(objpfx)tst-audit6.out): Likewise.
14696         ($(objpfx)tst-audit7): Likewise.
14697         ($(objpfx)tst-audit7.out): Likewise.
14698         (tst-audit3-ENV): Remove variable.
14699         (tst-audit4-ENV): Likewise.
14700         (tst-audit5-ENV): Likewise.
14701         (tst-audit6-ENV): Likewise.
14702         (tst-audit7-ENV): Likewise.
14703         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14704         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14705         addition to variable.
14706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14710         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14711         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14712         tst-audit3, tst-audit4 and tst-audit5.
14713         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14714         tst-audit6 and tst-audit7.
14715         [$(subdir) = elf] (modules-names): Add audit modules for those
14716         tests.
14717         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14718         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14719         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14720         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14721         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14722         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14723         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14724         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14725         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14726         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14727         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14728         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14729         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14730         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14731         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14732         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14733         Likewise.
14734         [$(subdir) = elf && $(config-cflags-avx) = yes]
14735         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14736         [$(subdir) = elf && $(config-cflags-avx) = yes]
14737         (CFLAGS-tst-auditmod4a.c): Likewise.
14738         [$(subdir) = elf && $(config-cflags-avx) = yes]
14739         (CFLAGS-tst-auditmod4b.c): Likewise.
14740         [$(subdir) = elf && $(config-cflags-avx) = yes]
14741         (CFLAGS-tst-auditmod6b.c): Likewise.
14742         [$(subdir) = elf && $(config-cflags-avx) = yes]
14743         (CFLAGS-tst-auditmod6c.c): Likewise.
14744         [$(subdir) = elf && $(config-cflags-avx) = yes]
14745         (CFLAGS-tst-auditmod7b.c): Likewise.
14746         * elf/tst-audit3.c: Move to ...
14747         * sysdeps/x86_64/tst-audit3.c: ... here.
14748         * elf/tst-audit4.c: Move to ...
14749         * sysdeps/x86_64/tst-audit4.c: ... here.
14750         * elf/tst-audit5.c: Move to ...
14751         * sysdeps/x86_64/tst-audit5.c: ... here.
14752         * elf/tst-audit6.c: Move to ...
14753         * sysdeps/x86_64/tst-audit6.c: ... here.
14754         * elf/tst-audit7.c: Move to ...
14755         * sysdeps/x86_64/tst-audit7.c: ... here.
14756         * elf/tst-auditmod3a.c: Move to ...
14757         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14758         * elf/tst-auditmod3b.c: Move to ...
14759         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14760         * elf/tst-auditmod4a.c: Move to ...
14761         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14762         * elf/tst-auditmod4b.c: Move to ...
14763         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14764         * elf/tst-auditmod5a.c: Move to ...
14765         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14766         * elf/tst-auditmod5b.c: Move to ...
14767         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14768         * elf/tst-auditmod6a.c: Move to ...
14769         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14770         * elf/tst-auditmod6b.c: Move to ...
14771         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14772         * elf/tst-auditmod6c.c: Move to ...
14773         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14774         * elf/tst-auditmod7a.c: Move to ...
14775         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14776         * elf/tst-auditmod7b.c: Move to ...
14777         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14778
14779 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14780
14781         [BZ #15366]
14782         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14783         define unconditionally.
14784         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14785         define unconditionally.
14786         (INT8_C, INT16_C, etc.): Likewise.
14787
14788 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14789
14790         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14791         __ehdr_start with hidden visibility.
14792
14793         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14794
14795 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14796
14797         * math/libm-test.inc (cos_test): Use accurate hex constants.
14798         (sincost_test): Likewise.
14799
14800 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14801
14802         * math/libm-test.inc (catan_test): Add more tests.
14803         (catanh_test): Likewise.
14804
14805         * math/s_catanf.c (__catanf): Use suffixed floating-point
14806         constants.
14807         * math/s_catanhf.c (__catanhf): Likewise.
14808         * math/s_catanhl.c (__catanhl): Likewise.
14809         * math/s_catanl.c (__catanl): Likewise.
14810
14811         [BZ #15394]
14812         * math/s_catan.c (__catan): Calculate imaginary part of result
14813         with log1p not log unless computing log of number close to 0.
14814         * math/s_catanf.c (__catanf): Likewise.
14815         * math/s_catanl.c (__catanl): Likewise.
14816         * math/s_catanh.c (__catanh): Calculate real part of result with
14817         log1p not log unless computing log of number close to 0.
14818         * math/s_catanhf.c (__catanhf): Likewise.
14819         * math/s_catanhl.c (__catanhl): Likewise.
14820         * math/libm-test.inc (catan_test): Add more tests.
14821         (catanh_test): Likewise.
14822         * sysdeps/i386/fpu/libm-test-ulps: Update.
14823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14824
14825 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14826
14827         * benchtests/Makefile: Mention files in which fast and slow
14828         paths of math functions are implemented.
14829
14830 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14831
14832         * sysdeps/posix/timespec_get.c: New file.
14833
14834 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14835
14836         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14837         POWER.
14838         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14839         for POWER.
14840         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14841         powerpc/power5/fpu folders.
14842         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14843         * benchtests/Makefile: Add modf testcase.
14844         * benchtests/bench-modf.c: New file: Benchmark test for mo
14845
14846 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14847
14848         [BZ #14888]
14849         * time/Makefile (tests): Add tst-strptime-whitespace.
14850         * time/strptime_l.c (get_number): Use ISSPACE.
14851         (__strptime_internal): Likewise.
14852         * time/tst-strptime-whitespace.c: New test case.
14853
14854 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14855
14856         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14857         member.
14858         (_nss_files_init): Set it here.
14859
14860 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14861
14862         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14863         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14864         unsigned.
14865
14866 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14867
14868         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14869
14870 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14871
14872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14873         size just once.
14874
14875 2013-04-21  David S. Miller  <davem@davemloft.net>
14876
14877         * po/ru.po: Update Russion translation from translation project.
14878
14879 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14880
14881         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14882         and setfsgid.
14883
14884 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14885
14886         * configure.in: Remove i386 configure warning. Remove i386 case.
14887         * configure: Regenerate.
14888         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14889         Add example to error message.
14890         * sysdeps/i386/configure: Regenerate.
14891
14892 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14893
14894         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14895         slowtan.
14896         * benchtests/cos-inputs: New file.
14897         * benchtests/slowcos-inputs: New file.
14898         * benchtests/slowcos.c: New file.
14899         * benchtests/slowtan-inputs: New file.
14900         * benchtests/slowtan.c: New file.
14901         * benchtests/tan-inputs: New file.
14902
14903 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14904
14905         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14906         considered kosher.
14907
14908 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14909
14910         * benchtests/Makefile: Include cppflags-iterator.mk to add
14911         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14912
14913         * Makefile.in (bench-clean): New target.
14914         * benchtests/Makefile (bench-clean): Likewise.
14915
14916 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14917
14918         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14919
14920 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14921
14922         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14923
14924 2013-04-15  Andreas Schwab  <schwab@suse.de>
14925
14926         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14928         * nscd/pwdcache.c (cache_addpw): Likewise.
14929         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14930         more than recsize.
14931
14932 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14933
14934         * benchtests/Makefile (bench): Write all output to
14935         bench-out.tmp together.
14936
14937 2013-04-15  Andreas Schwab  <schwab@suse.de>
14938
14939         * nscd/nscd.c (main): Don't fork again after closing files.
14940
14941 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14942
14943         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14944
14945         * benchtests/Rules (bench-deps): Collect dependencies into a
14946         single variable.  Add Makefile to dependencies.
14947         ($(objpfx)bench-%.c): Depend on bench-deps.
14948
14949 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14950             Xavier Roche  <roche+kml2@exalead.com>
14951
14952         [BZ #15361]
14953         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14954         just that it's a file descriptor.
14955         * manual/llio.texi (Synchronizing AIO Operations): Update description
14956         for EBADF error from aio_fsync.
14957
14958 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14959
14960         * Rules (bench): Move target definition...
14961         * benchtests/Makefile: ... here.
14962
14963 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14964
14965         * math/libm-test.inc (cos_test): Fix PI/2 test.
14966         (sincos_test): Likewise.
14967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14968         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14969
14970 2013-04-11  Andreas Schwab  <schwab@suse.de>
14971
14972         [BZ #13988]
14973         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14974         accept exponent character only when digits were seen.
14975         * stdio-common/Makefile (tests): Add bug26.
14976         * stdio-common/bug26.c: New file.
14977
14978         [BZ #14293]
14979         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14980         non-freeable.
14981
14982 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14983
14984         * Makeconfig (rtld-prefix): Define built linker prefix.
14985         * Rules (run-bench): Use it.
14986         * math/Makefile (run-regen-ulps): Likewise.
14987
14988         * Rules (bench): Remove eval.
14989
14990 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14991             Roland McGrath  <roland@hack.frob.com>
14992             Ondrej Bilka  <neleai@seznam.cz>
14993
14994         [BZ #15346]
14995         * time/getdate.c: Include ctype.h and alloca.h.
14996         (__getdate_r): Trim leading and trailing spaces of input.
14997         * time/tst-getdate.c (tests): Add tests with leading and
14998         trailing spaces.
14999
15000 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15001
15002         [BZ #14280]
15003         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15004         when computing value.
15005
15006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15007
15008         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15009         Use testrun.sh to run libm tests.
15010
15011         [BZ #15309]
15012         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15013
15014 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15015
15016         [BZ #15264]
15017         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15018
15019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15020
15021         * Makefile.in (regen-ulps): New target.
15022         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15023         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15024         [ifneq (no,$(PERL)] (regen-ulps): New target.
15025         [ifeq (no,$(PERL)] (regen-ulps): New target.
15026         * math/libm-test.inc (ulps_file_name): Define.
15027         (output_dir): New variable.
15028         (options): Add "output-dir" option.
15029         (parse_opt): Handle 'o' case.
15030         (main): If output_dir is non-NULL use it as a prefix
15031         otherwise use "".
15032         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15033
15034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15035
15036         [BZ #10060, #10062]
15037         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15038         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15039         fail configure if __sync_val_compare_and_swap is not inlined.
15040         * sysdeps/i386/configure: Regenerate.
15041         * configure.in: Build for i686 when configured for i386.
15042         * configure: Regenerate.
15043         * README: Remove i386 reference.
15044
15045 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15046
15047         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15048         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15049
15050 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15051
15052         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15053         (lmsnanval): New variables.
15054         (F): Add conversion tests.
15055         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15056         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15057
15058         * stdio-common/tstdiomisc.c (F): Properly collect individual
15059         tests' results.
15060
15061         [BZ #14686, #15336]
15062         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15063         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15064         Instead, use input NaN values or generate a qNaN by arithmetic
15065         operation.  Also fix bugs to comply with the standard.
15066         * math/libm-test.inc (remainder_test): Add more tests.
15067
15068         [BZ #15335, #15342]
15069         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15071         input NaN values or generate a qNaN by arithmetic operation.
15072
15073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15074         unreachable code.
15075
15076         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15077         definitions.
15078
15079 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15080
15081         [BZ #14478]
15082         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15083         underflowed result.
15084         * math/s_cexpf.c (__cexpf): Likewise.
15085         * math/s_cexpl.c (__cexpl): Likewise.
15086         * math/libm-test.inc (cexp_test): Add more tests.
15087
15088 2013-04-03  Andreas Schwab  <schwab@suse.de>
15089
15090         [BZ #15330]
15091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15092         order arrays from heap if bigger than alloca cutoff.
15093
15094 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15095
15096         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15097         (SNAN_TESTS_double): Refer to GCC PR56831.
15098         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15099         GCC PR56828.
15100
15101 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15102
15103         * Rules (bench): Move bench.out after the run is complete.
15104
15105         * Rules (bench): Echo currently running benchmark.
15106
15107         * benchtests/Makefile (bench): Add atan and slowatan.
15108         * benchtests/atan-inputs: New file.
15109         * benchtests/slowatan-inputs: New file.
15110         * benchtests/slowatan.c: New file.
15111
15112         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15114         its value.
15115
15116         [BZ #15305]
15117         * sysdeps/unix/sysv/linux/kernel-features.h
15118         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15119         __ASSUME_XFS_RESTRICTED_CHOWN.
15120         * sysdeps/unix/sysv/linux/pathconf.c
15121         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15122         Save and restore errno.
15123
15124 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15125
15126         [BZ #15327]
15127         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15128         arguments using __kernel_casinh.
15129         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15130         arguments using __kernel_casinhf.
15131         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15132         arguments using __kernel_casinhl.
15133         * math/libm-test.inc (cacosh_test): Add more tests.
15134         * sysdeps/i386/fpu/libm-test-ulps: Update.
15135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15136
15137 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15138
15139         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15141
15142         * bench/Makefile (bench): Add sin and slowsin.
15143         * benchtests/sin-inputs: New file.
15144         * benchtests/slowsin-inputs: New file.
15145         * benchtests/slowsin.c: New file.
15146
15147         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15148         (bench): Add slowexp and slowpow.
15149         (exp-ITER): Increase iterations.
15150         (pow-ITER): Likewise.
15151         * benchtests/exp-inputs: Change input.
15152         * benchtests/pow-inputs: Likewise.
15153         * benchtests/slowexp-inputs: New file.
15154         * benchtests/slowexp.c: New file.
15155         * benchtests/slowpow-inputs: New file.
15156         * benchtests/slowpow.c: New file.
15157
15158 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15159
15160         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15161         instructions.
15162         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15163         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15164         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15165         * benchtests/Makefile: Add rint benchtest.
15166         * benchtests/rint-inputs: Input for rint benchtest.
15167
15168 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15169
15170         * Versions.def (libm): Add GLIBC_2.18.
15171         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15172         hidden libm prototypes.
15173         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15174         * math/Makefile (libm-calls): Add s_issignaling.
15175         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15176         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15177         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15178         declaration.
15179         * math/math.h [__USE_GNU] (issignaling): New macro.
15180         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15181         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15182         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15183         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15184         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15185         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15186         * manual/arith.texi (issignaling): New section.
15187         * manual/libm-err-tab.pl (@all_functions): Update comment.
15188         * math/gen-libm-test.pl (parse_args): Apply special handling for
15189         issignaling.
15190         * math/libm-test.inc (print_float, issignaling_test): New
15191         functions.
15192         (check_float_internal): Add issignaling checks.
15193         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15194         default definition.
15195         * sysdeps/powerpc/math-tests.h: New file.
15196         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15197         tests.
15198         * math/test-snan.c (TEST_FUNC): Likewise.
15199
15200 2013-03-30  David S. Miller  <davem@davemloft.net>
15201
15202         * po/de.po: Update from translation team.
15203
15204 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15205
15206         [BZ #10357]
15207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15208         imaginary part less than 1.0 and real part less than 0.5
15209         specially.
15210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15212         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15213         (cacos_test): Add more tests.
15214         (casin_test): Likewise.
15215         (casinh_test): Likewise.
15216         * sysdeps/i386/fpu/libm-test-ulps: Update.
15217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218
15219 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15220
15221         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15222         ONE with its value.
15223
15224         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15225         (__pow_mp): Replace ONE and MONE with their values.
15226         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15228         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15229         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15230         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15231         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15232
15233         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15234
15235         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15236         (__pow_mp): Replace ZERO and MZERO with their values.
15237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15241         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15242         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15243         (__sqr): Likewise.
15244
15245         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15246
15247         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15248
15249 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15250
15251         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15252         Declare with __attribute__ ((weak)).
15253         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15254         Call __call_tls_dtors only if it's not NULL.
15255
15256 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15257
15258         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15259         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15260         magic __ehdr_start linker symbol if it's defined.
15261         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15262         them up here if it was already done.
15263
15264         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15265         (_dl_aux_init): Use const in cast when setting it.
15266         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15267         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15268         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15269
15270         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15271         Declare them here.
15272         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15273         * csu/libc-tls.c: Nor here.
15274         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15275
15276         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15277         (__libc_message): Never call vsyslog.
15278
15279 2013-03-28  Alan Modra  <amodra@gmail.com>
15280
15281         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15282         Define as empty.
15283         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15284         Likewise.
15285
15286 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15287
15288         [BZ #15214]
15289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15290         underflow.
15291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15292
15293 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15294
15295         [BZ #15304]
15296         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15297         Don't add gid passed as argument.
15298
15299         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15300
15301 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15302
15303         [BZ #15307]
15304         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15305         imaginary part between 1.0 and 1.5 and real part less than 0.5
15306         specially.
15307         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15308         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15309         * math/libm-test.inc (cacos_test): Add more tests.
15310         (casin_test): Likewise.
15311         (casinh_test): Likewise.
15312         * sysdeps/i386/fpu/libm-test-ulps: Update.
15313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314
15315 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15316
15317         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15318         constants.
15319         (norm): Likewise.
15320         (denorm): Likewise.
15321         (__dbl_mp): Likewise.
15322         (add_magnitudes): Likewise.
15323         (sub_magnitudes): Likewise.
15324         (__add): Likewise.
15325         (__sub): Likewise.
15326         (__mul): Likewise.
15327         (__sqr): Likewise.
15328         (__inv): Likewise.
15329         (__dvd): Likewise.
15330
15331         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15332         commented code.
15333         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15334         (__dubcos): Likewise.
15335         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15336         (__ieee754_acos): Likewise.
15337         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15338         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15339         (__exp1): Likewise.
15340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15342         (log1): Likewise.
15343         (my_log2): Likewise.
15344         (checkint): Likewise.
15345         * sysdeps/ieee754/dbl-64/e_remainder.c
15346         (__ieee754_remainder): Likewise.
15347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15349         (bsloww): Likewise.
15350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15351
15352         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15354         MANTISSA_STORE_T to store computations on mantissa.  Use
15355         macros for rounding and division.
15356         (denorm): Likewise.
15357         (__dbl_mp): Likewise.
15358         (add_magnitudes): Likewise.
15359         (sub_magnitudes): Likewise.
15360         (__mul): Likewise.
15361         (__sqr): Likewise.
15362         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15363         powers of two in terms of TWOPOW macro.
15364         (mp_no): Make type of mantissa as MANTISSA_T.
15365         [!RADIXI]: Define RADIXI.
15366         [!TWO52]: Define TWO52.
15367         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15368
15369 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15370
15371         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15372         llroundl symbol when building for PPC32.
15373
15374 2013-03-24  Mark H Weaver  <mhw@netris.org>
15375
15376         * manual/arith.texi (Normalization Functions): Fix prototypes for
15377         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15378
15379 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15380
15381         [BZ #13889]
15382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15383         high value to check if expl overflow.
15384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15385         to check for underflow and overflow.
15386         * math/libm-test.inc: Add exp test.
15387
15388 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15389
15390         [BZ #11120]
15391         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15392         with NOT_IN_libc.
15393
15394 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15395
15396         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15397         symbol.
15398
15399 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15400
15401         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15402         wrap blocks consisting of several statements.
15403
15404         * sysdeps/generic/math-tests.h: New file.
15405         * sysdeps/i386/fpu/math-tests.h: Likewise.
15406         * math/test-snan.c: Include it.
15407         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15408
15409 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15410
15411         [BZ #15285]
15412         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15413         (__ieee754_j0l): Do not improve calculations using cos of twice
15414         input for inputs above LDBL_MAX / 2.0L.
15415         (__ieee754_y0l): Likewise.
15416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15417         (__ieee754_j1l): Do not improve calculations using cos of twice
15418         input for inputs above LDBL_MAX / 2.0L.
15419         (__ieee754_y1l): Likewise.
15420         * math/libm-test.inc (j0_test): Add another test.
15421         (j1_test): Likewise.
15422         (y0_test): Likewise.
15423         (y1_test): Likewise.
15424         * sysdeps/i386/fpu/libm-test-ulps: Update.
15425
15426 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15427
15428         * Rules ($(objpfx)bench-%.c): Include code from a C source
15429         file.
15430
15431 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15432
15433         [BZ #15287]
15434         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15435         imaginary part 1.0 and real part less than 0.5 specially.
15436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15438         * math/libm-test.inc (cacos_test): Add more tests.
15439         (casin_test): Likewise.
15440         (casinh_test): Likewise.
15441         * sysdeps/i386/fpu/libm-test-ulps: Update.
15442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15443
15444 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15445
15446         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15447         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15448
15449 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15450
15451         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15452         * config.make.in (config-cflags-sse4): Remove variable.
15453         (config-cflags-avx): Likewise.
15454         (config-cflags-sse2avx): Likewise.
15455         (config-cflags-novzeroupper): Likewise.
15456         (config-asflags-i686): Likewise.
15457         (have-mfma4): Likewise.
15458         (have-as-vis3): Likewise.
15459         (MIG): Likewise.
15460         * configure.in (MIG): Do not AC_SUBST.
15461         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15462         (libc_cv_cc_sse4): Do not AC_SUBST.
15463         (libc_cv_cc_avx): Likewise.
15464         (libc_cv_cc_sse2avx): Likewise.
15465         (libc_cv_cc_novzeroupper): Likewise.
15466         (libc_cv_cc_fma4): Likewise.
15467         (libc_cv_as_i686): Likewise.
15468         (libc_cv_sparc_as_vis3): Likewise.
15469         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15470         LIBC_CONFIG_VAR.
15471         (config-asflags-i686): Likewise.
15472         (config-cflags-avx): Likewise.
15473         (config-cflags-sse2avx): Likewise.
15474         (have-mfma4): Likewise.
15475         (config-cflags-novzeroupper): Likewise.
15476         * sysdeps/mach/configure.in (MIG): Likewise.
15477         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15478         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15479         LIBC_CONFIG_VAR.
15480         (config-cflags-avx): Likewise.
15481         (config-cflags-sse2avx): Likewise.
15482         (have-mfma4): Likewise.
15483         (config-cflags-novzeroupper): Likewise.
15484         * configure: Regenerated.
15485         * sysdeps/i386/configure: Likewise.
15486         * sysdeps/mach/configure: Likewise.
15487         * sysdeps/sparc/configure: Likewise.
15488         * sysdeps/x86_64/configure: Likewise.
15489
15490 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15491
15492         [BZ #14812]
15493         * locale/programs/localedef.c (options): Put N_ translation marker
15494         on argument names, not just descriptions.
15495
15496 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15497
15498         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15499
15500 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15501
15502         [BZ #14176]
15503         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15504
15505 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15506
15507         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15508         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15509         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15510         [!BEFORE_ABORT] (before_abort): New function.
15511         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15512         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15513         (writev_for_fatal): New function.
15514         (WRITEV_FOR_FATAL): New macro; call that.
15515         (backtrace_and_maps): New function.
15516         (BEFORE_ABORT): New macro; call that.
15517         (struct str_list): Type removed.
15518         (__libc_message, __libc_fatal): Functions removed.
15519         Include <sysdeps/posix/libc_fatal.c> instead.
15520
15521 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15522
15523         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15524         constants.
15525         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15526         double constants.
15527
15528 2013-03-19  Andreas Schwab  <schwab@suse.de>
15529
15530         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15531         * sysdeps/gnu/configure: Regenerate.
15532
15533         * configure.in: Substitute libc_cv_rtlddir.
15534         * configure: Regenerate.
15535         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15536         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15537         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15538         * elf/Makefile (install-others, CFLAGS-interp.c)
15539         (ldso_install, common-ldd-rewrite): Likewise.
15540         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15541         $(inst_slibdir)/$(rtld-installed-name).
15542         * scripts/rellns-sh: Add -p option.
15543         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15544         for source.
15545
15546 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15547
15548         * manual/nptl.texi: Renamed to ...
15549         * manual/threads.texi: ... this.
15550         * manual/Makefile (chapters): Update.
15551
15552 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15553
15554         [BZ #14812]
15555         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15556         on argument names, not just descriptions.
15557         * malloc/memusagestat.c (options): Likewise.
15558         * nss/getent.c (options): Likewise.
15559
15560 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15561
15562         [BZ #14812]
15563         * iconv/iconv_prog.c (options): Put N_ translation marker
15564         on argument names, not just descriptions.
15565         * iconv/iconvconfig.c (options): Likewise.
15566
15567 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15568
15569         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15570         implementation which is faster on all x86_64 architectures.
15571         Tested on AMD, Intel Nehalem, SNB, IVB.
15572         * sysdeps/x86_64/strnlen.S: Likewise.
15573
15574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15575         Remove all multiarch strlen and strnlen versions.
15576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15577         Remove strlen and strnlen related parts.
15578
15579         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15580         Inline strlen part.
15581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15582
15583         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15584         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15585         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15586         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15587         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15588         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15589
15590 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15591
15592         * manual/memory.texi (Malloc Tunable Parameters):
15593         Sort parameters alphabetically. Add comments for missing entries.
15594
15595 2013-03-17  David S. Miller  <davem@davemloft.net>
15596
15597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15598
15599 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15600
15601         [BZ #15283]
15602         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15603         for arguments at most half maximum finite value.
15604         * math/libm-test.inc (j0_test): Add more tests.
15605         (j1_test): Likewise.
15606         (y0_test): Likewise.
15607         (y1_test): Likewise.
15608         * sysdeps/i386/fpu/libm-test-ulps: Update.
15609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15610
15611         [BZ #14155]
15612         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15613         1 / x and functions P and Q for arguments above 0x1p256L.
15614         (__ieee754_y0l): Likewise.
15615         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15616         (__ieee754_y1l): Likewise.
15617         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15618         (j1_test): Likewise.
15619         (y0_test): Likewise.
15620         (y1_test): Likewise.
15621
15622 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15623
15624         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15625         variable.
15626
15627 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15628
15629         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15630         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15631         zero since it's initialized to EXEC_PAGESIZE.
15632
15633         * sysdeps/unix/sysv/linux/ldsodefs.h
15634         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15635         * sysdeps/generic/ldsodefs.h: ... here.
15636
15637 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15638
15639         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15640
15641         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15642         math/test-snan.c.
15643         * math/test-snan.c: Renamed from
15644         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15645         * math/Makefile (tests): Add test-snan.
15646         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15647         test-powerpc-snan.
15648
15649         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15650         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15651         functions.
15652         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15653         __builtin_nan family of functions.
15654         * math/libm-test.inc (initialize): Initialize qnan_value with
15655         __builtin_nan family of functions.
15656         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15657         Remove variables.
15658         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15659         Remove functions.
15660         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15661         storage class.  Initialize qNaN_var and sNaN_var with
15662         __builtin_nan and __builtin_nans families of functions,
15663         respectively.
15664
15665         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15666         (sqrt_test): Remove duplicate test with qNaN input.
15667         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15668         (round_test, signbit_test, significand_test): Note missing +/-Inf
15669         as well as qNaN tests.
15670
15671         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15672         qNaN_var.  Fix a few strings, too.
15673         * math/libm-test.inc (nan_value): Rename to qnan_value.
15674         * math/gen-libm-test.pl (%beautify): Adjust to that.
15675         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15676         * math/test-misc.c (main): Likewise.
15677         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15678         to __qnan_bytes, and __qnan_union, respectively.
15679         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15680         Likewise.
15681         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15682         and lqnanval, respectively.
15683         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15684         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15686         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15687
15688         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15689         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15690         doubles.
15691
15692         * math/test-misc.c (main): Fix copy'n'pastos.
15693         * misc/tst-efgcvt.c (special): Likewise.
15694
15695         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15696         Remove declarations.
15697
15698 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15699
15700         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15701         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15702         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15703         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15704
15705 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15706
15707         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15708         macro to return vdso values correctly in IFUNC implementations.
15709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15710         Optimization by using IFUNC.
15711
15712 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15713             Richard Henderson  <rth@redhat.com>
15714             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15715
15716         * Makefile.in (bench): New target.
15717         * NEWS: Mention the benchmark framework.
15718         * Rules (bench): Likewise.
15719         (binaries-bench): Generate binaries for functions to
15720         benchmark.
15721         * benchtests/Makefile: New makefile for benchmark tests.
15722         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15723         programs.
15724         * benchtests/exp-inputs: New input file for EXP function.
15725         * benchtests/pow-inputs: New input file for POW function.
15726         * scripts/bench.pl: New script to generate source files for
15727         benchmark programs.
15728
15729 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730
15731         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15732         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15733         computations on mantissa.  Use macros for rounding and
15734         division.
15735         (denorm): Likewise.
15736         (__dbl_mp): Likewise.
15737         (add_magnitudes): Likewise.
15738         (sub_magnitudes): Likewise.
15739         (__mul): Likewise.
15740         (__sqr): Likewise.
15741         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15742         powers of two in terms of TWOPOW macro.
15743         (mp_no): Make type of mantissa as MANTISSA_T.
15744         [!RADIXI]: Define RADIXI.
15745         [!TWO52]: Define TWO52.
15746         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15747
15748         * manual/nptl.texi (cindex): Modify threads to pthreads.
15749
15750 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15751
15752         * sysdeps/x86_64/preconfigure: Regenerated.
15753
15754 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15755
15756         [BZ #14155]
15757         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15758         0x1p28 and above.
15759         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15760         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15761         0x1p28 and above.
15762         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15763         * math/libm-test.inc (j0_test): Do not allow one spurious
15764         underflow exception.
15765         (y1_test): Likewise.
15766
15767 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15768
15769         * manual/Makefile (chapters): Add nptl.
15770         * manual/debug.texi (Debugging Support): Add link to Threads
15771         chapter.
15772         * manual/nptl.texi: New file.
15773
15774         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15775
15776 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15777
15778         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15779         for non-NULL pointer before the memory validity test. Pointed
15780         out by Holger Brunck <holger.brunck@keymile.com>.
15781
15782 2013-03-13  Andreas Schwab  <schwab@suse.de>
15783
15784         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15785         instead of .os.
15786
15787 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15788
15789         * timezone/zic.c: Update from tzcode 2013b.
15790
15791 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15792
15793         * manual/install.texi (Configuring and compiling):
15794         Mention i686 and i586.
15795         * INSTALL: Regenerate.
15796
15797 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15798
15799         * sysdeps/init_array/elf-init.c: New file.
15800         * csu/elf-init.c
15801         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15802         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15803
15804         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15805         __gmon_start__ as global, but as static with a .preinit_array pointer.
15806         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15807         * sysdeps/init_array/crti.S: New file, empty except for comments.
15808         * sysdeps/init_array/crtn.S: Likewise.
15809
15810 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15811
15812         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15813         definining bcopy.
15814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15815         Remove Prefer_SSE_for_memop.
15816         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15817         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15818         HAS_PREFER_SSE_FOR_MEMOP.
15819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15820         memset-x86-64.
15821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15822         Remove bzero, memset ifunc support.
15823         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15824         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15827
15828 2013-03-11  Andreas Schwab  <schwab@suse.de>
15829
15830         [BZ #15234]
15831         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15832         by SHLIB_COMPAT.
15833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15834         (GLIBC_2.16): Remove pthread_atfork.
15835
15836 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15837
15838         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15839         (ptestcases.h): Likewise.
15840
15841 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15842
15843         * Makeconfig ($(common-objpfx)config.status): Depend on
15844         sysdeps/*/preconfigure{,.in} too.
15845
15846 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15847
15848         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15849         (__free_hook): Use void * instead of __malloc_ptr_t.
15850         (__malloc_hook): Likewise.
15851         (__realloc_hook): Likewise.
15852         (__memalign_hook): Likewise.
15853         (__after_morecore_hook): Likewise.
15854         * malloc/arena.c (save_malloc_hook): Likewise.
15855         (save_free_hook): Likewise.
15856         * malloc/hooks.c (malloc_hook_ini): Likewise.
15857         (realloc_hook_ini): Likewise.
15858         (memalign_hook_ini): Likewise.
15859         * malloc/malloc.c (malloc_hook_ini): Likewise.
15860         (realloc_hook_ini): Likewise.
15861         (memalign_hook_ini): Likewise.
15862         (__free_hook): Likewise.
15863         (__malloc_hook): Likewise.
15864         (__realloc_hook): Likewise.
15865         (__memalign_hook): Likewise.
15866         (__libc_malloc): Likewise.
15867         (__libc_free): Likewise.
15868         (__libc_realloc): Likewise.
15869         (__libc_memalign): Likewise.
15870         (__libc_valloc): Likewise.
15871         (__libc_pvalloc): Likewise.
15872         (__libc_calloc): Likewise.
15873         (__posix_memalign): Likewise.
15874         * malloc/morecore.c (__sbrk): Likewise.
15875         (__default_morecore): Likewise.
15876
15877         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15878
15879         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15880         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15881         __malloc_ptrdiff_t.
15882
15883         * malloc/malloc.h (__malloc_size_t): Remove macro.
15884         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15885         __malloc_size_t.
15886         (old_memalign_hook): Likewise.
15887         (old_realloc_hook): Likewise.
15888         (struct hdr): Likewise.
15889         (flood): Likewise.
15890         (mallochook): Likewise.
15891         (memalignhook): Likewise.
15892         (reallochook): Likewise.
15893         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15894         (tr_old_realloc_hook): Likewise.
15895         (tr_old_memalign_hook): Likewise.
15896         (tr_mallochook): Likewise.
15897         (tr_reallochook): Likewise.
15898         (tr_memalignhook): Likewise.
15899
15900 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15901
15902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15903         default_ldbl_pack and using as default implementation.
15904         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15905         implementation.
15906         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15907         redundant definition.
15908         (ldbl_insert_mantissa): Likewise.
15909         (ldbl_canonicalize): Likewise.
15910         (ldbl_nearbyint): Likewise.
15911         (ldbl_pack): Rename to ldbl_pack_ppc.
15912         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15913         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15914         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15915
15916 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15917
15918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15919         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15920         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15921         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15923         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15924         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15925         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15926
15927 2013-03-07  Andreas Jaeger  <aj@suse.de>
15928
15929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15930         bits/mman-linux.h.
15931
15932 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15933
15934         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15935         Include mpa.h and declare __MPEXP.
15936         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15937         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15938         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15941         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15943
15944         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15945         (__slowpow): Use long double EXPL and LOGL functions to
15946         compute POW.
15947         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15948         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15949         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15950         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15951         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15952         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15953
15954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15955         intermediate variable to calculate exponent.
15956         (__sqr): Likewise.
15957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15958         Likewise.
15959         (__sqr): Likewise.
15960
15961         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15962         [!NO__SQR]: Define __sqr.
15963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15964         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15965         sysdeps/ieee754/dbl-64/mpa.c.
15966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15967
15968         [BZ #12723]
15969         * posix/Makefile (tests): Add tst-pathconf.
15970         * posix/tst-pathconf.c: New test case.
15971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15972         _PC_PIPE_BUF.
15973         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15974
15975 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15976
15977         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15978
15979 2013-03-06  Andreas Jaeger  <aj@suse.de>
15980
15981         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15982         definition via __MAP_ANONYMOUS.
15983
15984         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15985         it's not part of Linux headers.
15986
15987         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15988         (MAP_HUGE_MASK): Define.
15989
15990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15991         Define.
15992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15994         Define.
15995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15996         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15997         Define.
15998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15999         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16000         Define.
16001         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16002
16003         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16004         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16005         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16006         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16007         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16008         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16009
16010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16011         Handle f2fs.
16012
16013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16014         Handle f2fs and efivarfs.
16015
16016         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16017         f2fs.
16018
16019         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16020         (EFIVARFS_MAGIC): Add.
16021         (F2FS_LINK_MAX): Add.
16022
16023 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16024
16025         * stdio-common/vfprintf.c: Replace __builtin_expect with
16026         __glibc_unlikely.
16027
16028 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16029
16030         [BZ #13550]
16031         * sysdeps/generic/bp-sym.h: Remove file.
16032         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16033         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16034         <bp-sym.h> and <bp-asm.h>.
16035         (__longjmp): Don't use BP_SYM.
16036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16037         and <bp-asm.h>.
16038         (memcpy): Don't use BP_SYM.
16039         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16040         <bp-sym.h> and <bp-asm.h>.
16041         (memcpy): Don't use BP_SYM.
16042         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16043         <bp-asm.h>.
16044         (memcpy): Don't use BP_SYM.
16045         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16046         <bp-asm.h>.
16047         (memset): Don't use BP_SYM.
16048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16050         (__bzero): Don't use BP_SYM.
16051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16054         <bp-sym.h> and <bp-asm.h>.
16055         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16056         pointers.
16057         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16058         <bp-sym.h> and <bp-asm.h>.
16059         (memcpy): Don't use BP_SYM.
16060         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16061         <bp-sym.h> and <bp-asm.h>.
16062         (memset): Don't use BP_SYM.
16063         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16064         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16065         (__bzero): Don't use BP_SYM.
16066         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16067         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16068         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16069         <bp-sym.h> and <bp-asm.h>.
16070         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16071         pointers.
16072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16073         <bp-sym.h> and <bp-asm.h>.
16074         (memcpy): Don't use BP_SYM.
16075         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16076         <bp-sym.h> and <bp-asm.h>.
16077         (memset): Don't use BP_SYM.
16078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16080         (__bzero): Don't use BP_SYM.
16081         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16082         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16084         <bp-sym.h> and <bp-asm.h>.
16085         (__memchr): Don't use BP_SYM.
16086         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16087         <bp-sym.h> and <bp-asm.h>.
16088         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16089         pointers.
16090         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16091         <bp-sym.h> and <bp-asm.h>.
16092         (memcpy): Don't use BP_SYM.
16093         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16094         <bp-sym.h> and <bp-asm.h>.
16095         (__mempcpy): Don't use BP_SYM.
16096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16097         <bp-sym.h> and <bp-asm.h>.
16098         (__memrchr): Don't use BP_SYM.
16099         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16100         <bp-sym.h> and <bp-asm.h>.
16101         (memset): Don't use BP_SYM.
16102         (__bzero): Likewise.
16103         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16104         <bp-sym.h> and <bp-asm.h>.
16105         (__rawmemchr): Don't use BP_SYM.
16106         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16107         <bp-sym.h> and <bp-asm.h>.
16108         (__STRCMP): Don't use BP_SYM.
16109         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16110         <bp-sym.h> and <bp-asm.h>.
16111         (strchr): Don't use BP_SYM.
16112         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16113         <bp-sym.h> and <bp-asm.h>.
16114         (__strchrnul): Don't use BP_SYM.
16115         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16116         <bp-sym.h> and <bp-asm.h>.
16117         (strlen): Don't use BP_SYM.
16118         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16119         <bp-sym.h> and <bp-asm.h>.
16120         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16121         pointers.
16122         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16123         <bp-sym.h> and <bp-asm.h>.
16124         (__strnlen): Don't use BP_SYM.
16125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16126         <bp-sym.h> and <bp-asm.h>.
16127         (__GI__setjmp): Don't use BP_SYM.
16128         (_setjmp): Likewise.
16129         (__sigsetjmp): Likewise.
16130         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16131         (L(start_addresses)): Don't use BP_SYM.
16132         (_start): Likewise.
16133         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16134         <bp-asm.h>.
16135         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16136         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16137         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16138         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16139         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16140         <bp-asm.h>.
16141         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16142         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16143         about bounded pointers.
16144         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16145         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16146         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16147         <bp-asm.h>.
16148         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16149         about bounded pointers.  Remove GKM FIXME comments.
16150         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16151         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16152         <bp-asm.h>.
16153         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16154         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16155         Remove GKM FIXME comments.
16156         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16157         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16158         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16159         <bp-asm.h>.
16160         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16161         about bounded pointers.  Remove GKM FIXME comment.
16162         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16163         and <bp-asm.h>.
16164         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16165         pointers.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16167         <bp-sym.h> and <bp-asm.h>.
16168         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16170         <bp-sym.h> and <bp-asm.h>.
16171         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16172         comment.
16173
16174 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16175
16176         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16177         call free(NULL).
16178
16179 2013-03-05  David S. Miller  <davem@davemloft.net>
16180
16181         * po/es.po: Update from translation team.
16182
16183 2013-03-05  Andreas Jaeger  <aj@suse.de>
16184
16185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16186         <bits/mman-linux.h>.
16187         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16188         is fine.
16189         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16190         <bits/mman-linux.h> to end of file.
16191         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16192         is fine.
16193         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16194         <bits/mman-linux.h> to end of file.
16195         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16196         is fine.
16197         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16198         <bits/mman-linux.h> to end of file.
16199
16200         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16201         (MCL_CURRENT, MCL_FUTURE): Define here.
16202
16203 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16204
16205         [BZ #15232]
16206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16207         attribute_hidden.
16208         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16209
16210 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16211
16212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16213         fourth parameter needed for rt_sigprocmask syscall.
16214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16215         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16216         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16217         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16219         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16220
16221 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16222
16223         [BZ #13550]
16224         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16225         comment about bounded pointers.
16226         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16227         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16228
16229 2013-03-04  Andreas Jaeger  <aj@suse.de>
16230
16231         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16232         common definitions.
16233
16234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16235         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16237         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16240
16241 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16242
16243         [BZ #15055]
16244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16245         __ieee754_sqrl instead of __sqrl.
16246
16247 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16248
16249         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16250         * sysdeps/powerpc/fpu_control.h: ... here.
16251         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16252         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16253         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16254         * sysdeps/powerpc/bits/mathinline.h: ... here.
16255
16256 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16257
16258         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16259         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16260         to just [NEED_DL_SYSINFO_DSO].
16261         * elf/dl-support.c: Likewise.
16262         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16263         * elf/rtld.c (dl_main): Likewise.
16264         * elf/setup-vdso.h (setup_vdso): Likewise.
16265         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16266         * sysdeps/unix/sysv/linux/dl-sysdep.c
16267         (_dl_discover_osversion): Likewise.
16268
16269 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16270
16271         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16272         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16273
16274 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16275
16276         * NEWS: Mention libm performance improvements and non-x86 PI
16277         futex support.
16278
16279         * csu/libc-start.c (__pthread_initialize_minimal): Change
16280         function arguments.
16281         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16282
16283 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16284
16285         [BZ #13550]
16286         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16288         <bp-sym.h> and <bp-asm.h>.
16289         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16290         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16291         and <bp-asm.h>.
16292         (memcpy): Don't use BP_SYM.
16293         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16294         <bp-asm.h>.
16295         (__mpn_add_n): Don't use BP_SYM.
16296         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16297         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16298         and <bp-asm.h>.
16299         (__mpn_addmul_1): Don't use BP_SYM.
16300         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16301         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16302         <bp-sym.h>.
16303         (_setjmp): Don't use BP_SYM.
16304         (__novmx_setjmp): Likewise.
16305         (__GI__setjmp): Likewise.
16306         (__vmx_setjmp): Likewise.
16307         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16308         <bp-sym.h>.
16309         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16310         (__bzero): Don't use BP_SYM.
16311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16313         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16314         <bp-sym.h> and <bp-asm.h>.
16315         (memcpy): Don't use BP_SYM.
16316         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16317         <bp-sym.h> and <bp-asm.h>.
16318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16320         <bp-sym.h> and <bp-asm.h>.
16321         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16322         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16323         <bp-asm.h>.
16324         (__mpn_lshift): Don't use BP_SYM.
16325         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16326         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16327         <bp-asm.h>.
16328         (memset): Don't use BP_SYM.
16329         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16330         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16331         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16332         <bp-asm.h>.
16333         (__mpn_mul_1): Don't use BP_SYM.
16334         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16336         <bp-sym.h> and <bp-asm.h>.
16337         (memcmp): Don't use BP_SYM.
16338         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16339         <bp-sym.h> and <bp-asm.h>.
16340         (memcpy): Don't use BP_SYM.
16341         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16342         <bp-sym.h> and <bp-asm.h>.
16343         (memset): Don't use BP_SYM.
16344         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16345         <bp-sym.h> and <bp-asm.h>.
16346         (strncmp): Don't use BP_SYM.
16347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16348         <bp-sym.h> and <bp-asm.h>.
16349         (memcpy): Don't use BP_SYM.
16350         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16351         <bp-sym.h> and <bp-asm.h>.
16352         (memset): Don't use BP_SYM.
16353         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16354         <bp-sym.h> and <bp-asm.h>.
16355         (__memchr): Don't use BP_SYM.
16356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16357         <bp-sym.h> and <bp-asm.h>.
16358         (memcmp): Don't use BP_SYM.
16359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16360         <bp-sym.h> and <bp-asm.h>.
16361         (memcpy): Don't use BP_SYM.
16362         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16363         <bp-sym.h> and <bp-asm.h>.
16364         (__mempcpy): Don't use BP_SYM.
16365         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16366         <bp-sym.h> and <bp-asm.h>.
16367         (__memrchr): Don't use BP_SYM.
16368         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16369         <bp-sym.h> and <bp-asm.h>.
16370         (memset): Don't use BP_SYM.
16371         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16372         <bp-sym.h> and <bp-asm.h>.
16373         (__rawmemchr): Don't use BP_SYM.
16374         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16375         <bp-sym.h> and <bp-asm.h>.
16376         (__STRCMP): Don't use BP_SYM.
16377         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16378         <bp-sym.h> and <bp-asm.h>.
16379         (strchr): Don't use BP_SYM.
16380         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16381         <bp-sym.h> and <bp-asm.h>.
16382         (__strchrnul): Don't use BP_SYM.
16383         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16384         <bp-sym.h> and <bp-asm.h>.
16385         (strlen): Don't use BP_SYM.
16386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16387         <bp-sym.h> and <bp-asm.h>.
16388         (strncmp): Don't use BP_SYM.
16389         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16390         <bp-sym.h> and <bp-asm.h>.
16391         (__strnlen): Don't use BP_SYM.
16392         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16393         <bp-asm.h>.
16394         (__mpn_rshift): Don't use BP_SYM.
16395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16396         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16397         <bp-sym.h> and <bp-asm.h>.
16398         (__sigsetjmp): Don't use BP_SYM.
16399         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16400         (L(start_addresses)): Don't use BP_SYM.
16401         (_start): Likewise.
16402         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16403         <bp-asm.h>.
16404         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16405         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16406         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16407         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16408         <bp-asm.h>.
16409         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16410         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16411         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16412         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16413         <bp-asm.h>.
16414         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16415         comments.
16416         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16417         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16418         <bp-asm.h>.
16419         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16420         FIXME comments.
16421         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16422         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16423         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16424         <bp-asm.h>.
16425         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16426         comment.
16427         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16428         and <bp-asm.h>.
16429         (strncmp): Don't use BP_SYM,
16430         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16431         <bp-asm.h>.
16432         (__mpn_sub_n): Don't use BP_SYM.
16433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16434         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16435         and <bp-asm.h>.
16436         (__mpn_submul_1): Don't use BP_SYM.
16437         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16439         <bp-sym.h> and <bp-asm.h>.
16440         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16442         <bp-sym.h> and <bp-asm.h>.
16443         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16444         comment.
16445
16446 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16447
16448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16449         Use ZK to minimize writes to Z.
16450         (sub_magnitudes): Simplify code a bit.
16451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16452         Use ZK to minimize writes to Z.
16453         (sub_magnitudes): Simplify code a bit.
16454
16455 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16456
16457         * csu/gmon-start.c: Add special exception to license text.
16458
16459 2013-02-27  Richard Henderson  <rth@redhat.com>
16460
16461         * scripts/config.guess: Update from config.git.
16462         * scripts/config.sub: Likewise.
16463
16464 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16465
16466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16467
16468         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16469
16470         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16471
16472         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16473
16474         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16475
16476 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16477
16478         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16479         [$(build-shared = yes].
16480
16481 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16482
16483         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16484         (__mul): Reduce iterations for calculating mantissa.
16485
16486         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16487         MPTWO.
16488         (__mpranred): Likewise.
16489
16490         [BZ #15160]
16491         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16492         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16493
16494 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16495
16496         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16497         Define __attribute__.
16498
16499 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16500
16501         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16502         unused.
16503         * posix/regex_internal.h (__attribute): Remove.
16504         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16505         (re_string_context_at): Likewise.
16506         (bitset_not): Use __attribute__ and mark function as possibly
16507         unused.
16508         (bitset_merge): Likewise.
16509         (bitset_mask): Likewise.
16510         (re_string_char_size_at): Likewise.
16511         (re_string_wchar_at): Likewise.
16512         (re_string_elem_size_at): Likewise.
16513
16514 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16515
16516         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16517         code.
16518         (cc32): Likewise.
16519
16520         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16521         (__acr): Likewise.
16522         (__cpy): Likewise.
16523         (norm): Likewise.
16524         (denorm): Likewise.
16525         (__dbl_mp): Likewise.
16526         (add_magnitudes): Likewise.
16527         (sub_magnitudes): Likewise.
16528         (__mul): Likewise.
16529         (__inv): Likewise.
16530
16531         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16532         style.
16533
16534         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16535         style.
16536
16537         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16538         code.
16539
16540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16541         up changes with default code.
16542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16543         Likewise.
16544
16545 2013-02-24  Allan McRae  <allan@archlinux.org>
16546
16547         * manual/socket.texi (The Internet Namespace): Order menu items
16548         to match that in the file.
16549
16550         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16551         node listing of the info page menu.
16552
16553 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16554
16555         [BZ #13550]
16556         * sysdeps/i386/bp-asm.h: Remove file.
16557         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16558         (PARMS): Do not use macros from bp-asm.h.
16559         (S1): Likewise.
16560         (S2): Likewise.
16561         (SIZE): Likewise.
16562         (__mpn_add_n): Do not use BP_SYM
16563         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16564         "bp-asm.h".
16565         (PARMS): Do not use macros from bp-asm.h.
16566         (S1): Likewise.
16567         (SIZE): Likewise.
16568         (__mpn_addmul_1): Do not use BP_SYM
16569         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16570         "bp-asm.h".
16571         (PARMS): Do not use macros from bp-asm.h.
16572         (SIGMSK): Likewise.
16573         (_setjmp): Likewise.  Do not use BP_SYM.
16574         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16575         "bp-asm.h".
16576         (PARMS): Do not use macros from bp-asm.h.
16577         (SIGMSK): Likewise.
16578         (setjmp): Likewise.  Do not use BP_SYM.
16579         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16580         "bp-asm.h".
16581         (PARMS): Do not use macros from bp-asm.h.
16582         (__frexp): Do not use BP_SYM.
16583         (frexp): Likewise.
16584         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16585         "bp-asm.h".
16586         (PARMS): Do not use macros from bp-asm.h.
16587         (__frexpf): Do not use BP_SYM.
16588         (frexpf): Likewise.
16589         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16590         "bp-asm.h".
16591         (PARMS): Do not use macros from bp-asm.h.
16592         (__frexpl): Do not use BP_SYM.
16593         (frexpl): Likewise.
16594         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16595         "bp-asm.h".
16596         (PARMS): Do not use macros from bp-asm.h.
16597         (__remquo): Do not use BP_SYM.
16598         (remquo): Likewise.
16599         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16600         "bp-asm.h".
16601         (PARMS): Do not use macros from bp-asm.h.
16602         (__remquof): Do not use BP_SYM.
16603         (remquof): Likewise.
16604         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16605         "bp-asm.h".
16606         (PARMS): Do not use macros from bp-asm.h.
16607         (__remquol): Do not use BP_SYM.
16608         (remquol): Likewise.
16609         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16610         "bp-asm.h".
16611         (PARMS): Do not use macros from bp-asm.h.
16612         (DEST): Likewise.
16613         (SRC): Likewise.
16614         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16615         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16616         "bp-asm.h".
16617         (PARMS): Do not use macros from bp-asm.h.
16618         (strlen): Do not use BP_SYM.
16619         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16620         "bp-asm.h".
16621         (PARMS): Do not use macros from bp-asm.h.
16622         (S1): Likewise.
16623         (S2): Likewise.
16624         (SIZE): Likewise.
16625         (__mpn_add_n): Do not use BP_SYM.
16626         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
16631         (__mpn_addmul_1): Do not use BP_SYM.
16632         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16633         weak_alias.
16634         (bzero): Likewise.
16635         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16636         "bp-asm.h".
16637         (PARMS): Do not use macros from bp-asm.h.
16638         (S): Likewise.
16639         (SIZE): Likewise.
16640         (__mpn_lshift): Do not use BP_SYM.
16641         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16642         "bp-asm.h".
16643         (PARMS): Do not use macros from bp-asm.h.
16644         (DEST): Likewise.
16645         (SRC): Likewise.
16646         (LEN): Likewise.
16647         (memcpy): Likewise.  Do not use BP_SYM.
16648         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16649         libc_hidden_def and weak_alias.
16650         (mempcpy): Do not use BP_SYM in weak_alias.
16651         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16652         "bp-asm.h".
16653         (PARMS): Do not use macros from bp-asm.h.
16654         (DEST): Likewise.
16655         (LEN): Likewise.
16656         [!BZERO_P] (CHR): Likewise.
16657         (memset): Likewise.  Do not use BP_SYM.
16658         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16659         "bp-asm.h".
16660         (PARMS): Do not use macros from bp-asm.h.
16661         (S1): Likewise.
16662         (SIZE): Likewise.
16663         (__mpn_mul_1): Do not use BP_SYM.
16664         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16665         "bp-asm.h".
16666         (PARMS): Do not use macros from bp-asm.h.
16667         (S): Likewise.
16668         (SIZE): Likewise.
16669         (__mpn_rshift): Do not use BP_SYM.
16670         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16671         "bp-asm.h".
16672         (PARMS): Do not use macros from bp-asm.h.
16673         (STR): Likewise.
16674         (CHR): Likewise.
16675         (strchr): Likewise.  Do not use BP_SYM.
16676         (index): Do not use BP_SYM in weak_alias.
16677         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16678         "bp-asm.h".
16679         (PARMS): Do not use macros from bp-asm.h.
16680         (DEST): Likewise.
16681         (SRC): Likewise.
16682         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16683         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16684         "bp-asm.h".
16685         (PARMS): Do not use macros from bp-asm.h.
16686         (strlen): Do not use BP_SYM.
16687         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16688         "bp-asm.h".
16689         (PARMS): Do not use macros from bp-asm.h.
16690         (S1): Likewise.
16691         (S2): Likewise.
16692         (SIZE): Likewise.
16693         (__mpn_sub_n): Do not use BP_SYM.
16694         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16695         "bp-asm.h".
16696         (PARMS): Do not use macros from bp-asm.h.
16697         (S1): Likewise.
16698         (SIZE): Likewise.
16699         (__mpn_submul_1): Do not use BP_SYM.
16700         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16701         "bp-asm.h".
16702         (PARMS): Do not use macros from bp-asm.h.
16703         (S1): Likewise.
16704         (S2): Likewise.
16705         (SIZE): Likewise.
16706         (__mpn_add_n): Do not use BP_SYM.
16707         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16708         weak_alias.
16709         (bzero): Likewise.
16710         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16711         "bp-asm.h".
16712         (PARMS): Do not use macros from bp-asm.h.
16713         (BLK2): Likewise.
16714         (LEN): Likewise.
16715         (memcmp): Do not use BP_SYM.
16716         (bcmp): Do not use BP_SYM in weak_alias.
16717         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16718         "bp-asm.h".
16719         (PARMS): Do not use macros from bp-asm.h.
16720         (DEST): Likewise.
16721         (SRC): Likewise.
16722         (LEN): Likewise.
16723         (memcpy): Likewise.  Do not use BP_SYM.
16724         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16725         "bp-asm.h".
16726         (PARMS): Do not use macros from bp-asm.h.
16727         (DEST): Likewise.
16728         (SRC): Likewise.
16729         (LEN): Likewise.
16730         (memmove): Likewise.  Do not use BP_SYM.
16731         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16732         "bp-asm.h".
16733         (PARMS): Do not use macros from bp-asm.h.
16734         (DEST): Likewise.
16735         (SRC): Likewise.
16736         (LEN): Likewise.
16737         (__mempcpy): Likewise.  Do not use BP_SYM.
16738         (mempcpy): Do not use BP_SYM in weak_alias.
16739         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16740         "bp-asm.h".
16741         (PARMS): Do not use macros from bp-asm.h.
16742         (DEST): Likewise.
16743         (LEN): Likewise.
16744         [!BZERO_P] (CHR): Likewise.
16745         (memset): Likewise.  Do not use BP_SYM.
16746         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16747         "bp-asm.h".
16748         (PARMS): Do not use macros from bp-asm.h.
16749         (STR2): Likewise.
16750         (strcmp): Do not use BP_SYM.
16751         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16752         "bp-asm.h".
16753         (PARMS): Do not use macros from bp-asm.h.
16754         (STR): Likewise.
16755         (DELIM): Likewise.
16756         [USE_AS_STRTOK_R] (SAVE): Likewise.
16757         (FUNCTION): Likewise.  Do not use BP_SYM.
16758         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16759         aliases.
16760         (strtok_r): Likewise.
16761         (__GI___strtok_r): Likewise.
16762         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16763         (PARMS): Do not use macros from bp-asm.h.
16764         (S): Likewise.
16765         (SIZE): Likewise.
16766         (__mpn_lshift): Do not use BP_SYM.
16767         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16768         (PARMS): Do not use macros from bp-asm.h.
16769         (STR): Likewise.
16770         (CHR): Likewise.
16771         (__memchr): Do not use BP_SYM.
16772         (memchr): Do not use BP_SYM in weak_alias.
16773         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16774         (PARMS): Do not use macros from bp-asm.h.
16775         (BLK2): Likewise.
16776         (LEN): Likewise.
16777         (memcmp): Do not use BP_SYM.
16778         (bcmp): Do not use BP_SYM in weak_alias.
16779         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16780         (PARMS): Do not use macros from bp-asm.h.
16781         (S1): Likewise.
16782         (SIZE): Likewise.
16783         (__mpn_mul_1): Do not use BP_SYM.
16784         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16785         "bp-asm.h".
16786         (PARMS): Do not use macros from bp-asm.h.
16787         (STR): Likewise.
16788         (CHR): Likewise.
16789         (__rawmemchr): Do not use BP_SYM.
16790         (rawmemchr): Do not use BP_SYM in weak_alias.
16791         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16792         (PARMS): Do not use macros from bp-asm.h.
16793         (S): Likewise.
16794         (SIZE): Likewise.
16795         (__mpn_rshift): Do not use BP_SYM.
16796         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16797         (PARMS): Do not use macros from bp-asm.h.
16798         (SIGMSK): Likewise.
16799         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16800         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16801         (_start): Do not use BP_SYM.
16802         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16803         (PARMS): Do not use macros from bp-asm.h.
16804         (DEST): Likewise.
16805         (SRC): Likewise.
16806         (__stpcpy): Likewise.  Do not use BP_SYM.
16807         (stpcpy): Do not use BP_SYM in weak_alias.
16808         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16809         "bp-asm.h".
16810         (PARMS): Do not use macros from bp-asm.h.
16811         (DEST): Likewise.
16812         (SRC): Likewise.
16813         (LEN): Likewise.
16814         (__stpncpy): Likewise.  Do not use BP_SYM.
16815         (stpncpy): Do not use BP_SYM in weak_alias.
16816         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16817         (PARMS): Do not use macros from bp-asm.h.
16818         (STR): Likewise.
16819         (CHR): Likewise.
16820         (strchr): Likewise.  Do not use BP_SYM.
16821         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16822         "bp-asm.h".
16823         (PARMS): Do not use macros from bp-asm.h.
16824         (STR): Likewise.
16825         (CHR): Likewise.
16826         (__strchrnul): Likewise.  Do not use BP_SYM.
16827         (strchrnul): Do not use BP_SYM in weak_alias.
16828         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16829         "bp-asm.h".
16830         (PARMS): Do not use macros from bp-asm.h.
16831         (STOP): Likewise.
16832         (strcspn): Do not use BP_SYM.
16833         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16834         "bp-asm.h".
16835         (PARMS): Do not use macros from bp-asm.h.
16836         (STR): Likewise.
16837         (STOP): Likewise.
16838         (strpbrk): Likewise.  Do not use BP_SYM.
16839         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16840         "bp-asm.h".
16841         (PARMS): Do not use macros from bp-asm.h.
16842         (STR): Likewise.
16843         (CHR): Likewise.
16844         (strrchr): Likewise.  Do not use BP_SYM.
16845         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16846         (PARMS): Do not use macros from bp-asm.h.
16847         (SKIP): Likewise.
16848         (strspn): Do not use BP_SYM.
16849         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16850         (PARMS): Do not use macros from bp-asm.h.
16851         (STR): Likewise.
16852         (DELIM): Likewise.
16853         (SAVE): Likewise.
16854         (FUNCTION): Likewise.  Do not use BP_SYM.
16855         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16856         aliases.
16857         (strtok_r): Likewise.
16858         (__GI___strtok_r): Likewise.
16859         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16860         (PARMS): Do not use macros from bp-asm.h.
16861         (S1): Likewise.
16862         (S2): Likewise.
16863         (SIZE): Likewise.
16864         (__mpn_sub_n): Do not use BP_SYM.
16865         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16866         "bp-asm.h".
16867         (PARMS): Do not use macros from bp-asm.h.
16868         (S1): Likewise.
16869         (SIZE): Likewise.
16870         (__mpn_submul_1): Do not use BP_SYM.
16871         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16872         <bp-sym.h>.
16873         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16874         and <bp-asm.h>.
16875         (PARMS): Do not use macros from bp-asm.h.
16876         (FLAGS): Likewise.
16877         (PTID): Likewise.
16878         (TLS): Likewise.
16879         (CTID): Likewise.
16880         (__clone): Do not use BP_SYM.
16881         (clone): Do not use BP_SYM in weak_alias.
16882         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16883         and <bp-asm.h>.
16884         (PARMS): Do not use macros from bp-asm.h.
16885         (LEN): Likewise.
16886         (__mmap64): Do not use BP_SYM.
16887         (mmap64): Do not use BP_SYM in weak_alias.
16888         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16889         <bp-sym.h> and <bp-asm.h>.
16890         (PARMS): Do not use macros from bp-asm.h.
16891         (__posix_fadvise64_l64): Do not use BP_SYM.
16892         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16893         (PARMS): Do not use macros from bp-asm.h.
16894         (NSOPS): Likewise.
16895         (semtimedop): Do not use BP_SYM.
16896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16897         and <bp-asm.h>.
16898
16899 2013-02-21  Allan McRae  <allan@archlinux.org>
16900
16901         * manual/message.texi (Charset conversion in gettext):
16902         Move @end statement to beginning of line.
16903
16904 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16905
16906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16907         static.
16908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16909         Likewise.
16910
16911         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16912         (denorm): Likewise.
16913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16915
16916 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16917
16918         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16919         tail-call to the resolved function if pltexit isn't needed.
16920
16921 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16922
16923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16924         or Y being zero as being unlikely.
16925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16926         Likewise.
16927
16928 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16929
16930         * manual/nss.texi (System Databases and Name Service Switch):
16931         Remove frobnicate @pxref.
16932
16933 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16934
16935         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16936         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16937
16938 2013-02-20  Petr Machata  <pmachata@redhat.com>
16939
16940         * elf/elf.h (R_ARM_TARGET1): New macro.
16941         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16942         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16943         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16944         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16945         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16946         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16947         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16948         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16949         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16950         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16951         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16952         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16953         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16954         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16955         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16956         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16957         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16958         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16959         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16960         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16961         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16962         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16963         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16964         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16965         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16966         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16967         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16968         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16969         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16970         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16971         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16972         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16973         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16974         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16975         (R_ARM_THM_GOT_BREL12): Likewise.
16976         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16977         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16978         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16979         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16980         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16981         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16982         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16983         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16984         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16985
16986 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16987
16988         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16989         __attribute_used__ to __attribute__ ((unused)).
16990
16991 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16992
16993         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16994         powerpc mpa.c.
16995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16996         comment formatting.
16997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16998
16999 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17000
17001         [BZ #13550]
17002         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17003         Remove macro.
17004         (ENTER): Remove both macro definitions.
17005         (LEAVE): Likewise.
17006         (CHECK_BOUNDS_LOW): Likewise.
17007         (CHECK_BOUNDS_HIGH): Likewise.
17008         (CHECK_BOUNDS_BOTH): Likewise.
17009         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17010         (RETURN_BOUNDED_POINTER): Likewise.
17011         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17012         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17013         (POP_ERRNO_LOCATION_RETURN): Likewise.
17014         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17015         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17016         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17017         macros.
17018         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17019         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17020         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17021         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17022         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17023         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17024         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17025         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17026         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17027         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17028         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17029         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17030         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17031         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17032         removed macros.
17033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17034         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17035         macros.
17036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17037         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17038         * sysdeps/i386/i586/memset.S (memset): Likewise.
17039         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17040         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17041         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17042         macros.
17043         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17044         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17045         Change uses of L(2) to L(out).
17046         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17047         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17048         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17050         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17051         removed macros.
17052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17053         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17054         macros.
17055         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17056         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17057         (RETURN): Do not use macro LEAVE.
17058         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17059         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17060         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17061         * sysdeps/i386/i686/memset.S (memset): Likewise.
17062         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17063         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17064         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17065         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17066         Likewise.
17067         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17068         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17069         L(1_2) and L(1_3) into L(1).
17070         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17071         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17072         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17073         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17074         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17075         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17076         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17077         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17078         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17079         macros.
17080         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17082         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17083         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17084         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17085         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17086         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17087         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17088         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17089         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17090         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17091         * sysdeps/i386/strspn.S (strspn): Likewise.
17092         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17093         conditional code.
17094         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17095         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17096         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17097         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17098         L(1_3) into L(1_1).
17099         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17100         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17101         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17102         macros.
17103         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17104
17105 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17106
17107         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17108         macro.
17109
17110 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111
17112         * math/atest-exp.c (exp_mpn): Remove ROUND.
17113         * math/atest-exp2.c (exp_mpn): Likewise.
17114         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17115
17116         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17117         * stdlib/tst-tls-atexit-lib.c: Likewise.
17118         * stdlib/tst-tls-atexit.c: Likewise.
17119
17120 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17121
17122         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17123         and __attribute_alloc_size__.
17124
17125 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17126
17127         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17128         __attribute_alloc_size__.
17129         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17130         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17131
17132 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17133
17134         * include/programs/xmalloc.h: New file.
17135         * catgets/gencat.c: Include it.
17136         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17137         * elf/pldd.c: Likewise.
17138         * iconv/iconv_charmap.c: Likewise.
17139         * iconv/iconvconfig.c: Likewise.
17140         * iconv/strtab.c: Likewise.
17141         * locale/programs/locale.c: Likewise.
17142         * locale/programs/localedef.h: Likewise.
17143         * locale/programs/simple-hash.c: Likewise.
17144         * nscd/nscd.h: Likewise.
17145         * nss/makedb.c: Likewise.
17146         * sysdeps/generic/ldconfig.h: Likewise.
17147
17148 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17149
17150         * Versions.def: Add GLIBC_2.18.
17151         * include/link.h (struct link_map): New member l_tls_dtor_count.
17152         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17153         (__call_tls_dtors): Likewise.
17154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17155         __cxa_thread_atexit_impl.
17156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17157         Likewise.
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17159         Likewise.
17160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17161         Likewise.
17162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17163         Likewise.
17164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17166         Likewise.
17167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17168         Likewise.
17169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17171         Likewise.
17172         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17173         (tests): Add test case tst-tls-atexit.
17174         (modules-names): Add shared library for tst-tls-atexit.
17175         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17176         (GLIBC_PRIVATE): Add __call_tls_dtors.
17177         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17178         for libstdc++.
17179         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17180         * stdlib/tst-tls-atexit.c: New test case.
17181         * stdlib/tst-tls-atexit-lib.c: New test case.
17182
17183         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17184
17185         * elf/Versions (ld): Add _dl_find_dso_for_object.
17186         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17187         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17188         (dl_open_worker): Use _dl_find_dso_for_object.
17189         * elf/dl-sym.c (do_sym): Likewise.
17190         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17191
17192 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17193
17194         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17195         Syntactic changes only.
17196         (_dl_runtime_profile): Do a tail-call to the resolved function.
17197
17198 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17199
17200         [BZ #13550]
17201         * sysdeps/x86_64/bp-asm.h: Remove file.
17202         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17203         <bp-sym.h> and <bp-asm.h>.
17204         (__clone): Do not use BP_SYM.
17205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17206         <bp-sym.h> and <bp-asm.h>.
17207         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17208         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17209         "bp-asm.h".
17210         (_setjmp): Do not use BP_SYM.
17211         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17212         "bp-asm.h".
17213         (setjmp): Do not use BP_SYM.
17214         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17215         libc_hidden_def.
17216         (mempcpy): Do not use BP_SYM in weak_alias.
17217         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17218         "bp-asm.h".
17219         (strchr): Do not use BP_SYM.
17220         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17221         "bp-asm.h".
17222         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17223         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17224         (_start): Do not use BP_SYM.
17225         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17226         "bp-asm.h".
17227         (strcat): Do not use BP_SYM.
17228         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17229         "bp-asm.h".
17230         (STRCMP): Do not use BP_SYM.
17231         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17232         "bp-asm.h".
17233         (STRCPY): Do not use BP_SYM.
17234         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17235         "bp-asm.h".
17236         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17237         "bp-asm.h".
17238         (FUNCTION): Do not use BP_SYM.
17239         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17240         weak_alias.
17241         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17242
17243 2013-02-17  Andreas Jaeger  <aj@suse.de>
17244
17245         * time/Versions: Sort entries.
17246         * string/Versions: Likewise.
17247         * resolv/Versions: Likewise.
17248         * posix/Versions: Likewise.
17249         * iconv/Versions: Likewise.
17250         * elf/Versions: Likewise.
17251         * wcsmbs/Versions: Likewise.
17252
17253 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17254
17255         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17256         loop termination condition.
17257
17258         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17259         variable to calculate EZ.
17260         (__sqr): Likewise.
17261
17262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17263         the lower precision input.
17264
17265 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17266
17267         [BZ #13550]
17268         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17269         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17270         (run-via-rtld-prefix): Do not handle %-bp tests.
17271         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17272         (all-object-suffixes): Remove .ob.
17273         (bppfx): Remove variable.
17274         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17275         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17276         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17277         [$(build-bounded) = yes] (libtype.ob): Likewise.
17278         * Makerules (elide-routines.ob): Remove variable.
17279         (do-tests-clean): Do not handle *-bp.out.
17280         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17281         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17282         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17283         (tests): Do not include $(tests-bp.out).
17284         (xtests): Do not include $(xtests-bp.out).
17285         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17286         [$(build-bounded) = yes] ($(addprefix
17287         $(objpfx),$(binaries-bounded))): Remove rule.
17288         ($(objpfx)%-bp.out): Remove rule.
17289         * config.make.in (build-bounded): Remove variable.
17290         * crypt/Makefile [$(build-bounded) = yes]
17291         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17292         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17293         append to variable.
17294         [$(build-bounded) = yes] (install-lib): Likewise.
17295         [$(build-bounded) = yes] (generated): Likewise.
17296         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17297         Remove rule.
17298         * intl/Makefile [$(build-bounded) = yes]
17299         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17300         * math/Makefile [$(build-bounded) = yes]
17301         ($(tests:%=$(objpfx)%-bp): Likewise.
17302         * misc/Makefile [$(build-bounded) = yes]
17303         ($(objpfx)tst-tsearch-bp): Likewise.
17304         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17305         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17306         Remove dependency.
17307         * string/Makefile (o-objects.ob): Remove variable.
17308         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17309         (CFLAGS-.ob): Remove variable.
17310         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17311         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17312         both definitions of variable.
17313         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17314         (ASFLAGS-.ob): Remove variable.
17315
17316 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17317
17318         [BZ #13550]
17319         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17320         Remove __BOUNDED_POINTERS__ from condition.
17321         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17322         * string/bits/string2.h [!__NO_STRING_INLINES &&
17323         !__BOUNDED_POINTERS__]: Likewise.
17324         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17325         Likewise.
17326         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17327         Remove conditional code.
17328         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17329         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17330         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17331         condition.
17332
17333         [BZ #13550]
17334         * csu/libc-start.c: Do not include <bp-sym.h>.
17335         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17336         * elf/dl-open.c: Do not include <bp-sym.h>.
17337         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17338         * math/fegetenv.c: Do not include <bp-sym.h>.
17339         (fegetenv): Do not use BP_SYM in versioned symbols.
17340         * nptl/sysdeps/pthread/bits/libc-lockP.h
17341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17342         <bp-sym.h>.
17343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17344         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17346         (__pthread_mutex_destroy): Likewise.
17347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17348         (__pthread_mutex_lock): Likewise.
17349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17350         (__pthread_mutex_trylock): Likewise.
17351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17352         (__pthread_mutex_unlock): Likewise.
17353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17354         (__pthread_mutexattr_init): Likewise.
17355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17356         (__pthread_mutexattr_destroy): Likewise.
17357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17358         (__pthread_mutexattr_settype): Likewise.
17359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17360         (__pthread_rwlock_init): Likewise.
17361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17362         (__pthread_rwlock_destroy): Likewise.
17363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17364         (__pthread_rwlock_rdlock): Likewise.
17365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17366         (__pthread_rwlock_tryrdlock): Likewise.
17367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17368         (__pthread_rwlock_wrlock): Likewise.
17369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17370         (__pthread_rwlock_trywrlock): Likewise.
17371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17372         (__pthread_rwlock_unlock): Likewise.
17373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17374         (__pthread_key_create): Likewise.
17375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17376         (__pthread_setspecific): Likewise.
17377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17378         (__pthread_getspecific): Likewise.
17379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17380         Likewise.
17381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17382         (_pthread_cleanup_push_defer): Likewise.
17383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17384         (_pthread_cleanup_pop_restore): Likewise.
17385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17386         (pthread_setcancelstate): Likewise.
17387         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17388         <bp-sym.h>.
17389         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17390         (memchr): Do not use BP_SYM in weak_alias.
17391         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17392         (fegetenv): Do not use BP_SYM in versioned symbols.
17393         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17394         (fesetenv): Do not use BP_SYM in versioned symbols.
17395         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17396         (feupdateenv): Do not use BP_SYM in versioned symbols.
17397         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17398         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17399         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17400         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17401         (open64): Do not use BP_SYM in weak_alias.
17402         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17403         (fegetenv): Do not use BP_SYM in versioned symbols.
17404         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17405         (fesetenv): Do not use BP_SYM in versioned symbols.
17406         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17407         (feupdateenv): Do not use BP_SYM in versioned symbols.
17408         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17409         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17410         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17411         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17412         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17413         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17414         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17415         <bp-sym.h>.
17416         (__libc_start_main): Do not use BP_SYM.
17417
17418 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17419
17420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17421         redundant return line.
17422         (norm): Likewise.
17423         (denorm): Likewise.
17424         (dbl_mp): Likewise.
17425         (sub_magnitudes): Likewise.
17426         (__add): Likewise.
17427         (__sub): Likewise.
17428         (__mul): Likewise.
17429         (__inv): Likewise.
17430         (__dvd): Likewise.
17431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17432         (norm): Likewise.
17433         (denorm): Likewise.
17434         (dbl_mp): Likewise.
17435         (sub_magnitudes): Likewise.
17436         (__add): Likewise.
17437         (__sub): Likewise.
17438         (__mul): Likewise.
17439         (__inv): Likewise.
17440         (__dvd): Likewise.
17441
17442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17443         instead of __mul.
17444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17445         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17446         (cc32): Likewise.
17447
17448         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17449         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17451         of __mul for squares.
17452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17453         function
17454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17455         Likewise.
17456         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17457         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17458
17459 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17460
17461         [BZ #13550]
17462         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17463         code.
17464         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17465         prototype or function definition.  Rename ubp_* variables and
17466         parameters.  Remove argv definitions conditional on
17467         [__BOUNDED_POINTERS__].
17468         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17469         * elf/dl-runtime.c (_dl_fixup): Likewise.
17470         * include/set-hooks.h (RUN_HOOK): Likewise.
17471         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17472         definition.
17473         * string/strcpy.c (strcpy): Do not use __unbounded.
17474         * sysdeps/generic/frame.h (struct layout): Likewise.
17475         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17476         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17477         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17478         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17479         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17480         (__backtrace): Likewise.
17481         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17482         use __ptrvalue.
17483         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17484         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17485         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17486         Likewise.
17487         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17488         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17489         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17491         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17492         Do not use __unbounded.
17493         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17494         Rename __unboundedrlimits parameter to rlimits in prototype.
17495         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17496         Do not use __unbounded.
17497         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17498         not use __ptrvalue.
17499         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17500         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17502         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17503         __ptrvalue or __unbounded.
17504         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17505         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17506         use __unbounded.
17507         (__new_msgctl): Do not use __ptrvalue.
17508         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17509         __unbounded.
17510         (__libc_msgrcv): Do not use __ptrvalue.
17511         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17512         startup_info): Do not use __unbounded.
17513         (__libc_start_main): Likewise.  Rename ubp_* variables and
17514         parameters.  Remove argv definitions conditional on
17515         [__BOUNDED_POINTERS__].
17516         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17517         __ptrvalue.
17518         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17519         use __unbounded.
17520         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17521         or __ptrvalue.
17522         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17523         use __unbounded.
17524         (__new_shmctl): Do not use __ptrvalue.
17525         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17526         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17527         Likewise.
17528         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17530         (__libc_sigaction): Likewise.
17531         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17532         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17533         Likewise.
17534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17535
17536 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17537
17538         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17539
17540         * string/mempcpy.c: Implement by calling memcpy.
17541
17542 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543
17544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17545
17546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17547         evaluation.
17548
17549         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17550         values in the mantissa.
17551
17552         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17553         minimize writes to Z.
17554         (sub_magnitudes): Simplify code a bit.
17555
17556 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17557
17558         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17559         from the message.  The linker prefixes all warnings with that already.
17560
17561 2013-02-12  Andreas Schwab  <schwab@suse.de>
17562
17563         [BZ #15078]
17564         * posix/regexec.c (extend_buffers): Add parameter min_len.
17565         (check_matching): Pass minimum needed length.
17566         (clean_state_log_if_needed): Likewise.
17567         (get_subexp): Likewise.
17568         * posix/Makefile (tests): Add bug-regex34.
17569         (bug-regex34-ENV): Define.
17570         * posix/bug-regex34.c: New file.
17571
17572         [BZ #11561]
17573         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17574         elements compare against the byte sequence of it, not its name.
17575         * posix/Makefile (tests): Add bug-regex35.
17576         (bug-regex35-ENV): Define.
17577         * posix/bug-regex35.c: New file.
17578
17579 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17580
17581         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17582         comment.
17583         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17584         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17585         (CHECK_EOL): Add undef.
17586
17587 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17588
17589         * bits/stdlib-bsearch.h: New file.
17590         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17591         * stdlib/stdlib.h: Likewise.
17592
17593 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17594
17595         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17596         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17597         declaration.
17598         * manual/search.texi (Array Search Function): Add missing const in
17599         lfind prototype.
17600         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17601         declaration to use rlim_t.
17602         (Basic Scheduling Functions): Remove erroneous const from
17603         sched_getparam prototype.  Remove erroneous * from
17604         sched_get_priority_max and sched_get_priority_min prototypes.
17605         (Resource Usage): Fix summary @comment on vtimes to refer to
17606         sys/vtimes.h rather than vtimes.h.
17607         Add missing *s in vtimes prototype.
17608         (Limits on Resources): Fix ulimit prototype to return long int.
17609         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17610         prototypes to use long int rather than double.
17611         (BSD Random): Fix initstate and setstate to use char *, not void *.
17612         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17613         prototype to make second argument 'struct aiocb64 *const[]'.
17614         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17615         (Status of AIO Operations): Remove erroneous const in aio_return and
17616         aio_return64 prototypes.
17617         (Synchronizing I/O): Fix sync prototype to return void.
17618         * manual/startup.texi (Suboptions): Remove an erroneous const in
17619         getsubopt prototype.
17620         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17621         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17622         use size_t rather than int.
17623         (Scanning All Users): Likewise for getpwent_r.
17624         (Setting Groups): Add missing const to setgroups prototype.
17625         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17626         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17627         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17628         'const void *' rather than 'const char *'.
17629         (Host Address Functions): Likewise for inet_ntop.
17630         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17631         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17632         ssize_t for return value.
17633         (Sending Data): Likewise for send, sendto, sendmsg.
17634         (Socket Option Functions): Add a missing const in setsockopt prototype.
17635         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17636         use wchar_t for the argument.
17637         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17638         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17639         take no arguments.
17640         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17641         double/float/long double for second argument.
17642         Fix return types of significand, significandf, significandl.
17643         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17644         argument in fchmod prototype.
17645         (File Owner): Use uid_t and gid_t in fchown prototype.
17646         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17647         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17648         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17649         use 'const struct dirent **' as argument types to CMP function pointer
17650         argument.
17651         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17652         (File Times): Fix summary magic @comment for struct utimbuf and utime
17653         to refer to utime.h, not time.h.
17654         * manual/string.texi (Argz Functions): Add missing const in
17655         argz_extract and argz_next prototypes.
17656         (Finding Tokens in a String): Likewise for basename.
17657         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17658         (Copying and Concatenation): Fix typo in wmemmove prototype.
17659         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17660         (Signal Stack): Remove erroneous const in sigstack prototype.
17661         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17662         prototype.
17663         (Simple Calendar Time): Likewise for stime.
17664         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17665         prototype.
17666         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17667         say sys/sysctl.h instead.
17668         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17669         and vsyslog prototypes.
17670
17671 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17672
17673         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17674         Remove.
17675
17676 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17677
17678         * misc/sys/mman.h: Fix typo in mremap comment.
17679
17680 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17681
17682         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17683         the '\0' terminator.
17684
17685 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17686
17687         [BZ #13550]
17688         * debug/segfault.c: Don't include <bp-checks.h>.
17689         * sysdeps/generic/bp-checks.h: Remove file.
17690         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17691         (__GETDENTS): Don't use CHECK_N.
17692         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17693         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17694         (__getgroups): Don't use CHECK_N.
17695         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17696         (setgroups): Don't use CHECK_N.
17697         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17698         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17699         (__libc_msgrcv): Don't use CHECK_N.
17700         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17701         (__libc_msgsnd): Don't use CHECK_N.
17702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17703         <bp-checks.h>.
17704         (__libc_pread): Don't use CHECK_N.
17705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17706         include <bp-checks.h>.
17707         (__libc_pread64): Don't use CHECK_N.
17708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17709         include <bp-checks.h>.
17710         (__libc_pwrite): Don't use CHECK_N.
17711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17712         include <bp-checks.h>.
17713         (__libc_pwrite64): Don't use CHECK_N.
17714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17715         <bp-checks.h>.
17716         (__libc_pread): Don't use CHECK_N.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17718         include <bp-checks.h>.
17719         (__libc_pread64): Don't use CHECK_N.
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17721         include <bp-checks.h>.
17722         (__libc_pwrite): Don't use CHECK_N.
17723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17724         include <bp-checks.h>.
17725         (__libc_pwrite64): Don't use CHECK_N.
17726         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17727         (do_pread): Don't use CHECK_N.
17728         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17729         (do_pread64): Don't use CHECK_N.
17730         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17731         (do_pwrite): Don't use CHECK_N.
17732         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17733         (do_pwrite64): Don't use CHECK_N.
17734         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17735         (__libc_readv): Don't use CHECK_N.
17736         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17737         (semop): Don't use CHECK_N.
17738         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17739         <bp-checks.h>.
17740         (semtimedop): Don't use CHECK_N.
17741         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17742         (__libc_pread): Don't use CHECK_N.
17743         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17744         <bp-checks.h>.
17745         (__libc_pread64): Don't use CHECK_N.
17746         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17747         <bp-checks.h>.
17748         (__libc_pwrite): Don't use CHECK_N.
17749         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17750         <bp-checks.h>.
17751         (__libc_pwrite64): Don't use CHECK_N.
17752         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17753         <bp-checks.h>.
17754         (__libc_msgrcv): Don't use CHECK_N.
17755         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17756         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17757         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17758         (__libc_writev): Don't use CHECK_N.
17759
17760 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17761
17762         * string/strcpy.c: Removed unused variable.
17763
17764         * Makeconfig (+sysdep-includes): Define with := rather than =.
17765         Use an existing include/ subdir of each sysdeps dir before it.
17766
17767 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17768
17769         * nscd/connection.c (register_traced_file): Comment function.
17770         [HAVE_INOTIFY] (union __inev): Define.
17771         [HAVE_INOTIFY] (inotify_check_files): New function.
17772         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17773         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17774         clear_db_cache.
17775         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17776
17777 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17778
17779         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17780         loaded if not already and that a failure is permanent.
17781
17782 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17783
17784         [BZ #15006]
17785         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17786         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17787
17788 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17789
17790         [BZ #13550]
17791         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17792         (CHECK_1_NULL_OK): Likewise.
17793         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17794         (__fxstat): Do not use CHECK_1.
17795         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17796         <bp-checks.h>.
17797         (___fxstat64): Do not use CHECK_1.
17798         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17799         <bp-checks.h>.
17800         (__fxstatat): Do not use CHECK_1.
17801         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17802         <bp-checks.h>.
17803         (__fxstatat64): Do not use CHECK_1.
17804         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17805         <bp-checks.h>.
17806         (__fxstat): Do not use CHECK_1.
17807         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17808         <bp-checks.h>.
17809         (__fxstatat): Do not use CHECK_1.
17810         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17811         <bp-checks.h>.
17812         (__getresgid): Do not use CHECK_1.
17813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17814         <bp-checks.h>.
17815         (__getresuid): Do not use CHECK_1.
17816         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17817         <bp-checks.h>.
17818         (__lxstat): Do not use CHECK_1.
17819         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17820         <bp-checks.h>.
17821         (__old_msgctl): Do not use CHECK_1.
17822         (__new_msgctl): Likewise.
17823         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17824         <bp-checks.h>.
17825         (__new_setrlimit): Do not use CHECK_1.
17826         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17827         <bp-checks.h>.
17828         (__old_shmctl): Do not use CHECK_1.
17829         (__new_shmctl): Likewise.
17830         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17831         <bp-checks.h>.
17832         (__xstat): Do not use CHECK_1.
17833         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17834         (__lxstat): Do not use CHECK_1.
17835         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17836         <bp-checks.h>.
17837         (___lxstat64): Do not use CHECK_1.
17838         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17839         (__old_msgctl): Do not use CHECK_1.
17840         (__new_msgctl): Likewise.
17841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17842         <bp-checks.h>.
17843         (__gettimeofday): Do not use CHECK_1.
17844         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17845         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17846         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17847         <bp-checks.h>.
17848         (__gettimeofday): Do not use CHECK_1.
17849         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17850         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17851         (__new_shmctl): Do not use CHECK_1.
17852         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17853         <bp-checks.h>.
17854         (do_sigtimedwait): Do not use CHECK_1.
17855         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17856         <bp-checks.h>.
17857         (do_sigwaitinfo): Do not use CHECK_1.
17858         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17859         <bp-checks.h>.
17860         (msgctl): Do not use CHECK_1.
17861         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17862         <bp-checks.h>.
17863         (shmctl): Do not use CHECK_1.
17864         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17865         (ustat): Do not use CHECK_1.
17866         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17867         <bp-checks.h>.
17868         (__fxstat): Do not use CHECK_1.
17869         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17870         <bp-checks.h>.
17871         (__fxstatat): Do not use CHECK_1.
17872         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17873         <bp-checks.h>.
17874         (__lxstat): Do not use CHECK_1.
17875         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17876         <bp-checks.h>.
17877         (__xstat): Do not use CHECK_1.
17878         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17879         (__xstat): Do not use CHECK_1.
17880         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17881         (___xstat64): Do not use CHECK_1.
17882
17883         [BZ #13550]
17884         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17885         definitions.
17886         (CHECK_BOUNDS_HIGH): Likewise.
17887         * string/strcpy.c: Do not include <bp-checks.h>.
17888         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17889
17890 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17891
17892         * nscd/nscd-client.h (__nscd_drop_map_ref):
17893         Add __attribute__ ((unused)).
17894         * nis/nss-nisplus.h (niserr2nss): Likewise.
17895
17896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17897         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17898
17899         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17900         Remove inline keyword.
17901         * include/rounding-mode.h (round_away): Likewise.
17902         * libio/wfileops.c (adjust_wide_data): Likewise.
17903         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17904         (__m128i_strloadu_tolower): Likewise.
17905         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17906         (__m128i_strloadu_tolower): Likewise.
17907         * time/mktime.c (ydhms_diff): Likewise.
17908         * locale/elem-hash.h (elem_hash): Likewise.
17909         * locale/setlocale.c (setdata): Likewise.
17910         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17911         (re_string_wchar_at): Likewise.
17912         (bitset_not, bitset_merge, bitset_mask): Likewise.
17913         [!(__GNUC__ > 3)] (inline): Remove macro.
17914         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17915         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17916         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17917         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17918         * string/memcmp.c (memcmp_bytes): Likewise.
17919         * locale/programs/locarchive.c (compute_hashval): Likewise.
17920         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17921         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17922         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17923         * nss/getent.c (print_rpc, print_protocols): Likewise.
17924         (print_passwd, print_group, print_aliases): Likewise.
17925         * nis/nss-nisplus.h (niserr2nss): Likewise.
17926         * nscd/connections.c (restart_p): Likewise.
17927         Change return type to bool.
17928
17929 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17930
17931         * Makeconfig (all-Depend-files): Add existing
17932         $(sorted-subdirs:=/Depend) files.
17933         (all-subdirs): Remove nss.
17934         * sysdeps/unix/inet/Subdirs: Add it here instead.
17935         * hesiod/Depend: New file.
17936
17937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17938         instead of calling alloca.
17939
17940         * io/lseek.c (__lseek): Rename to __libc_lseek.
17941         Define __lseek as an alias.
17942
17943         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17944
17945 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17946
17947         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17948         else clause and remove check for non-standard endianness.
17949
17950 2013-02-04  David S. Miller  <davem@davemloft.net>
17951
17952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17953
17954 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17955
17956         [BZ #13550]
17957         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17958         (__ubp_memchr): Remove prototype.
17959         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17960         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17961         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17962         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17963         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17964         Remove alias.
17965         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17966         (__ubp_memchr): Likewise.
17967         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17968         (__ubp_memchr): Likewise.
17969         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17970         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17971         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17972         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17973         CHECK_STRING.
17974         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17975         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17976         (__getcwd): Do not use CHECK_STRING.
17977         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17978         <bp-checks.h>.
17979         (__real_chown): Do not use CHECK_STRING.
17980         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17981         <bp-checks.h>.
17982         (fchownat): Do not use CHECK_STRING.
17983         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17984         CHECK_STRING.
17985         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17986         <bp-checks.h>.
17987         (__lchown): Do not use CHECK_STRING.
17988         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17989         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17990         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17991         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17993         include <bp-checks.h>.
17994         (truncate64): Do not use CHECK_STRING.
17995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17996         <bp-checks.h>.
17997         (__real_chown): Do not use CHECK_STRING.
17998         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17999         <bp-checks.h>.
18000         (__lchown): Do not use CHECK_STRING.
18001         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18002         <bp-checks.h>.
18003         (__chown): Do not use CHECK_STRING.
18004         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18005         <bp-checks.h>.
18006         (truncate64): Do not use CHECK_STRING.
18007         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18008         Likewise.
18009         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18010         (__xmknod): Do not use CHECK_STRING.
18011         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18012         <bp-checks.h>.
18013         (__xmknodat): Do not use CHECK_STRING.
18014         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18015         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18016
18017 2013-02-04  Andreas Schwab  <schwab@suse.de>
18018
18019         [BZ #14142]
18020         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18021         * include/netdb.h: Likewise for h_errno.
18022         * elf/tst-stackguard1.c: Include <tls.h>.
18023
18024 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18025
18026         * elf/link.h (struct link_map): Extend the l_addr comment.
18027         * include/link.h (struct link_map): Likewise.
18028
18029 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18030
18031         [BZ #13550]
18032         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18033         (BOUNDED_1): Remove macro.
18034         * debug/backtrace.c: Don't include <bp-checks.h>.
18035         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18036         (__backtrace): Likewise.
18037         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18038         <bp-checks.h>.
18039         (__backtrace): Don't use BOUNDED_1.
18040         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18041         <bp-checks.h>.
18042         (__backtrace): Don't use BOUNDED_1.
18043         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18044         (__backtrace): Don't use BOUNDED_1.
18045         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18046         (shmat): Don't use BOUNDED_N.
18047
18048 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18049
18050         [BZ #13550]
18051         * sysdeps/generic/bp-start.h: Remove file.
18052         * csu/libc-start.c: Don't include <bp-start.h>.
18053         (LIBC_START_MAIN): Set up __environ directly instead of using
18054         INIT_ARGV_and_ENVIRON.
18055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18056         <bp-start.h>.
18057
18058         [BZ #13550]
18059         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18060         definitions.
18061         (CHECK_FCNTL): Likewise.
18062         (CHECK_N_PAGES): Likewise.
18063
18064         [BZ #13550]
18065         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18066         definitions.
18067         (CHECK_SIGSET_NULL_OK): Likewise.
18068         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18069         <bp-checks.h>.
18070         (sigpending): Don't use CHECK_SIGSET.
18071         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18072         <bp-checks.h>.
18073         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18074         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18075         <bp-checks.h>.
18076         (do_sigsuspend): Don't use CHECK_SIGSET.
18077         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18078         use CHECK_SIGSET.
18079         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18080         (do_sigwait): Don't use CHECK_SIGSET.
18081         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18082         use CHECK_SIGSET.
18083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18084         include <bp-checks.h>.
18085         (sigpending): Don't use CHECK_SIGSET.
18086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18087         include <bp-checks.h>.
18088         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18089         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18090         <bp-checks.h>.
18091         (sigpending): Don't use CHECK_SIGSET.
18092         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18093         <bp-checks.h>.
18094         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18095
18096         [BZ #13550]
18097         * sysdeps/generic/bp-semctl.h: Remove file.
18098         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18099         <bp-checks.h> and <bp-semctl.h>.
18100         (__old_semctl): Don't use CHECK_SEMCTL.
18101         (__new_semctl): Likewise.
18102         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18103         and <bp-semctl.h>.
18104         (__old_semctl): Don't use CHECK_SEMCTL.
18105         (__new_semctl): Likewise.
18106         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18107         <bp-checks.h> and <bp-semctl.h>.
18108         (__old_semctl): Don't use CHECK_SEMCTL.
18109         (__new_semctl): Likewise.
18110         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18111         <bp-checks.h> and <bp-semctl.h>.
18112         (semctl): Don't use CHECK_SEMCTL.
18113
18114         [BZ #13550]
18115         * Makerules (elide-bp-thunks): Remove variable.
18116         (elide-routines.oS): Don't use $(elide-bp-thunks).
18117         (elide-routines.os): Likewise.
18118         (elide-routines.o): Likewise.
18119         (elide-routines.op): Likewise.
18120         (elide-routines.og): Likewise.
18121         (objects): Don't use $(bp-thunks).
18122         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18123         include.
18124         (common-generated): Do not add s-proto-bp.d.
18125         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18126         (int): Likewise.
18127         (typ): Likewise.
18128         Do not generate makefile rules for bounded-pointer thunks.
18129         * sysdeps/generic/bp-thunks.h: Remove file.
18130         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18131         * sysdeps/unix/s-proto-bp.S: Likewise.
18132
18133         [BZ #15062]
18134         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18135         parts of result separately when argument is not close to line from
18136         -i to i and one part of argument is small.
18137         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18138         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18139         * math/libm-test.inc (cacos_test): Add more tests.
18140         (casin_test): Likewise.
18141         (casinh_test): Likewise.
18142         * sysdeps/i386/fpu/libm-test-ulps: Update.
18143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
18145 2013-01-31  David S. Miller  <davem@davemloft.net>
18146
18147         * po/de.po: Update from translation team.
18148
18149 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18150
18151         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18152
18153 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18154
18155         * configure.in (_AC_PROG_CC_C89): New definition.
18156         * configure: Regenerate.
18157
18158         * configure.in (AC_PROG_CPP): New definition.
18159         * configure: Regenerate.
18160
18161 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18162
18163         * debug/tst-backtrace.h: New file.
18164         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18165         (ret): Remove variable.
18166         (x): Likewise.
18167         (FAIL): Remove macro.
18168         (NO_INLINE): Likewise.
18169         (fn1): Use match function instead of strstr.
18170         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18171         (ret): Remove variable.
18172         (x): Likewise.
18173         (FAIL): Remove macro.
18174         (NO_INLINE): Likewise.
18175         (fn): Use match function instead of strstr.
18176         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18177         (ret): Remove variable.
18178         (x): Likewise.
18179         (FAIL): Remove macro.
18180         (NO_INLINE): Likewise.
18181         (handle_signal): Use match function instead of strstr.
18182         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18183         (ret): Remove variable.
18184         (x): Likewise.
18185         (FAIL): Remove macro.
18186         (NO_INLINE): Likewise.
18187         (handle_signal): Use match function instead of strstr.
18188
18189 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18190
18191         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18192
18193 2013-01-23  David S. Miller  <davem@davemloft.net>
18194
18195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18196         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18197         argument of CAS if possible.
18198         * sysdeps/sparc/sparc64/bits/atomic.h
18199         (__arch_compare_and_exchange_val_32_acq): Likewise.
18200         (__arch_compare_and_exchange_val_64_acq): Likewise.
18201
18202 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18203
18204         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18205         * sysdeps/posix/ulimit.c: ... this.
18206         Include <limits.h>.
18207         * sysdeps/unix/bsd/ulimit.c: Remove file.
18208
18209 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18210
18211         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18212         (LDFLAGS-tst-array5): Likewise.
18213
18214 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18215
18216         [BZ #15036]
18217         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18218         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18219         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18220         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18221
18222 2013-01-21  David S. Miller  <davem@davemloft.net>
18223
18224         * sysdeps/sparc/backtrace.c: New file.
18225         * sysdeps/sparc/sparc32/backtrace.h: New file.
18226         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18227         * sysdeps/sparc/sparc64/backtrace.h: New file.
18228         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18229         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18230         -funwind-tables.
18231
18232 2013-01-21  Andreas Schwab  <schwab@suse.de>
18233
18234         [BZ #15020]
18235         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18236         closed its stdout.
18237
18238 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18239
18240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18241         "mpa2.h".
18242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18243
18244 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18245             Mark Mitchell  <mark@codesourcery.com>
18246             Tom de Vries  <tom@codesourcery.com>
18247             Paul Pluzhnikov  <ppluzhnikov@google.com>
18248
18249         * debug/tst-backtrace2.c: New file.
18250         * debug/tst-backtrace3.c: Likewise.
18251         * debug/tst-backtrace4.c: Likewise.
18252         * debug/tst-backtrace5.c: Likewise.
18253         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18254         (CFLAGS-tst-backtrace3.c): Likewise.
18255         (CFLAGS-tst-backtrace4.c): Likewise.
18256         (CFLAGS-tst-backtrace5.c): Likewise.
18257         (LDFLAGS-tst-backtrace2): Likewise.
18258         (LDFLAGS-tst-backtrace3): Likewise.
18259         (LDFLAGS-tst-backtrace4): Likewise.
18260         (LDFLAGS-tst-backtrace5): Likewise.
18261         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18262         tst-backtrace4 and tst-backtrace5.
18263
18264 2013-01-18  Anton Blanchard  <anton@samba.org>
18265             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18266
18267         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18268         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18269         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18270         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18272         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18273         "+r" and remove output regs list as redundant.  Add explicit inline
18274         asm to specify register of return val to work around compiler codegen
18275         bug.  Remove (int) cast on return value.  Add return type parameter to
18276         use in macro so that this macro does not truncate return value for
18277         64-bit values.
18278         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18279         pass to INTERNAL_VSYSCALL_NCS.
18280         (INLINE_VSYSCALL): Add 'long int' as return type to
18281         INTERNAL_VSYSCALL_NCS macro invocation.
18282         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18283         INTERNAL_VSYSCALL_NCS macro invocation.
18284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18285
18286 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18287
18288         [BZ #14496]
18289         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18290         Fix application of SIMD FP exception mask.
18291
18292         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18293         mp_no from a power of two.
18294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18295         __mpexp_twomm1.  Use __pow_mp.
18296
18297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18298         multiplication.
18299
18300 2013-01-17  David S. Miller  <davem@davemloft.net>
18301
18302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18303
18304 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18305
18306         [BZ #15023]
18307         * include/complex.h: Condition contents on [!_COMPLEX_H].
18308         (__kernel_casinhf): New prototype.
18309         (__kernel_casinh): Likewise.
18310         (__kernel_casinhl): Likewise.
18311         * math/Makefile (libm_calls): Add k_casinh.
18312         * math/k_casinh.c: New file.
18313         * math/k_casinhf.c: Likewise.
18314         * math/k_casinhl.c: Likewise.
18315         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18316         finite nonzero arguments.
18317         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18318         finite nonzero arguments.
18319         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18320         finite nonzero arguments.
18321         * math/s_casinh.c: Do not include <float.h>.
18322         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18323         * math/s_casinhf.c: Do not include <float.h>.
18324         (__casinhf): Move code for finite nonzero arguments to
18325         k_casinhf.c.
18326         * math/s_casinhl.c: Do not include <float.h>.
18327         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18328         redefine.
18329         (__casinhl): Move code for finite nonzero arguments to
18330         k_casinhl.c.
18331         * math/libm-test.inc (cacos_test): Add more tests.
18332         * sysdeps/i386/fpu/libm-test-ulps: Update.
18333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334
18335 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18336
18337         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18338         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18339         [!HAVE_MREMAP]: Remove [defined linux] case.
18340         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18341
18342 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18343
18344         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18345
18346 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18347
18348         * elf/elf.h (R_386_SIZE32): New relocation.
18349         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18350         R_386_SIZE32.
18351         (elf_machine_rela): Likewise.
18352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18353         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18354
18355 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18356
18357         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18358         (FP_FAST_FMA): Do not define.
18359         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18360         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18361         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18362         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18363         !_SOFT_FLOAT]: Likewise.
18364         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18366         value.
18367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18368         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18369         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18370         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18371         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18372         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18373         file.
18374
18375 2013-01-16  Andreas Schwab  <schwab@suse.de>
18376
18377         [BZ #14327]
18378         * include/stdlib.h (__mktemp): Add declaration.
18379         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18380         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18381
18382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18383
18384         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18385         definitions.
18386         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18387         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18388         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18389         definitions here.
18390         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18391         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18392         definitions.
18393         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18394         and ONE.
18395         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18396         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18397         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18398         definitions.
18399         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18400         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18401         definitions.
18402         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18403
18404         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18405
18406 2013-01-15  David S. Miller  <davem@davemloft.net>
18407
18408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18409         trunc{,f} to libm-sysdep_routes.
18410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18412         file.
18413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18415         file.
18416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18417         file.
18418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18421         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18423         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18424         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18425         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18426
18427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18428         nearbyint{,f} to libm-sysdep_routes.
18429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18431         New file.
18432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18433         file.
18434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18435         New file.
18436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18437         file.
18438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18441         file.
18442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18444         file.
18445         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18446         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18447         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18448
18449         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18450         libc_feholdexcept and libc_fesetenv.
18451
18452 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18453
18454         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18455
18456 2013-01-14  David S. Miller  <davem@davemloft.net>
18457
18458         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18459         (SPARC_ASM_VIS2_IFUNC): Likewise.
18460         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18462         use of 'siam' instruction.
18463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18464         Likewise.
18465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18466         Likewise.
18467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18468         Likewise.
18469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18474         file.
18475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18476         file.
18477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18478         file.
18479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18480         file.
18481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18486         new VIS2 routines.
18487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18490         Likewise.
18491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18496         routines to libm-sysdep_routines.
18497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18498
18499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18500         fdim/fdimf to libm-sysdep_routines.
18501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18502         file.
18503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18505         file.
18506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18509         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18510         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18511         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18512         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18513
18514 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18515
18516         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18517         to optimize copies.
18518
18519         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18522
18523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18524         local variable MPTWO.
18525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18526         Likewise.
18527
18528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18529
18530         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18531         GLOB_NOESCAPE.
18532
18533 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18534
18535         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18536
18537 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18538
18539         * manual/pattern.texi (glob_t): Document gl_flags.
18540         (glob64_t): Likewise.
18541
18542 2013-01-11  David S. Miller  <davem@davemloft.net>
18543
18544         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18545         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18546         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18547         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18548         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18549         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18550         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18551         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18552         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18553         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18554         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18555         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18556         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18557
18558         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18559         sparc V9 rather than using V8 code.
18560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18562
18563         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18564         Move to...
18565         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18566         Here.
18567
18568 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18569
18570         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18571         not in the main loop.
18572         * configure: Regenerated.
18573
18574 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18575
18576         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18577         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18578         to just #else.
18579         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18580         [!__GLIBC_HAVE_LONG_LONG] case.
18581         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18582         condition to just #else.
18583         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18584         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18585         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18586         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18587         unconditional.
18588         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18589         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18590         #elif condition to just #else.
18591         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18592         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18593         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18594         #elif condition to just #else.
18595
18596 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18597
18598         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18599         (EF_MIPS_ARCH_64): Fix value.
18600         (EF_MIPS_ARCH_32R2): New.
18601         (EF_MIPS_ARCH_64R2): New.
18602
18603 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18604
18605         * Makeconfig (+link-pie-before-libc): New.
18606         (+link-pie-after-libc): Likewise.
18607         (+link-pie-tests): Likewise.
18608         (+link-pie): Rewritten.
18609         (link-before-libc): Remove $(config-LDFLAGS).
18610         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18611         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18612         (config-LDFLAGS): Renamed to ...
18613         (rtld-LDFLAGS): This.
18614         (rtld-tests-LDFLAGS): New macro.
18615         (link-libc-rpath-link): Likewise.
18616         (link-libc-tests-rpath-link): Likewise.
18617         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18618         (link-libc): Prepand $(link-libc-rpath-link).
18619         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18620         (test-program-prefix): New macro.
18621         (test-via-rtld-prefix): Likewise.
18622         (test-program-cmd): Likewise.
18623         (host-test-program-cmd): Likewise.
18624         * Makefile ($(common-objpfx)testrun.sh): Replace
18625         $(run-program-prefix) with $(test-program-prefix).
18626         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18627         $(rtld-LDFLAGS).
18628         ($(common-objpfx)shlib.lds): Likewise.
18629         (build-module-helper): Likewise.
18630         ($(common-objpfx)format.lds): Likewise.
18631         * Rules (binaries-pie-tests): New.
18632         (binaries-pie-notests): Likewise.
18633         (binaries-pie): Rewritten.
18634         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18635         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18636         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18637         (make-test-out): Replace $(host-built-program-cmd) with
18638         $(host-test-program-cmd).
18639         * config.make.in (build-hardcoded-path-in-tests): New variable.
18640         * configure.in (--enable-hardcoded-path-in-tests): New configure
18641         option.
18642         (hardcoded_path_in_tests): New AC_SUBST.
18643         * configure: Regenerated.
18644         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18645         $(built-program-cmd) with $(test-program-cmd).
18646         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18647         (test_program_cmd): This.
18648         * elf/Makefile ($(objpfx)order.out): Run test with
18649         $(test-program-prefix).
18650         ($(objpfx)order2.out): Likewise.
18651         ($(objpfx)tst-initorder.out): Likewise.
18652         ($(objpfx)tst-initorder2.out): Likewise.
18653         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18654         $(test-program-cmd).
18655         ($(objpfx)tst-array1-static.out): Likewise.
18656         ($(objpfx)tst-array2.out): Likewise.
18657         ($(objpfx)tst-array3.out): Likewise.
18658         ($(objpfx)tst-array4.out): Likewise.
18659         ($(objpfx)tst-array5.out): Likewise.
18660         ($(objpfx)tst-array5-static.out): Likewise.
18661         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18662         $(test-program-cmd).
18663         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18664         $(run-program-prefix) with $(test-program-prefix).
18665         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18666         (test_program_prefix): This.
18667         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18668         $(run-program-prefix) with $(test-program-prefix).
18669         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18670         (test_program_prefix): This.
18671         * iconvdata/tst-tables.sh: Likewise.
18672         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18673         $(run-program-prefix) with $(test-program-prefix).
18674         ($(objpfx)tst-translit.out): Likewise.
18675         ($(objpfx)tst-gettext2.out): Likewise.
18676         ($(objpfx)tst-gettext4.out): Likewise.
18677         ($(objpfx)tst-gettext6.out): Likewise.
18678         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18679         (test_program_prefix): This.
18680         * intl/tst-gettext2.sh: Likewise.
18681         * intl/tst-gettext4.sh  Likewise.
18682         * intl/tst-gettext6.sh: Likewise.
18683         * intl/tst-translit.sh: Likewise.
18684         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18685         with $(test-program-cmd).
18686         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18687         $(run-program-prefix) with $(test-program-prefix).
18688         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18689         (test_program_prefix): This.
18690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18691         $(run-program-prefix) with $(test-program-prefix).
18692         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18693         (test_program_prefix): This.
18694         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18695         * posix/Makefile ($(objpfx)globtest.out): Replace
18696         $(run-via-rtld-prefix) and $(test-wrapper) with
18697         $(test-program-prefix) and $(test-via-rtld-prefix).
18698         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18699         $(test-program-prefix).
18700         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18701         $(host-test-program-cmd).
18702         (tst-spawn-ARGS): Likewise.
18703         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18704         $(test-program-prefix).
18705         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18706         (test_via_rtld_prefix): This.
18707         (test_wrapper): Renamed to ...
18708         (test_program_prefix): This.
18709         (run_program_prefix): Replaced by test_program_prefix.
18710         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18711         (test_program_prefix): This.
18712         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18713         with $(host-test-program-cmd).
18714         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18715         $(run-program-prefix) with $(test-program-prefix).
18716         ($(objpfx)tst-printf.out): Likewise.
18717         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18718         $(test-program-cmd).
18719         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18720         (test_program_prefix): This.
18721         * stdio-common/tst-unbputc.sh: Likewise.
18722         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18723         $(run-program-prefix) with $(test-program-prefix).
18724         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18725         (test_program_prefix): This.
18726         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18727         $(built-program-cmd) with $(test-program-cmd).
18728
18729 2013-01-11  Andreas Jaeger  <aj@suse.de>
18730
18731         [BZ #15003]
18732         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18733         value. Sync with Linux 3.7.
18734
18735 2013-01-10  David S. Miller  <davem@davemloft.net>
18736
18737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18740
18741 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18742
18743         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18744         never set.
18745         * configure: Regenerated.
18746
18747 2013-01-10  David S. Miller  <davem@davemloft.net>
18748
18749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18750         sparc V9 rather than using V8 code.
18751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18753
18754 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18755
18756         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18757         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18758         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18759         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18760         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18761         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18762         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18763         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18764         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18765         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18766         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18767         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18768         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18769         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18770         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18771         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18772         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18773         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18774         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18775         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18776         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18777         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18778         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18779         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18780         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18781         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18782         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18783
18784 2013-01-10  David S. Miller  <davem@davemloft.net>
18785
18786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18787
18788 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18789
18790         * posix/Makefile (tests-static): New variable.
18791         (tests): Add $(tests-static).
18792         (tst-exec-static-ARGS): New variable.
18793         (tst-spawn-static-ARGS): Likewise.
18794         * posix/tst-exec-static.c: New file.
18795         * posix/tst-spawn-static.c: Likewise.
18796         * posix/tst-exec.c: Support run directly.
18797         * posix/tst-spawn.c: Likewise.
18798
18799 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18800
18801         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18802         long.
18803         * math/bits/mathcalls.h (llrint): Likewise.
18804         (llround): Likewise.
18805         * stdlib/stdlib.h (struct drand48_data): Likewise.
18806         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18807         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18808         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18809         Likewise.
18810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18811         Likewise.
18812         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18813         (elf_greg_t): Likewise.
18814         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18815         (__jmp_buf): Likewise.
18816         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18817         definitions.
18818         (llrint): Likewise, for all definitions.
18819         (llrintl): Likewise.
18820
18821         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18822         Remove [__GNUC__] condition.
18823         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18824         condition to just [__USE_ISOC99].
18825         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18826
18827 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18828
18829         [BZ #14200]
18830         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18831         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18832         defined.
18833         (_POSIX_V6_ILP32_OFF32): Likewise.
18834         (_XBS5_ILP32_OFF32): Likewise.
18835         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18836         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18837
18838 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18839
18840         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18841
18842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18843         doubles __mpexp_twomm1.  Adjust usage.
18844         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18845         Remove.
18846
18847 2013-01-10  Andreas Schwab  <schwab@suse.de>
18848
18849         [BZ #14964]
18850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18851         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18852
18853 2013-01-09  David S. Miller  <davem@davemloft.net>
18854
18855         [BZ #15003]
18856         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18857         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18858         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18859         TCP_FASTOPEN): Define.
18860         (tcp_repair_opt): New structure.
18861         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18862         enum values.
18863         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18864         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18865         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18866         (tcp_cookie_transactions): New structure.
18867
18868 2013-01-09  Anton Blanchard  <anton@samba.org>
18869
18870         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18871         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18873         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18874
18875 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18876
18877         * include/features.h (__USE_ANSI): Remove.
18878
18879 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18880
18881         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18882
18883         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18884
18885 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18886
18887         * sysdeps/s390/fpu/libm-test-ulps: Update.
18888
18889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18890
18891         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18892         (__acr): Likewise.
18893         (__cpy): Likewise.
18894         (norm): Likewise.
18895         (denorm): Likewise.
18896         (__mp_dbl): Likewise.
18897         (__dbl_mp): Likewise.
18898         (add_magnitudes): Likewise.
18899         (sub_magnitudes): Likewise.
18900         (__add): Likewise.
18901         (__sub): Likewise.
18902         (__mul): Likewise.
18903         (__inv): Likewise.
18904         (__dvd): Likewise.
18905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18906         (__acr): Likewise.
18907         (__cpy): Likewise.
18908         (norm): Likewise.
18909         (denorm): Likewise.
18910         (__mp_dbl): Likewise.
18911         (__dbl_mp): Likewise.
18912         (add_magnitudes): Likewise.
18913         (sub_magnitudes): Likewise.
18914         (__add): Likewise.
18915         (__sub): Likewise.
18916         (__mul): Likewise.
18917         (__inv): Likewise.
18918         (__dvd): Likewise.
18919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18920         (__acr): Likewise.
18921         (__cpy): Likewise.
18922         (norm): Likewise.
18923         (denorm): Likewise.
18924         (__mp_dbl): Likewise.
18925         (__dbl_mp): Likewise.
18926         (add_magnitudes): Likewise.
18927         (sub_magnitudes): Likewise.
18928         (__add): Likewise.
18929         (__sub): Likewise.
18930         (__mul): Likewise.
18931         (__inv): Likewise.
18932         (__dvd): Likewise.
18933
18934 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18935
18936         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18937         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18938         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18939         2 && __USE_EXTERN_INLINES]: Likewise.
18940
18941 2013-01-08  Andreas Jaeger  <aj@suse.de>
18942
18943         [BZ# 14985]
18944         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18945         Remove.
18946         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18947         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18948
18949 2013-01-07  Anton Blanchard  <anton@samba.org>
18950
18951         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18952         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18953         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18954         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18955         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18956         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18957         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18958         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18960         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18971         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18972         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18974         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18975         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18977         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18981         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18983         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18986         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18990         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18993         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18994
18995 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18996
18997         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18998         (__MALLOC_PMT): Likewise.
18999         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19000         [__GNUC__], only on [_LIBC].
19001         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19002         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19003         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19004         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19005         forward declaration.
19006         (realloc_hook_ini): Likewise.
19007         (memalign_hook_ini): Likewise.
19008         (__libc_memalign): Do not use __MALLOC_PMT in variable
19009         declaration.
19010         (__libc_valloc): Likewise.
19011         (__libc_pvalloc): Likewise.
19012         (__libc_calloc): Likewise.
19013         (__posix_memalign): Likewise.
19014
19015         [BZ #14996]
19016         * math/s_casinh.c: Include <float.h>.
19017         (__casinh): Do not do computation with squaring and square root
19018         for large arguments.
19019         * math/s_casinhf.c: Include <float.h>.
19020         (__casinhf): Do not do computation with squaring and square root
19021         for large arguments.
19022         * math/s_casinhl.c: Include <float.h>.
19023         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19024         (__casinhl): Do not do computation with squaring and square root
19025         for large arguments.
19026         * math/libm-test.inc (casin_test): Add more tests.
19027         (casinh_test): Likewise.
19028         * sysdeps/i386/fpu/libm-test-ulps: Update.
19029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19030
19031 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19032
19033         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19034         (__x86_64_raw_data_cache_size): Likewise.
19035         (__x86_64_data_cache_size_half): Likewise.
19036         (__x86_64_raw_data_cache_size_half): Likewise.
19037         (__x86_64_shared_cache_size): Likewise.
19038         (__x86_64_raw_shared_cache_size): Likewise.
19039         (__x86_64_shared_cache_size_half): Likewise.
19040         (__x86_64_raw_shared_cache_size_half): Likewise.
19041         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19042         to ...
19043         (__x86_data_cache_size): This.
19044         (__x86_64_raw_data_cache_size): Renamed to ...
19045         (__x86_raw_data_cache_size): This.
19046         (__x86_64_data_cache_size_half): Renamed to ...
19047         (__x86_data_cache_size_half): This.
19048         (__x86_64_raw_data_cache_size_half): Renamed to ...
19049         (__x86_raw_data_cache_size_half): This.
19050         (__x86_64_shared_cache_size): Renamed to ...
19051         (__x86_shared_cache_size): This.
19052         (__x86_64_raw_shared_cache_size): Renamed to ...
19053         (__x86_raw_shared_cache_size): This.
19054         (__x86_64_shared_cache_size_half): Renamed to ...
19055         (__x86_shared_cache_size_half): This.
19056         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19057         (__x86_raw_shared_cache_size_half): This.
19058         * sysdeps/x86_64/memcpy.S: Updated.
19059         * sysdeps/x86_64/memset.S: Likewise.
19060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19063
19064 2013-01-04  David S. Miller  <davem@davemloft.net>
19065
19066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19067
19068 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19069
19070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19071         1 to avoid redefinition warning.
19072         (__USE_GNU): Don't define.
19073         (init_signaling_nan): Protoize.
19074
19075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19076
19077 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19078
19079         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19081         (__cpymn): Likewise.
19082         (norm): Remove commented code.
19083         (denorm): Likewise.
19084         (__mp_dbl): Likewise.
19085         (__inv): Likewise.
19086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19087         (__cpymn): Likewise.
19088         (norm): Remove commented code.
19089         (denorm): Likewise.
19090         (__mp_dbl): Likewise.
19091         (__inv): Likewise.
19092
19093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19094         mp_no value for 1.0 and 2.0.
19095         (norm): Use RADIXI instead of radixi.d.
19096         (denorm): Likewise.
19097         (__mul): Use 0.0 instead of zero.d.
19098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19099         mp_no value for 1.0 and 2.0.
19100         (norm): Use RADIXI instead of radixi.d.
19101         (denorm): Likewise.
19102         (__mul): Use 0.0 instead of zero.d.
19103
19104 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19105
19106         [BZ #14994]
19107         * math/s_casinh.c (__casinh): Reduce finite argument to first
19108         quadrant then set signs of results at the end.
19109         * math/s_casinhf.c (__casinhf): Likewise.
19110         * math/s_casinhl.c (__casinhl): Likewise.
19111         * math/libm-test.inc (casin_test): Add more tests.
19112         (casinh_test): Likewise.
19113         * sysdeps/i386/fpu/libm-test-ulps: Update.
19114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115
19116 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19117
19118         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19119
19120         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19121
19122         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19123         declarations.
19124         (denorm): Likewise.
19125         (__mp_dbl): Likewise.
19126         (__inv): Likewise.
19127
19128         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19129         and adjust the header comment.
19130
19131         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19132         variable name from declaration.
19133
19134 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19135
19136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19137         Initialize COMMON_CPUID_INDEX_7 element.
19138         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19139         (CPUID_RTM): Likewise.
19140         (HAS_RTM): Likewise.
19141         (COMMON_CPUID_INDEX_7): New enum.
19142
19143 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19144
19145         [BZ #14981]
19146         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19147         size is zero, record memory as freed.
19148
19149 2013-01-03  Andreas Jaeger  <aj@suse.de>
19150
19151         * po/ia.po: Add new Interlingua translation.
19152
19153 2012-01-03  Allan McRae  <allan@archlinux.org>
19154
19155         * locale/programs/localedef.c: Fix description of '--posix' flag.
19156
19157 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19158
19159         * NEWS: Update dates in second copyright notice.
19160         * README: Update copyright dates in example.
19161         * manual/libc.texinfo: Update copyright dates.
19162         * scripts/test-installation.pl: Update copyright date in --version
19163         output.
19164
19165         * hurd/ctty-input.c: Fix copyright notice formatting.
19166         * hurd/ctty-output.c: Likewise.
19167         * hurd/dtable.c: Likewise.
19168         * hurd/hurd-raise.c: Likewise.
19169         * hurd/hurdprio.c: Likewise.
19170         * hurd/msgportdemux.c: Likewise.
19171         * misc/sys/file.h: Likewise.
19172         * misc/sys/ioctl.h: Likewise.
19173         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19174         * sysdeps/mach/hurd/chdir.c: Likewise.
19175         * sysdeps/mach/hurd/fchdir.c: Likewise.
19176         * sysdeps/mach/hurd/rename.c: Likewise.
19177         * sysdeps/mach/hurd/rmdir.c: Likewise.
19178         * sysdeps/mach/hurd/seekdir.c: Likewise.
19179         * sysdeps/mach/hurd/setsid.c: Likewise.
19180         * sysdeps/posix/wait3.c: Likewise.
19181
19182         * All files with FSF copyright notices: Update copyright dates
19183         using scripts/update-copyrights.
19184         * intl/plural.c: Regenerated.
19185         * locale/programs/charmap-kw.h: Likewise.
19186         * locale/programs/locfile-kw.h: Likewise.
19187
19188 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19189
19190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19191         four values.
19192
19193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19194         calculation loop and add branch prediction.
19195
19196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19197         check access beyond bounds of m1np.
19198
19199         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19200         MPTWO.
19201         (__inv): Remove local variable MPTWO to use the global
19202         constant.
19203         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19205         variable MPTWO.
19206         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19207         MP3HALFS static const.
19208
19209 2013-01-01  David S. Miller  <davem@davemloft.net>
19210
19211         * po/ca.po: Update from translation team.
19212
19213 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19214
19215         * scripts/update-copyrights: New file.
19216         * Makeconfig: Reformat copyright notice.
19217         * ctype/ctype.h: Likewise.
19218         * debug/swprintf_chk.c: Likewise.
19219         * elf/dl-cache.c: Likewise.
19220         * elf/dl-debug.c: Likewise.
19221         * elf/dl-object.c: Likewise.
19222         * grp/initgroups.c: Likewise.
19223         * hurd/Makefile: Likewise.
19224         * hurd/hurd/signal.h: Likewise.
19225         * hurd/hurdfault.c: Likewise.
19226         * hurd/hurdioctl.c: Likewise.
19227         * hurd/hurdlookup.c: Likewise.
19228         * hurd/intr-msg.c: Likewise.
19229         * iconv/gconv_open.c: Likewise.
19230         * libio/swprintf.c: Likewise.
19231         * locale/lc-ctype.c: Likewise.
19232         * locale/nl_langinfo.c: Likewise.
19233         * mach/Machrules: Likewise.
19234         * mach/Makefile: Likewise.
19235         * malloc/obstack.h: Likewise.
19236         * manual/Makefile: Likewise.
19237         * manual/tsort.awk: Likewise.
19238         * misc/bits/stab.def: Likewise.
19239         * nis/nis_print_group_entry.c: Likewise.
19240         * nis/nis_table.c: Likewise.
19241         * nis/nss_compat/compat-pwd.c: Likewise.
19242         * nis/nss_compat/compat-spwd.c: Likewise.
19243         * po/Makefile: Likewise.
19244         * posix/fnmatch.c: Likewise.
19245         * posix/regex.h: Likewise.
19246         * resolv/Makefile: Likewise.
19247         * resolv/nss_dns/dns-network.c: Likewise.
19248         * resolv/res_hconf.c: Likewise.
19249         * scripts/gen-sorted.awk: Likewise.
19250         * soft-fp/soft-fp.h: Likewise.
19251         * stdio-common/printf.h: Likewise.
19252         * stdlib/monetary.h: Likewise.
19253         * stdlib/random.c: Likewise.
19254         * stdlib/random_r.c: Likewise.
19255         * sysdeps/generic/Makefile: Likewise.
19256         * sysdeps/gnu/Makefile: Likewise.
19257         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19259         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19264         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19265         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19269         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19270         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19271         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19272         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19273         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19275         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19277         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19278         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19279         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19280         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19281         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19282         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19284         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19285         * sysdeps/mach/hurd/errnos.awk: Likewise.
19286         * sysdeps/mach/hurd/fork.c: Likewise.
19287         * sysdeps/mach/hurd/getcwd.c: Likewise.
19288         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19289         * sysdeps/mach/hurd/mmap.c: Likewise.
19290         * sysdeps/mach/hurd/utimes.c: Likewise.
19291         * sysdeps/mach/hurd/xmknod.c: Likewise.
19292         * sysdeps/posix/profil.c: Likewise.
19293         * sysdeps/posix/readdir_r.c: Likewise.
19294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19295         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19297         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19299         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19305         * sysdeps/pthread/lio_listio.c: Likewise.
19306         * sysdeps/sparc/dl-procinfo.h: Likewise.
19307         * sysdeps/unix/i386/sysdep.S: Likewise.
19308         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19309         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19310         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19311         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19313         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19314         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19315         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19316         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19317         * sysdeps/wordsize-32/divdi3.c: Likewise.
19318         * time/sys/time.h: Likewise.
19319         * wcsmbs/Makefile: Likewise.
19320
19321 2013-01-01  David S. Miller  <davem@davemloft.net>
19322
19323         * po/fr.po: Update from translation team.
19324
19325         * catgets/gencat.c: Update copyright year.
19326         * csu/version.c: Likewise.
19327         * debug/catchsegv.sh: Likewise.
19328         * debug/pcprofiledump.c: Likewise.
19329         * debug/xtrace.sh: Likewise.
19330         * elf/ldconfig.c: Likewise.
19331         * elf/ldd.bash.in: Likewise.
19332         * elf/pldd.c: Likewise.
19333         * elf/sotruss.ksh: Likewise.
19334         * elf/sprof.c: Likewise.
19335         * iconv/iconv_prog.c: Likewise.
19336         * iconv/iconvconfig.c: Likewise.
19337         * locale/programs/locale.c: Likewise.
19338         * locale/programs/localedef.c: Likewise.
19339         * login/programs/pt_chown.c: Likewise.
19340         * malloc/memusage.sh: Likewise.
19341         * malloc/memusagestat.c: Likewise.
19342         * malloc/mtrace.pl: Likewise.
19343         * nscd/nscd.c: Likewise.
19344         * nss/getent.c: Likewise.
19345         * nss/makedb.c: Likewise.
19346         * posix/getconf.c: Likewise.
19347
19348 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349
19350         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19351         numbers.
19352
19353 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19354
19355         * math/bits/mathcalls.h (modf): Use __nonnull.
19356
19357 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19358
19359         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19360         (split): Use macro CN instead of the bare value.
19361         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19362         could be used.
19363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19364         instead of the bare value.
19365         (power1): Likewise.
19366
19367 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19368
19369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19370         __ATAN_TWOM.
19371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19372
19373         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19374         their values.
19375         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19376         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19377         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19378         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19379
19380 2012-12-28  Andreas Jaeger  <aj@suse.de>
19381
19382         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19383         values are from Linux 3.7.
19384
19385         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19386         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19387
19388 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19389
19390         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19391         TRUE case.
19392
19393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19394         (norm): Likewise.
19395         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19396         variables with preprocessor constants.
19397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19398         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19399         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19400
19401 2012-12-27  Bruno Haible  <bruno@clisp.org>
19402
19403         [BZ #14317]
19404         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19405         only if needed.
19406
19407 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19408
19409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19410         and use variable directly.
19411         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19412
19413         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19414         MPONE.
19415         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19417         variable MPONE.
19418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19420         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19421         include directive.  Remove local variable MPONE.
19422         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19423         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19425
19426 2012-12-25  David S. Miller  <davem@davemloft.net>
19427
19428         * version.h (RELEASE): Set to "development".
19429         (VERSION): Set to "2.17.90".
19430         * NEWS: Add 2.18 section.
19431
19432 2012-12-21  David S. Miller  <davem@davemloft.net>
19433
19434         * po/hr.po: Update from translation team.
19435
19436 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19437
19438         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19439
19440 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19441
19442         * NEWS:  Mention new memcpy for MIPS.
19443
19444 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19445
19446         * manual/contrib.texi (Contributors): Spelling correction.
19447
19448 2012-12-15  David S. Miller  <davem@davemloft.net>
19449
19450         * po/ru.po: Update from translation team.
19451
19452 2012-12-13  David S. Miller  <davem@davemloft.net>
19453
19454         * NEWS: Mention IFUNC testsuite enhancements.
19455
19456         * po/pl.po: Update from translation team.
19457         * po/bg.po: Likewise.
19458
19459         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19460         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19461
19462 2012-12-11  David S. Miller  <davem@davemloft.net>
19463
19464         * po/sv.po: Update from translation team.
19465
19466         * po/vi.po: Update from translation team.
19467
19468         * po/cs.po: Update from translation team.
19469
19470         * po/de.po: Update from translation team.
19471         * po/eo.po: Likewise.
19472         * po/nl.po: Likewise.
19473
19474 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19475
19476         [BZ #14246]
19477         * manual/argp.texi (Argp Helper Functions): Move node to follow
19478         Argp Parsing State.
19479
19480         [BZ #14872]
19481         * manual/conf.texi (Limits on File System Capacity): Mention if
19482         terminating null is included in the max size.
19483
19484 2012-12-10  Andreas Jaeger  <aj@suse.de>
19485
19486         * po/cs.po: Update from translation team.
19487
19488 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19489
19490         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19491         void pointer and cast to uintptr_t.
19492         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19493         path.
19494         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19495         * sysdeps/s390/s390-64/memset.S: Likewise.
19496
19497 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19498
19499         [BZ #14833]
19500         * menual/message.texi (Message Translation): Fix typos.
19501         (Helper programs for gettext): Likewise.
19502
19503 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19504
19505         [BZ #14898]
19506         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19507         Change to -1.
19508
19509 2012-12-07  David S. Miller  <davem@davemloft.net>
19510
19511         * po/libc.pot: Update.
19512
19513 2012-12-07  Richard Henderson  <rth@redhat.com>
19514
19515         [BZ #10114]
19516         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19517         normal/normal case to before the switch.
19518         (_FP_DIV): Likewise.
19519
19520 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19521             Mike Frysinger  <vapier@gentoo.org>
19522
19523         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19524         check for __NR_fadvise64_64.
19525
19526 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19527
19528         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19529         0, not just to plain "0" as a statement.
19530         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19531         with cw.
19532
19533 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19534
19535         * NEWS: Use sourceware.org in Bugzilla URL.
19536
19537 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19538
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19541
19542         * stdio-common/tst-put-error.c (do_test): Add newline to the
19543         padded test to ensure flush.
19544
19545 2012-12-05  Jeff Law  <law@redhat.com>
19546
19547         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19548
19549 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19550
19551         * README: Don't refer to ports add-on as distributed separately.
19552         Mention AArch64 in list of systems supported in the ports add-on.
19553
19554         * LICENSES: Add more non-FSF copyright and license notices.
19555
19556         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19557         ((unused)).
19558
19559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19560
19561         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19562         10000 as width of padded output.
19563
19564 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19565
19566         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19567
19568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19569         variable LX with __attribute__ ((unused)).
19570         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19571         Likewise.
19572         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19575         with __attribute__ ((unused)).
19576
19577 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19578
19579         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19580
19581 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19582
19583         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19584         (CFLAGS-nldbl-acos.c): New variable.
19585         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19586         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19587         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19588         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19589         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19590         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19591         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19592         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19593         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19594         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19595         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19596         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19597         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19598         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19599         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19600         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19601         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19602         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19603         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19604         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19605         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19606         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19607         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19608         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19609         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19610         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19611         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19612         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19613         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19614         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19615         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19616         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19617         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19618         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19619         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19620         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19621         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19622         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19623         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19624         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19625         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19626         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19627         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19628         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19629         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19630         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19631         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19632         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19633         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19634         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19635         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19636         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19637         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19638         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19639         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19640         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19641         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19642         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19643         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19644         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19645         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19646         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19647         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19648         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19649         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19650         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19651         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19652         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19653         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19654         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19655         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19656         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19657         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19658         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19659         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19660         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19661         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19662         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19663         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19664         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19665         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19666         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19667         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19668         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19669         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19670         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19671         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19672         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19673         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19674         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19675         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19676         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19677         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19678         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19679         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19680         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19681         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19682
19683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19685
19686         [BZ #14914]
19687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19688         whole low double instead of just low 47 bits when splitting values
19689         into two parts.
19690
19691 2012-12-03  Allan McRae  <allan@archlinux.org>
19692
19693         * manual/stdio.texi (Predefined Printf Handlers): Remove
19694         @hsep and @vsep usage.
19695
19696 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19697
19698         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19699         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19700
19701 2012-12-03  Jeff Law  <law@redhat.com>
19702
19703         * time/sys/time.h (settimeofday): Do not mark TV argument
19704         as __nonnull.
19705
19706 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19707
19708         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19709         when currently writing and seek to current position when not.
19710         * libio/Makefile (tests): Remove bug-fclose1.
19711         * libio/bug-fclose1.c: Delete.
19712
19713 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19714
19715         * manual/arith.texi (feenableexcept): Fix typo.
19716         (fedisableexcept): Likewise.
19717
19718 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19719
19720         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19721         second, differently-typed declaration, rather than a cast.
19722
19723 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19724
19725         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19726         * include/rpc/svc.h: ... here.
19727
19728 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19729
19730         [BZ #13013]
19731         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19732         depending n and resplen2 to catch cases where answer
19733         equals answerp2.
19734
19735 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19736
19737         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19738         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19739
19740 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19741
19742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19743
19744 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19745
19746         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19747
19748 2012-11-28  Jeff Law  <law@redhat.com>
19749
19750         [BZ #13761]
19751         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19752         dataset_temporary.  Track alloca usage into alloca_used.
19753         If dataset is large allocate and release it via malloc/free.
19754
19755 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19756
19757         [BZ #14197]
19758         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19759
19760 2012-11-28  David S. Miller  <davem@davemloft.net>
19761
19762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19763
19764 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19765
19766         [BZ #14803]
19767         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19768         of pi/2 rounded to nearest to 64 bits.
19769         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19770         nearest to 64 bits.
19771         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19772         bits.
19773
19774 2012-11-28  Jeff Law <law@redhat.com>
19775             Martin Osvald <mosvald@redhat.com>
19776
19777         [BZ #14889]
19778         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19779         * sunrpc/svc.c: Include time.h.
19780         (__svc_accept_failed): New function.
19781         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19782         any reason other than EINTR, call __svc_accept_failed.
19783         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19784         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19785
19786 2012-11-28  Andreas Schwab  <schwab@suse.de>
19787
19788         * scripts/abilist.awk: Also handle indirect functions in .opd
19789         section.
19790
19791 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19792
19793         [BZ #13881]
19794         * sysdeps/x86/fpu/powl_helper.c: New file.
19795         * sysdeps/x86/fpu/Makefile: Likewise.
19796         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19797         (p3): New object.
19798         (__ieee754_powl): Use __powl_helper for finite arguments except
19799         integer exponents below 8.
19800         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19801         (p3): New object.
19802         (__ieee754_powl): Use __powl_helper for finite arguments except
19803         integer exponents below 8.
19804         * math/libm-test.inc (pow_test): Add more tests and enable some
19805         previously disabled tests.
19806         * sysdeps/i386/fpu/libm-test-ulps: Update.
19807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19808
19809 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19810             Carlos O'Donell  <carlos_odonell@mentor.com>
19811
19812         * nss/makedb.c (is_prime): Assert that input is odd and greater
19813         than 4.  Note that fact in a comment too.
19814         (next_prime): Add 4 to input.
19815
19816 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19817
19818         [BZ #11741]
19819         * libio/Makefile (tests): Add test case tst-fwrite-error.
19820         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19821         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19822         * libio/tst-fwrite-error.c: New test case.
19823
19824 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19825
19826         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19827         before casting to void *.
19828         * include/libc-internal.h (__pointer_type): New macro.
19829         (__integer_if_pointer_type_sub): Likewise.
19830         (__integer_if_pointer_type): Likewise.
19831         (cast_to_integer): Likewise.
19832         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19833         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19834         before casting to atomic64_t.
19835         (atomic_exchange_acq): Likewise.
19836         (__arch_exchange_and_add_body): Likewise.
19837         (__arch_add_body): Likewise.
19838         (atomic_add_negative): Likewise.
19839         (atomic_add_zero): Likewise.
19840
19841 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19842
19843         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19844         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19845         (add_fdes): Likewise.
19846         (linear_search_fdes): Likewise.
19847         (binary_search_unencoded_fdes): Likewise.
19848
19849 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19850
19851         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19852
19853 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19854
19855         * configure.in: Autodetect C++ header directories.
19856         * configure: Regenerated.
19857
19858 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19859
19860         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19861
19862 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19863
19864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19865
19866 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19867
19868         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19869         LDBL_MANT_DIG == 106]: Disable some tests.
19870         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19871         Likewise.
19872         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19873         Likewise.
19874
19875         [BZ #14871]
19876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19877         input for small inputs.  Return +/- pi/2 for large inputs.
19878         * math/libm-test.inc (atan_test): Add more tests.
19879
19880         * sysdeps/generic/unwind-dw2-fde-glibc.c
19881         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19882         __attribute__ ((unused)).
19883
19884         [BZ #14645]
19885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19886         x * y if x and y are nonzero and z is zero.
19887
19888         [BZ #14811]
19889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19890         nonzero exponents with absolute value below 0x1p-117 to +/-
19891         0x1p-117.
19892
19893         [BZ #14869]
19894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19895         up arguments below 2**-450, not just those below 2**-500.
19896         * math/libm-test.inc (hypot_test): Add another test.
19897
19898         [BZ #14868]
19899         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19900         Return a+b for ratio over 2**120, not 2**60.
19901         * math/libm-test.inc (hypot_test): Add another test.
19902
19903         * math/libm-test.inc (clog_test): Use
19904         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19905         (clog10_test): Likewise.
19906
19907         [BZ #6778]
19908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19909
19910 2012-11-22  Andreas Schwab  <schwab@suse.de>
19911
19912         * sysdeps/i386/fpu/libm-test-ulps: Update.
19913
19914 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19915
19916         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19917         printf output with newline.
19918
19919 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19920
19921         [BZ #14865]
19922         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19923         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19924         -z nodlopen, -z initfirst and -z execstack support.
19925         * configure: Regenerated.
19926
19927         * elf/elf.h (DF_1_NODIRECT): New macro.
19928         (DF_1_IGNMULDEF): Likewise.
19929         (DF_1_NOKSYMS): Likewise.
19930         (DF_1_NOHDR): Likewise.
19931         (DF_1_EDITED): Likewise.
19932         (DF_1_NORELOC): Likewise.
19933         (DF_1_SYMINTPOSE): Likewise.
19934         (DF_1_GLOBAUDIT): Likewise.
19935         (DF_1_SINGLETON): Likewise.
19936         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19937         DT_1_SUPPORTED_MASK bits.
19938         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19939
19940 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19941
19942         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19943
19944 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19945
19946         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19947         macro.
19948
19949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19950         (sendmmsg): Move declarations...
19951         * socket/sys/socket.h: ... here.
19952         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19953         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19954         include it from...
19955         * socket/recvmmsg.c: ... this new file.
19956         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19957         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19958         definition of __sendmmsg hidden.
19959         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19960         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19961         Move ENOSYS stub into and include it from...
19962         * socket/sendmmsg.c: ... this new file.
19963         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19964         (sysdep_routines): Move recvmmsg and sendmmsg...
19965         * socket/Makefile (routines): ... here.
19966         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19967         (GLIBC_PRIVATE): Add __sendmmsg.
19968         * include/sys/socket.h (__sendmmsg): Add declarations.
19969         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19970         sendmmsg.
19971
19972 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19973
19974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19975         variable I1 with __attribute__ ((unused)).
19976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19977
19978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19979
19980         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19981         DUMMY variables with __attribute__ ((unused)).
19982
19983         * bits/byteswap.h: Include <bits/types.h>.
19984         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19985
19986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19987
19988         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19989         string_t.  Do not manually set errno.
19990         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19991         length with __strnlen.  Make sure to both set errno and return it on
19992         failure.
19993
19994 2012-11-19  David S. Miller  <davem@davemloft.net>
19995
19996         With help from Joseph Myers.
19997         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19998         very large arguments properly.
19999         * math/libm-test.inc (atan_test): New tests.
20000         (atan2_test): New tests.
20001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20003
20004 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20005
20006         [BZ #14856]
20007         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20008         Define to 3.
20009
20010         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20011         [POSIX] (EADDRNOTAVAIL): Likewise.
20012         [POSIX] (EAFNOSUPPORT): Likewise.
20013         [POSIX] (EALREADY): Likewise.
20014         [POSIX] (ECONNABORTED): Likewise.
20015         [POSIX] (ECONNREFUSED): Likewise.
20016         [POSIX] (ECONNRESET): Likewise.
20017         [POSIX] (EDESTADDRREQ): Likewise.
20018         [POSIX] (EDQUOT): Likewise.
20019         [POSIX] (EHOSTUNREACH): Likewise.
20020         [POSIX] (EIDRM): Likewise.
20021         [POSIX] (EISCONN): Likewise.
20022         [POSIX] (ELOOP): Likewise.
20023         [POSIX] (EMULTIHOP): Likewise.
20024         [POSIX] (ENETDOWN): Likewise.
20025         [POSIX] (ENETUNREACH): Likewise.
20026         [POSIX] (ENOBUFS): Likewise.
20027         [POSIX] (ENODATA): Likewise.
20028         [POSIX] (ENOLINK): Likewise.
20029         [POSIX] (ENOMSG): Likewise.
20030         [POSIX] (ENOPROTOOPT): Likewise.
20031         [POSIX] (ENOSR): Likewise.
20032         [POSIX] (ENOSTR): Likewise.
20033         [POSIX] (ENOTCONN): Likewise.
20034         [POSIX] (ENOTSOCK): Likewise.
20035         [POSIX] (EOPNOTSUPP): Likewise.
20036         [POSIX] (EOVERFLOW): Likewise.
20037         [POSIX] (EPROTO): Likewise.
20038         [POSIX] (EPROTONOSUPPORT): Likewise.
20039         [POSIX] (EPROTOTYPE): Likewise.
20040         [POSIX] (ESTALE): Likewise.
20041         [POSIX] (ETIME): Likewise.
20042         [POSIX] (ETXTBSY): Likewise.
20043         [POSIX] (EWOULDBLOCK): Likewise.
20044         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20045         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20046         [POSIX] (SEEK_CUR): Likewise.
20047         [POSIX] (SEEK_END): Likewise.
20048         [POSIX || UNIX98] (mode_t): Do not require.
20049         [POSIX] (off_t): Likewise.
20050         [POSIX] (pid_t): Likewise.
20051         [POSIX] (sys/stat.h): Do not allow header.
20052         [POSIX] (unistd.h): Likewise.
20053         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20054         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20055         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20056         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20057         require.
20058         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20059         sigevent): Specify elements.
20060         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20061         entry.
20062         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20063         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20064
20065         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20066         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20067         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20068         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20069         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20070         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20071         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20072         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20073         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20074         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20075         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20076         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20077         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20079         Likewise.
20080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20081         Likewise.
20082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20083         Likewise.
20084         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20085         Likewise.
20086         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20089         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20090         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20091         Specify lower bound on value.
20092         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20093         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20094         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20095         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20096         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20097         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20098         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20099         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20100         value.
20101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20102         as optional.
20103         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20104         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20105         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20106         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20107         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20108         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20110         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20112         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20113         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20114         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20115         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20116         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20117         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20118         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20119         entry.
20120         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20121         optional.
20122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20123         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20124         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20125         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20126         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20128         Likewise.
20129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20130         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20131         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20132         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20133         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20134         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20136         as optional.
20137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20139         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20140         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20141         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20142         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20143         specify as optional.
20144         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20145         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20147         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20148         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20149         [XPG3] (NL_LANGMAX): Likewise.
20150         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20151         [POSIX || XPG3] (NL_NMAX): Likewise.
20152         [POSIX || XPG3] (NL_SETMAX): Likewise.
20153         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20154         [XPG3] (NZERO): Likewise.
20155         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20156         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20157         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20158         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20159         (REG_ERANGE): Expect.
20160         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20161         optional-constant.
20162         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20163         Use (void) in prototype.
20164         [POSIX] (*_t): Allow.
20165         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20166         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20167         (WRDE_BADVAL): Expect.
20168
20169         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20170         expect.
20171         [XPG3 || XPG4] (O_RSYNC): Likewise.
20172         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20173         Likewise.
20174         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20175         [XPG3 || XPG4] (sigqueue): Likewise.
20176         [XPG3 || XPG4] (sigtimedwait): Likewise.
20177         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20178         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20179         [XPG3 || XPG4] (vsnprintf): Likewise.
20180         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20181         Likewise.
20182         [XPG3 || XPG4] (blksize_t): Likewise.
20183         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20184         Likewise.
20185         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20186         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20187         [XPG3 || XPG4] (struct itimerspec): Likewise.
20188         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20189         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20190         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20191         [XPG3 || XPG4] (clockid_t): Likewise.
20192         [XPG3 || XPG4] (timer_t): Likewise.
20193         [XPG3 || XPG4] (clock_getres): Likewise.
20194         [XPG3 || XPG4] (clock_gettime): Likewise.
20195         [XPG3 || XPG4] (clock_settime): Likewise.
20196         [XPG3 || XPG4] (nanosleep): Likewise.
20197         [XPG3 || XPG4] (timer_create): Likewise.
20198         [XPG3 || XPG4] (timer_delete): Likewise.
20199         [XPG3 || XPG4] (timer_gettime): Likewise.
20200         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20201         [XPG3 || XPG4] (timer_settime): Likewise.
20202         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20203         [XPG3 || XPG4] (getlogin_r): Likewise.
20204         [XPG3 || XPG4] (pread): Likewise.
20205         [XPG3 || XPG4] (pthread_atfork): Likewise.
20206         [XPG3 || XPG4] (pwrite): Likewise.
20207
20208         [BZ #14835]
20209         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20210         <bits/siginfo.h>.
20211
20212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20213
20214         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20215         finalizing MALLSTREAM.
20216
20217         * sysdeps/mach/hurd/syncfs.c: New file.
20218
20219 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220
20221         [BZ #14719]
20222         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20223         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20225         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20226         (_nss_dns_gethostbyname4_r): Likewise.
20227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20228         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20229
20230 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20231
20232         [BZ #13763]
20233         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20234
20235 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20236
20237         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20238         * elf/cache.c (print_entry): Print ",AArch64" for
20239         FLAG_AARCH64_LIB64
20240
20241         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20242         * elf/cache.c (print_entry): Print ",hard-float" for
20243         FLAG_ARM_LIBHF.
20244
20245 2012-11-18  David S. Miller  <davem@davemloft.net>
20246
20247         With help from Joseph Myers.
20248         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20249         cutoff to 2**-13.
20250         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20251         cutoff to 2**-25.
20252         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20253         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20254         small.
20255         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20256         * math/libm-test.inc (y0_test): New tests.
20257         (y1_test): New tests.
20258         * sysdeps/i386/fpu/libm-test-ulps: Update.
20259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20261
20262 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20263
20264         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20265         64-bit targets.
20266         * configure: Regenerated.
20267
20268 2012-11-17  David S. Miller  <davem@davemloft.net>
20269
20270         [BZ #14811]
20271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20272         nonzero exponents with absolute value below 0x1p-128 to +/-
20273         0x1p-128.
20274
20275 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20276
20277         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20278
20279         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20280
20281         * posix/getconf-speclist.c: New file.
20282         * posix/posix-envs.def: Likewise.
20283         * posix/confstr.c (START_ENV_GROUP): New macro.
20284         (END_ENV_GROUP): Likewise.
20285         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20286         (KNOWN_PRESENT_ENV_STRING): Likewise.
20287         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20288         (UNKNOWN_ENVIRONMENT): Likewise.
20289         (confstr): Include posix-envs.def instead of handling
20290         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20291         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20292         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20293         (END_ENV_GROUP): Likewise.
20294         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20295         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20296         (UNKNOWN_ENVIRONMENT): Likewise.
20297         (__sysconf): Include posix-envs.def instead of handling associated
20298         cases directly here.
20299         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20300         preprocessing getconf-speclist.c rather than running getconf or
20301         generating empty file.
20302
20303 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20304
20305         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20306
20307 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20308
20309         [BZ #14672]
20310         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20311
20312 2012-11-16  David S. Miller  <davem@davemloft.net>
20313
20314         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20315         smaller than LDBL_EPSILON/2.0L, just return xm1.
20316
20317 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20318
20319         * elf/tst-array1.c (init): Set constructor priority to 1000.
20320         (fini): Set destructor priority to 1000.
20321         * elf/tst-array2dep.c: Likewise.
20322
20323 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20324
20325         [BZ #11741]
20326         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20327         (_IO_new_file_xsputn): Also return EOF if none of the input
20328         data was written when overflow failed.
20329         * libio/iopadn.c (_IO_padn): Likewise.
20330         * libio/iowpadn.c (_IO_wpadn): Likewise.
20331         * stdio-common/tst-put-error.c: Add copyright notice.
20332         (do_test): Add case for printing padded string.
20333         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20334         _IO_padn returned error.
20335         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20336         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20337         return EOF.
20338
20339 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20340
20341         * libio/libioP.h: Add comment note that the references to C++
20342         bits are now obsolete.
20343
20344 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20345
20346         * math/libm-test.inc (check_complex): Use asprintf.
20347
20348 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20349
20350         * debug/pcprofiledump.c (print_version): Update copyright year.
20351         * malloc/memusagestat.c (print_version): Likewise.
20352
20353 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20354
20355         [BZ #14831]
20356         * elf/Makefile (tests): Add tst-audit8.
20357         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20358         ($(objpfx)tst-audit8.out): New target.
20359         (tst-audit8-ENV): New variable.
20360         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20361         audit if l_reloc_result is NULL.
20362         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20363         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20364         * elf/tst-audit8.c: New file.
20365
20366 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20367
20368         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20369         * misc/Makefile (CFLAGS-select.c): Define.
20370         * posix/Makefile (CFLAGS-pause.c): Define.
20371
20372 2012-11-13  David S. Miller  <davem@davemloft.net>
20373
20374         * crypt/Makefile: Move test targets after toplevel Rules
20375         inclusion.  Grab any necessary sysdep routines when linking.
20376         * crypt/md5.c (md5_process_block): Remove define, we will always
20377         name it __md5_process_block.
20378         (md5_finish_ctx): Update md5_process_block call.
20379         (md5_stream): Likewise.
20380         (md5_process_bytes): Likewise.
20381         (md5_process_block): Rename to __md5_process_block and move to ...
20382         * crypt/md5-block.c: ... here.
20383         * crypt/sha256.c (sha256_process_block): Move to ...
20384         * crypt/sha256-block.c: ... here.
20385         * crypt/sha512.c (sha512_process_block): Move to ...
20386         * crypt/sha512-block.c: ... here.
20387         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20388         path.
20389         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20390         * sysdeps/sparc/sparc64/multiarch/Makefile
20391         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20392         crypt subdir.
20393         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20394         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20395         multiarch changes.
20396         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20397         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20398         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20399         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20400         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20401         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20403         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20405         file.
20406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20408         file.
20409         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20410
20411 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20412
20413         * timezone/tzselect.ksh: Update from tzcode git revision
20414         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20415         * timezone/zdump.c: Likewise.
20416         * timezone/zic.c: Likewise.
20417         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20418         in TZVERSION setting, not $(PKGVERSION).
20419         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20420         REPORT_BUGS_TO settings.
20421
20422         [BZ #14838]
20423         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20424         macro.
20425
20426 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20427
20428         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20429         detection to immediately after _FP_ROUND().
20430         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20431         bits are 0.
20432
20433 2012-11-11  David S. Miller  <davem@davemloft.net>
20434
20435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20436         inttypes.h
20437         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20438         __close rather than their public counterparts.
20439
20440 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20441
20442         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20443         file.
20444         [UNIX98] (sem_timedwait): Do not expect.
20445         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20446         [XPG4 || UNIX98] (sockatmark): Do not expect.
20447         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20448         (clock_getcpuclockid): Do not expect.
20449         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20450         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20451         Do not expect.
20452         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20453         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20454         [UNIX98] (vwscanf): Likewise.
20455         [UNIX98] (vswscanf): Likewise.
20456
20457 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20458
20459         * timezone/version.h: Remove file.
20460         * timezone/README: Do not refer to version.h.
20461         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20462         $(objpfx)version.h.
20463         ($(objpfx)zdump.o): Likewise.
20464         ($(objpfx)version.h): New target.
20465
20466         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20467         2012i.
20468         * timezone/README: Don't mention modification to tzselect.ksh.
20469         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20470         work on unmodified tzselect.ksh.  Substitute version numbers in
20471         tzselect.ksh.
20472
20473         * Makefile (format-me): Remove.
20474         (INSTALL): Adjust indentation.  Use commands directly instead of
20475         using $(format-me).
20476
20477         * aclocal.m4 (ACX_PKGVERSION): New macro.
20478         (ACX_BUGURL): Likewise.
20479         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20480         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20481         (REPORT_BUGS_TO): Likewise.
20482         * configure: Regenerated.
20483         * config.h.in (PKGVERSION): New macro.
20484         (REPORT_BUGS_TO): Likewise.
20485         * config.make.in (PKGVERSION): New variable.
20486         (PKGVERSION_TEXI): Likewise.
20487         (REPORT_BUGS_TO): Likewise.
20488         (REPORT_BUGS_TEXI): Likewise.
20489         * Makefile (format-me): Use -I$(common-objpfx)manual.
20490         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20491         ($(common-objpfx)manual/%): New target.
20492         (manual/%): Remove target.
20493         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20494         (print_version): Use PKGVERSION.
20495         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20496         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20497         and REPORT_BUGS_TO.
20498         ($(objpfx)xtrace): Likewise.
20499         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20500         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20501         (print_version): Use PKGVERSION.
20502         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20503         (do_version): Use PKGVERSION.
20504         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20505         REPORT_BUGS_TO.
20506         (common-ldd-rewrite): Likewise.
20507         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20508         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20509         (print_version): Use PKGVERSION.
20510         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20511         * elf/pldd.c (argp_program_bug_address): Remove variable.
20512         (more_help): New function.
20513         (argp): Use more_help.
20514         (print_version): Use PKGVERSION.
20515         * elf/sln.c (main): Use PKGVERSION.
20516         (usage): Use REPORT_BUGS_TO.
20517         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20518         (top level): Use PKGVERSION.
20519         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20520         (print_version): Use PKGVERSION.
20521         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20522         (print_version): Use PKGVERSION.
20523         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20524         (print_version): Use PKGVERSION.
20525         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20526         (print_version): Use PKGVERSION.
20527         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20528         (print_version): Use PKGVERSION.
20529         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20530         (print_version): Use PKGVERSION.
20531         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20532         and BUGURL.
20533         ($(objpfx)memusage): Likewise.
20534         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20535         (do_version): Use PKGVERSION.
20536         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20537         (print_version): Use PKGVERSION.
20538         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20539         ($PKGVERSION): New variable.
20540         ($REPORT_BUGS_TO): Likewise.
20541         (usage): Use $REPORT_BUGS_TO.
20542         (top level): Use $PKGVERSION.
20543         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20544         ($(objpfx)pkgvers.texi): New rule.
20545         ($(objpfx)stamp-pkgvers): Likewise.
20546         * manual/install.texi: Include pkgvers.texi.
20547         (--with-pkgversion): Document new configure option.
20548         (--with-bugurl): Likewise.
20549         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20550         than necessarily for this particular distribution.  Use
20551         REPORT_BUGS_TO for where to report bugs.
20552         * INSTALL: Regenerated.
20553         * manual/libc.texinfo: Include pkgvers.texi.
20554         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20555         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20556         (print_version): Use PKGVERSION.
20557         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20558         (print_version): Use PKGVERSION.
20559         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20560         (print_version): Use PKGVERSION.
20561         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20562         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20563         macro.
20564         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20565         (print_version): Use PKGVERSION.
20566         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20567         (print_version): Use PKGVERSION.
20568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20569         and PKGVERSION.
20570
20571         * timezone/checktab.awk: Update from tzcode 2012i.
20572         * timezone/ialloc.c: Likewise.
20573         * timezone/private.h: Likewise.
20574         * timezone/scheck.c: Likewise.
20575         * timezone/tzfile.h: Likewise.
20576         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20577         (TZVERSION): Hardcode tzcode version number.
20578         * timezone/zdump.c: Update from tzcode 2012i.
20579         * timezone/zic.c: Likewise.
20580         * timezone/version.h: New file.
20581         * timezone/README: Describe version.h.  Update upstream location.
20582
20583         [BZ #14824]
20584         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20585         (mktemp): Enable declaration.
20586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20590         Likewise.
20591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20592         Likewise.
20593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20594         Likewise.
20595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20596         Likewise.
20597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20598         Likewise.
20599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20600         Likewise.
20601
20602         [BZ #14821]
20603         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20604         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20605         for copies of such integer values.
20606         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20607         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20608
20609 2012-11-09  Andreas Jaeger  <aj@suse.de>
20610
20611         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20612         definitions and declarations that are provided by
20613         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20614
20615 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20616
20617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20618         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20619         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20620         definition.
20621
20622 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20623
20624         * elf/elf.h: Update comment before AArch64 relocations.
20625
20626 2012-11-07  David S. Miller  <davem@davemloft.net>
20627
20628         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20629         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20630         (__start_context): Declare.
20631         (__makecontext_ret): Delete.
20632         (__makecontext): Hook up __start_context instead of
20633         __makecontext_ret.
20634         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20635         (sysdep_routines): Add __start_context when in stdlib.
20636
20637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20638
20639         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20640         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20641         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20642         hardcoded "nm".
20643         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20644         (READELF): New variable.  Use it instead of hardcoded "readelf".
20645
20646 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20647
20648         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20649         * sysdeps/x86/Makefile: Here.
20650         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20651         * sysdeps/x86/tst-xmmymm.sh: This.
20652
20653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20654
20655         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20656         expectations.
20657         [UNIX98] (pthread_barrier_t): Do not expect.
20658         [UNIX98] (pthread_barrierattr_t): Likewise.
20659         [UNIX98] (pthread_spinlock_t): Likewise.
20660         [UNIX98] (pthread_barrier_destroy): Likewise.
20661         [UNIX98] (pthread_barrier_init): Likewise.
20662         [UNIX98] (pthread_barrier_wait): Likewise.
20663         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20664         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20665         [UNIX98] (pthread_barrierattr_init): Likewise.
20666         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20667         [UNIX98] (pthread_getcpuclockid): Likewise.
20668         [UNIX98] (pthread_mutex_timedlock): Likewise.
20669         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20670         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20671         [UNIX98] (pthread_sigmask): Likewise.
20672         [UNIX98] (pthread_spin_destroy): Likewise.
20673         [UNIX98] (pthread_spin_init): Likewise.
20674         [UNIX98] (pthread_spin_lock): Likewise.
20675         [UNIX98] (pthread_spin_trylock): Likewise.
20676         [UNIX98] (pthread_spin_unlock): Likewise.
20677         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20678         Do not expect.
20679         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20680         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20681         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20682         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20683         [XPG3 || XPG4] (pthread_key_t): Likewise.
20684         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20685         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20686         [XPG3 || XPG4] (pthread_once_t): Likewise.
20687         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20688         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20689         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20690         [XPG3 || XPG4] (pthread_t): Likewise.
20691
20692         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20693         not expect.
20694         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20695
20696         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20697         Change function return type to int.
20698
20699         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20700         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20701         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20702         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20703         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20704         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20705         [!POSIX] (posix_madvise): Likewise.
20706         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20707         && !UNIX98].
20708         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20709         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20710         (mode_t): Likewise.
20711         (posix_mem_offset): Likewise.
20712         (posix_typed_mem_get_info): Likewise.
20713         (posix_typed_mem_open): Likewise.
20714
20715         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20716         Change condition to [XOPEN2K8].
20717
20718         * conform/conformtest.pl: Preprocess allow-header data with -x c
20719         instead of from stdin.
20720         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20721         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20722         [C99-based standards] (cerfc): Likewise.
20723         [C99-based standards] (cexp2): Likewise.
20724         [C99-based standards] (cexpm1): Likewise.
20725         [C99-based standards] (clog10): Likewise.
20726         [C99-based standards] (clog1p): Likewise.
20727         [C99-based standards] (clog2): Likewise.
20728         [C99-based standards] (clgamma): Likewise.
20729         [C99-based standards] (ctgamma): Likewise.
20730         [C99-based standards] (cerff): Likewise.
20731         [C99-based standards] (cerfcf): Likewise.
20732         [C99-based standards] (cexp2f): Likewise.
20733         [C99-based standards] (cexpm1f): Likewise.
20734         [C99-based standards] (clog10f): Likewise.
20735         [C99-based standards] (clog1pf): Likewise.
20736         [C99-based standards] (clog2f): Likewise.
20737         [C99-based standards] (clgammaf): Likewise.
20738         [C99-based standards] (ctgammaf): Likewise.
20739         [C99-based standards] (cerfl): Likewise.
20740         [C99-based standards] (cerfcl): Likewise.
20741         [C99-based standards] (cexp2l): Likewise.
20742         [C99-based standards] (cexpm1l): Likewise.
20743         [C99-based standards] (clog10l): Likewise.
20744         [C99-based standards] (clog1pl): Likewise.
20745         [C99-based standards] (clog2l): Likewise.
20746         [C99-based standards] (clgammal): Likewise.
20747         [C99-based standards] (ctgammal): Likewise.
20748         * conform/data/inttypes.h-data [C99-based standards]: Include
20749         stdint.h-data.  Remove all expectations for stdint.h contents.
20750         [C99-based standards] (PRI*): Do not allow.
20751         [C99-based standards] (SCN*): Likewise.
20752         [C99-based standards] (*_t): Likewise.
20753         [C99-based-standards] (PRId8): Expect macro.
20754         [C99-based-standards] (PRIi8): Likewise.
20755         [C99-based-standards] (PRIo8): Likewise.
20756         [C99-based-standards] (PRIu8): Likewise.
20757         [C99-based-standards] (PRIx8): Likewise.
20758         [C99-based-standards] (PRIX8): Likewise.
20759         [C99-based-standards] (SCNd8): Likewise.
20760         [C99-based-standards] (SCNi8): Likewise.
20761         [C99-based-standards] (SCNo8): Likewise.
20762         [C99-based-standards] (SCNu8): Likewise.
20763         [C99-based-standards] (SCNx8): Likewise.
20764         [C99-based-standards] (PRIdLEAST8): Likewise.
20765         [C99-based-standards] (PRIiLEAST8): Likewise.
20766         [C99-based-standards] (PRIoLEAST8): Likewise.
20767         [C99-based-standards] (PRIuLEAST8): Likewise.
20768         [C99-based-standards] (PRIxLEAST8): Likewise.
20769         [C99-based-standards] (PRIXLEAST8): Likewise.
20770         [C99-based-standards] (SCNdLEAST8): Likewise.
20771         [C99-based-standards] (SCNiLEAST8): Likewise.
20772         [C99-based-standards] (SCNoLEAST8): Likewise.
20773         [C99-based-standards] (SCNuLEAST8): Likewise.
20774         [C99-based-standards] (SCNxLEAST8): Likewise.
20775         [C99-based-standards] (PRIdFAST8): Likewise.
20776         [C99-based-standards] (PRIiFAST8): Likewise.
20777         [C99-based-standards] (PRIoFAST8): Likewise.
20778         [C99-based-standards] (PRIuFAST8): Likewise.
20779         [C99-based-standards] (PRIxFAST8): Likewise.
20780         [C99-based-standards] (PRIXFAST8): Likewise.
20781         [C99-based-standards] (SCNdFAST8): Likewise.
20782         [C99-based-standards] (SCNiFAST8): Likewise.
20783         [C99-based-standards] (SCNoFAST8): Likewise.
20784         [C99-based-standards] (SCNuFAST8): Likewise.
20785         [C99-based-standards] (SCNxFAST8): Likewise.
20786         [C99-based-standards] (PRId16): Likewise.
20787         [C99-based-standards] (PRIi16): Likewise.
20788         [C99-based-standards] (PRIo16): Likewise.
20789         [C99-based-standards] (PRIu16): Likewise.
20790         [C99-based-standards] (PRIx16): Likewise.
20791         [C99-based-standards] (PRIX16): Likewise.
20792         [C99-based-standards] (SCNd16): Likewise.
20793         [C99-based-standards] (SCNi16): Likewise.
20794         [C99-based-standards] (SCNo16): Likewise.
20795         [C99-based-standards] (SCNu16): Likewise.
20796         [C99-based-standards] (SCNx16): Likewise.
20797         [C99-based-standards] (PRIdLEAST16): Likewise.
20798         [C99-based-standards] (PRIiLEAST16): Likewise.
20799         [C99-based-standards] (PRIoLEAST16): Likewise.
20800         [C99-based-standards] (PRIuLEAST16): Likewise.
20801         [C99-based-standards] (PRIxLEAST16): Likewise.
20802         [C99-based-standards] (PRIXLEAST16): Likewise.
20803         [C99-based-standards] (SCNdLEAST16): Likewise.
20804         [C99-based-standards] (SCNiLEAST16): Likewise.
20805         [C99-based-standards] (SCNoLEAST16): Likewise.
20806         [C99-based-standards] (SCNuLEAST16): Likewise.
20807         [C99-based-standards] (SCNxLEAST16): Likewise.
20808         [C99-based-standards] (PRIdFAST16): Likewise.
20809         [C99-based-standards] (PRIiFAST16): Likewise.
20810         [C99-based-standards] (PRIoFAST16): Likewise.
20811         [C99-based-standards] (PRIuFAST16): Likewise.
20812         [C99-based-standards] (PRIxFAST16): Likewise.
20813         [C99-based-standards] (PRIXFAST16): Likewise.
20814         [C99-based-standards] (SCNdFAST16): Likewise.
20815         [C99-based-standards] (SCNiFAST16): Likewise.
20816         [C99-based-standards] (SCNoFAST16): Likewise.
20817         [C99-based-standards] (SCNuFAST16): Likewise.
20818         [C99-based-standards] (SCNxFAST16): Likewise.
20819         [C99-based-standards] (PRId32): Likewise.
20820         [C99-based-standards] (PRIi32): Likewise.
20821         [C99-based-standards] (PRIo32): Likewise.
20822         [C99-based-standards] (PRIu32): Likewise.
20823         [C99-based-standards] (PRIx32): Likewise.
20824         [C99-based-standards] (PRIX32): Likewise.
20825         [C99-based-standards] (SCNd32): Likewise.
20826         [C99-based-standards] (SCNi32): Likewise.
20827         [C99-based-standards] (SCNo32): Likewise.
20828         [C99-based-standards] (SCNu32): Likewise.
20829         [C99-based-standards] (SCNx32): Likewise.
20830         [C99-based-standards] (PRIdLEAST32): Likewise.
20831         [C99-based-standards] (PRIiLEAST32): Likewise.
20832         [C99-based-standards] (PRIoLEAST32): Likewise.
20833         [C99-based-standards] (PRIuLEAST32): Likewise.
20834         [C99-based-standards] (PRIxLEAST32): Likewise.
20835         [C99-based-standards] (PRIXLEAST32): Likewise.
20836         [C99-based-standards] (SCNdLEAST32): Likewise.
20837         [C99-based-standards] (SCNiLEAST32): Likewise.
20838         [C99-based-standards] (SCNoLEAST32): Likewise.
20839         [C99-based-standards] (SCNuLEAST32): Likewise.
20840         [C99-based-standards] (SCNxLEAST32): Likewise.
20841         [C99-based-standards] (PRIdFAST32): Likewise.
20842         [C99-based-standards] (PRIiFAST32): Likewise.
20843         [C99-based-standards] (PRIoFAST32): Likewise.
20844         [C99-based-standards] (PRIuFAST32): Likewise.
20845         [C99-based-standards] (PRIxFAST32): Likewise.
20846         [C99-based-standards] (PRIXFAST32): Likewise.
20847         [C99-based-standards] (SCNdFAST32): Likewise.
20848         [C99-based-standards] (SCNiFAST32): Likewise.
20849         [C99-based-standards] (SCNoFAST32): Likewise.
20850         [C99-based-standards] (SCNuFAST32): Likewise.
20851         [C99-based-standards] (SCNxFAST32): Likewise.
20852         [C99-based-standards] (PRId64): Likewise.
20853         [C99-based-standards] (PRIi64): Likewise.
20854         [C99-based-standards] (PRIo64): Likewise.
20855         [C99-based-standards] (PRIu64): Likewise.
20856         [C99-based-standards] (PRIx64): Likewise.
20857         [C99-based-standards] (PRIX64): Likewise.
20858         [C99-based-standards] (SCNd64): Likewise.
20859         [C99-based-standards] (SCNi64): Likewise.
20860         [C99-based-standards] (SCNo64): Likewise.
20861         [C99-based-standards] (SCNu64): Likewise.
20862         [C99-based-standards] (SCNx64): Likewise.
20863         [C99-based-standards] (PRIdLEAST64): Likewise.
20864         [C99-based-standards] (PRIiLEAST64): Likewise.
20865         [C99-based-standards] (PRIoLEAST64): Likewise.
20866         [C99-based-standards] (PRIuLEAST64): Likewise.
20867         [C99-based-standards] (PRIxLEAST64): Likewise.
20868         [C99-based-standards] (PRIXLEAST64): Likewise.
20869         [C99-based-standards] (SCNdLEAST64): Likewise.
20870         [C99-based-standards] (SCNiLEAST64): Likewise.
20871         [C99-based-standards] (SCNoLEAST64): Likewise.
20872         [C99-based-standards] (SCNuLEAST64): Likewise.
20873         [C99-based-standards] (SCNxLEAST64): Likewise.
20874         [C99-based-standards] (PRIdFAST64): Likewise.
20875         [C99-based-standards] (PRIiFAST64): Likewise.
20876         [C99-based-standards] (PRIoFAST64): Likewise.
20877         [C99-based-standards] (PRIuFAST64): Likewise.
20878         [C99-based-standards] (PRIxFAST64): Likewise.
20879         [C99-based-standards] (PRIXFAST64): Likewise.
20880         [C99-based-standards] (SCNdFAST64): Likewise.
20881         [C99-based-standards] (SCNiFAST64): Likewise.
20882         [C99-based-standards] (SCNoFAST64): Likewise.
20883         [C99-based-standards] (SCNuFAST64): Likewise.
20884         [C99-based-standards] (SCNxFAST64): Likewise.
20885         [C99-based-standards] (PRIdMAX): Likewise.
20886         [C99-based-standards] (PRIiMAX): Likewise.
20887         [C99-based-standards] (PRIoMAX): Likewise.
20888         [C99-based-standards] (PRIuMAX): Likewise.
20889         [C99-based-standards] (PRIxMAX): Likewise.
20890         [C99-based-standards] (PRIXMAX): Likewise.
20891         [C99-based-standards] (SCNdMAX): Likewise.
20892         [C99-based-standards] (SCNiMAX): Likewise.
20893         [C99-based-standards] (SCNoMAX): Likewise.
20894         [C99-based-standards] (SCNuMAX): Likewise.
20895         [C99-based-standards] (SCNxMAX): Likewise.
20896         [C99-based-standards] (PRIdPTR): Likewise.
20897         [C99-based-standards] (PRIiPTR): Likewise.
20898         [C99-based-standards] (PRIoPTR): Likewise.
20899         [C99-based-standards] (PRIuPTR): Likewise.
20900         [C99-based-standards] (PRIxPTR): Likewise.
20901         [C99-based-standards] (PRIXPTR): Likewise.
20902         [C99-based-standards] (SCNdPTR): Likewise.
20903         [C99-based-standards] (SCNiPTR): Likewise.
20904         [C99-based-standards] (SCNoPTR): Likewise.
20905         [C99-based-standards] (SCNuPTR): Likewise.
20906         [C99-based-standards] (SCNxPTR): Likewise.
20907         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20908         allow.
20909         * conform/data/stdint.h-data: Update comments to clarify
20910         requirements.
20911         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20912         type.
20913         [C99-based standards] (INT8_MAX): Likewise.
20914         [C99-based standards] (INT16_MIN): Likewise.
20915         [C99-based standards] (INT16_MAX): Likewise.
20916         [C99-based standards] (INT32_MIN): Likewise.
20917         [C99-based standards] (INT32_MAX): Likewise.
20918         [C99-based standards] (INT64_MIN): Likewise.
20919         [C99-based standards] (INT64_MAX): Likewise.
20920         [C99-based standards] (UINT8_MAX): Likewise.
20921         [C99-based standards] (UINT16_MAX): Likewise.
20922         [C99-based standards] (UINT32_MAX): Likewise.
20923         [C99-based standards] (UINT64_MAX): Likewise.
20924         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20925         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20926         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20927         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20928         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20929         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20930         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20931         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20932         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20933         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20934         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20935         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20936         [C99-based standards] (INT_FAST8_MIN): Likewise.
20937         [C99-based standards] (INT_FAST8_MAX): Likewise.
20938         [C99-based standards] (INT_FAST16_MIN): Likewise.
20939         [C99-based standards] (INT_FAST16_MAX): Likewise.
20940         [C99-based standards] (INT_FAST32_MIN): Likewise.
20941         [C99-based standards] (INT_FAST32_MAX): Likewise.
20942         [C99-based standards] (INT_FAST64_MIN): Likewise.
20943         [C99-based standards] (INT_FAST64_MAX): Likewise.
20944         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20945         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20946         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20947         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20948         [C99-based standards] (INTPTR_MIN): Likewise.
20949         [C99-based standards] (INTPTR_MAX): Likewise.
20950         [C99-based standards] (UINTPTR_MAX): Likewise.
20951         [C99-based standards] (INTMAX_MIN): Likewise.
20952         [C99-based standards] (INTMAX_MAX): Likewise.
20953         [C99-based standards] (UINTMAX_MAX): Likewise.
20954         [C99-based standards] (PTRDIFF_MIN): Likewise.
20955         [C99-based standards] (PTRDIFF_MAX): Likewise.
20956         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20957         [C99-based standards] (SIZE_MAX): Likewise.
20958         [C99-based standards] (WCHAR_MAX): Likewise.
20959         [C99-based standards] (WINT_MAX): Likewise.
20960         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20961         constraint on value.
20962         [C99-based standards] (WCHAR_MIN): Likewise.
20963         [C99-based standards] (WINT_MIN): Likewise.
20964         [C99-based standards] (*_t): Allow.
20965         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20966         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20967         Include math.h-data and complex.h-data.  Remove all expectations
20968         of math.h and complex.h contents.
20969         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20970         at end of line.
20971         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20972         (struct tm): Expect tag.
20973         [C99-based-standards] (wcstof): Expect function.
20974         [C99-based-standards] (wcstold): Likewise.
20975         [C99-based-standards] (wcstoll): Likewise.
20976         [C99-based-standards] (wcstoull): Likewise.
20977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20978         macro-int-constant.  Specify type.
20979         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20980         constraint on value.
20981         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20982         Specify type.
20983         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20984         Specify value.
20985         [ISO C standards]: Do not allow headers.
20986         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20987         wcs[abcdefghijklmnopqrstuvwxyz]*.
20988         [ISO C standards] (*_t): Do not allow.
20989         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20990         Expect function.
20991         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20992         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20993         Specify type.
20994         [ISO C standards]: Do not allow headers.
20995         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20996         is[abcdefghijklmnopqrstuvwxyz]*.
20997         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20998         to[abcdefghijklmnopqrstuvwxyz]*.
20999         [ISO C standards] (*_t): Do not allow.
21000         * conform/data/stdalign.h-data: New file.
21001         * conform/data/stdbool.h-data: Likewise.
21002         * conform/data/stdnoreturn.h-data: Likewise.
21003
21004 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21005
21006         [BZ #14815]
21007         * manual/filesys.texi (Directory Entries): Typo fix.
21008         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21009
21010 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21011
21012         * elf/elf.h (EM_AARCH64): New macro.
21013         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21014         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21015         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21016         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21017         (R_AARCH64_TLSDESC): Likewise.
21018         (NT_ARM_TLS): Likewise.
21019         (NT_ARM_HW_BREAK): Likewise.
21020         (NT_ARM_HW_WATCH): Likewise.
21021
21022 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21023
21024         [BZ #14811]
21025         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21026         (__ieee754_powl): Saturate nonzero exponents with absolute value
21027         below 0x1p-79 to +/- 0x1p-79.
21028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21029         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21030         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21031         nonzero exponents with absolute value below 0x1p-32 to +/-
21032         0x1p-32.
21033         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21034         (__ieee754_powl): Saturate nonzero exponents with absolute value
21035         below 0x1p-79 to +/- 0x1p-79.
21036         * math/libm-test.inc (pow_test): Add more tests.
21037
21038 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21039
21040         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21041         _dl_s390_cap_flags with kernel. Increase string length.
21042         (_dl_s390_platforms): Add z196 and zEC12.
21043
21044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21045
21046         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21047         Change XOPEN21K to XOPEN2K.
21048
21049 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21050
21051         * string/memmove.c: Use memcpy when possible.
21052
21053 2012-11-06  Andreas Jaeger  <aj@suse.de>
21054
21055         * po/eo.po: Update from translation team.
21056
21057 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21058
21059         [BZ #14793]
21060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21061         exponent and small x and y exponents, scale x or y up.  Increase
21062         by 2 the exponent used in scaling up.
21063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21065         * math/libm-test.inc (fma_test): Add more tests.
21066         (fma_test_towardzero): Likewise.
21067         (fma_test_downward): Likewise.
21068         (fma_test_upward): Likewise.
21069
21070 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21071
21072         [BZ #14805]
21073         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21074         fenv_t *.
21075
21076         [BZ #14801]
21077         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21078         namespace for names of struct fields.
21079         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21080         fenv_t fields.
21081         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21082         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21083
21084 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21085
21086         [BZ #3665]
21087         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21088
21089 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21090
21091         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21092         PTR_DEMANGLE.
21093
21094         [BZ #5246]
21095         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21096         PTR_DEMANGLE.
21097
21098 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21099
21100         [BZ #14797]
21101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21102         definitely overflow as x * y not x * y + z.
21103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21105         * math/libm-test.inc (fma_test): Add more tests.
21106         (fma_test_towardzero): Likewise.
21107         (fma_test_downward): Likewise.
21108         (fma_test_upward): Likewise.
21109
21110 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21111
21112         [BZ #157]
21113
21114         * include/stub-tag.h: Remove file.
21115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21116         '#include' of it.
21117         * manual/maint.texi (Porting): Don't reference it.
21118         * Makerules ($(objpfx)stubs): Likewise.
21119         * dirent/closedir.c: Don't include <stub-tag.h>.
21120         * dirent/dirfd.c: Likewise.
21121         * dirent/fdopendir.c: Likewise.
21122         * dirent/getdents.c: Likewise.
21123         * dirent/getdents64.c: Likewise.
21124         * dirent/opendir.c: Likewise.
21125         * dirent/readdir.c: Likewise.
21126         * dirent/readdir64.c: Likewise.
21127         * dirent/readdir64_r.c: Likewise.
21128         * dirent/readdir_r.c: Likewise.
21129         * dirent/rewinddir.c: Likewise.
21130         * dirent/seekdir.c: Likewise.
21131         * dirent/telldir.c: Likewise.
21132         * gmon/profil.c: Likewise.
21133         * grp/setgroups.c: Likewise.
21134         * inet/if_index.c: Likewise.
21135         * io/access.c: Likewise.
21136         * io/chdir.c: Likewise.
21137         * io/chmod.c: Likewise.
21138         * io/chown.c: Likewise.
21139         * io/close.c: Likewise.
21140         * io/dup.c: Likewise.
21141         * io/dup2.c: Likewise.
21142         * io/dup3.c: Likewise.
21143         * io/euidaccess.c: Likewise.
21144         * io/faccessat.c: Likewise.
21145         * io/fchdir.c: Likewise.
21146         * io/fchmod.c: Likewise.
21147         * io/fchmodat.c: Likewise.
21148         * io/fchown.c: Likewise.
21149         * io/fchownat.c: Likewise.
21150         * io/fcntl.c: Likewise.
21151         * io/flock.c: Likewise.
21152         * io/fstatfs.c: Likewise.
21153         * io/fstatfs64.c: Likewise.
21154         * io/fstatvfs.c: Likewise.
21155         * io/fstatvfs64.c: Likewise.
21156         * io/futimens.c: Likewise.
21157         * io/fxstat.c: Likewise.
21158         * io/fxstat64.c: Likewise.
21159         * io/fxstatat.c: Likewise.
21160         * io/fxstatat64.c: Likewise.
21161         * io/getcwd.c: Likewise.
21162         * io/isatty.c: Likewise.
21163         * io/lchmod.c: Likewise.
21164         * io/lchown.c: Likewise.
21165         * io/link.c: Likewise.
21166         * io/linkat.c: Likewise.
21167         * io/lseek.c: Likewise.
21168         * io/lseek64.c: Likewise.
21169         * io/lxstat64.c: Likewise.
21170         * io/mkdir.c: Likewise.
21171         * io/mkdirat.c: Likewise.
21172         * io/mkfifo.c: Likewise.
21173         * io/mkfifoat.c: Likewise.
21174         * io/open.c: Likewise.
21175         * io/open64.c: Likewise.
21176         * io/openat.c: Likewise.
21177         * io/openat64.c: Likewise.
21178         * io/pipe.c: Likewise.
21179         * io/pipe2.c: Likewise.
21180         * io/poll.c: Likewise.
21181         * io/posix_fadvise.c: Likewise.
21182         * io/posix_fadvise64.c: Likewise.
21183         * io/posix_fallocate.c: Likewise.
21184         * io/posix_fallocate64.c: Likewise.
21185         * io/read.c: Likewise.
21186         * io/readlink.c: Likewise.
21187         * io/readlinkat.c: Likewise.
21188         * io/rmdir.c: Likewise.
21189         * io/sendfile.c: Likewise.
21190         * io/sendfile64.c: Likewise.
21191         * io/statfs.c: Likewise.
21192         * io/statfs64.c: Likewise.
21193         * io/statvfs.c: Likewise.
21194         * io/statvfs64.c: Likewise.
21195         * io/symlink.c: Likewise.
21196         * io/symlinkat.c: Likewise.
21197         * io/ttyname.c: Likewise.
21198         * io/ttyname_r.c: Likewise.
21199         * io/umask.c: Likewise.
21200         * io/unlink.c: Likewise.
21201         * io/unlinkat.c: Likewise.
21202         * io/utime.c: Likewise.
21203         * io/utimensat.c: Likewise.
21204         * io/write.c: Likewise.
21205         * io/xmknod.c: Likewise.
21206         * io/xmknodat.c: Likewise.
21207         * io/xstat.c: Likewise.
21208         * io/xstat64.c: Likewise.
21209         * login/getpt.c: Likewise.
21210         * login/grantpt.c: Likewise.
21211         * login/unlockpt.c: Likewise.
21212         * math/e_acoshl.c: Likewise.
21213         * math/e_acosl.c: Likewise.
21214         * math/e_asinl.c: Likewise.
21215         * math/e_atan2l.c: Likewise.
21216         * math/e_atanhl.c: Likewise.
21217         * math/e_coshl.c: Likewise.
21218         * math/e_expl.c: Likewise.
21219         * math/e_fmodl.c: Likewise.
21220         * math/e_gammal_r.c: Likewise.
21221         * math/e_hypotl.c: Likewise.
21222         * math/e_j0l.c: Likewise.
21223         * math/e_j1l.c: Likewise.
21224         * math/e_jnl.c: Likewise.
21225         * math/e_lgammal_r.c: Likewise.
21226         * math/e_log10l.c: Likewise.
21227         * math/e_log2l.c: Likewise.
21228         * math/e_logl.c: Likewise.
21229         * math/e_powl.c: Likewise.
21230         * math/e_rem_pio2l.c: Likewise.
21231         * math/e_sinhl.c: Likewise.
21232         * math/e_sqrtl.c: Likewise.
21233         * math/fclrexcpt.c: Likewise.
21234         * math/fedisblxcpt.c: Likewise.
21235         * math/feenablxcpt.c: Likewise.
21236         * math/fegetenv.c: Likewise.
21237         * math/fegetexcept.c: Likewise.
21238         * math/fegetround.c: Likewise.
21239         * math/feholdexcpt.c: Likewise.
21240         * math/fesetenv.c: Likewise.
21241         * math/fesetround.c: Likewise.
21242         * math/feupdateenv.c: Likewise.
21243         * math/fgetexcptflg.c: Likewise.
21244         * math/fraiseexcpt.c: Likewise.
21245         * math/fsetexcptflg.c: Likewise.
21246         * math/ftestexcept.c: Likewise.
21247         * math/k_cosl.c: Likewise.
21248         * math/k_rem_pio2l.c: Likewise.
21249         * math/k_sinl.c: Likewise.
21250         * math/k_tanl.c: Likewise.
21251         * math/s_asinhl.c: Likewise.
21252         * math/s_atanl.c: Likewise.
21253         * math/s_cbrtl.c: Likewise.
21254         * math/s_erfl.c: Likewise.
21255         * math/s_expm1l.c: Likewise.
21256         * math/s_log1pl.c: Likewise.
21257         * math/s_tanhl.c: Likewise.
21258         * misc/acct.c: Likewise.
21259         * misc/brk.c: Likewise.
21260         * misc/chflags.c: Likewise.
21261         * misc/chroot.c: Likewise.
21262         * misc/fchflags.c: Likewise.
21263         * misc/fgetxattr.c: Likewise.
21264         * misc/flistxattr.c: Likewise.
21265         * misc/fremovexattr.c: Likewise.
21266         * misc/fsetxattr.c: Likewise.
21267         * misc/fsync.c: Likewise.
21268         * misc/ftruncate.c: Likewise.
21269         * misc/futimes.c: Likewise.
21270         * misc/futimesat.c: Likewise.
21271         * misc/getdomain.c: Likewise.
21272         * misc/getdtsz.c: Likewise.
21273         * misc/gethostid.c: Likewise.
21274         * misc/gethostname.c: Likewise.
21275         * misc/getloadavg.c: Likewise.
21276         * misc/getpagesize.c: Likewise.
21277         * misc/getsysstats.c: Likewise.
21278         * misc/getxattr.c: Likewise.
21279         * misc/gtty.c: Likewise.
21280         * misc/ioctl.c: Likewise.
21281         * misc/lgetxattr.c: Likewise.
21282         * misc/listxattr.c: Likewise.
21283         * misc/llistxattr.c: Likewise.
21284         * misc/lremovexattr.c: Likewise.
21285         * misc/lsetxattr.c: Likewise.
21286         * misc/lutimes.c: Likewise.
21287         * misc/madvise.c: Likewise.
21288         * misc/mincore.c: Likewise.
21289         * misc/mlock.c: Likewise.
21290         * misc/mlockall.c: Likewise.
21291         * misc/mmap.c: Likewise.
21292         * misc/mprotect.c: Likewise.
21293         * misc/msync.c: Likewise.
21294         * misc/munlock.c: Likewise.
21295         * misc/munlockall.c: Likewise.
21296         * misc/munmap.c: Likewise.
21297         * misc/preadv.c: Likewise.
21298         * misc/preadv64.c: Likewise.
21299         * misc/ptrace.c: Likewise.
21300         * misc/pwritev.c: Likewise.
21301         * misc/pwritev64.c: Likewise.
21302         * misc/readv.c: Likewise.
21303         * misc/reboot.c: Likewise.
21304         * misc/remap_file_pages.c: Likewise.
21305         * misc/removexattr.c: Likewise.
21306         * misc/revoke.c: Likewise.
21307         * misc/select.c: Likewise.
21308         * misc/setdomain.c: Likewise.
21309         * misc/setegid.c: Likewise.
21310         * misc/seteuid.c: Likewise.
21311         * misc/sethostid.c: Likewise.
21312         * misc/sethostname.c: Likewise.
21313         * misc/setregid.c: Likewise.
21314         * misc/setreuid.c: Likewise.
21315         * misc/setxattr.c: Likewise.
21316         * misc/sstk.c: Likewise.
21317         * misc/stty.c: Likewise.
21318         * misc/swapoff.c: Likewise.
21319         * misc/swapon.c: Likewise.
21320         * misc/sync.c: Likewise.
21321         * misc/syncfs.c: Likewise.
21322         * misc/syscall.c: Likewise.
21323         * misc/truncate.c: Likewise.
21324         * misc/ualarm.c: Likewise.
21325         * misc/usleep.c: Likewise.
21326         * misc/ustat.c: Likewise.
21327         * misc/utimes.c: Likewise.
21328         * misc/vhangup.c: Likewise.
21329         * misc/writev.c: Likewise.
21330         * posix/_exit.c: Likewise.
21331         * posix/alarm.c: Likewise.
21332         * posix/execve.c: Likewise.
21333         * posix/fexecve.c: Likewise.
21334         * posix/fork.c: Likewise.
21335         * posix/fpathconf.c: Likewise.
21336         * posix/getaddrinfo.c: Likewise.
21337         * posix/getegid.c: Likewise.
21338         * posix/geteuid.c: Likewise.
21339         * posix/getgid.c: Likewise.
21340         * posix/getgroups.c: Likewise.
21341         * posix/getlogin.c: Likewise.
21342         * posix/getlogin_r.c: Likewise.
21343         * posix/getpgid.c: Likewise.
21344         * posix/getpid.c: Likewise.
21345         * posix/getppid.c: Likewise.
21346         * posix/getresgid.c: Likewise.
21347         * posix/getresuid.c: Likewise.
21348         * posix/getsid.c: Likewise.
21349         * posix/getuid.c: Likewise.
21350         * posix/glob64.c: Likewise.
21351         * posix/nanosleep.c: Likewise.
21352         * posix/pathconf.c: Likewise.
21353         * posix/pause.c: Likewise.
21354         * posix/posix_madvise.c: Likewise.
21355         * posix/pread.c: Likewise.
21356         * posix/pread64.c: Likewise.
21357         * posix/pwrite.c: Likewise.
21358         * posix/pwrite64.c: Likewise.
21359         * posix/sched_getaffinity.c: Likewise.
21360         * posix/sched_getp.c: Likewise.
21361         * posix/sched_gets.c: Likewise.
21362         * posix/sched_primax.c: Likewise.
21363         * posix/sched_primin.c: Likewise.
21364         * posix/sched_rr_gi.c: Likewise.
21365         * posix/sched_setaffinity.c: Likewise.
21366         * posix/sched_setp.c: Likewise.
21367         * posix/sched_sets.c: Likewise.
21368         * posix/sched_yield.c: Likewise.
21369         * posix/setgid.c: Likewise.
21370         * posix/setlogin.c: Likewise.
21371         * posix/setpgid.c: Likewise.
21372         * posix/setresgid.c: Likewise.
21373         * posix/setresuid.c: Likewise.
21374         * posix/setsid.c: Likewise.
21375         * posix/setuid.c: Likewise.
21376         * posix/sleep.c: Likewise.
21377         * posix/spawni.c: Likewise.
21378         * posix/sysconf.c: Likewise.
21379         * posix/times.c: Likewise.
21380         * posix/wait.c: Likewise.
21381         * posix/wait3.c: Likewise.
21382         * posix/wait4.c: Likewise.
21383         * posix/waitpid.c: Likewise.
21384         * resolv/gai_sigqueue.c: Likewise.
21385         * resource/getpriority.c: Likewise.
21386         * resource/getrlimit.c: Likewise.
21387         * resource/getrusage.c: Likewise.
21388         * resource/nice.c: Likewise.
21389         * resource/setpriority.c: Likewise.
21390         * resource/setrlimit.c: Likewise.
21391         * resource/ulimit.c: Likewise.
21392         * rt/aio_cancel.c: Likewise.
21393         * rt/aio_fsync.c: Likewise.
21394         * rt/aio_read.c: Likewise.
21395         * rt/aio_sigqueue.c: Likewise.
21396         * rt/aio_suspend.c: Likewise.
21397         * rt/aio_write.c: Likewise.
21398         * rt/clock_getres.c: Likewise.
21399         * rt/clock_gettime.c: Likewise.
21400         * rt/clock_nanosleep.c: Likewise.
21401         * rt/clock_settime.c: Likewise.
21402         * rt/lio_listio.c: Likewise.
21403         * rt/mq_close.c: Likewise.
21404         * rt/mq_getattr.c: Likewise.
21405         * rt/mq_notify.c: Likewise.
21406         * rt/mq_open.c: Likewise.
21407         * rt/mq_receive.c: Likewise.
21408         * rt/mq_send.c: Likewise.
21409         * rt/mq_setattr.c: Likewise.
21410         * rt/mq_timedreceive.c: Likewise.
21411         * rt/mq_timedsend.c: Likewise.
21412         * rt/mq_unlink.c: Likewise.
21413         * rt/shm_open.c: Likewise.
21414         * rt/shm_unlink.c: Likewise.
21415         * rt/timer_create.c: Likewise.
21416         * rt/timer_delete.c: Likewise.
21417         * rt/timer_getoverr.c: Likewise.
21418         * rt/timer_gettime.c: Likewise.
21419         * rt/timer_settime.c: Likewise.
21420         * setjmp/__longjmp.c: Likewise.
21421         * setjmp/setjmp.c: Likewise.
21422         * signal/kill.c: Likewise.
21423         * signal/killpg.c: Likewise.
21424         * signal/raise.c: Likewise.
21425         * signal/sigaction.c: Likewise.
21426         * signal/sigaltstack.c: Likewise.
21427         * signal/sigblock.c: Likewise.
21428         * signal/sigignore.c: Likewise.
21429         * signal/sigintr.c: Likewise.
21430         * signal/signal.c: Likewise.
21431         * signal/sigpause.c: Likewise.
21432         * signal/sigpending.c: Likewise.
21433         * signal/sigqueue.c: Likewise.
21434         * signal/sigreturn.c: Likewise.
21435         * signal/sigset.c: Likewise.
21436         * signal/sigsetmask.c: Likewise.
21437         * signal/sigstack.c: Likewise.
21438         * signal/sigsuspend.c: Likewise.
21439         * signal/sigtimedwait.c: Likewise.
21440         * signal/sigvec.c: Likewise.
21441         * signal/sigwait.c: Likewise.
21442         * signal/sigwaitinfo.c: Likewise.
21443         * signal/sysv_signal.c: Likewise.
21444         * socket/accept.c: Likewise.
21445         * socket/accept4.c: Likewise.
21446         * socket/bind.c: Likewise.
21447         * socket/connect.c: Likewise.
21448         * socket/getpeername.c: Likewise.
21449         * socket/getsockname.c: Likewise.
21450         * socket/getsockopt.c: Likewise.
21451         * socket/isfdtype.c: Likewise.
21452         * socket/listen.c: Likewise.
21453         * socket/recv.c: Likewise.
21454         * socket/recvfrom.c: Likewise.
21455         * socket/recvmsg.c: Likewise.
21456         * socket/send.c: Likewise.
21457         * socket/sendmsg.c: Likewise.
21458         * socket/sendto.c: Likewise.
21459         * socket/setsockopt.c: Likewise.
21460         * socket/shutdown.c: Likewise.
21461         * socket/sockatmark.c: Likewise.
21462         * socket/socket.c: Likewise.
21463         * socket/socketpair.c: Likewise.
21464         * stdio-common/ctermid.c: Likewise.
21465         * stdio-common/cuserid.c: Likewise.
21466         * stdio-common/remove.c: Likewise.
21467         * stdio-common/rename.c: Likewise.
21468         * stdio-common/renameat.c: Likewise.
21469         * stdio-common/tempname.c: Likewise.
21470         * stdlib/getcontext.c: Likewise.
21471         * stdlib/makecontext.c: Likewise.
21472         * stdlib/setcontext.c: Likewise.
21473         * stdlib/swapcontext.c: Likewise.
21474         * stdlib/system.c: Likewise.
21475         * streams/fattach.c: Likewise.
21476         * streams/fdetach.c: Likewise.
21477         * streams/getmsg.c: Likewise.
21478         * streams/getpmsg.c: Likewise.
21479         * streams/putmsg.c: Likewise.
21480         * streams/putpmsg.c: Likewise.
21481         * sysdeps/unix/bsd/getpt.c: Likewise.
21482         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21483         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21484         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21486         Likewise.
21487         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21489         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21490         * sysvipc/msgctl.c: Likewise.
21491         * sysvipc/msgget.c: Likewise.
21492         * sysvipc/msgrcv.c: Likewise.
21493         * sysvipc/msgsnd.c: Likewise.
21494         * sysvipc/semctl.c: Likewise.
21495         * sysvipc/semget.c: Likewise.
21496         * sysvipc/semop.c: Likewise.
21497         * sysvipc/semtimedop.c: Likewise.
21498         * sysvipc/shmat.c: Likewise.
21499         * sysvipc/shmctl.c: Likewise.
21500         * sysvipc/shmdt.c: Likewise.
21501         * sysvipc/shmget.c: Likewise.
21502         * termios/tcdrain.c: Likewise.
21503         * termios/tcflow.c: Likewise.
21504         * termios/tcflush.c: Likewise.
21505         * termios/tcgetattr.c: Likewise.
21506         * termios/tcgetpgrp.c: Likewise.
21507         * termios/tcsendbrk.c: Likewise.
21508         * termios/tcsetattr.c: Likewise.
21509         * termios/tcsetpgrp.c: Likewise.
21510         * time/adjtime.c: Likewise.
21511         * time/clock.c: Likewise.
21512         * time/getitimer.c: Likewise.
21513         * time/gettimeofday.c: Likewise.
21514         * time/setitimer.c: Likewise.
21515         * time/settimeofday.c: Likewise.
21516         * time/stime.c: Likewise.
21517         * time/time.c: Likewise.
21518
21519 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21520
21521         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21522         /usr/old/bin.
21523
21524         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21525         instead of spaces.
21526         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21527
21528 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21529
21530         [BZ #14796]
21531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21532         FE_TONEAREST before applying Dekker multiplication and Knuth
21533         addition.  Clear inexact exceptions and check for exact zero
21534         results afterwards.
21535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21538         * math/libm-test.inc (fma_test): Add more tests.
21539         (fma_test_towardzero): Likewise.
21540         (fma_test_downward): Likewise.
21541         (fma_test_upward): Likewise.
21542         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21543         function.
21544         (libc_fesetround): New macro.
21545         (libc_fesetroundf): Likewise.
21546         (libc_fesetroundl): Likewise.
21547         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21548         function.
21549         (libc_fesetround_387): Likewise.
21550         (libc_fesetroundf): New macro.
21551         (libc_fesetround): Likewise.
21552         (libc_fesetroundl): Likewise.
21553         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21554         function.
21555         (libc_fesetroundf): New macro.
21556         (libc_fesetround): Likewise.
21557         (libc_fesetroundl): Likewise.
21558         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21559         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21560         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21561         libm_hidden_ver.
21562         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21563         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21564         libm_hidden_def.
21565         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21566         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21567         libm_hidden_ver.
21568         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21569         libm_hidden_def.
21570
21571         [BZ #3439]
21572         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21573         integer constant usable in #if and use that to give value to enum
21574         constant.
21575         (FE_DIVBYZERO): Likewise.
21576         (FE_UNDERFLOW): Likewise.
21577         (FE_OVERFLOW): Likewise.
21578         (FE_INVALID): Likewise.
21579         (FE_INVALID_SNAN): Likewise.
21580         (FE_INVALID_ISI): Likewise.
21581         (FE_INVALID_IDI): Likewise.
21582         (FE_INVALID_ZDZ): Likewise.
21583         (FE_INVALID_IMZ): Likewise.
21584         (FE_INVALID_COMPARE): Likewise.
21585         (FE_INVALID_SOFTWARE): Likewise.
21586         (FE_INVALID_SQRT): Likewise.
21587         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21588         (FE_TONEAREST): Likewise.
21589         (FE_TOWARDZERO): Likewise.
21590         (FE_UPWARD): Likewise.
21591         (FE_DOWNWARD): Likewise.
21592         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21593         (FE_DIVBYZERO): Likewise.
21594         (FE_OVERFLOW): Likewise.
21595         (FE_UNDERFLOW): Likewise.
21596         (FE_INEXACT): Likewise.
21597         (FE_TONEAREST): Likewise.
21598         (FE_DOWNWARD): Likewise.
21599         (FE_UPWARD): Likewise.
21600         (FE_TOWARDZERO): Likewise.
21601         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21602         (FE_UNDERFLOW): Likewise.
21603         (FE_OVERFLOW): Likewise.
21604         (FE_DIVBYZERO): Likewise.
21605         (FE_INVALID): Likewise.
21606         (FE_TONEAREST): Likewise.
21607         (FE_TOWARDZERO): Likewise.
21608         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21609         (FE_OVERFLOW): Likewise.
21610         (FE_UNDERFLOW): Likewise.
21611         (FE_DIVBYZERO): Likewise.
21612         (FE_INEXACT): Likewise.
21613         (FE_TONEAREST): Likewise.
21614         (FE_TOWARDZERO): Likewise.
21615         (FE_UPWARD): Likewise.
21616         (FE_DOWNWARD): Likewise.
21617         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21618         (FE_DIVBYZERO): Likewise.
21619         (FE_OVERFLOW): Likewise.
21620         (FE_UNDERFLOW): Likewise.
21621         (FE_INEXACT): Likewise.
21622         (FE_TONEAREST): Likewise.
21623         (FE_DOWNWARD): Likewise.
21624         (FE_UPWARD): Likewise.
21625         (FE_TOWARDZERO): Likewise.
21626
21627 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21628
21629         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21630
21631 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21632
21633         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21634         commands.  Quote $PWD.
21635         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21636         -x" by "export".
21637         (remove_newlines): Remove.
21638
21639 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21640
21641         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21642         * stdlib/stdlib.h (atof): Moved to ...
21643         * include/bits/stdlib-float.h: Here.  New file.
21644         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21645         * stdlib/bits/stdlib-float.h: New file.
21646         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21647         -mno-sse -mno-mmx.
21648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21649         <xmmintrin.h>.
21650
21651 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21652
21653         * conform/conformtest.pl (@headers): Add fenv.h.
21654         * conform/data/fenv.h-data: New file.
21655         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21656         include of <math/fenv.h>.
21657
21658         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21659         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21660         && !UNIX98].  Enables tests for XOPEN2K8.
21661         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21662         POSIX2008]: Likewise.
21663
21664         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21665         (struct rusage): Do not expect type or its members.
21666
21667         [BZ #3439]
21668         * math/math.h (FP_NAN): Define macro to integer constant usable in
21669         #if and use that to give value to enum constant.
21670         (FP_INFINITE): Likewise.
21671         (FP_ZERO): Likewise.
21672         (FP_SUBNORMAL): Likewise.
21673         (FP_NORMAL): Likewise.
21674
21675 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21676
21677         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21678         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21679         arguments.
21680
21681 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21682
21683         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21684         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21685         autoconf-time if not.
21686         * configure.in: Remove AC_PREREQ.
21687
21688 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21689
21690         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21691         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21692         of the internal implementation.
21693
21694 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21695
21696         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21697         except include of <misc/sys/syslog.h>.
21698
21699 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21700
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21702         function returns with a NULL context exit with zero.
21703
21704 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21705
21706         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21707
21708 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21709
21710         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21711         (run_program_cmd): This.
21712         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21713         (tst_langinfo): New variable.  Use it.
21714
21715 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21716
21717         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21718         floating point opcodes.
21719
21720 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21721
21722         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21723         variable.
21724
21725         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21726
21727         * sysdeps/mach/hurd/powerpc: Remove directory.
21728         * sysdeps/mach/powerpc: Likewise.
21729
21730 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21731
21732         * scripts/check-local-headers.sh: Ignore c++ headers.
21733
21734 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21735
21736         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21737         __libc_cleanup_region_start argument.
21738
21739 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21740
21741         [BZ #14784]
21742         [BZ #14785]
21743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21744         x * y using scaling, not as x * y + z.
21745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21747         * math/libm-test.inc (fma_test): Add more tests.
21748         (fma_test_towardzero): Likewise.
21749         (fma_test_downward): Likewise.
21750         (fma_test_upward): Likewise.
21751
21752 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21753
21754         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21755
21756 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21757
21758         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21759         New variable.
21760
21761 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21762
21763         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21764
21765 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21766
21767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21768         Fix sort order.
21769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21770         Likewise.
21771
21772 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21773
21774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21775         Fix the order of the list for glibc 2.17.
21776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21777         Likewise.
21778
21779 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21780
21781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21782
21783 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21784
21785         [BZ #14610]
21786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21787         for low part of x being zero before using __atanl (y).
21788         * math/libm-test.inc (atan2_test): Add another test.
21789
21790         * manual/install.texi (Configuring and compiling): Document
21791         general use of test-wrapper and test-wrapper-env.
21792         * INSTALL: Regenerated.
21793
21794         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21795         (__fma): Do not extract and scale down low bits on after-rounding
21796         systems when result rounded to normal precision would have normal
21797         exponent.
21798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21799         (__fmal): Do not extract and scale down low bits on after-rounding
21800         systems when result rounded to normal precision would have normal
21801         exponent.
21802         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21803         (__fmal): Do not extract and scale down low bits on after-rounding
21804         systems when result rounded to normal precision would have normal
21805         exponent.
21806         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21807         macro.
21808         (fma_test): Add more tests.
21809         (fma_test_towardzero): Likewise.
21810         (fma_test_downward): Likewise.
21811         (fma_test_upward): Likewise.
21812
21813 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21814
21815         * sysdeps/i386/tininess.h: Renamed to ...
21816         * sysdeps/x86/tininess.h: This.
21817         * sysdeps/x86_64/tininess.h: Removed.
21818
21819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21820
21821         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21822         input.  Use $(build-program-cmd).
21823         ($(objpfx)tst-array1-static.out): Likewise.
21824         ($(objpfx)tst-array2.out): Likewise.
21825         ($(objpfx)tst-array3.out): Likewise.
21826         ($(objpfx)tst-array4.out): Likewise.
21827         ($(objpfx)tst-array5.out): Likewise.
21828         ($(objpfx)tst-array5-static.out): Likewise.
21829
21830 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21831
21832         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21833         if defined.
21834
21835         * nss/nsswitch.h (nss_interface_function): Provide new
21836         macro for use with NSS functions.
21837         * grp/initgroups.c: Use new macro.
21838         * nss/getXXbyYY.c: Likewise.
21839         * nss/getXXbyYY_r.c: Likewise.
21840         * nss/getXXent.c: Likewise.
21841         * nss/getXXent_r.c: Likewise.
21842         * sysdeps/posix/getaddrinfo.c: Likewise.
21843
21844 2012-10-30  Andreas Jaeger  <aj@suse.de>
21845
21846         * po/ru.po: Update Russion translation from translation project.
21847
21848 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21849
21850         [BZ #14152]
21851         [BZ #14783]
21852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21853         result and shift together with sticky bit instead of replicating
21854         round-to-nearest rounding.
21855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21857         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21858         missing underflow exceptions.
21859         (fma_test_towardzero): Add more tests.
21860         (fma_test_downward): Likewise.
21861         (fma_test_upward): Likewise.
21862
21863         [BZ #14047]
21864         * sysdeps/generic/tininess.h: New file.
21865         * sysdeps/i386/tininess.h: Likewise.
21866         * sysdeps/sh/tininess.h: Likewise.
21867         * sysdeps/x86_64/tininess.h: Likewise.
21868         * stdlib/tst-strtod-underflow.c: Likewise.
21869         * stdlib/tst-tininess.c: Likewise.
21870         * stdlib/strtod_l.c: Include <tininess.h>.
21871         (round_and_return): Do not set errno for exact underflow cases.
21872         Force an underflow exception when setting errno for underflow.
21873         Determine underflow based on rounding to normal precision if
21874         TININESS_AFTER_ROUNDING.
21875         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21876         ERANGE for exact underflow cases.
21877         * stdlib/Makefile (tests): Add tst-tininess and
21878         tst-strtod-underflow.
21879         ($(objpfx)tst-tininess): Use $(link-libm).
21880         ($(objpfx)tst-strtod-underflow): Likewise.
21881
21882 2012-10-30  Andreas Jaeger  <aj@suse.de>
21883
21884         [BZ#14767]
21885         * elf/Makefile (tests): Remove conditional for have-initfini-array
21886         since this is now always required and the variable does not exist
21887         anymore.
21888         (tests-static): Likewise.
21889         (modules-names): Likewise.
21890
21891         * po/eo.po: Add Esperanto translation from translation project.
21892
21893         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21894         merged with constructor/destructor.
21895         (init_array): Likewise.
21896         * elf/tst-array2dep.c (fini_array): Likewise.
21897         (init_array): Likewise.
21898
21899 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21900
21901         * manual/message.texi: Delete @cartouche tags.
21902
21903 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21904
21905         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21906         EOPNOTSUPP.
21907         * sysdeps/mach/hurd/fsync.c: Likewise.
21908
21909         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21910         [_POSIX_REALTIME_SIGNALS]: Change condition to
21911         [_POSIX_REALTIME_SIGNALS > 0].
21912
21913 2012-10-27  Andreas Jaeger  <aj@suse.de>
21914
21915         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21916         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21918         [__WORDSIZE != 64]: Likewise.
21919
21920 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21921
21922         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21923         *  iconvdata/tst-tables.sh: Likewise.
21924
21925 2012-10-25  David S. Miller  <davem@davemloft.net>
21926
21927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21928         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21929         of strtoull.
21930
21931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21932         ifunc-impl-list.c
21933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21934         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21935         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21936         file.
21937
21938 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21939
21940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21941         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21942         __getdirentries.
21943
21944 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21945             Jim Blandy  <jimb@codesourcery.com>
21946
21947         * scripts/cross-test-ssh.sh: New file.
21948         * manual/install.texi (Configuring and compiling): Document use of
21949         cross-test-ssh.sh.
21950         * INSTALL: Regenerated.
21951
21952 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21953
21954         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21955         EOPNOTSUPP.
21956
21957 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21958
21959         * Makeconfig (run-program-prefix): Fix comment.
21960
21961 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21962             Jim Blandy  <jimb@codesourcery.com>
21963
21964         * Makeconfig (test-wrapper): New variable,
21965         (test-wrapper-env): Likewise.
21966         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21967         (run-built-tests): Define to yes.
21968         (run-program-prefix): Use $(test-wrapper).
21969         (built-program-cmd): Likewise.
21970         * Rules (make-test-out): Use $(test-wrapper-env) and
21971         $(host-built-program-cmd).
21972         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21973         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21974         tst-pathopt.sh.
21975         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21976         $(test-wrapper-env) to tst-rtld-load-self.sh.
21977         ($(objpfx)order2.out): Use $(test-wrapper).
21978         ($(objpfx)tst-initorder.out): Likewise.
21979         ($(objpfx)tst-initorder2.out): Likewise.
21980         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21981         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21982         (test_wrapper_env): New variable.  Use it to run ld.so.
21983         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21984         Use it to run ld.so.
21985         (test_wrapper_env): Likewise.
21986         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21987         $(test-wrapper) to run-iconv-test.sh.
21988         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21989         (ICONV): Use $test_wrapper.
21990         * posix/Makefile ($(objpfx)globtest.out): Pass
21991         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21992         globtest.sh, not $(run-program-prefix).
21993         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21994         (test_wrapper): Likewise.
21995         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21996         set together with run_via_rtld_prefix.
21997         (run_program_prefix): Define in terms of test_wrapper and
21998         run_via_rtld_prefix.
21999
22000 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22001
22002         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22003         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22004         Targets removed.
22005
22006         [BZ #14743]
22007         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22008         Declare __clock_getres, __clock_gettime, __clock_settime,
22009         __clock_nanosleep, and __clock_getcpuclockid.
22010         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22011         Remove librt_hidden_def (clock_gettime).
22012         * sysdeps/unix/clock_gettime.c: Likewise.
22013         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22015         * rt/clock_getres.c: Define __clock_getres as an alias.
22016         * sysdeps/posix/clock_getres.c: Likewise.
22017         * rt/clock_settime.c: Define __clock_settime as an alias.
22018         * sysdeps/unix/clock_settime.c: Likewise.
22019         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22020         * sysdeps/unix/clock_nanosleep.c: Likewise.
22021         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22022         * rt/clock-compat.c: New file.
22023         * rt/Makefile (librt-routines): Add clock-compat and move
22024         $(clock-routines) to ...
22025         (routines): ... here, new variable.
22026         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22027         Don't add get_clockfreq here.
22028         * rt/Versions (libc: GLIBC_2.17): New version set.
22029         Add clock_* symbols here.
22030         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22032         (GLIBC_2.17): Add clock_* symbols.
22033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22037         Likewise.
22038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22039         Likewise.
22040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22044         * NEWS: Mention the move.
22045
22046         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22047         Use __open, __read, __close rather than their public counterparts.
22048         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22049         (__get_clockfreq_via_cpuinfo): Likewise.
22050         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22051         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22052
22053         * config.h.in (HAVE_IFUNC): New #undef.
22054         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22055         was successful.
22056         * configure: Regenerated.
22057
22058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22059
22060         * configure.in: Move READELF check to start of file.
22061         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22062         libc_cv_asm_gnu_indirect_function in the process.
22063         * configure: Regenerated.
22064
22065 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22066
22067         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22068         send the output to /dev/null.
22069         (libc_cv_cc_with_libunwind): Likewise.
22070         (libc_cv_as_noexecstack): Likewise.
22071         * configure: Regenerate.
22072
22073 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22074
22075         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22076
22077         * posix/globtest.sh (TMPDIR): Do not set.
22078         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22079         (testout): Likewise.
22080
22081 2012-10-24  Andreas Jaeger  <aj@suse.de>
22082
22083         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22084         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22085         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22086         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22087         posix_fadvise64, posix_fallocate64.
22088
22089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22090         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22091         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22092         Likewise.
22093         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22094         Likewise.
22095         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22096
22097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22098         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22099         <bits/fcntl-linux.h>.
22100         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22101
22102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22103         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22104         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22105         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22106         [__WORDSIZE != 64]: Likewise.
22107
22108 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22109
22110         * Makeconfig (run-built-tests): New variable.
22111         * Rules [$(cross-compiling) = yes]: Change condition to
22112         [$(run-built-tests) = no].
22113         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22114         to [$(run-built-tests) = yes].
22115         * elf/Makefile [$(cross-compiling) = no]: Likewise
22116         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22117         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22118         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22119         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22120         * io/Makefile [$(cross-compiling) = no]: Likewise.
22121         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22122         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22123         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22124         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22125         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22126         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22127         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22128         * string/Makefile [$(cross-compiling) = no]: Likewise.
22129
22130         * posix/Makefile ($(objpfx)globtest.out): Pass
22131         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22132         $(rtld-installed-name).
22133         * posix/globtest.sh (elf_objpfx): Remove variable.
22134         (rtld_installed_name): Likewise.
22135         (library_path): Likewise.
22136         (run_program_prefix): New variable.  Use for running globtest
22137         binary.
22138
22139 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22140             Joseph Myers  <joseph@codesourcery.com>
22141
22142         * Makeconfig (host-built-program-cmd): New variable.
22143         * elf/Makefile (tst-stackguard1-ARGS): Use
22144         $(host-built-program-cmd).
22145         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22146         (tst-spawn-ARGS): Likewise.
22147         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22148
22149 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22150             Jim Blandy  <jimb@codesourcery.com>
22151
22152         * Makeconfig (run-via-rtld-prefix): New variable.
22153         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22154         (built-program-cmd): Likewise.
22155
22156 2012-10-22  Andreas Jaeger  <aj@suse.de>
22157
22158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22159         __O_RSYNC if it exists, otherwise to O_SYNC.
22160
22161 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22162             Joseph Myers  <joseph@codesourcery.com>
22163
22164         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22165         /dev/null.
22166         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22167         from /dev/null
22168         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22169         /dev/null.
22170
22171 2012-10-22  Andreas Jaeger  <aj@suse.de>
22172
22173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22174         Define always.
22175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22176
22177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22178         bits/fcntl-linux.h.
22179
22180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22181         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22182
22183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22184         to __O_LARGEFILE.
22185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22186         to __O_LARGEFILE.
22187
22188 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22189             Joseph Myers  <joseph@codesourcery.com>
22190
22191         * config.make.in (NM): New variable.
22192
22193 2012-10-21  Andreas Jaeger  <aj@suse.de>
22194
22195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22196         definitions and declarations that are provided by
22197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22198
22199 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22200
22201         [BZ #14683]
22202         * elf/Makefile (tests-static): Add tst-leaks1-static.
22203         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22204         ($(objpfx)tst-leaks1-static): New rule.
22205         ($(objpfx)tst-leaks1-static-mem): Likewise.
22206         (tst-leaks1-static-ENV): New macro.
22207         * elf/dl-open.c (dl_open_worker): Check the main application
22208         only if SHARED is defined.
22209         * elf/tst-leaks1-static.c: New file.
22210
22211 2012-10-20  Andreas Jaeger  <aj@suse.de>
22212
22213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22214         generic values for Linux.
22215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22216         and declarations that are provided by <bits/fcntl-linux.h> and
22217         include <bits/fcntl-linux.h>.
22218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22220
22221 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22222
22223         * io/fcntl.h: Move include of <bits/types.h> to the top and
22224         include it unconditionally.
22225
22226 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22227
22228         * wcsmbs/Makefile (tests-ifunc): New variable.
22229         (tests): Add $(tests-ifunc).
22230         * wcsmbs/test-wcschr-ifunc.c: New file.
22231         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22232         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22233         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22234         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22235         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22236
22237         * string/Makefile (tests-ifunc): New variable.
22238         (tests): Add $(tests-ifunc).
22239         * string/test-memccpy.c (TEST_NAME): New macro.
22240         * string/test-memchr.c (TEST_NAME): Likewise.
22241         * string/test-memcmp.c (TEST_NAME): Likewise.
22242         * string/test-memcpy.c (TEST_NAME): Likewise.
22243         * string/test-memmem.c (TEST_NAME): Likewise.
22244         * string/test-memmove.c (TEST_NAME): Likewise.
22245         * string/test-memset.c (TEST_NAME): Likewise.
22246         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22247         * string/test-stpcpy.c (TEST_NAME): Likewise.
22248         * string/test-stpncpy.c (TEST_NAME): Likewise.
22249         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22250         * string/test-strcasestr.c (TEST_NAME): Likewise.
22251         * string/test-strcat.c (TEST_NAME): Likewise.
22252         * string/test-strchr.c (TEST_NAME): Likewise.
22253         * string/test-strcmp.c(TEST_NAME): Likewise.
22254         * string/test-strcpy.c (TEST_NAME): Likewise.
22255         * string/test-strcspn.c (TEST_NAME): Likewise.
22256         * string/test-strlen.c (TEST_NAME): Likewise.
22257         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22258         * string/test-strncmp.c (TEST_NAME): Likewise.
22259         * string/test-strncpy.c (TEST_NAME): Likewise.
22260         * string/test-strnlen.c (TEST_NAME): Likewise.
22261         * string/test-strpbrk.c (TEST_NAME): Likewise.
22262         * string/test-strrchr.c (TEST_NAME): Likewise.
22263         * string/test-strspn.c (TEST_NAME): Likewise.
22264         * string/test-strstr.c (TEST_NAME): Likewise.
22265         * string/test-bcopy-ifunc.c: New file.
22266         * string/test-bzero-ifunc.c: Likewise.
22267         * string/test-memccpy-ifunc.c: Likewise.
22268         * string/test-memchr-ifunc.c: Likewise.
22269         * string/test-memcmp-ifunc.c: Likewise.
22270         * string/test-memcpy-ifunc.c: Likewise.
22271         * string/test-memmem-ifunc.c: Likewise.
22272         * string/test-memmove-ifunc.c: Likewise.
22273         * string/test-mempcpy-ifunc.c: Likewise.
22274         * string/test-memset-ifunc.c: Likewise.
22275         * string/test-rawmemchr-ifunc.c: Likewise.
22276         * string/test-stpcpy-ifunc.c: Likewise.
22277         * string/test-stpncpy-ifunc.c: Likewise.
22278         * string/test-strcasecmp-ifunc.c: Likewise.
22279         * string/test-strcasestr-ifunc.c: Likewise.
22280         * string/test-strcat-ifunc.c: Likewise.
22281         * string/test-strchr-ifunc.c: Likewise.
22282         * string/test-strchrnul-ifunc.c: Likewise.
22283         * string/test-strcmp-ifunc.c: Likewise.
22284         * string/test-strcpy-ifunc.c: Likewise.
22285         * string/test-strcspn-ifunc.c: Likewise.
22286         * string/test-strlen-ifunc.c: Likewise.
22287         * string/test-strncasecmp-ifunc.c: Likewise.
22288         * string/test-strncat-ifunc.c: Likewise.
22289         * string/test-strncmp-ifunc.c: Likewise.
22290         * string/test-strncpy-ifunc.c: Likewise.
22291         * string/test-strnlen-ifunc.c: Likewise.
22292         * string/test-strpbrk-ifunc.c: Likewise.
22293         * string/test-strrchr-ifunc.c: Likewise.
22294         * string/test-strspn-ifunc.c: Likewise.
22295         * string/test-strstr-ifunc.c: Likewise.
22296
22297         * debug/Makefile (tests-ifunc): New variable.
22298         (tests): Add $(tests-ifunc).
22299         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22300         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22301         * debug/test-stpcpy_chk-ifunc.c: New file.
22302         * debug/test-strcpy_chk-ifunc.c: Likewise.
22303
22304 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22305
22306         [BZ #13601]
22307         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22308         header is not read in.
22309
22310 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22311
22312         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22313         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22314         directly.  Pass built executable to script as
22315         $(built-program-cmd).
22316         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22317         $testprogram without using LD_LIBRARY_PATH and $ldso.
22318
22319         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22320         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22321         $(rtld-installed-name).
22322         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22323         (rtld_installed_name): Likewise.
22324         (library_path): Likewise.
22325         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22326         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22327         $(run-program-prefix) to tst-tables.sh.
22328         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22329         it to run tst-table-from and tst-table-to.
22330         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22331         Pass it to tst-table.sh.
22332         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22333         $(run-program-prefix) to tst-gettext.sh.
22334         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22335         tst-translit.sh.
22336         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22337         tst-gettext2.sh.
22338         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22339         to run tst-gettext.
22340         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22341         to run tst-gettext2.
22342         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22343         to run tst-translit.
22344         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22345         $(run-program-prefix) to tst-mtrace.sh.
22346         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22347         to run tst-mtrace.
22348         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22349         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22350         $(rtld-installed-name).
22351         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22352         (rtld_installed_name): Likewise.
22353         (run_program_prefix): New variable.  Use it to run wordexp-test.
22354
22355         * Makeconfig (ARCH): Remove all definitions.
22356         (machine): Likewise.
22357         [ARCH]: Remove conditional code.
22358         [!objdir]: Give error.
22359         [!objdir] (objpfx): Remove.
22360         [!objdir] (common-objpfx): Likewise.
22361         [!objdir] (common-objdir): Likewise.
22362         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22363         AC_CONFIG_FILES call.
22364         * configure: Regenerated.
22365
22366         [BZ #13888]
22367         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22368         or TMPDIR.
22369         (testout): Likewise.
22370
22371         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22372         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22373         $(rtld-installed-name).
22374         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22375         (rtld_installed_name): Likwise.
22376         (runit): Remove function.
22377         (run_getconf): New variable,  Use it for running getconf binary.
22378
22379 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22380
22381         [BZ #14716]
22382         * string/test-memmem.c (check_result): New function.
22383         (do_one_test): Use it.
22384         (check1): New function.
22385         (test_main): Use it.
22386
22387 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22388
22389         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22390
22391 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22392
22393         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22394         (_G_LSEEK64): Likewise.
22395         (_G_MMAP64): Likewise.
22396         (_G_FSTAT64): Likewise.
22397         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22398         (_G_LSEEK64): Likewise.
22399         (_G_MMAP64): Likewise.
22400         (_G_FSTAT64): Likewise.
22401         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22402         unconditional.  Call __mmap64 directly.
22403         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22404         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22405         __lseek64 directly.
22406         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22407         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22408         __mmap64 directly.
22409         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22410         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22411         __lseek64 directly.
22412         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22413         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22414         __lseek64 directly.
22415         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22416         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22417         __lseek64 directly.
22418         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22419         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22420         __fxstat64 directly.
22421         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22422         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22423         unconditional.
22424         (freopen64) [!_G_OPEN64]: Remove conditional code.
22425         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22426         unconditional.
22427         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22428         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22429         unconditional.
22430         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22431         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22432         unconditional.
22433         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22434         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22435         unconditional.
22436         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22437         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22438         unconditional.
22439         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22441         unconditional.
22442         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22444         unconditional.
22445         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22446
22447 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448
22449         [BZ #12140]
22450         * manual/memory.texi (Malloc Tunable Parameters): Add note
22451         about free list pointers overwriting some perturb bytes.
22452         Wording suggested by Roland McGrath.
22453
22454 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22455
22456         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22457         (lgamma_test): Likewise.
22458         (tgamma_test): Likewise.
22459
22460 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22461
22462         [BZ #14700]
22463         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22464         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22465
22466 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22467
22468         * NEWS: Mention BZ #14716.
22469         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22470         when removing AVAILABLE1_USES_J macro.
22471
22472 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22473
22474         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22475         (__bswap_64): __uint64_t for unsigned 64-bit int.
22476
22477 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22478
22479         * include/string.h (memmem): Declare libc hidden alias.
22480         * string/memmem.c (memmem): Define libc hidden alias.
22481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22482         __read, __close instead of open, read, close.
22483
22484 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22485
22486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22487         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22488         global and hidden.
22489         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22490         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22491         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22492         Likewise.
22493         (__rawmemchr_sse2): Likewise.
22494         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22495         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22496         (__strchr_sse2): Likewise.
22497         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22498         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22499         (__strcasecmp_sse2): Likewise.
22500         (__strncasecmp_sse2): Likewise.
22501         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22502         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22503         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22504         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22505         (__strrchr_sse2): Likewise.
22506         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22507         ifunc-impl-list.c.
22508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22511         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22512         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22513         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22516         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22517         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22518         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22519         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22520         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22521         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22522         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22524         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22525         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22526         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22527         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22528         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22529         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22530         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22531         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22532         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22534         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22535         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22536         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22537         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22538
22539         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22540         global and hidden.
22541         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22542         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22543         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22544         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22545         Likewise.
22546         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22547         Likewise.
22548         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22549         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22550         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22551         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22552         ifunc-impl-list.c.
22553         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22554         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22555         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22562         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22563         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22564         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22565         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22566         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22567         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22568         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22569         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22570         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22572         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22574         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22575         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22576         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22578         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22579         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22580         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22581         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22583         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22584         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22585         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22586         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22593         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22594
22595         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22596         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22597         * include/ifunc-impl-list.h: New file.
22598         * misc/ifunc-impl-list.c: Likewise.
22599         * misc/Makefile (routines): Add ifunc-impl-list.
22600         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22601         * string/test-string.h: Include <ifunc-impl-list.h>.
22602         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22603         impl_array): New variables.
22604         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22605         are defined.
22606         (test_init): Call __libc_ifunc_impl_list to initialize
22607         func_list if TEST_IFUNC and TEST_NAME are defined.
22608
22609         * string/Makefile (strop-tests): Add bcopy and bzero.
22610         * string/test-bcopy.c: New file.
22611         * string/test-bzero.c: Likewise.
22612         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22613         defined.
22614         * string/test-memset.c: Support bzero test if TEST_BZERO is
22615         defined.
22616         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22617         __libc_memmove.
22618         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22619         __libc_memset.
22620         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22621         of memset.
22622
22623 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22624
22625         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22626         * configure: Regenerated.
22627
22628         * Makeconfig (+link-static-before-libc): Don't include
22629         $(link-static-libc).
22630
22631         * libio/libio.h (_IO_pos_t): Remove.
22632
22633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22634
22635         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22636         McGrath.
22637
22638 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22639
22640         * crypt/crypt-entry.c: Include fips-private.h.
22641         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22642         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22643         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22644         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22645
22646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22647
22648         * crypt/crypt-private.h: Include stdbool.h.
22649         (_ufc_setup_salt_r): Return bool.
22650         * crypt/crypt-entry.c: Include errno.h.
22651         (__crypt_r): Return NULL with EINVAL for bad salt.
22652         * crypt/crypt_util.c (bad_for_salt): New.
22653         (_ufc_setup_salt_r): Check that salt is long enough and within
22654         the specified alphabet.
22655         * crypt/badsalttest.c: New file.
22656         * crypt/Makefile (tests): Add it.
22657         ($(objpfx)badsalttest): New.
22658
22659 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22660
22661         * NEWS: Add entry for BZ #14602.
22662
22663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22664
22665         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22666         type-generic.
22667         * math/libm-test.inc: Update comment listing what functions and
22668         macros are tested.
22669         (isgreater_test): New function.
22670         (isgreaterequal_test): Likewise.
22671         (isless_test): Likewise.
22672         (islessequal_test): Likewise.
22673         (islessgreater_test): Likewise.
22674         (isunordered_test): Likewise.
22675         (main): Call the new functions.
22676
22677 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22678
22679         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22680         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22681         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22682         * sysdeps/i386/configure: Regenerated.
22683         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22684         * sysdeps/mach/configure: Regenerated.
22685         * sysdeps/mach/hurd/configure: Regenerated.
22686         * sysdeps/powerpc/configure: Regenerated.
22687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22688         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22689         * sysdeps/s390/s390-32/configure: Regenerated.
22690         * sysdeps/s390/s390-64/configure: Regenerated.
22691         * sysdeps/sh/configure: Regenerated.
22692         * sysdeps/sparc/configure: Regenerated.
22693         * sysdeps/unix/sysv/linux/configure: Regenerated.
22694         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22695         * sysdeps/x86_64/configure: Regenerated.
22696
22697         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22698         defined.  Don't check if MAP is NULL.
22699
22700 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22701
22702         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22703         (_G_stat64): Likewise.
22704         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22705         (_G_stat64): Likewise.
22706         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22707         instead of struct _G_stat64.
22708         * libio/fileops.c (mmap_remap_check): Likewise.
22709         (decide_maybe_mmap): Likewise.
22710         (_IO_new_file_seekoff): Likewise.
22711         (_IO_file_stat): Likewise.
22712         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22713         _G_off64_t.
22714         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22715         instead of struct _G_stat64.
22716         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22717
22718 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22719
22720         [BZ #14602]
22721         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22722         Replace with ...
22723         (CHECK_EOL): New macro.
22724         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22725         CHECK_EOL.
22726         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22727         Replace with CHECK_EOL.
22728         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22729         Replace with CHECK_EOL.
22730
22731 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22732
22733         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22734         type-generic.
22735         * math/libm-test.inc: Update comment listing what functions and
22736         macros are tested.
22737         (finite_test): New function.
22738         (isinf_test): Likewise.
22739         (isnan_test): Likewise.
22740         (fpclassify_test): Test subnormal input.
22741         (isfinite_test): Likewise.
22742         (isnormal_test): Likewise.
22743         (main): Call the new functions.
22744
22745 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22746
22747         [BZ #14660]
22748         * Makerules (%.dynsym): Force C locale when running
22749         $(OBJDUMP) --dynamic-syms.
22750
22751 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22752
22753         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22754         <stdint.h>.
22755
22756 2012-10-06  David S. Miller  <davem@davemloft.net>
22757
22758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22759         upper 32-bits of the length value in %o2 since we use branch-on-register
22760         tests which consider the entire 64-bit register.
22761
22762 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22763
22764         * string/test-strstr.c (check2): Add a test for page boundary.
22765
22766 2012-10-05  David S. Miller  <davem@davemloft.net>
22767
22768         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22770         file.
22771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22772         sysdep_routines.
22773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22774         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22775         and bzero when HWCAP_SPARC_CRYPTO is present.
22776
22777 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22778
22779         [BZ #14602]
22780         * string/test-strstr.c (check2): New function.
22781         (test_main): Call check2.
22782
22783         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22784         and bug-strchr1.
22785         * string/bug-strcasestr1.c (do_test): Moved to ...
22786         * string/test-strcasestr.c (check1): Here.  New function.
22787         (do_one_test): Break out result checking code into ...
22788         (check_result): This.  New function.
22789         (do_one_test): Call check_result.
22790         (test_main): Call check1.
22791         * string/bug-strchr1.c (do_test): Moved to ...
22792         * string/test-strchr.c (check1): Here.  New function.
22793         (do_one_test): Break out result checking code into ...
22794         (check_result): This.  New function.
22795         (do_one_test): Call check_result.
22796         (test_main): Call check1.
22797         * string/bug-strstr1.c (main): Moved to ...
22798         * string/test-strstr.c (check1): Here.  New function.
22799         (do_one_test): Break out result checking code into ...
22800         (check_result): This.  New function.
22801         (do_one_test): Call check_result.
22802         (test_main): Call check1.
22803         * string/bug-strcasestr1.c: Removed.
22804         * string/bug-strchr1.c: Likewise.
22805         * string/bug-strstr1.c: Likewise.
22806
22807         * elf/Makefile (dl-routines): Add hwcaps.
22808         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22809         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22810         (_dl_important_hwcaps): Moved to ...
22811         * elf/dl-hwcaps.c: Here.  New file.
22812         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22813
22814         [BZ #14557]
22815         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22816         if IS_IN_rtld isn't defined.
22817
22818         * elf/dl-support.c (_dl_sysinfo_map): New.
22819         Include "get-dynamic-info.h" and "setup-vdso.h".
22820         (_dl_non_dynamic_init): Call setup_vdso.
22821         * elf/dynamic-link.h: Don't include <assert.h>.
22822         (elf_get_dynamic_info): Moved to ...
22823         * elf/get-dynamic-info.h: Here.  New file.
22824         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22825         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22826         * elf/setup-vdso.h: Here.  New file.
22827         * elf/rtld.c: Include "setup-vdso.h".
22828         (dl_main): Call setup_vdso.
22829
22830 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22831
22832         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22833         creal in comment listing functions tested.  List finite, isinf,
22834         isnan, isless, islessequal, isgreater, isgreaterequal,
22835         islessgreater, isunordered, lgamma_r and pow10 as functions and
22836         macros not tested.  Mention which functions not tested are aliases
22837         for other functions.  Fix typo.  Note that signs of NaNs are not
22838         tested.
22839
22840         * scripts/config.guess: Update from config.git.
22841         * scripts/config.sub: Likewise.
22842
22843 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22844
22845         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22846         * misc/madvise.c (madvise): Renamed to __madvise.
22847         Make madvise a weak alias.
22848         * include/sys/mman.h: Declare __madvise.
22849         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22850         * sysdeps/unix/syscalls.list
22851         (madvise): Make __madvise the strong name, and madvise a weak alias.
22852         * sysdeps/unix/sysv/linux/syscalls.list
22853         (madvise, mmap): Remove redundant entries.
22854         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22855         * malloc/malloc.c (mtrim): Likewise.
22856         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22857
22858 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22859
22860         * sysdeps/mach/hurd/dl-cache.c: File removed.
22861         * config.h.in (USE_LDCONFIG): New #undef.
22862         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22863         * configure: Regenerated.
22864         * elf/Makefile (dl-routines): Add dl-cache only under
22865         [$(use-ldconfig) = yes].
22866         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22867         cache on [USE_LDCONFIG].
22868         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22869         [USE_LDCONFIG].
22870         * elf/rtld.c (dl_main): Likewise.
22871
22872 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22873
22874         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22875         _SC_LEVEL4_CACHE_LINESIZE.
22876
22877 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22878
22879         * sysdeps/unix/bsd/confstr.h: File removed.
22880
22881 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22882
22883         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22884         sys/sdt-config.h.
22885
22886 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22887
22888         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22889         Make 'mapoff' field ElfW(Off) rather than off_t.
22890
22891 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22892
22893         * nscd/Makefile: Remove nscd-cflags and all its users.
22894         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22895         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22896
22897         [BZ #10631]
22898         * malloc.c (malloc_printerr): Clarify error message.
22899
22900 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22901
22902         [BZ #14648]
22903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22904         Set bit_FMA_Usable if FMA is supported.
22905         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22906         macro.
22907         (bit_FMA4_Usable): Updated.
22908         (index_FMA_Usable): New macro.
22909         (CPUID_FMA): Likewise
22910         (HAS_FMA): Defined with bit_FMA_Usable.
22911
22912 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22913
22914         * bits/types.h (__swblk_t): Type removed.
22915         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22916         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22918         (__SWBLK_T_TYPE): Likewise.
22919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22920         (__SWBLK_T_TYPE): Likewise.
22921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22922         (__SWBLK_T_TYPE): Likewise.
22923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22924         (__SWBLK_T_TYPE): Likewise.
22925
22926 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22927             Honza Horak <hhorak@redhat.com>
22928
22929         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22930         (xdr_mapname): Use YPMAXMAP as maxsize.
22931         (xdr_peername): Use YPMAXPEER as maxsize.
22932         (xdr_keydat): Use YPAXRECORD as maxsize.
22933         (xdr_valdat): Use YPMAXRECORD as maxsize.
22934
22935 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22936
22937         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22938
22939         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22940         * csu/init-first.c: ... here.
22941         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22942         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22943         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22945         * sysdeps/i386/init-first.c: File removed.
22946         * sysdeps/sh/init-first.c: File removed.
22947
22948 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22949
22950         [BZ #14645]
22951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22952         if x * y might underflow to zero and z is zero.
22953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22955         * math/libm-test.inc (min_subnorm_value): New variable.
22956         (fma_test): Add more tests.
22957         (fma_test_towardzero): Likewise.
22958         (fma_test_downward): Likewise
22959         (fma_test_upward): Likewise.
22960         (initialize): Set min_subnorm_value.
22961
22962 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22963
22964         [BZ #14638]
22965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22966         0 + 0.
22967         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22968         mode for addition resulting in exact zero.
22969         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22971         exact 0 + 0.
22972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22974         * math/libm-test.inc (fma_test): Add more tests.
22975         (fma_test_towardzero): New function.
22976         (fma_test_downward): Likewise.
22977         (fma_test_upward): Likewise.
22978         (main): Call the new functions.
22979
22980 2012-09-28  David S. Miller  <davem@davemloft.net>
22981
22982         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22983
22984 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22985
22986         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22987         instead of SIGALRM.
22988
22989         * sysdeps/gnu/_G_config.h: Moved to ...
22990         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22991         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22992         * sysdeps/generic/_G_config.h: ... here.
22993
22994         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22995
22996         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22997
22998         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22999         Conditionalize target on [libnss_test1.so-version].
23000
23001         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23002
23003         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23004         (elfobjdir): Move out of conditionals.
23005
23006         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23007         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23008         (__nss_lookup_function): Conditionalize label remove_from_tree on
23009         [!DO_STATIC_NSS || SHARED], matching its only use.
23010
23011 2012-09-28  David S. Miller  <davem@davemloft.net>
23012
23013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23014         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23015         file.
23016         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23017         sysdep_routines.
23018         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23020         when HWCAP_SPARC_CRYPTO is present.
23021
23022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23023
23024         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23025
23026 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23027
23028         [BZ #6530]
23029         * stdio-common/vfprintf.c (process_string_arg): Revert
23030         2000-07-22 change.
23031
23032 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23033
23034         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23035         for testcase.
23036         * stdio-common/tst-sprintf.c: Include <locale.h>
23037         (main): Test sprintf's handling of incomplete multibyte
23038         characters.
23039
23040 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23041
23042         * elf/dl-runtime.c (VERSYMIDX): Removed.
23043         * elf/dl-version.c (VERSYMIDX): Likewise.
23044         * elf/do-rel.h (VERSYMIDX): Likewise.
23045         (VALIDX): Likewise.
23046         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23047         * elf/rtld.c (VALIDX): Likewise.
23048         (ADDRIDX): Likewise.
23049         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23050         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23051         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23052         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23053         (VALIDX): Likewise.
23054         (ADDRIDX): Likewise.
23055
23056 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23057
23058         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23059
23060 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23061
23062         [BZ #11438]
23063         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23064         to global scope.
23065         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23066         addresses are in the same scope as 192.0.2/24.
23067         * posix/gai.conf: Document new scope table defaults.
23068
23069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23070
23071         [BZ #5298]
23072         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23073         for ftell.  Compute offsets from write pointers instead.
23074         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23075
23076 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23077
23078         [BZ #14543]
23079         * libio/Makefile (tests): New test case tst-fseek.
23080         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23081         combination works in wide mode.
23082         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23083         state when the external buffer state changes.
23084
23085 2012-09-27  David S. Miller  <davem@davemloft.net>
23086
23087         [BZ #14376]
23088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23089         pass reloc->r_addend in as the 'high' argument to
23090         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23091
23092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23093
23094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23095
23096         * rt/tst-aio2.c: Include <pthread.h>.
23097         * rt/tst-aio3.c: Likewise.
23098
23099 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23100
23101         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23102
23103 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23104
23105         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23106         contents on [SHARED].
23107
23108 2012-09-26  Marek Polacek  <polacek@redhat.com>
23109
23110         [BZ #14530]
23111         [BZ #13741]
23112         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23113         for C++ and GCC <4.3 as well as for non GCC compilers.
23114
23115 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23116
23117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23118
23119 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23120
23121         * Makefile.in (all, install): Declare with .PHONY.
23122         Reported by Michael Hope <michael.hope@linaro.org>.
23123
23124 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23125
23126         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23127         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23128         system header.
23129         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23130         Likewise.
23131         (sydep_routines): Add the new and the internal functions.
23132         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23133         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23135         (GLIBC_2.17): Add the new function.
23136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23137         (GLIBC_2.17): Likewise.
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23139         (GLIBC_2.17): Likewise.
23140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23141         (GLIBC_2.17): Likewise.
23142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23143
23144 2012-09-25  Alan Modra  <amodra@gmail.com>
23145
23146         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23147         Add release barrier before setting once_control to say
23148         initialisation is done.  Add hints on lwarx.  Use macro in
23149         place of isync.
23150         (clear_once_control): Add release barrier.
23151
23152 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23153
23154         [BZ #13629]
23155         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23156         specially.
23157         * math/s_clog10.c (__clog10): Likewise.
23158         * math/s_clog10f.c (__clog10f): Likewise.
23159         * math/s_clog10l.c (__clog10l): Likewise.
23160         * math/s_clogf.c (__clogf): Likewise.
23161         * math/s_clogl.c (__clogl): Likewise.
23162         * math/Makefile (libm-calls): Add x2y2m1.
23163         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23164         (__x2y2m1): Likewise.
23165         (__x2y2m1l): Likewise.
23166         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23167         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23168         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23169         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23170         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23171         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23172         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23173         * sysdeps/i386/fpu/libm-test-ulps: Update.
23174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23175
23176         [BZ #14621]
23177         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23178         int as type of variable DEPTH.
23179         (glob): Use size_t instead of int as type of variables NEWCOUNT
23180         and OLD_PATHC.
23181
23182 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23183
23184         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23185         Add s_sincosf-sse2.
23186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23187         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23188         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23189         macros for using routine as __sincosf_ia32.
23190         Use macro for function declaration and weak_alias.
23191         * sysdeps/i386/fpu/libm-test-ulps: Update.
23192
23193         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23195
23196         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23197         subnormal argument.
23198         * math/s_cexpf.c (__cexpf): Likewise.
23199         * math/s_csinf.c (__csinf): Likewise.
23200         * math/s_csinhf.c (__csinhf): Likewise.
23201         * math/s_ctanf.c (__ctanf): Likewise.
23202         * math/s_ctanhf.c (__ctanhf): Likewise.
23203         * math/s_ccosh.c (__ccoshf): Likewise.
23204         * math/s_cexp.c (__cexpl): Likewise.
23205         * math/s_csin.c (__csin): Likewise.
23206         * math/s_csinh.c (__csinh): Likewise.
23207         * math/s_ctan.c (__ctan): Likewise.
23208         * math/s_ctanh.c (ctanh): Likewise.
23209         * math/s_ccoshl.c (__ccoshl): Likewise.
23210         * math/s_cexpl.c (__cexpl): Likewise.
23211         * math/s_csinl.c (__csinl): Likewise.
23212         * math/s_csinhl.c (__csinhl): Likewise.
23213         * math/s_ctanl.c (__ctanl): Likewise.
23214         * math/s_ctanhl.c (__ctanhl): Likewise.
23215
23216 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23217
23218         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23219         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23220         (_IO_off_t): Define to __off_t, not _G_off_t.
23221         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23222         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23223         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23224         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23225         type of __dummy and __dummy2 fields.
23226         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23227         (_G_ssize_t): Likewise.
23228         (_G_off_t): Likewise.
23229         (_G_pid_t): Likewise.
23230         (_G_uid_t): Likewise.
23231         (_G_wchar_t): Likewise.
23232         (_G_wint_t): Likewise.
23233         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23234         (_G_ssize_t): Likewise.
23235         (_G_off_t): Likewise.
23236         (_G_pid_t): Likewise.
23237         (_G_uid_t): Likewise.
23238         (_G_wchar_t): Likewise.
23239         (_G_wint_t): Likewise.
23240         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23241         (_G_ssize_t): Likewise.
23242         (_G_off_t): Likewise.
23243         (_G_pid_t): Likewise.
23244         (_G_uid_t): Likewise.
23245         (_G_wchar_t): Likewise.
23246         (_G_wint_t): Likewise.
23247
23248 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23249
23250         * malloc/arena.c: Include malloc-sysdep.h.
23251         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23252         is sufficient to shrink the heap or an unmap is needed.
23253         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23254         new function check_may_shrink_heap.
23255         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23256         new function check_may_shrink_heap.
23257
23258 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23259
23260         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23261         comments.
23262
23263 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23264
23265         * catgets/test-gencat.sh: Add "set -e".
23266         * elf/tst-pathopt.sh: Likewise.
23267         * grp/tst_fgetgrent.sh: Likewise.
23268         * iconvdata/run-iconv-test.sh: Likewise.
23269         * intl/tst-gettext.sh: Likewise.
23270         * intl/tst-gettext2.sh: Likewise.
23271         * intl/tst-gettext4.sh: Likewise.
23272         * intl/tst-gettext6.sh: Likewise.
23273         * intl/tst-translit.sh: Likewise.
23274         * io/ftwtest-sh: Likewise.
23275         * libio/test-freopen.sh: Likewise.
23276         * malloc/tst-mtrace.sh: Likewise.
23277         * posix/globtest.sh: Likewise.
23278         * posix/tst-getconf.sh: Likewise.
23279         * posix/wordexp-tst.sh: Likewise.
23280         * stdio-common/tst-printf.sh: Likewise.
23281         * stdio-common/tst-unbputc.sh: Likewise.
23282         * stdlib/tst-fmtmsg.sh: Likewise.
23283         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23284         * catgets/Makefile: Do not specify -e option when running
23285         testsuite shell scripts.
23286         * elf/Makefile: Likewise.
23287         * grp/Makefile: Likewise.
23288         * iconvdata/Makefile: Likewise.
23289         * intl/Makefile: Likewise.
23290         * io/Makefile: Likewise.
23291         * libio/Makefile: Likewise.
23292         * malloc/Makefile: Likewise.
23293         * posix/Makefile: Likewise.
23294         * stdio-common/Makefile: Likewise.
23295         * stdlib/Makefile: Likewise.
23296         * sysdeps/x86_64/Makefile: Likewise.
23297
23298         * io/ftwtest-sh: Add copyright header.
23299         * posix/globtest.sh: Likewise.
23300         * posix/tst-getconf.sh: Likewise.
23301         * posix/wordexp-tst.sh: Likewise.
23302         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23303
23304 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23305
23306         [BZ #13679]
23307         * Makeconfig (+link): Defined as $(+link-static) if
23308         $(build-shared) isn't yes.
23309         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23310         isn't yes.
23311         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23312
23313         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23314
23315         [BZ #14562]
23316         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23317         new chunk size with MALLOC_ALIGN_MASK.
23318
23319 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23320
23321         [BZ #5044]
23322         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23323         <rounding-mode.h>.
23324         (__printf_fphex): Determine rounding using get_rounding_mode and
23325         round_away.
23326         * stdio-common/tst-printf-round.c (struct hex_test): New
23327         structure.
23328         (hex_tests): New variable.
23329         (test_hex_in_one_mode): New function.
23330         (do_test): Also run tests for hex float output.
23331
23332 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23333
23334         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23336         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23337         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23338         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23339         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23340         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23342
23343 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23344
23345         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23346         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23347         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23348         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23349
23350 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23351
23352         [BZ #14579]
23353         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23354         mode only.
23355         * elf/tst-rtld-load-self.sh: New test.
23356         * elf/Makefile: Run it.
23357
23358 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23359
23360         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23361         (tst-writev-ENV): Remove.
23362         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23363
23364 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23365
23366         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23367
23368 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23369
23370         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23371         unconditional.
23372         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23373         Likewise.
23374         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23375         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23377         Likewise.
23378
23379 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23380
23381         [BZ #14587]
23382         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23383         * config.make.in (have-cpp-asm-debuginfo): Removed.
23384         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23385         * configure: Regenerated.
23386
23387 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23388
23389         [BZ #5044]
23390         * stdio-common/printf_fp.c: Include <stdbool.h> and
23391         <rounding-mode.h>.
23392         (___printf_fp): Determine rounding using get_rounding_mode and
23393         round_away.
23394         * stdio-common/tst-printf-round.c: New file.
23395         * stdio-common/Makefile (tests): Add tst-printf-round.
23396         (link-libm): New variable.
23397         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23398
23399 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23400
23401         [BZ #14576]
23402         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23403         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23404         Likewise.
23405         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23406         Likewise.
23407
23408 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23409
23410         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23411         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23412         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23413         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23414
23415 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23416
23417         [BZ #14518]
23418         * include/rounding-mode.h: New file.
23419         * sysdeps/generic/get-rounding-mode.h: Likewise.
23420         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23421         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23422         (MAX_VALUE): New macro.
23423         (MIN_VALUE): Likewise.
23424         (overflow_value): New function.
23425         (underflow_value): Likewise.
23426         (round_and_return): Use overflow_value and underflow_value to
23427         determine return values in overflow and underflow cases.  Use
23428         round_away to determine rounding depending on rounding mode.
23429         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23430         determine return values in overflow and underflow cases.
23431         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23432         (struct test_results): New structure.
23433         (struct test): Use struct test_results to store expected results
23434         for all rounding modes.
23435         (TEST): Include expected results for all rounding modes.
23436         (test_in_one_mode): New function.
23437         (do_test): Use test_in_one_mode to compute and check results.
23438         Check results for all rounding modes.
23439         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23440         $(link-libm).
23441
23442 2012-12-09  Allan McRae  <allan@archlinux.org>
23443
23444         * sysdeps/i386/fpu/libm-test-ulps: Update
23445
23446 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23447
23448         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23449         (_G_int32_t): Likewise.
23450         (_G_uint16_t): Likewise.
23451         (_G_uint32_t): Likewise.
23452         (_G_HAVE_BOOL): Likewise.
23453         (_G_HAVE_ATEXIT): Likewise.
23454         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23455         (_G_HAVE_IO_FILE_OPEN): Likewise.
23456         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23457         (_G_int32_t): Likewise.
23458         (_G_uint16_t): Likewise.
23459         (_G_uint32_t): Likewise.
23460         (_G_HAVE_BOOL): Likewise.
23461         (_G_HAVE_ATEXIT): Likewise.
23462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23463         (_G_HAVE_IO_FILE_OPEN): Likewise.
23464         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23465         (_G_int32_t): Likewise.
23466         (_G_uint16_t): Likewise.
23467         (_G_uint32_t): Likewise.
23468         (_G_HAVE_BOOL): Likewise.
23469         (_G_HAVE_ATEXIT): Likewise.
23470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23471         (_G_HAVE_IO_FILE_OPEN): Likewise.
23472
23473 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23474
23475         * csu/libc-tls.c: Update copyright years.
23476
23477 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23478
23479         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23480         [!_G_USING_THUNKS]: Remove conditional code.
23481         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23482         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23483
23484         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23485         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23486         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23487         (_G_VTABLE_LABEL_PREFIX): Likewise.
23488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23489         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23490         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23491         (_G_VTABLE_LABEL_PREFIX): Likewise.
23492         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23493         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23494         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23495         (_G_VTABLE_LABEL_PREFIX): Likewise.
23496         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23497
23498 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23499
23500         * libio/Makefile: Include ../Makeconfig before tests.
23501         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23502         only if $(build-shared) is yes.
23503
23504         * iconv/gconv_db.c: Update copyright years.
23505
23506 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23507
23508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23509         unwind info if defined PIC. Fix special cases description.
23510         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23511
23512         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23513         DP_HI_MASK entry.
23514         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23515
23516 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23517
23518         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23519
23520         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23521         is NULL.
23522
23523         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23524         (LDLIBS-tst-chk4): This.
23525         (LDFLAGS-tst-chk5): Renamed to ...
23526         (LDLIBS-tst-chk5): This.
23527         (LDFLAGS-tst-chk6): Renamed to ...
23528         (LDLIBS-tst-chk6): This.
23529         (LDFLAGS-tst-lfschk4): Renamed to ...
23530         (LDLIBS-tst-lfschk4): This.
23531         (LDFLAGS-tst-lfschk5): Renamed to ...
23532         (LDLIBS-tst-lfschk5): This.
23533         (LDFLAGS-tst-lfschk6): Renamed to ...
23534         (LDLIBS-tst-lfschk6): This.
23535
23536         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23537         on $(common-objpfx)soversions.mk.
23538
23539 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23540
23541         [BZ #10014]
23542         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23543         example host name.
23544
23545 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546
23547         * malloc/arena.c (arena_get_retry): New function that gets
23548         another arena for the caller to try its request on.
23549         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23550         current arena cannot fulfill the request.
23551         (__libc_memalign): Likewise.
23552         (__libc_memalign): Likewise.
23553         (__libc_pvalloc): Likewise.
23554         (__libc_calloc): Likewise.
23555
23556 2012-09-05  John Tobey  <john.tobey@gmail.com>
23557
23558         [BZ #13542]
23559         * manual/arith.texi (Operations on Complex): Fix description
23560         of carg branch cut.
23561
23562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23563
23564         [BZ #10014]
23565         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23566         host name.
23567
23568         [BZ #10038]
23569         * manual/memory.texi (Memory): Make order of menu items match
23570         order of sections.
23571
23572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23573
23574         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23575         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23576         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23577
23578 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23579
23580         * csu/libc-tls.c (static_dtv): Renamed to ...
23581         (_dl_static_dtv): This.  Make it global.
23582         (_dl_initial_dtv): Removed.
23583         (__libc_setup_tls): Updated.
23584         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23585         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23586         DL_INITIAL_DTV.
23587
23588 2012-09-06  Petr Machata  <pmachata@redhat.com>
23589
23590         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23591         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23592         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23593         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23594
23595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23596
23597         [BZ #14545]
23598         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23599         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23600         freeing dtv[-1].
23601
23602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23603
23604         [BZ #14544]
23605         * Makeconfig (link-static-before-libc): Replace $(+prector)
23606         with $(+prectorT).
23607         (link-static-after-libc): Replace $(+postctor) with
23608         $(+postctorT).
23609         (link-bounded): Replace $(+prector)/$(+postctor) with
23610         $(+prectorT)/$(+postctorT).
23611         (+prectorT): New macro.
23612         (+postctorT): Likewise.
23613
23614 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23615
23616         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23617         (round_str): Handle values above the maximum for IBM long double
23618         as inexact.
23619         * stdlib/tst-strtod-round.c (tests): Regenerated.
23620
23621 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23622
23623         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23624         assembler flag.
23625         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23626         zarch_nohighgprs around the zarch optimized routines.
23627         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23628         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23629         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23630         for zarch.
23631
23632 2012-09-05  David S. Miller  <davem@davemloft.net>
23633
23634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23635
23636         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23637         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23638         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23639         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23640         entries.
23641
23642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23643
23644         * malloc/arena.c: Fold copyright years.
23645         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23646
23647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23648
23649         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23650
23651 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23652
23653         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23654
23655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23656
23657         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23658         change internal state upon failure.
23659
23660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23661
23662         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23663         * malloc/memusage.c (mmap): Likewise.
23664         (mmap64, mremap): Likewise.  Adjust name in comment.
23665
23666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23667
23668         * libio/fileops.c: Fix typos in comments.
23669         * libio/oldfileops.c: Likewise.
23670         * libio/wfileops.c: Likewise.
23671
23672 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23673
23674         [BZ #1349]
23675         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23676         (tst-malloc-usable-ENV): Set environment for test case.
23677         * malloc/hooks.c (malloc_check_get_size): New function to get
23678         requested size.
23679         * malloc/malloc.c (musable): Use malloc_check_get_size.
23680         * malloc/tst-malloc-usable.c: New test case.
23681
23682 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23683
23684         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23685
23686 2012-09-05  Allan McRae  <allan@archlinux.org>
23687
23688         [BZ #13966]
23689         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23690         determine header location.
23691         * configure: Regenerated.
23692
23693 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23694
23695         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23696         float format.
23697         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23698         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23699         format.
23700         (test): Regenerate.
23701
23702 2012-09-04  David S. Miller  <davem@davemloft.net>
23703
23704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23707
23708 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23709
23710         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23711         failures.
23712
23713         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23714
23715 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23716
23717         [BZ #9914]
23718         * libio/iogetdelim.c: Include <limits.h>.
23719         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23720         + len + 1 would overflow.
23721
23722 2012-09-03  Andreas Jaeger  <aj@suse.de>
23723
23724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23725         * sysdeps/i386/fpu/libm-test-ulps: Update.
23726
23727 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23728
23729         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23730         Add s_sinf-sse2, s_conf-sse2.
23731
23732         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23733         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23734         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23735         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23736
23737         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23738         for using routine as __sinf_ia32.
23739         Use macro for function declaration and weak_alias.
23740         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23741         for using routine as __cosf_ia32.
23742         Use macro for function declaration and weak_alias.
23743
23744         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23745         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23746
23747         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23748         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23750
23751         * math/libm-test.inc (cos_test): Add more test cases.
23752         (sin_test): Likewise.
23753         (sincos_test): Likewise.
23754
23755 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23756
23757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23758         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23759         hidden.
23760         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23761
23762 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23763
23764         [BZ #14538]
23765         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23766         first element of the GOT.
23767         (elf_machine_load_address): Return the difference between
23768         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23769
23770 2012-09-01  Allan McRae  <allan@archlinux.org>
23771
23772         [BZ #13412]
23773         * configure.in (AWK): Require gawk version 3.0 or later.
23774         * configure: Regenerated.
23775
23776 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23777
23778         * sysdeps/unix/sysv/linux/kernel-features.h
23779         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23781         [__NR_clock_getres]: Make code unconditional.
23782         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23783         (clock_getcpuclockid): Remove code left unreachable by removal of
23784         conditionals.
23785         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23786         code unconditional.
23787         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23788         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23789         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23790         Make code unconditional.
23791         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23793         * sysdeps/unix/sysv/linux/clock_settime.c
23794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23795         conditional code.
23796         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23797         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23798
23799 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23800
23801         [BZ #14476]
23802         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23803         scripts/test-installation.pl.
23804
23805         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23806         and $ld_so_version if it is set.
23807
23808 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23809
23810         [BZ #14516]
23811         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23812         failure if reading from procfs failed.
23813         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23814
23815 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23816
23817         * sysdeps/unix/sysv/linux/kernel-features.h
23818         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23819         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23820         Remove conditional code.
23821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23822         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23823         Remove conditional code.
23824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23825         * sysdeps/unix/sysv/linux/i386/fxstat.c
23826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23828         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23831         * sysdeps/unix/sysv/linux/i386/lxstat.c
23832         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23834         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23835         Remove conditional code.
23836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23837         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23838         Remove conditional code.
23839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23840         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23841         <kernel-features.h>.
23842         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23843         Remove.
23844         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23845         Remove conditional code.
23846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23847         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23848         Remove conditional.
23849
23850 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23851
23852         [BZ #5400]
23853         * NEWS: Add fixed bug number.
23854
23855 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23856
23857         [BZ #14519]
23858         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23859         underflowing exponent in case of negative sign.
23860         * stdlib/tst-strtod-round-data: Add more tests.
23861         * stdlib/tst-strtod-round.c (tests): Regenerated.
23862
23863         [BZ #3479]
23864         * stdlib/strtod_l.c (NDIG): Remove.
23865         (HEXNDIG): Likewise.
23866         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23867         smallest representable value.
23868         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23869         lie within an exact representation of 1/2 ulp of the result.
23870         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23871         unconditionally.
23872         (TENS_P9_IDX): Define unconditionally.
23873         (TENS_P9_SIZE): Likewise.
23874         (TENS_P10_IDX): Likewise.
23875         (TENS_P10_SIZE): Likewise.
23876         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23877         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23879         entries for 10^2^13 and 10^2^14.
23880         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23881         (TENS_P13_IDX): Define.
23882         (TENS_P13_SIZE): Likewise.
23883         (TENS_P14_IDX): Likewise.
23884         (TENS_P14_SIZE): Likewise.
23885         (_fpioconst_pow10): Change array size to
23886         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23887         unconditional.
23888         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23889         1024]: Add entries for 10^2^13 and 10^2^14.
23890         [LAST_POW10 > _LAST_POW10]: Remove #error.
23891         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23892         (_fpioconst_pow10): Change array size to
23893         FPIOCONST_POW10_ARRAY_SIZE.
23894         * stdlib/gen-fpioconst.c: New file.
23895         * stdlib/gen-tst-strtod-round.c: Likewise.
23896         * stdlib/tst-strtod-round-data: Likewise.
23897         * stdlib/tst-strtod-round.c: Likewise.
23898         * stdlib/Makefile (tests): Add tst-strtod-round.
23899
23900         [BZ #14459]
23901         * stdlib/strtod_l.c: Include <stdint.h>.
23902         (NDEBUG): Do not define.
23903         (round_and_return): Change EXPONENT parameter to type intmax_t.
23904         Rearrange calculations to avoid internal overflow possibilities.
23905         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23906         Rearrange calculations to avoid internal overflow possibilities.
23907         Assert that number fits inside MPNSIZE limbs.
23908         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23909         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23910         calculations and add assertions to avoid internal overflow
23911         possibilities.  Add casts to avoid signed/unsigned operations.
23912         * stdlib/tst-strtod-overflow.c: New file.
23913         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23914
23915 2012-08-25  Marek Polacek  <polacek@redhat.com>
23916
23917         * time/time.h: Fix some typos in comments.
23918
23919 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23920
23921         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23922         * posix/tst-rfc3484-2.c: Likewise.
23923         * posix/tst-rfc3484-3.c: Likewise.
23924
23925 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23926
23927         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23928         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23929
23930 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23931
23932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23933         #include of fxstatat64.c.
23934
23935 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23936
23937         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23938         * shadow/getspent_r.c: Likewise.
23939         * shadow/getspnam.c: Likewise.
23940         * shadow/getspnam_r.c: Likewise.
23941         * gshadow/getsgent.c: Likewise.
23942         * gshadow/getsgent_r.c: Likewise.
23943         * gshadow/getsgnam.c: Likewise.
23944         * gshadow/getsgnam_r.c: Likewise.
23945         * inet/getnetbyad.c: Likewise.
23946         * inet/getnetbyad_r.c: Likewise.
23947         * inet/getnetbynm.c: Likewise.
23948         * inet/getnetbynm_r.c: Likewise.
23949         * inet/getnetent.c: Likewise.
23950         * inet/getnetent_r.c: Likewise.
23951         * inet/getproto.c: Likewise.
23952         * inet/getproto_r.c: Likewise.
23953         * inet/getprtent.c: Likewise.
23954         * inet/getprtent_r.c: Likewise.
23955         * inet/getprtname.c: Likewise.
23956         * inet/getprtname_r.c: Likewise.
23957         * inet/getrpcbyname.c: Likewise.
23958         * inet/getrpcbyname_r.c: Likewise.
23959         * inet/getrpcbynumber.c: Likewise.
23960         * inet/getrpcbynumber_r.c: Likewise.
23961         * inet/getrpcent.c: Likewise.
23962         * inet/getrpcent_r.c: Likewise.
23963         * inet/getaliasent.c: Likewise.
23964         * inet/getaliasent_r.c: Likewise.
23965         * inet/getaliasname.c: Likewise.
23966         * inet/getaliasname_r.c: Likewise.
23967         * nscd/getgrgid_r.c: Likewise.
23968         * nscd/getgrnam_r.c: Likewise.
23969         * nscd/gethstbyad_r.c: Likewise.
23970         * nscd/gethstbynm3_r.c: Likewise.
23971         * nscd/getpwnam_r.c: Likewise.
23972         * nscd/getpwuid_r.c: Likewise.
23973         * nscd/getsrvbynm_r.c: Likewise.
23974         * nscd/getsrvbypt_r.c: Likewise.
23975         * nscd/gai.c: Likewise.
23976
23977         * configure.in (build_nscd): New substituted variable, set
23978         by --disable-build-nscd and defaults to $use_nscd.
23979         * configure: Regenerated.
23980         * config.make.in (build-nscd): New substituted variable.
23981         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23982         Change conditional to require [$(build-nscd) = yes] as well.
23983         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23984
23985         [BZ# 13696]
23986         * configure.in (use_nscd): New substituted variable, set by
23987         --disable-nscd.  If enabled, define USE_NSCD.
23988         * configure: Regenerated.
23989         * config.h.in: Add USE_NSCD.
23990         * config.make.in (use-nscd): New substituted variable.
23991         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23992         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23993         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23994         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23995         (CFLAGS-getgrnam_r.c): Likewise.
23996         (CFLAGS-initgroups.c): Likewise.
23997         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23998         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23999         Variables removed.
24000         * inet/getnetgrent_r.c
24001         (nscd_setnetgrent): New function, broken out of ...
24002         (setnetgrent): ... here.  Call it.
24003         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24004         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24005         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24006         * nscd/Makefile (routines, aux): Move definitions after include of
24007         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24008         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24009         Conditionalize on [USE_NSCD].
24010         (is_nscd, nscd_init_cb): Likewise.
24011         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24012         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24013         * nss/nss_db/db-init.c: Likewise.
24014         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24015         [USE_NSCD].
24016         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24017         (make_request): Use it.
24018         (cache_valid_p): New function.
24019         (__check_pf): Use it.
24020         * NEWS: Add item for --disable-nscd.
24021
24022 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24023
24024         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24025         to support sed >= 4.2.1-20-ga9bf076.
24026         * configure: Regenerated.
24027
24028 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24029
24030         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24031         Conditionalize whole body on [IREL].
24032
24033 2012-08-22  Jeff Law <law@redhat.com>
24034
24035         [BZ #14505]
24036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24037         if the family is PF_UNSPEC.
24038
24039 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24040
24041         * Makerules (lib-version): Rename from V.
24042         (install-lib-nosubdir): Change V to lib-version.
24043
24044 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24045
24046         [BZ #14252]
24047         * powerpc32/power6/wcschr.c: New file.
24048         * powerpc32/power6/wcscpy.c: New file.
24049         * powerpc32/power6/wcsrchr.c: New file.
24050         * powerpc64/power6/wcschr.c: New file.
24051         * powerpc64/power6/wcscpy.c: New file.
24052         * powerpc64/power6/wcsrchr.c: New file.
24053
24054 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24055
24056         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24057         (two_way_short_needle): Use it.
24058         * string/strstr.c (AVAILABLE1_USES_J): Define.
24059         * string/strcasestr.c: Likewise.
24060
24061         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24062         array references.
24063         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24064
24065         [BZ #11607]
24066         * NEWS: Add an entry.
24067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24068         define their defaults.
24069         (two_way_short_needle): Detect end-of-string on-the-fly.
24070         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24071         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24072         * string/bug-strcasestr1.c: New test.
24073         * string/Makefile: Run it.
24074
24075 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24076
24077         [BZ #11607]
24078         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24079         the first character.
24080
24081 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24082
24083         * csu/elf-init.c (__libc_csu_irel): Function removed.
24084         * csu/libc-start.c (apply_irel): New function.
24085         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24086
24087 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24088
24089         * sysdeps/unix/sysv/linux/kernel-features.h
24090         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24091         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24092         <kernel-features.h>.
24093         [__NR_fadvise64_64]: Make code unconditional.
24094         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24095         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24096         !__NR_fadvise64_64)]: Likewise.
24097         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24098         !__NR_fadvise64_64))]: Likewise.
24099         [__NR_fadvise64]: Make code unconditional.
24100         [!__NR_fadvise64]: Remove conditional code.
24101         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24102         <kernel-features.h>.
24103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24104         unconditional.
24105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24106         conditional code.
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24108         not include <kernel-features.h>.
24109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24110         unconditional.
24111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24112         conditional code.
24113         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24114         include <kernel-features.h>.
24115         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24116         unconditional.
24117         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24118         conditional code.
24119
24120 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24121
24122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24123         slight instruction rearrangements per scrollpipe analysis.
24124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24125
24126 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24127
24128         * manual/syslog.texi (syslog; vsyslog, closelog):
24129         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24130         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24131
24132         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24133         DSOCAPS to match condition on defining it.
24134
24135 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24136
24137         * sysdeps/unix/sysv/linux/kernel-features.h
24138         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24146         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24147         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24148
24149         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24150         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24151
24152         * sysdeps/unix/sysv/linux/kernel-features.h
24153         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24154         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24155         unconditional.
24156         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24157         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24160         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24161         Make code unconditional.
24162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24163         (__mmap64) [!__NR_mmap2]: Likewise.
24164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24165         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24166         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24168         [__NR_mmap2]: Make code unconditional.
24169         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24170         (__mmap64) [!__NR_mmap2]: Likewise.
24171
24172 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24173
24174         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24175
24176 2012-08-18  Andreas Jaeger  <aj@suse.de>
24177
24178         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24179
24180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24181
24182         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24183         * include/unistd.h (__have_sock_cloexec): Likewise.
24184         (__have_pipe2): Likewise.
24185         (__have_dup3): Likewise.
24186
24187 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24188
24189         [BZ #9685]
24190         * include/unistd.h (__have_pipe2): Change define into an extern int.
24191         (__have_dup3): Likewise.
24192         * socket/have_sock_cloexec.c: Include fcntl.h.
24193         (__have_pipe2): New variable.
24194         (__have_dup3): Likewise.
24195
24196 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24197
24198         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24199
24200 2012-08-17  Marek Polacek  <polacek@redhat.com>
24201
24202         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24203         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24204
24205 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24206
24207         * configure.in: Add AC_SUBST for sysheaders.
24208         * configure: Regenerated.
24209         * config.make.in (sysheaders): New substituted variable.
24210
24211         * sysdeps/unix/mkfifo.c: Moved ...
24212         * sysdeps/posix/mkfifo.c: ... here.
24213         * sysdeps/unix/mkfifoat.c: Moved ...
24214         * sysdeps/posix/mkfifoat.c: ... here.
24215
24216         * sysdeps/unix/utime.c: Moved ...
24217         * sysdeps/posix/utime.c: ... here.
24218
24219         * sysdeps/unix/time.c: Moved ...
24220         * sysdeps/posix/time.c: ... here.
24221         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24222         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24223
24224         * sysdeps/unix/nice.c: Moved ...
24225         * sysdeps/posix/nice.c: ... here.
24226
24227         * sysdeps/unix/alarm.c: Moved ...
24228         * sysdeps/posix/alarm.c: ... here.
24229
24230         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24231
24232 2012-08-17  Jeff Law <law@redhat.com>
24233
24234         * intl/Makefile (codeset_mo): New variable.
24235         ($(codeset_mo)): New target.
24236         (tst-codeset.out): Depend on that.  Remove explicit rule.
24237         (tst-gettext3.out, tst-gettext5.out): Likewise.
24238         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24239         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24240         * intl/tst-codeset.sh: Remove.
24241         * intl/tst-gettext3.sh: Likewise.
24242         * intl/tst-gettext5.sh: Likewise.
24243
24244 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24245
24246         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24247         * sysdeps/unix/syscalls.list: ... here.
24248
24249         * sysdeps/posix/getaddrinfo.c
24250         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24251         (gaiconf_init, gaiconf_reload): Use them.
24252         [!_STATBUF_ST_NSEC]
24253         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24254         Define using time_t rather than struct timespec.
24255
24256         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24257         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24258         Macros removed.
24259         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24260         [!NO_THREADS].
24261         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24262         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24263         Likewise.
24264
24265         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24266         __libc_cleanup_push argument.
24267
24268         * bits/param.h: New file.
24269         * misc/sys/param.h: New file.
24270         * include/sys/param.h: New file.
24271         * misc/Makefile (headers): Add bits/param.h.
24272         * sysdeps/generic/sys/param.h: File removed.
24273         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24274         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24275         * sysdeps/mach/hurd/bits/param.h: New file.
24276         * sysdeps/mach/hurd/sys/param.h: File removed.
24277
24278         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24279         last change.
24280
24281         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24282         [_IO_MTSAFE_IO].
24283         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24284         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24285         New macros.
24286
24287         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24288         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24289         rather than -D_IO_MTSAFE_IO conditionally.
24290         * stdio-common/Makefile (CPPFLAGS): Likewise.
24291         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24292         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24293         Use $(libio-mtsafe).
24294         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24295         of -D_IO_MTSAFE_IO.
24296         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24297         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24298         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24299         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24300         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24301         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24302         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24303         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24304         (CFLAGS-fread_u_chk.c): Likewise.
24305         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24306         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24307         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24308         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24309         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24310         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24311         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24312         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24313         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24314
24315         * libio/Makefile: Test [$(libc-reentrant) = yes]
24316         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24317
24318         * Makeconfig
24319         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24320         * sysdeps/pthread/configure: File removed.
24321         * sysdeps/pthread/Makeconfig: New file.
24322         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24323         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24324
24325 2012-08-16  Gary Benson  <gbenson@redhat.com>
24326
24327         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24328         unmapping the first object in a namespace.
24329
24330 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24331
24332         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24333         (__internal_setnetgrent): ... this.  Add internal_function to
24334         definition.  Add libc_hidden_def.
24335         (setnetgrent): Update caller.
24336         (internal_endnetgrent): Renamed to ...
24337         (__internal_endnetgrent): ... this.  Add internal_function to
24338         definition.  Add libc_hidden_def.
24339         (endnetgrent): Update caller.
24340         (internal_getnetgrent_r): Renamed to ...
24341         (__internal_getnetgrent_r): ... this.  Add internal_function to
24342         definition.  Add libc_hidden_def.
24343         (__getnetgrent_r): Update caller.
24344         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24345
24346 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24347
24348         * stdlib/longlong.h: Update from GCC.
24349
24350 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24351
24352         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24353         on _QL, which is set by umul_ppmm but never used.
24354         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24355         variables, which are set by GMP macros but never used.
24356         * stdio-common/_itowa.c (_itowa): Likewise.
24357         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24358         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24359
24360 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24361
24362         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24363         struct La_sh_regs is not constant.
24364         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24365         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24366         and struct La_sparc64_regs are not constant.
24367
24368 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24369
24370         * sysdeps/unix/sysv/linux/kernel-features.h
24371         (__ASSUME_POSIX_TIMERS): Remove.
24372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24374         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24375         Make code unconditional.
24376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24377         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24378         Make code unconditional.
24379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24380         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24381         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24383         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24384         Make code unconditional.
24385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24386         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24387         (__libc_missing_posix_timers): Remove.
24388
24389 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24390
24391         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24392         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24393
24394         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24395
24396         * elf/dl-sym.c: Include <stdlib.h>.
24397
24398         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24399         constants, which avoids warnings in 32-bit builds.
24400
24401         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24402         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24403
24404         * misc/lseek.c: File moved to ...
24405         * io/lseek.c: ... here.
24406
24407         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24408
24409         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24410         shifting LEN more than 31 bits at once.
24411
24412 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24413
24414         [BZ #14195]
24415         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24416         segmentation fault for a case of two empty input strings.
24417         * string/test-strncasecmp.c (check1): Renamed to...
24418         (bz12205): ...this.
24419         (bz14195): Add new testcase for two empty input strings and N > 0.
24420         (test_main): Call new testcase, adapt for renamed function.
24421
24422 2012-08-15  Andreas Jaeger  <aj@suse.de>
24423
24424         [BZ #14090]
24425         * crypt/md5test2.c: New test, based on test supplied by Serge
24426         Belyshev <belyshev@depni.sinp.msu.ru>.
24427         * crypt/Makefile (xtests): Add md5test-giant..
24428         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24429
24430 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24431
24432         [BZ #14090]
24433         * crypt/md5.c (md5_process_block): Don't assume the buffer
24434         length is less than 2**32.
24435         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24436         length is less than 2**64.
24437
24438 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24439
24440         * string/str-two-way.h: Include <sys/param.h>.
24441         (MAX): Macro removed.
24442
24443         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24444         Move #define and #undef of memmove to just before and after
24445         including <string.h>.
24446
24447         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24448         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24449         and after including <string.h>.  Move declarations of
24450         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24451         to before #include "string/memmove.c".
24452
24453         * include/dirent.h: Declare __getdirentries.
24454
24455         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24456         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24457
24458 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24459
24460         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24461         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24462         * sysdeps/i386/configure: Regenerated.
24463         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24464         STABS_CURRENT_FILE, and STABS_FUN.
24465         (END): Remove call to STABS_FUN_END.
24466         (STABS_CURRENT_FILE1): Delete.
24467         (STABS_CURRENT_FILE): Likewise.
24468         (STABS_FUN): Likewise.
24469         (STABS_FUN_END): Likewise.
24470         (STABS_FUN2): Likewise.
24471         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24472         * sysdeps/x86_64/configure: Regenerated.
24473
24474 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24475
24476         * elf/dl-open.c: Include <atomic.h>.
24477         * elf/dl-lookup.c: Likewise.
24478
24479 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24480
24481         * sysdeps/unix/sysv/linux/kernel-features.h
24482         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24483         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24484         unconditionally.
24485         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24486         unconditionally.
24487         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24488         condition on __ASSUME_CLONE_THREAD_FLAGS.
24489
24490 2012-08-14  Andreas Jaeger  <aj@suse.de>
24491
24492         * sysdeps/i386/fpu/libm-test-ulps: Update.
24493
24494 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24495
24496         * include/atomic.h (atomic_exchange_and_add): Split into ...
24497         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24498         New atomic macros.
24499
24500 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24501
24502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24503
24504 2012-08-13  Jeff Law <law@redhat.com>
24505
24506         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24507         null byte in the output string.
24508
24509 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24510
24511         * sysdeps/unix/sysv/linux/kernel-features.h
24512         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24513         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24514         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24515         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24516         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24517         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24518         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24519
24520 2012-08-09  Jeff Law <law@redhat.com>
24521
24522         [BZ #13939]
24523         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24524         When avoid_arena is set, don't retry in the that arena.  Pick the
24525         next one, whatever it might be.
24526         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24527         (arena_lock): Pass in new parameter to arena_get2.
24528         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24529         arena_get2.
24530         (__libc_malloc): Unify retrying after main arena failure with
24531         __libc_memalign version.
24532         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24533
24534 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24535
24536         [BZ #14166]
24537         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24538         to __redirect_strstr.
24539         (__strstr_sse42): Use typeof __redirect_strstr.
24540         (__strstr_ia32): Likewise.
24541         (__libc_strstr): New prototype.
24542         (strstr): Renamed to ...
24543         (__libc_strstr): This.
24544         (strstr): New strong alias of __libc_strstr.
24545         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24546         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24547         __redirect_time.
24548         Include <time.h>.
24549         (__libc_time): New prototype.
24550         (time_ifunc): Replace time with __libc_time.
24551         (time): New strong alias and hidden definition of __libc_time.
24552         (__GI_time): Remove strong alias.
24553         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24554         Include <stddef.h>.
24555         (memmove): Redefined to __redirect_memmove.
24556         (__memmove_sse2): Use typeof __redirect_memmove.
24557         (__memmove_ssse3): Likewise.
24558         (__memmove_ssse3_back): Likewise.
24559         (__libc_memmove): New prototype.
24560         (memmove): Renamed to ...
24561         (__libc_memmove): This.
24562         (memmove): New strong alias of __libc_memmove.
24563
24564 2012-08-08  Mark Salter  <msalter@redhat.com>
24565
24566         * elf/elf.h
24567         (R_MN10300_TLS_GD): Define.
24568         (R_MN10300_TLS_LD): Likewise.
24569         (R_MN10300_TLS_LDO): Likewise.
24570         (R_MN10300_TLS_GOTIE): Likewise.
24571         (R_MN10300_TLS_IE): Likewise.
24572         (R_MN10300_TLS_LE): Likewise.
24573         (R_MN10300_TLS_DTPMOD): Likewise.
24574         (R_MN10300_TLS_DTPOFF): Likewise.
24575         (R_MN10300_TLS_TPOFF): Likewise.
24576         (R_MN10300_SYM_DIFF): Likewise.
24577         (R_MN10300_ALIGN): Likewise.
24578         (R_MN10300_NUM): Update.
24579
24580 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24581
24582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24583         Remove.
24584
24585 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24586
24587         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24588
24589         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24590         sysdeps/unix -> sysdeps/posix move.
24591         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24592
24593 2012-08-07      Allan McRae     <allan@archlinux.org>
24594
24595         [BZ #14303]
24596         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24597         (SUNOS_CPP): Likewise.
24598         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24599         not found.
24600         (open_input): Call CPP using execvp.
24601
24602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24603
24604         * sysdeps/unix/sysv/linux/kernel-features.h
24605         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24606         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24607         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24608         (__ASSUME_WAITID_SYSCALL): Likewise.
24609         * sysdeps/unix/sysv/linux/dl-execstack.c
24610         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24611         code unconditional.
24612         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24613         conditional code.
24614         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24615         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24616         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24617         code.
24618         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24619         unconditional.
24620         [__ASSUME_WAITID_SYSCALL]: Likewise.
24621         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24622
24623 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24624
24625         * sysdeps/unix/closedir.c: Renamed to ...
24626         * sysdeps/posix/closedir.c: ... here.
24627         * sysdeps/unix/dirfd.c: Renamed to ...
24628         * sysdeps/posix/dirfd.c: ... here.
24629         * sysdeps/unix/dirstream.h: Renamed to ...
24630         * sysdeps/posix/dirstream.h: ... here.
24631         * sysdeps/unix/fdopendir.c: Renamed to ...
24632         * sysdeps/posix/fdopendir.c: ... here.
24633         * sysdeps/unix/opendir.c: Renamed to ...
24634         * sysdeps/posix/opendir.c: ... here.
24635         * sysdeps/unix/readdir.c: Renamed to ...
24636         * sysdeps/posix/readdir.c: ... here.
24637         * sysdeps/unix/readdir_r.c: Renamed to ...
24638         * sysdeps/posix/readdir_r.c: ... here.
24639         * sysdeps/unix/rewinddir.c: Renamed to ...
24640         * sysdeps/posix/rewinddir.c: ... here.
24641         * sysdeps/unix/seekdir.c: Renamed to ...
24642         * sysdeps/posix/seekdir.c: ... here.
24643         * sysdeps/unix/telldir.c: Renamed to ...
24644         * sysdeps/posix/telldir.c: ... here.
24645         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24646         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24647         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24648         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24649
24650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24651         * bits/fcntl.h: ... here.
24652
24653         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24654         not 0.
24655         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24656         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24657         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24658         (struct flock): Move l_start, l_len to the beginning.
24659         Use __pid_t for l_pid.
24660         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24661         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24662         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24663         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24664         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24665         [__USE_LARGEFILE64] (struct flock64): New type.
24666         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24667
24668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24669         * bits/dirent.h: ... here.
24670
24671         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24672         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24673
24674 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24675
24676         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24677         Change from 2.6.0 to 2.6.16.
24678         * sysdeps/unix/sysv/linux/configure: Regenerated.
24679         * sysdeps/unix/sysv/linux/kernel-features.h
24680         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24681         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24682         version.
24683         (__ASSUME_UTIMES): Likewise.
24684         (__ASSUME_CLONE_STOPPED): Remove.
24685         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24686         architectures, not kernel version.
24687         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24688         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24689         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24690         (__ASSUME_WAITID_SYSCALL): Likewise.
24691         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24692         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24693         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24694         refer to older versions.
24695
24696 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24697
24698         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24699         Define alphasort64 as an alias.
24700         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24701         Define versionsort64 as an alias.
24702         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24703         Define scandir64 as an alias.
24704         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24705         Define scandirat64 as an alias.
24706         * dirent/alphasort64.c (alphasort64):
24707         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24708         * dirent/versionsort64.c: Likewise.
24709         * dirent/scandir64.c: Likewise.
24710         * dirent/scandirat64.c: Likewise.
24711         * sysdeps/wordsize-64/alphasort.c: File removed.
24712         * sysdeps/wordsize-64/alphasort64.c: File removed.
24713         * sysdeps/wordsize-64/scandir.c: File removed.
24714         * sysdeps/wordsize-64/scandir64.c: File removed.
24715         * sysdeps/wordsize-64/scandirat.c: File removed.
24716         * sysdeps/wordsize-64/scandirat64.c: File removed.
24717         * sysdeps/wordsize-64/versionsort.c: File removed.
24718         * sysdeps/wordsize-64/versionsort64.c: File removed.
24719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24720         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24727
24728         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24730         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24732         [defined __arch64__ || defined __sparcv9]
24733         (__INO_T_MATCHES_INO64_T): New macro.
24734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24735         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24736         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24737         * sysdeps/unix/sysv/linux/bits/dirent.h
24738         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24739         (_DIRENT_MATCHES_DIRENT64): New macro.
24740
24741         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24742         Define lockf64 as an alias.
24743         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24744         Define fseeko64 as an alias.
24745         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24746         Define ftello64 as an alias.
24747         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24748         Define _IO_fgetpos64 and fgetpos64 as aliases.
24749         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24750         Define _IO_fsetpos64 and fsetpos64 as aliases.
24751         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24752         Conditionalize body on this.
24753         * libio/fseeko64.c: Likewise.
24754         * libio/ftello64.c: Likewise.
24755         * libio/iofgetpos64.c: Likewise.
24756         * libio/iofsetpos64.c: Likewise.
24757         * sysdeps/wordsize-64/lockf.c: File removed.
24758         * sysdeps/wordsize-64/lockf64.c: File removed.
24759         * sysdeps/wordsize-64/fseeko.c: File removed.
24760         * sysdeps/wordsize-64/fseeko64.c: File removed.
24761         * sysdeps/wordsize-64/ftello.c: File removed.
24762         * sysdeps/wordsize-64/ftello64.c: File removed.
24763         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24764         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24765         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24766         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24768         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24774         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24776         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24777
24778         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24780         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24782         [defined __arch64__ || defined __sparcv9]
24783         (__OFF_T_MATCHES_OFF64_T): New macro.
24784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24785         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24787         (__OFF_T_MATCHES_OFF64_T): New macro.
24788
24789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24790
24791         * stdlib/secure-getenv.c (__secure_getenv): Replace
24792         GLIBC_2_16 with GLIBC_2_17.
24793
24794 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24795
24796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24797         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24798
24799 2012-08-03  David S. Miller  <davem@davemloft.net>
24800
24801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24802
24803 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24804
24805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24806         Remove.
24807         (__ASSUME_CORRECT_SI_PID): Likewise.
24808         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24809         (__ASSUME_TMPFS_NAME): Likewise.
24810         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24811         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24812         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24813         (HAVE_AUX_SECURE): Make definition unconditional.
24814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24815         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24816
24817 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24818
24819         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24820         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24821         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24822         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24823         __eloop_threshold instead of SYMLOOP_MAX.
24824
24825         * sysdeps/generic/eloop-threshold.h: New file.
24826         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24827         of MAXSYMLINKS.
24828         * elf/chroot_canon.c (chroot_canon): Likewise.
24829
24830 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24831
24832         [BZ #13717]
24833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24834         Change to 2.6.0 everywhere.
24835         * sysdeps/unix/sysv/linux/configure: Regenerated.
24836         * sysdeps/unix/sysv/linux/kernel-features.h
24837         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24838         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24839         kernel versions.
24840         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24841         (__ASSUME_FUTEX_REQUEUE): Remove.
24842         (__ASSUME_STATFS64): Define unconditionally.
24843         (__ASSUME_AT_SECURE): Likewise.
24844         (__ASSUME_CORRECT_SI_PID): Likewise.
24845         (__ASSUME_TGKILL): Define without depending on kernel version for
24846         i386.
24847         (__ASSUME_UTIMES): Likewise.
24848         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24849         kernel version.
24850         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24851         (__ASSUME_TMPFS_NAME): Likewise.
24852         * README: Update reference to Linux kernel versions.
24853
24854 2012-08-02  Marek Polacek  <polacek@redhat.com>
24855
24856         [BZ# 14150]
24857         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24858         libc_cv_asm_type_prefix with %.
24859         * configure: Regenerated.
24860         * include/libc-symbols.h: Remove comment about
24861         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24862         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24863         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24864         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24865         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24866         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24868         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24869         * elf/tst-unique2mod1.c: Likewise.
24870         * elf/tst-unique1mod2.c: Likewise.
24871         * elf/tst-unique1mod1.c: Likewise.
24872         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24873         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24874         Replace ASM_TYPE_DIRECTIVE with .type.
24875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24876         * sysdeps/i386/sysdep.h: Likewise.
24877         * sysdeps/x86_64/sysdep.h: Likewise.
24878         * sysdeps/sh/sysdep.h: Likewise.
24879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24880         Do not define ASM_TYPE_DIRECTIVE.
24881         * sysdeps/powerpc/sysdep.h: Likewise.
24882         * sysdeps/powerpc/powerpc32/sysdep.h:
24883         Replace ASM_TYPE_DIRECTIVE with .type.
24884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24886         * sysdeps/i386/fpu/e_powf.S: Likewise.
24887         * sysdeps/i386/fpu/e_expl.S: Likewise.
24888         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24889         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24890         * sysdeps/i386/fpu/e_pow.S: Likewise.
24891         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24892         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24893         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24894         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24895         * sysdeps/i386/fpu/e_log2.S: Likewise.
24896         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24898         * sysdeps/i386/fpu/e_powl.S: Likewise.
24899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24900         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24901         * sysdeps/i386/fpu/e_logl.S: Likewise.
24902         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24903         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24904         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24907         * sysdeps/i386/fpu/e_log.S: Likewise.
24908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24909         * sysdeps/i386/fpu/e_logf.S: Likewise.
24910         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24911         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24912         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24913         * sysdeps/i386/fpu/e_log10.S: Likewise.
24914         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24915         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24916         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24917         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24919         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24920         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24921         * sysdeps/i386/i686/strtok.S: Likewise.
24922         * sysdeps/i386/i386-mcount.S: Likewise.
24923         * sysdeps/i386/strtok.S: Likewise.
24924         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24925         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24926         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24928         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24930         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24931         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24933         * sysdeps/x86_64/_mcount.S: Likewise.
24934         * sysdeps/x86_64/strtok.S: Likewise.
24935         * sysdeps/sh/_mcount.S: Likewise.
24936
24937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24938
24939         * libio/iofopen.c: Include <fcntl.h>.
24940         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24941         (_IO_fopen64, fopen64): Define as aliases.
24942         * libio/iofopen64.c: Include <fcntl.h>.
24943         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24944         Conditionalize body on this.
24945         * sysdeps/wordsize-64/iofopen.c: File removed.
24946         * sysdeps/wordsize-64/iofopen64.c: File removed.
24947
24948 2012-08-01  Marek Polacek  <polacek@redhat.com>
24949
24950         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24951         Use dlfcn directly instead of a variable.
24952         (binfmt-subdir): Do not define.
24953         (dlfcn): Likewise.
24954
24955 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24956
24957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24958         Remove all definitions.
24959         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24960         <kernel-features.h>.
24961         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24962         (miss_F_GETOWN_EX): Remove all definitions.
24963         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24964         macro definition.
24965         [!__ASSUME_FCNTL64]: Remove conditional code.
24966         [__ASSUME_FCNTL64]: Make code unconditional.
24967         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24968         <kernel-features.h>.
24969         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24970         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24971         (lockf64) [__NR_fcntl64]: Make code unconditional.
24972         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24973
24974         * sysdeps/unix/sysv/linux/kernel-features.h
24975         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24976         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24977         Make code unconditional.
24978         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24979         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24981         [__NR_vfork]: Make code unconditional.
24982         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24983         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24985         [__NR_vfork]: Make code unconditional.
24986         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24987         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24988
24989 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24990
24991         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24992         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24993
24994         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24995         Define mkstemp64 as an alias.
24996         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24997         Define mkstemps64 as an alias.
24998         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24999         Define mkostemp64 as an alias.
25000         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25001         Define mkostemps64 as an alias.
25002         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25003         Conditionalize body on this.
25004         * misc/mkostemp64.c: Likewise.
25005         * misc/mkostemps64.c: Likewise.
25006         * misc/mkstemps64.c: Likewise.
25007         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25008         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25009         * sysdeps/wordsize-64/mkostemp.c: File removed.
25010         * sysdeps/wordsize-64/mkstemp.c: File removed.
25011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25013         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25015
25016         [BZ #14138]
25017         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25019         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25020         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25021
25022         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25023         compat_symbol macros from <shlib-compat.h> rather than the underlying
25024         default_symbol_version and symbol_version macros, so that DEFAULT
25025         lines in shlib-versions are respected.
25026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25027
25028 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25029
25030         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25031         Declare with warn_unused_result.
25032         (setgid, setregid, setegid, setresgid): Likewise.
25033         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25034         Likewise.
25035         * WUR-REPORT: Remove set*id functions.
25036
25037 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25038
25039         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25040
25041 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25042
25043         [BZ #10191]
25044         * include/sys/socket.h (__libc_accept, __libc_accept4):
25045         Add attribute_hidden.
25046         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25047
25048         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25049         use of PTR_MANGLE.
25050         * inet/getnetgrent_r.c (setup): Likewise.
25051
25052         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25053
25054 2012-07-31  David S. Miller  <davem@davemloft.net>
25055
25056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25057
25058 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25059
25060         [BZ #13629]
25061         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25062         value between 1.0 and 2.0 and smaller part has absolute value less
25063         than 1.0.
25064         * math/s_clog10.c (__clog10): Likewise.
25065         * math/s_clog10f.c (__clog10f): Likewise.
25066         * math/s_clog10l.c (__clog10l): Likewise.
25067         * math/s_clogf.c (__clogf): Likewise.
25068         * math/s_clogl.c (__clogl): Likewise.
25069         * math/libm-test.inc (clog_test): Add more tests.
25070         (clog10_test): Likewise.
25071         * sysdeps/i386/fpu/libm-test-ulps: Update.
25072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25073
25074 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25075
25076         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25077         Exit with zero in case no suitable GID is found, and write a
25078         message to standard error.
25079
25080 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25081
25082         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25083         rather than to 1.
25084         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25085         (MAXPATHLEN): Removed.
25086         (NOGROUP, NODEV): New macros.
25087         (setbit, clrbit, isset, isclr): New macros.
25088         (howmany, roundup, powerof2): New macros.
25089         (DEV_BSIZE): New macro.
25090
25091         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25092         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25093
25094         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25095         definition on [!__NO_LONG_DOUBLE_MATH].
25096
25097         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25098         PTR_MANGLE and PTR_DEMANGLE.
25099
25100         * socket/accept4.c (accept4): Rename to __libc_accept4.
25101         Define accept4 as a weak alias.
25102
25103         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25104         on [_DIRENT_HAVE_D_TYPE].
25105         * io/ftw.c (ftw_dir): Likewise.
25106
25107         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25108
25109         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25110
25111         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25112         Use the BSD numbers rather than the arbitrary ones we had.
25113         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25114         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25115         (SIGXCPU, SIGXFSZ): New macros.
25116         (_NSIG): Now 32.
25117
25118         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25119         initializer on [_LIBC_REENTRANT].
25120
25121         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25122         definitions inside [_POSIX_MAPPED_FILES].
25123
25124         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25125
25126         * dirent/opendir.c: Include <fcntl.h>.
25127
25128         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25129         (__libc_getspecific): Likewise.
25130         (__libc_key_create): Likewise.
25131
25132         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25133         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25134         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25135         (tmpfile64): Define as alias.
25136         * sysdeps/wordsize-64/tmpfile.c: File removed.
25137         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25139         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25140
25141         * stdio-common/vfscanf.c: Include <stdbool.h>.
25142         * nss/makedb.c: Likewise.
25143         * stdio-common/_i18n_number.h: Likewise.
25144         * argp/argp-help.c: Likewise.
25145         * posix/wordexp.c: Likewise.
25146         * sysdeps/posix/spawni.c: Likewise.
25147         * nss/nss_files/files-initgroups.c: Likewise.
25148         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25149         * nss/nss_files/files-initgroups.c: Likewise.
25150         * nss/nss_db/db-netgrp.c: Likewise.
25151         * nss/nss_db/db-initgroups.c: Likewise.
25152         * io/fchmodat.c: Include <sys/stat.h>.
25153
25154         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25155         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25156
25157         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25158         [HAVE_MMAP].
25159
25160         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25161         Add multiple inclusion protection.
25162
25163 2012-07-27  David S. Miller  <davem@davemloft.net>
25164
25165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25166
25167 2012-07-27  Gary Benson  <gbenson@redhat.com>
25168
25169         [BZ #14298]
25170         * elf/rtld.c: Include <stap-probe.h>.
25171         (dl_main): Added static probes "init_start" and "init_complete".
25172         * elf/dl-load.c: Include <stap-probe.h>.
25173         (lose): Take new parameter "nsid".
25174         Added static probe "map_failed".
25175         (_dl_map_object_from_fd): Pass namespace id to lose.
25176         Added static probe "map_start".
25177         (open_verify): Pass namespace id to lose.
25178         * elf/dl-open.c: Include <stap-probe.h>.
25179         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25180         and "reloc_complete".
25181         * elf/dl-close.c: Include <stap-probe.h>.
25182         (_dl_close_worker): Added static probes "unmap_start" and
25183         "unmap_complete".
25184         * elf/rtld-debugger-interface.txt: New file documenting the above.
25185
25186 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25187
25188         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25189         rather than a string variable.
25190         * sunrpc/rpc_main.c (h_output): Likewise.
25191         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25192
25193 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25194
25195         * inet/check_native.c: New file.
25196
25197 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25198
25199         [BZ #13629]
25200         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25201         if larger part has absolute value 1.0.
25202         * math/s_clog10.c (__clog10): Likewise.
25203         * math/s_clog10f.c (__clog10f): Likewise.
25204         * math/s_clog10l.c (__clog10l): Likewise.
25205         * math/s_clogf.c (__clogf): Likewise.
25206         * math/s_clogl.c (__clogl): Likewise.
25207         * math/libm-test.inc (clog_test): Add more tests.
25208         (clog10_test): Likewise.
25209         * sysdeps/i386/fpu/libm-test-ulps: Update.
25210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25211
25212         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25213         (pltexit): Likewise.
25214         (La_regs): Likewise.
25215         (La_retval): Likewise.
25216         (int_retval): Likewise.
25217         Update #error for removed macros to refer only to definitions in
25218         tst-audit.h.
25219         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25220         macro.
25221         (pltexit): Likewise.
25222         (La_regs): Likewise.
25223         (La_retval): Likewise.
25224         (int_retval): Likewise.
25225         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25226         macro.
25227         (pltexit): Likewise.
25228         (La_regs): Likewise.
25229         (La_retval): Likewise.
25230         (int_retval): Likewise.
25231         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25232         macro.
25233         (pltexit): Likewise.
25234         (La_regs): Likewise.
25235         (La_retval): Likewise.
25236         (int_retval): Likewise.
25237         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25238         macro.
25239         (pltexit): Likewise.
25240         (La_regs): Likewise.
25241         (La_retval): Likewise.
25242         (int_retval): Likewise.
25243         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25244         macro.
25245         (pltexit): Likewise.
25246         (La_regs): Likewise.
25247         (La_retval): Likewise.
25248         (int_retval): Likewise.
25249         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25250         macro.
25251         (pltexit): Likewise.
25252         (La_regs): Likewise.
25253         (La_retval): Likewise.
25254         (int_retval): Likewise.
25255         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25256         macro definitions in tst-audit.h.
25257         * sysdeps/i386/tst-audit.h: New file.
25258         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25259         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25260         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25261         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25262         * sysdeps/sh/tst-audit.h: Likewise.
25263         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25264         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25265         * sysdeps/x86_64/tst-audit.h: Likewise.
25266
25267 2012-07-26  Andreas Jaeger  <aj@suse.de>
25268
25269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25270         ptrace.
25271
25272         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25273         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25274         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25275         PTRACE_O_MASK.
25276         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25277         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25278         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25279
25280         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25281         value.
25282
25283         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25284         _sigsys.
25285         (si_call_addr, si_syscall, si_arch): Define new macro.
25286         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25287         _sigsys.
25288         (si_call_addr, si_syscall, si_arch): Define new marcro.
25289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25290         _sigsys.
25291         (si_call_addr, si_syscall, si_arch): Define new macro.
25292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25293         _sigsys.
25294         (si_call_addr, si_syscall, si_arch): Define new macro.
25295
25296 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25297
25298         [BZ #13717]
25299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25300         Change to 2.4.21 where previously 2.4.1.
25301         * sysdeps/unix/sysv/linux/configure: Regenerated.
25302         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25303         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25304         Linux kernel version.
25305         (__ASSUME_STD_AUXV): Remove.
25306         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25307         kernel version.
25308         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25309         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25310         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25311         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25312         (__ASSUME_NETLINK_SUPPORT): Likewise.
25313         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25314         (__no_netlink_support): Remove conditional definition.
25315         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25316         Remove.
25317         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25318         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25319         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25320         (if_nameindex_ioctl): Remove.
25321         (if_nameindex_netlink): Do not handle __no_netlink_support.
25322         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25323         code.
25324         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25325         Remove conditional code.
25326         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25327         code.
25328         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25329         unconditional.
25330         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25331         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25332         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25333         Remove.
25334         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25335         [!__ASSUME_STD_AUXV]: Remove conditional code.
25336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25337         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25338         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25341         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25342         code.
25343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25345         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25347         conditional code.
25348         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25350         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25351         code.
25352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25353         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25354         conditional code.
25355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25356         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25357         code unconditional.
25358         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25359         conditional code.
25360         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25361         unconditional.
25362         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25363         conditional code.
25364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25365         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25366         unconditional.
25367         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25368         conditional code.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25370         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25371         code unconditional.
25372         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25373         conditional code.
25374         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25375         unconditional.
25376         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25377         conditional code.
25378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25379         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25380         code unconditional.
25381         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25382         conditional code.
25383         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25384         unconditional.
25385         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25386         conditional code.
25387
25388 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25389
25390         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25392         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25393         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25394         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25395         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25396         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25397         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25398         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25399         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25400         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25401         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25402         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25403         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25404         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25406         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25407         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25408         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25410         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25411         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25413
25414 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25415
25416         * Versions.def: Add GLIBC_2.17.
25417         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25418         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25419         Introduce __libc_secure_getenv.
25420         * stdlib/Versions (2.17): Add secure_getenv
25421         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25422         * stdlib/secure-getenv.c: Rename __secure_getenv to
25423         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25424         symbol __secure_getenv for GLIBC_2.0.
25425         * stdlib/tst-secure-getenv.c: New.
25426         * stdlib/Makefile (tests): Add testcase.
25427         * manual/startup.texi (Environment Access): Document
25428         secure_getenv.
25429         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25430         __libc_secure_getenv.
25431         * inet/ruserpass.c (ruserpass): Likewise.
25432         * malloc/mtrace.c (mtrace): Likewise.
25433         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25434         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25435         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25436         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25437         HAVE_SECURE_GETENV.
25438         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25439         __secure_getenv to __libc_secure_getenv.
25440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25442         Likewise.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25444         Likewise.
25445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25452
25453 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25454
25455         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25456         (struct La_i86_retval): Likewise.
25457         (struct La_x86_64_regs): Likewise.
25458         (struct La_x86_64_retval): Likewise.
25459         (struct La_x32_regs): Likewise.
25460         (struct La_x32_retval): Likewise.
25461         (struct La_ppc32_regs): Likewise.
25462         (struct La_ppc32_retval): Likewise.
25463         (struct La_ppc64_regs): Likewise.
25464         (struct La_ppc64_retval): Likewise.
25465         (struct La_sh_regs): Likewise.
25466         (struct La_sh_retval): Likewise.
25467         (struct La_s390_32_regs): Likewise.
25468         (struct La_s390_32_retval): Likewise.
25469         (struct La_s390_64_regs): Likewise.
25470         (struct La_s390_64_retval): Likewise.
25471         (struct La_sparc32_regs): Likewise.
25472         (struct La_sparc32_retval): Likewise.
25473         (struct La_sparc64_regs): Likewise.
25474         (struct La_sparc64_retval): Likewise.
25475         (struct audit_ifaces): Remove architecture-specific pltenter and
25476         pltexit members.
25477         * sysdeps/i386/ldsodefs.h: New file.
25478         * sysdeps/powerpc/ldsodefs.h: Likewise.
25479         * sysdeps/s390/ldsodefs.h: Likewise.
25480         * sysdeps/sh/ldsodefs.h: Likewise.
25481         * sysdeps/sparc/ldsodefs.h: Likewise.
25482         * sysdeps/x86_64/ldsodefs.h: Likewise.
25483
25484 2012-07-25  Marek Polacek  <polacek@redhat.com>
25485
25486         [BZ #6808]
25487         * math/libm-test.inc (yn_test): Add another test.
25488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25489         to ERANGE when the result is +-Inf.
25490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25494
25495 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25496
25497         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25498         equal to 0.
25499         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25500         clock_t.
25501         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25502
25503 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25504
25505         * configure.in <sysdeps resolving>: Correct printing
25506         Implies_before.
25507         * configure: Regenerate.
25508
25509 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25510
25511         * math/w_ilogb.c: Include <limits.h>.
25512         * math/w_ilogbl.c: Likewise.
25513
25514 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25515
25516         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25517         va_copy.  Document allowing for unavailable va_copy only as
25518         pre-C99 compatibility.
25519         * manual/string.texi (Copying and Concatenation): Use va_copy
25520         instead of __va_copy in concat example.
25521
25522 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25523
25524         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25525         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25526         it if not null.
25527
25528         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25529         with O_NOLINK passed to __file_name_lookup.
25530
25531         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25532         with O_NOLINK passed to __file_name_lookup.
25533
25534         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25535         negative N or less than NGIDS.
25536
25537         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25538         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25539         enough.  Use memcpy instead of strncpy.
25540
25541 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25542
25543         * elf/Makefile (check-data): Remove.
25544         (localplt.data): New vpath directive.
25545         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25546         instead of $(check-data).
25547         * scripts/data/localplt-generic.data: Move to ...
25548         * sysdeps/generic/localplt.data: ... here.
25549         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25550         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25551         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25553         ... here.
25554         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25556         ... here.
25557         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25559         ... here.
25560         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25562         ... here.
25563         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25565         ... here.
25566         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25568         ... here.
25569
25570 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25571
25572         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25573         PPC32 and PPC64 files.
25574         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25575         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25576
25577 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25578
25579         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25580         __makecontext_ret to ...
25581         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25582         ... here and call exit if uc_link is NULL.  New file.
25583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25584         __makecontext_ret.S.
25585         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25586         __makecontext_ret to ...
25587         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25588         ... here and call exit if uc_link is NULL.  New file.
25589         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25590         __makecontext_ret.S.
25591
25592 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25593
25594         * elf/elf.h (R_390_IRELATIVE): New definition.
25595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25596         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25597         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25599         (elf_machine_lazy_rel): Likewise.
25600         * sysdeps/s390/dl-irel.h: New file.
25601         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25602         * sysdeps/s390/s390-64/memset.S: New asm code.
25603         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25604         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25606         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25607         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25608         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25610         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25611         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25612         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25613         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25614         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25615         * sysdeps/s390/s390-32/memset.S: New asm code.
25616         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25617
25618 2012-07-17  Marek Polacek  <polacek@redhat.com>
25619
25620         [BZ #14349]
25621         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25622         * sysdeps/s390/s390-64/configure.in: Likewise.
25623         * sysdeps/sparc/configure.in: Likewise.
25624         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25625         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25626         * sysdeps/i386/configure.in: Likewise.
25627         * sysdeps/x86_64/configure.in: Likewise.
25628         * sysdeps/sh/configure.in: Likewise.
25629         * sysdeps/s390/s390-32/configure: Regenerated.
25630         * sysdeps/s390/s390-64/configure: Likewise.
25631         * sysdeps/x86_64/configure: Likewise.
25632         * sysdeps/sh/configure: Likewise.
25633         * sysdeps/powerpc/powerpc64/configure: Likewise.
25634         * sysdeps/powerpc/powerpc32/configure: Likewise.
25635         * sysdeps/sparc/configure: Likwise.
25636         * sysdeps/i386/configure: Likewise.
25637
25638         * elf/dl-open.c: Comment fixes.
25639
25640 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25641
25642         * Makefile [CXX] (check-data): Remove.
25643         [CXX] (c++-types.data): New vpath directive.
25644         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25645         vpath.  Do not allow for C++ type data being missing.
25646         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25647         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25648         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25649         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25650         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25651         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25652         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25654         ... here.
25655         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25657         ... here.
25658         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25660         ... here.
25661         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25663         ... here.
25664         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25666         ... here.
25667         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25669         ... here.
25670         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25672         ... here.
25673         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25675
25676         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25677         definitions to architecture-specific files.
25678         (TLS_IE): Likewise.
25679         (TLS_LD): Likewise.
25680         (TLS_GD): Likewise.
25681         * sysdeps/i386/tls-macros.h: New file.
25682         * sysdeps/powerpc/tls-macros.h: Likewise.
25683         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25684         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25685         * sysdeps/sh/tls-macros.h: Likewise.
25686         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25687         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25688         * sysdeps/x86_64/tls-macros.h: Likewise.
25689
25690 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25691
25692         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25693         zero value for regular exit case.
25694
25695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25696         (__start_context): Preserve zero value for regular exit case.
25697
25698 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25699             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25700
25701         * manual/setjmp.texi (setcontext): Clarify normal process
25702         termination when uc_link is the null pointer.
25703         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25704         exit call.
25705
25706 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25707
25708         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25709         preprocessor.  Test for each exception mask separately.
25710
25711 2012-07-16  Andreas Jaeger  <aj@suse.de>
25712
25713         * po/ru.po: Update from translation team.
25714
25715 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25716
25717         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25718         equal to 0.
25719         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25720         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25721         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25722         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25724
25725 2012-07-13  Andreas Jaeger  <aj@suse.de>
25726
25727         * po/fr.po: Update from translation team.
25728
25729 2012-07-12  Marek Polacek  <polacek@redhat.com>
25730
25731         [BZ #14173]
25732         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25734         loop condition.
25735
25736 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25737
25738         [BZ #13717]
25739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25740         Change to 2.4.1 where previously 2.4.0.
25741         * sysdeps/unix/sysv/linux/configure: Regenerated.
25742         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25743         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25744         version.
25745         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25746         (__ASSUME_AT_CLKTCK): Remove.
25747         (__ASSUME_AT_PAGESIZE): Likewise.
25748         (__ASSUME_AT_XID): Likewise.
25749         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25750         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25751         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25752         unconditionally.
25753         (HAVE_AUX_PAGESIZE): Likewise.
25754         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25755         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25756         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25757
25758 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25759
25760         [BZ #14307]
25761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25762         the temporary buffer used to invoke __gethostbyname2_r,
25763         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25764         host_data / struct gaih_addrtuple.
25765         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25766         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25767         header file nss/nsswitch.h.
25768         * nss/nsswitch.h (global scope): Add definition of implementation
25769         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25770         resolv/nss_dns/dns-host.c).
25771
25772 2012-07-11  Andreas Jaeger  <aj@suse.de>
25773
25774         * po/fr.po: Update from translation team.
25775
25776         * po/sv.po: Update from translation team
25777         * po/fr.po: Another update from translation team.
25778
25779 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25780
25781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25782         for subnormals or multiply small sinh result by itself.
25783         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25785
25786 2012-07-11  David S. Miller  <davem@davemloft.net>
25787
25788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25789
25790 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25791
25792         [BZ #14347]
25793         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25794         (INTERNAL_MARK): Shift it here.
25795
25796 2012-07-10  Marek Polacek  <polacek@redhat.com>
25797
25798         [BZ #14151]
25799         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25800         libc_cv_asm_global_directive with .globl.
25801         * configure: Regenerated.
25802         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25803         with .globl.
25804         * sysdeps/i386/configure: Regenerated.
25805         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25806         with .globl.
25807         * sysdeps/x86_64/configure: Regenerated.
25808         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25809         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25810         * elf/tst-unique2mod2.c: Likewise.
25811         * elf/tst-unique2mod1.c: Likewise.
25812         * elf/tst-unique1mod2.c: Likewise.
25813         * elf/tst-unique1mod1.c: Likewise.
25814         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25817         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25818         * sysdeps/mach/sysdep.h: Likewise.
25819         * sysdeps/i386/sysdep.h: Likewise.
25820         * sysdeps/i386/i386-mcount.S: Likewise.
25821         * sysdeps/x86_64/_mcount.S: Likewise.
25822         * sysdeps/x86_64/sysdep.h: Likewise.
25823         * sysdeps/sh/_mcount.S: Likewise.
25824         * sysdeps/sh/sysdep.h: Likewise.
25825         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25826         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25827         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25829         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25830         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25831         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25832         * locale/localeinfo.h: Likewise.
25833         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25834         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25835
25836 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25837
25838         [BZ #14336]
25839         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25840         system".
25841         * manual/message.texi (The Uniforum approach): Likewise.
25842         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25843         (glibc iconv Implementation): Likewise.
25844
25845 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25846
25847         [BZ #14337]
25848         * math/s_clog.c (__clog): Avoid scaling a value down where that
25849         could result in underflow.
25850         * math/s_clog10.c (__clog10): Likewise.
25851         * math/s_clog10f.c (__clog10f): Likewise.
25852         * math/s_clog10l.c (__clog10l): Likewise.
25853         * math/s_clogf.c (__clogf): Likewise.
25854         * math/s_clogl.c (__clogl): Likewise.
25855         * math/libm-test.inc (clog_test): Add more tests.
25856         (clog10_test): Likewise.
25857         * sysdeps/i386/fpu/libm-test-ulps: Update.
25858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25859
25860 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25861
25862         [BZ #14283]
25863         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25864         by 7 not 8 to examine high bit of fractional part.
25865
25866         [BZ #14042]
25867         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25868         for call to __mcount_internal.
25869         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25870         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25871         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25872
25873 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25874
25875         [BZ #14154]
25876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25877         approximation for values within 0x1p-13f of an odd multiple of
25878         pi/4.
25879         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25880         exception.  Add more tests.
25881         * sysdeps/i386/fpu/libm-test-ulps: Update.
25882
25883         [BZ #6778]
25884         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25885         inputs and return -1 for them.  Do not check for +Inf in case not
25886         reachable for +Inf.
25887         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25888         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25890         and return -1 for them.  Do not check for +Inf in case not
25891         reachable for +Inf.
25892         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25893         define.
25894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25895         and return -1 for them.  Do not check for +Inf in case not
25896         reachable for +Inf.
25897         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25898         spurious underflow.
25899         * sysdeps/i386/fpu/libm-test-ulps: Update.
25900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25901
25902 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25903
25904         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25905
25906 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25907
25908         [BZ #14157]
25909         [BZ #14331]
25910         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25911         could result in spurious underflow.  Scale down values above
25912         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25913         * math/s_csqrtf.c (__csqrtf): Likewise.
25914         * math/s_csqrtl.c (__csqrtl): Likewise.
25915         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25916         spurious underflow.
25917         * sysdeps/i386/fpu/libm-test-ulps: Update.
25918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25919
25920 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25921
25922         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25923         xopen-msg.sed.
25924         * catgets/xopen-msg.awk: New file.
25925         * catgets/xopen-msg.sed: Removed.
25926
25927         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25928         po2text.sed.
25929         * intl/po2test.awk: New file.
25930         * intl/po2test.sed: Removed.
25931
25932 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25933
25934         [BZ #14328]
25935         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25936         or multiply small sinh result by itself.
25937         * math/s_ctanf.c (__ctanf): Likewise.
25938         * math/s_ctanh.c (__ctanh): Likewise.
25939         * math/s_ctanhf.c (__ctanhf): Likewise.
25940         * math/s_ctanhl.c (__ctanhl): Likewise.
25941         * math/s_ctanl.c (__ctanl): Likewise.
25942         * math/libm-test.inc (ctan_test_tonearest): New function.
25943         (ctan_test_towardzero): Likewise.
25944         (ctan_test_downward): Likewise.
25945         (ctan_test_upward): Likewise.
25946         (ctanh_test_tonearest): Likewise.
25947         (ctanh_test_towardzero): Likewise.
25948         (ctanh_test_downward): Likewise.
25949         (ctanh_test_upward): Likewise.
25950         (main): Call these new functions.
25951         * sysdeps/i386/fpu/libm-test-ulps: Update.
25952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25953
25954 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25955
25956         * .gitignore: Delete /ports entry.
25957
25958 2012-07-03  Andreas Jaeger  <aj@suse.de>
25959
25960         * po/bg.po: Update from translation team.
25961         * po/cs.po: Likewise.
25962         * po/de.po: Likewise.
25963         * po/hr.po: Likewise.
25964         * po/nl.pl: Likewise.
25965         * po/pl.po: Likewise.
25966         * po/vi.po: Likewise.
25967
25968 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25969
25970         * Makeconfig [!+link] (+link-before-libc): New variable.
25971         [!+link] (+link-after-libc): Likewise.
25972         [!+link] (+link-tests): Likewise.
25973         [!+link] (+link): Define in terms of $(+link-before-libc) and
25974         $(+link-after-libc).
25975         [!+link-static] (+link-static-before-libc): New variable.
25976         [!+link-static] (+link-static-after-libc): Likewise.
25977         [!+link-static] (+link-static-tests): Likewise.
25978         [!+link-static] (+link-static): Define in terms of
25979         $(+link-static-before-libc) and $(+link-static-after-libc).
25980         [build-shared] (link-libc-before-gnulib): New variable.
25981         [build-shared] (link-libc-tests): Likewise.
25982         [build-shared] (link-libc): Define in terms of
25983         $(link-libc-before-gnulib).
25984         [!build-shared] (link-libc-tests): New variable.
25985         (link-libc-static-tests): New variable.
25986         [!gnulib] (gnulib-arch): New variable.
25987         [!gnulib] (gnulib-tests): Likewise.
25988         [!gnulib] (static-gnulib-arch): Likewise.
25989         [!gnulib] (static-gnulib-tests): Likewise.
25990         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25991         Define with "=" instead of ":=".
25992         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25993         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25994         * Rules (binaries-all-notests): New variable.
25995         (binaries-all-tests): Likewise.
25996         (binaries-static-notests): Likewise.
25997         (binaries-static-tests): Likewise.
25998         (binaries-all): Define using $(binaries-all-notests) and
25999         $(binaries-all-tests).
26000         (binaries-static): Define using $(binaries-static-notests) and
26001         $(binaries-static-tests).
26002         (binaries-shared-tests): New variable.
26003         (binaries-shared-notests): Likewise.
26004         (binaries-shared): Remove variable.
26005         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26006         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26007         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26008         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26009         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26010         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26011         * elf/Makefile (sln-modules): New variable.
26012         (extra-objs): Add $(sln-modules:=.o).
26013         (ldconfig-modules): Add static-stubs.
26014         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26015         * elf/static-stubs.c: New file.
26016
26017         [BZ #14283]
26018         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26019         by 7 not 8 to examine high bit of fractional part.  Use volatile
26020         variables when splitting into final array of floats if
26021         __FLT_EVAL_METHOD__ != 0.
26022         * math/libm-test.inc (cos_test): Add another test.
26023         (sin_test): Likewise.
26024         * sysdeps/i386/fpu/libm-test-ulps: Update.
26025
26026         [BZ #14273]
26027         * math/libm-test.inc (cosh_test): Add more tests.
26028
26029         * version.h (RELEASE): Set to "development".
26030         (VERSION): Set to "2.16.90".
26031
26032 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26033
26034         * NEWS: Update copyright. Remove last-updated date.
26035         Mention math library bug fixes and timezone data changes.
26036         * README: Mention GNU/Hurd, x32, and HPPA support status.
26037
26038 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26039
26040         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26041
26042 2012-06-27  Andreas Jaeger  <aj@suse.de>
26043
26044         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26045
26046 2012-06-25  Andreas Jaeger  <aj@suse.de>
26047
26048         * sysdeps/s390/fpu/libm-test-ulps: Update.
26049
26050 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26051             Thomas Schwinge  <thomas@codesourcery.com>
26052
26053         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26054         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26056         fanotify_mark.
26057
26058 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26059
26060         * sysdeps/mach/start.c: Remove file.
26061         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26062         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26063         * sysdeps/sh/init-first.c: Likewise.
26064
26065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26066         registers for frame unwinding purposes, add CFI directives.
26067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26068         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26069         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26070         Likewise.
26071
26072         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26073         __fortify_fail returning.
26074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26075
26076         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26077         sysdeps/sh/____longjmp_chk.S.
26078         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26079         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26080         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26081         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26082
26083         * sysdeps/sh/abort-instr.h: New file.
26084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26085         process in case exit returns.
26086
26087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26088         initialize the GOT register before use.
26089
26090         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26091         calculation of ARGC > 4.
26092
26093         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26094         meaningful names to some local labels.
26095
26096 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26097             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26098
26099         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26100         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26101         (__arch_compare_and_exchange_val_16_acq): Likewise.
26102         (__arch_compare_and_exchange_val_32_acq): Likewise.
26103         (atomic_exchange_and_add): Fix gUSA sequence.
26104         (atomic_add): Likewise.
26105         (atomic_add_negative): Likewise.
26106         (atomic_add_zero): Likewise.
26107         (atomic_bit_test_set): Likewise.
26108
26109 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26110
26111         [BZ #13579]
26112         * include/link.h (struct link_map): Add l_free_initfini.
26113         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26114         l_initfini.
26115         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26116         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26117         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26118         set.
26119
26120 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26121
26122         * configure.in: Use AC_LANG_SOURCE.
26123         * configure: Regenerate.
26124
26125 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26126
26127         * configure.in (libc_cv_localstatedir): New substituted variable.
26128         * configure: Regenerated.
26129         * config.make.in (localstatedir): New variable, substituted from
26130         libc_cv_localstatedir.
26131         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26132         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26133         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26134         * sysdeps/gnu/configure: Regenerated.
26135
26136 2012-06-21  Jeff Law  <law@redhat.com>
26137
26138         [BZ #14277]
26139         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26140         free.  Simplify list management for _LIBC case.
26141
26142 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26143
26144         [BZ #14273]
26145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26146         Clear sign bit of 64-bit integer value before comparing against
26147         overflow value.
26148
26149         * sysdeps/mach/configure: Regenerated.
26150
26151 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26152
26153         [BZ #14278]
26154         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26155
26156 2012-06-21  Jeff Law  <law@redhat.com>
26157
26158         [BZ #13882]
26159         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26160         uint16_t for elements in the "seen" array to avoid char overflows.
26161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26162         * elf/dl-open.c (dl_open_worker): Likewise.
26163
26164 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26165
26166         * scripts/list-sources.sh: Scan PORTS for translations.
26167         * po/libc.pot: Regenerated.
26168
26169 2012-06-21  Andreas Jaeger  <aj@suse.de>
26170
26171         [BZ #12194]
26172         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26173         warning.
26174         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26175         * bits/byteswap-16.h (__bswap_16): Likewise.
26176         * bits/byteswap.h (__bswap_constant_16): Likewise.
26177
26178 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26179
26180         [BZ #14117]
26181         * sysdeps/i386/fpu_control.h: Removed.
26182         * sysdeps/x86_64/fpu_control.h: Moved to ...
26183         * sysdeps/x86/fpu_control.h: Here.
26184
26185         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26186         (_FPU_SETCW): Likewise.
26187
26188 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26189
26190         [BZ #14117]
26191         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26192         * sysdeps/x86/fpu/bits/mathinline.h: This.
26193         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26194
26195         [BZ #14050]
26196         [BZ #14117]
26197         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26198         functions if __x86_64__ is defined.
26199
26200 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26201
26202         * string/endian.h: Add !__ASSEMBLER__ condition for including
26203         conversion interfaces.
26204
26205 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26206
26207         [BZ #14241]
26208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26209         of ABS(x) in calculating zero to negative powers other than odd
26210         integers.
26211         * math/libm-test.inc (pow_test): Add more tests.
26212
26213 2012-06-15  Andreas Jaeger  <aj@suse.de>
26214
26215         * manual/contrib.texi (Contributors): Update entry of Liubov
26216         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26217         Machado Filho.
26218
26219 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26220
26221         * string/string.h: Add __wur to GNU version of strerror_r.
26222
26223 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26224
26225         [BZ #14229]
26226         * string/Makefile (tests): Add tst-strtok_r.
26227         * string/tst-strtok_r.c: New file.
26228         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26229         RAX_LP/RDX_LP on SAVE_PTR.
26230
26231 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26232
26233         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26234
26235 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26236
26237         * libm_test.inc (csqrt_test): Allow more spurious underflow
26238         exceptions.
26239         (j0_test): Likewise.
26240         (j1_test): Likewise.
26241         (y0_test): Likewise.
26242         (y1_test): Likewise.
26243
26244 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26245
26246         * po/Makefile (libc.pot): Use UTF-8 charset.
26247
26248 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26249
26250         [BZ #14210]
26251         Suppress sign-conversion warning from FD_SET.
26252         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26253         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26254         not unsigned long int.
26255         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26256
26257 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26258
26259         [BZ #14050]
26260         [BZ #14117]
26261         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26262         __extern_always_inline instead of __extern_inline.
26263         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26264         (__signbit): Likewise.
26265         (__signbitl): Support C++ namespace.
26266         (lrintf): New inline function.
26267         (lrint): Likewise.
26268         (llrintf): Likewise.
26269         (llrint): Likewise.
26270         (fmaxf): Likewise.
26271         (fmax): Likewise.
26272         (fminf): Likewise.
26273         (fmin): Likewise.
26274         (rint): Likewise.
26275         (rintf): Likewise.
26276         (ceil): Likewise.
26277         (ceilf): Likewise.
26278         (floor): Likewise.
26279         (floorf): Likewise.
26280         (nearbyint): Likewise.
26281         (nearbyintf): Likewise.
26282
26283 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26284
26285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26286         non-default versions.
26287
26288 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26289
26290         [BZ #14218]
26291         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26292
26293 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26294
26295         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26296         (FE_UPWARD, FE_DOWNWARD): Don't define.
26297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26299
26300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26301         reading it.
26302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26304
26305 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26306
26307         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26309         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26310         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26311
26312 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26313
26314         [BZ #14117]
26315         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26316         * sysdeps/i386/fpu/Implies: New file.
26317         * sysdeps/x86_64/fpu/Implies: Likewise.
26318         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26319         * sysdeps/x86/fpu/bits/fenv.h: This.
26320
26321         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26322         __SSE_MATH__.
26323
26324 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26325
26326         [BZ #14134]
26327         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26328         character 0xffff that matches the last element of the
26329         conversion table.
26330
26331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26332
26333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26334         fmodl commit.
26335
26336 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26337
26338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26339         values higher than 25.6283.
26340
26341 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26342
26343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26344         subnormal exponent extraction and add some __builtin_expect.
26345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26346         Fix for subnormal mantissa calculation.
26347
26348 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26349
26350         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26351         cpu2 is -1 and errno is not ENOSYS.
26352
26353 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26354
26355         [BZ #14117]
26356         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26357         * sysdeps/x86/bits/string.h: This.
26358         * sysdeps/x86_64/bits/string.h: Removed.
26359
26360         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26361         if not compiling for x86-64, but compiling for >= i486.
26362
26363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26364         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26365
26366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26367         New macro from Linux kernel 3.4.0.
26368         (FP_XSTATE_MAGIC2): Likewise.
26369         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26370         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26371         (struct _fpx_sw_bytes): New struct.
26372         (struct _xsave_hdr): Likewise.
26373         (struct _ymmh_state): Likewise.
26374         (struct _xstate): Likewise.
26375
26376         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26377         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26379         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26380         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26381         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26382
26383         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26384         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26385         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26386         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26387         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26388         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26389
26390 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26391
26392         [BZ #13743]
26393         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26394         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26395         (sysdep_headers): Include sys/platform/ppc.h.
26396         * sysdeps/powerpc/test-gettimebase.c: Test for
26397         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26398         * manual/Makefile (appendices): Include platform.texi.
26399         * manual/contrib.texi (Contributors): Update @node pointers.
26400         * manual/maint.texi (Maintenance): Likewise.
26401         (Platform): New node.
26402         * manual/platform.texi: New file.  Document the new features.
26403
26404 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26405             Jakub Jelinek  <jakub@redhat.com>
26406
26407         [BZ #14188]
26408         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26409         where __builtin_expect is unavailable.
26410
26411 2012-06-03  David S. Miller  <davem@davemloft.net>
26412
26413         * stdlib/longlong.h: Updated from GCC.
26414
26415 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26416
26417         [BZ #14042]
26418         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26419         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26420         __mcount_internal.
26421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26422         (GLIBC_2.16): Likewise.
26423
26424 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26425
26426         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26427
26428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26429
26430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26431         (default-abi): New variable.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26433         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26434         variable.
26435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26436         Likewise.
26437         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26438         Likewise.
26439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26440         Likewise.
26441
26442         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26443         definition.  Document in comment.
26444
26445 2012-06-01  David S. Miller  <davem@davemloft.net>
26446
26447         * stdlib/longlong.h: Updated from GCC.
26448
26449 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26450
26451         [BZ #14117]
26452         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26453         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26454         sys/debugreg.h sys/io.h here.
26455         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26456         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26457         sys/io.h.
26458         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26459         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26460         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26461         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26462         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26463         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26464
26465         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26466         Define only if __x86_64__ is defined.
26467
26468 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26469
26470         [BZ #14048]
26471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26472         Use int64_t for variable i.
26473         * math/libm-test.inc (fmod_test): Add more tests.
26474
26475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26476         z computation is not scheduled after fetestexcept.
26477         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26478         Use math_force_eval instead of asm to ensure calculation scheduled
26479         before exception test.
26480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26481         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26482
26483 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26484
26485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26486         computation is not scheduled after fetestexcept.
26487
26488 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26489
26490         [BZ #14117]
26491         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26492         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26493
26494 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26495
26496         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26497         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26498
26499 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26500
26501         [BZ #14117]
26502         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26503         <bits/wordsize.h>.
26504         (__WCHAR_MIN): Support __WORDSIZE == 64.
26505         (__WCHAR_MAX): Likewise.
26506
26507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26509
26510         [BZ #14183]
26511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26512         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26513
26514         [BZ #14117]
26515         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26517
26518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26519         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26520
26521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26522         Defined to 1 if __x86_64__ isn't defined.
26523         (_STAT_VER_LINUX_OLD): New.
26524         (st_atime): Remove duplicate.
26525         (st_mtime): Likewise.
26526         (st_ctime): Likewise.
26527
26528 2012-05-31  David S. Miller  <davem@davemloft.net>
26529
26530         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26531         entries.
26532
26533 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26534
26535         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26536         gen-libm-test.pl.
26537
26538         [BZ #14132]
26539         * elf/dl-reloc.c: Include <_itoa.h>.
26540         (_dl_reloc_bad_type): Remove use of INTUSE.
26541         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26542         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26543         * stdio-common/psiginfo.c (psiginfo): Likewise.
26544         * stdio-common/psignal.c (psignal): Likewise.
26545         * string/strsignal.c (strsignal): Likewise.
26546         * include/signal.h (_sys_siglist): Declare hidden proto.
26547         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26548         INTVARDEF with libc_hidden_data_def.
26549         * stdio-common/itoa-udigits.c: Likewise.
26550         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26551         (_itoa_lower_digits_internal): Remove declaration.
26552         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26553         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26554         (_sys_sigabbrev_internal): Remove aliases.
26555         (_sys_siglist): Define hidden alias.
26556
26557 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26558
26559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26560         bits/sysctl.h.
26561
26562 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26563
26564         [BZ #14117]
26565         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26566         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26567
26568         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26569         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26570         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26571         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26572         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26573         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26574
26575         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26577         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26578
26579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26580         with __addr.
26581         (insw): Likewise.
26582         (insl): Likewise.
26583         (outsb): Likewise.
26584         (outsw): Likewise.
26585         (outsl): Likewise.
26586
26587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26589         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26590
26591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26592         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26593         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26595         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26596         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26597
26598         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26599         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26600
26601         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26602         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26603
26604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26606         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26607
26608         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26609         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26610         to ...
26611         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26612
26613         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26614         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26615         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26616
26617         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26618         for x86-64.
26619         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26620
26621 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26622
26623         * math/math.h (M_El): Use two more decimal places.
26624         (M_LOG2El): Likewise.
26625         (M_LOG10El): Likewise.
26626         (M_LN2l): Likewise.
26627         (M_LN10l): Likewise.
26628         (M_PIl): Likewise.
26629         (M_PI_2l): Likewise.
26630         (M_PI_4l): Likewise.
26631         (M_1_PIl): Likewise.
26632         (M_2_PIl): Likewise.
26633         (M_2_SQRTPIl): Likewise.
26634         (M_SQRT2l): Likewise.
26635         (M_SQRT1_2l): Likewise.
26636
26637 2012-05-31  David S. Miller  <davem@davemloft.net>
26638
26639         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26640         values between float registers.
26641         * sysdeps/sparc/sparc64/memset.S: Likewise.
26642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26643
26644 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26645
26646         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26647         -D_FORTIFY_SOURCE=1.
26648         (CPPFLAGS-tst-longjmp_chk.c): Define.
26649         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26650         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26651         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26652         CFLAGS-tst-wchar-h.c.
26653
26654 2012-05-31  Marek Polacek  <polacek@redhat.com>
26655
26656         [BZ #14132]
26657         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26658         __endmntent_internal): Remove declaration.
26659         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26660         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26661         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26662
26663 2012-05-30  David S. Miller  <davem@davemloft.net>
26664
26665         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26666         (___Q_simulate_exceptions): Use real FP ops rather than writing
26667         into the %fsr.
26668         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26669         Likewise.
26670
26671 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26672
26673         [BZ #14117]
26674         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26675         * sysdeps/x86/bits/xtitypes.h: This.
26676
26677         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26678         * sysdeps/x86/bits/wordsize.h: This.
26679
26680         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26681         * sysdeps/x86/bits/huge_vall.h: This.
26682
26683         * sysdeps/i386/bits/select.h: Removed.
26684         * sysdeps/x86_64/bits/select.h: Renamed to ...
26685         * sysdeps/x86/bits/select.h: This.
26686
26687         * sysdeps/i386/bits/setjmp.h: Removed.
26688         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26689         * sysdeps/x86/bits/setjmp.h: This.
26690
26691         * sysdeps/i386/bits/mathdef.h: Removed.
26692         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26693         * sysdeps/x86/bits/mathdef.h: This.
26694
26695 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26696
26697         [BZ #14132]
26698         * include/sys/socket.h (__connect_internal)
26699         (__libc_sa_len_internal): Remove declaration.
26700         (__connect, __libc_sa_len): Declare hidden_proto.
26701         (SA_LEN): Remove use of INTUSE.
26702         * socket/connect.c: Add libc_hidden_def.
26703         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26704         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26705         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26706         alias.
26707         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26708         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26709         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26710         of adding _internal alias.
26711
26712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26713
26714         [BZ #14117]
26715         * sysdeps/i386/bits/link.h: Removed.
26716         * sysdeps/i386/bits/linkmap.h: Likewise.
26717         * sysdeps/x86_64/bits/link.h: Renamed to ...
26718         * sysdeps/x86/bits/link.h: This.
26719         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26720         * sysdeps/x86/bits/linkmap.h: This.
26721
26722         * sysdeps/i386/bits/endian.h: Removed.
26723         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26724         * sysdeps/x86/bits/endian.h: This.
26725
26726         * sysdeps/i386/bits/byteswap.h: Removed.
26727         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26728         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26729         * sysdeps/x86/bits/byteswap.h: This.
26730         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26731         * sysdeps/x86/bits/byteswap-16.h: This.
26732         * sysdeps/i386/Implies: Add x86.
26733         * sysdeps/x86_64/Implies: Likewise.
26734
26735 2012-05-30  David S. Miller  <davem@davemloft.net>
26736
26737         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26738         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26739         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26740         (FP_TRAPPING_EXCEPTIONS): Define.
26741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26742         (FP_TRAPPING_EXCEPTIONS): Define.
26743         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26744         subnormals only when inexact has been signalled or underflow
26745         exceptions are enabled.
26746         (_FP_PACK_CANONICAL): Likewise.
26747
26748 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26749
26750         [BZ #14183]
26751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26752         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26753
26754 2012-05-30  Richard Henderson  <rth@twiddle.net>
26755
26756         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26757         with #ifndef NOT_IN_libc.
26758
26759         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26760         marked to avoid plt entry.
26761
26762 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26763
26764         [BZ #14112]
26765         * Makeconfig (default-abi): New macro.
26766         (abi-includes): Likewise.
26767         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26768         $(abi-$(default-abi)-lib-soname) for soname if defined.
26769         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26770         abi-variants.
26771         * Makefile (installed-stubs): Likewise.
26772         * include/stubs-biarch.h: Removed.
26773         * scripts/lib-names.awk: Only handle one library at a time.
26774         * scripts/soversions.awk: Remove WORDSIZE support.
26775         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26776         entries.
26777         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26778         Removed.
26779         (syscall-list-default-condition): Likewise.
26780         (syscall-list-default-condition): Likewise.
26781         (syscall-list-includes): Likewise.
26782         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26783         syscall-list-* with abi-*.  Handle undefined abi-variants.
26784         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26785         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26786         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26787         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26788         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26789         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26790         Removed.
26791         (syscall-list-32-options): Likewise.
26792         (syscall-list-32-condition): Likewise.
26793         (syscall-list-64-options): Likewise.
26794         (syscall-list-64-condition): Likewise.
26795         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26796         macro.
26797         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26798         Renamed to ...
26799         (abi-*): This.
26800         (abi-64-ld-soname): New macro.
26801         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26802         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26803         Renamed to ...
26804         (abi-*): This.
26805         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26806         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26807
26808 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26809
26810         * sysdeps/unix/sysv/linux/kernel-features.h
26811         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26812         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26813         include <kernel-features.h>.
26814         [!__NR_ftruncate64]: Remove conditional code.
26815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26816         [__NR_ftruncate64]: Make code unconditional.
26817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26818         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26819         include <kernel-features.h>.
26820         [!__NR_ftruncate64]: Remove conditional code.
26821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26822         [__NR_ftruncate64]: Make code unconditional.
26823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26825         include <kernel-features.h>.
26826         [!__NR_ftruncate64]: Remove conditional code.
26827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26828         [__NR_ftruncate64]: Make code unconditional.
26829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26831         include <kernel-features.h>.
26832         [!__NR_ftruncate64]: Remove conditional code.
26833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26834         [__NR_ftruncate64]: Make code unconditional.
26835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26836
26837         * configure.in (libc_cv_fpie): Weaken to a compile test using
26838         LIBC_TRY_CC_OPTION.
26839         * configure: Regenerated.
26840
26841 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26842
26843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26847         Refreshed.
26848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26854         Refreshed.
26855
26856 2012-05-27  David S. Miller  <davem@davemloft.net>
26857
26858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26859         (___Q_zero): New.
26860         (__Q_simulate_exceptions): Return void.  Change to simulate
26861         exceptions by writing into the %fsr.
26862         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26863         (__Qp_handle_exceptions): Likewise.
26864         (numbers): Delete.
26865         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26866         __Qp_handle_exceptions.
26867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26868         __Qp_handle_exceptions.
26869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26870         as unused and give dummy FP_RND_NEAREST initializer.
26871         (FP_INHIBIT_RESULTS): Define.
26872         (___Q_simulate_exceptions): Update declaration.
26873         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26874         formatting.
26875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26876         as unused and give dummy FP_RND_NEAREST initializer.
26877         (__Qp_handle_exceptions): Update declaration.
26878         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26879         formatting.
26880
26881 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26882
26883         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26884         the temporary FPU control word.
26885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26886         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26887         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26889         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26890         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26891         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26892         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26893         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26894         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26895         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26896
26897 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26898
26899         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26900         fields.
26901
26902 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26903
26904         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26905         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26906         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26907         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26908         Likewise.
26909         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26910         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26911         Likewise.
26912
26913 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26914
26915         * po/h.po: Update from translation team.
26916
26917 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26918
26919         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26920
26921         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26922         handling of denormals.
26923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26926         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26930         Likewise.
26931
26932 2012-05-26  Marek Polacek  <polacek@redhat.com>
26933
26934         [BZ #14152]
26935         * math/libm-test.inc (fma_test): Don't always expect underflow
26936         exception.
26937
26938 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26939
26940         [BZ #12416]
26941         * elf/tst-execstack.c: Include stackinfo.h.
26942         (do_test): Adjust test case to ensure that pthread_getattr_np
26943         behaviour remains the same after marking stack executable.
26944
26945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26946
26947         * sysdeps/unix/sysv/linux/kernel-features.h
26948         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26949         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26950         kernel-features.h.
26951         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26952         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26953         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26954         kernel-features.h.
26955         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26956         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26957
26958 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26959
26960         * configure.in: Define the default includes to being none.
26961         * configure: Regenerated.
26962
26963 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26964
26965         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26966         * sysdeps/x86_64/setjmp.S: Likewise.
26967         * sysdeps/i386/bsd-setjmp.S: Likewise.
26968         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26969         * sysdeps/i386/setjmp.S: Likewise.
26970         * sysdeps/i386/__longjmp.S: Likewise.
26971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26972         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26973
26974         * include/stap-probe.h: New file.
26975         * configure.in: Handle --enable-systemtap.
26976         * configure: Regenerated.
26977         * config.h.in (USE_STAP_PROBE): New #undef.
26978         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26979         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26980         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26981
26982 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26983
26984         [BZ #13717]
26985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26986         to 2.4.0 where earlier.
26987         * sysdeps/unix/sysv/linux/configure: Regenerated.
26988         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26989         <kernel-features.h>.
26990         [__ASSUME_32BITUIDS]: Make code unconditional.
26991         [!__ASSUME_32BITUIDS]: Remove conditional code.
26992         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26993         <kernel-features.h>.
26994         [__ASSUME_32BITUIDS]: Make code unconditional.
26995         [!__ASSUME_32BITUIDS]: Remove conditional code.
26996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26997         [__ASSUME_32BITUIDS]: Make code unconditional.
26998         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26999         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
27016         <kernel-features.h>.
27017         [__ASSUME_32BITUIDS]: Make code unconditional.
27018         [!__ASSUME_32BITUIDS]: Remove conditional code.
27019         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27020         <kernel-features.h>.
27021         [__ASSUME_32BITUIDS]: Make code unconditional.
27022         [!__ASSUME_32BITUIDS]: Remove conditional code.
27023         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27024         <kernel-features.h>.
27025         [__ASSUME_32BITUIDS]: Make code unconditional.
27026         [!__ASSUME_32BITUIDS]: Remove conditional code.
27027         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27028         <kernel-features.h>.
27029         [__ASSUME_32BITUIDS]: Make code unconditional.
27030         [!__ASSUME_32BITUIDS]: Remove conditional code.
27031         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27032         <kernel-features.h>.
27033         [__ASSUME_32BITUIDS]: Make code unconditional.
27034         [!__ASSUME_32BITUIDS]: Remove conditional code.
27035         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27036         <kernel-features.h>.
27037         [__ASSUME_32BITUIDS]: Make code unconditional.
27038         [!__ASSUME_32BITUIDS]: Remove conditional code.
27039         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27040         <kernel-features.h>.
27041         [__NR_setresgid] (__setresgid): Do not declare.
27042         [__ASSUME_32BITUIDS]: Make code unconditional.
27043         [!__ASSUME_32BITUIDS]: Remove conditional code.
27044         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27045         <kernel-features.h>.
27046         [__NR_setresuid] (__setresuid): Do not declare.
27047         [__ASSUME_32BITUIDS]: Make code unconditional.
27048         [!__ASSUME_32BITUIDS]: Remove conditional code.
27049         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27050         <kernel-features.h>.
27051         [__ASSUME_32BITUIDS]: Make code unconditional.
27052         [!__ASSUME_32BITUIDS]: Remove conditional code.
27053         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27054         <kernel-features.h>.
27055         [__ASSUME_32BITUIDS]: Make code unconditional.
27056         [!__ASSUME_32BITUIDS]: Remove conditional code.
27057         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27058         <kernel-features.h>.
27059         [__ASSUME_32BITUIDS]: Make code unconditional.
27060         [!__ASSUME_32BITUIDS]: Remove conditional code.
27061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27062         <kernel-features.h>.
27063         [__ASSUME_32BITUIDS]: Make code unconditional.
27064         [!__ASSUME_32BITUIDS]: Remove conditional code.
27065         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27066         <kernel-features.h>.
27067         [__ASSUME_32BITUIDS]: Make code unconditional.
27068         [!__ASSUME_32BITUIDS]: Remove conditional code.
27069         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27070         <kernel-features.h>.
27071         [__ASSUME_32BITUIDS]: Make code unconditional.
27072         [!__ASSUME_32BITUIDS]: Remove conditional code.
27073         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27074         <kernel-features.h>.
27075         [__ASSUME_32BITUIDS]: Make code unconditional.
27076         [!__ASSUME_32BITUIDS]: Remove conditional code.
27077         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27078         <kernel-features.h>.
27079         [__ASSUME_32BITUIDS]: Make code unconditional.
27080         [!__ASSUME_32BITUIDS]: Remove conditional code.
27081         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27082         <kernel-features.h>.
27083         [__ASSUME_32BITUIDS]: Make code unconditional.
27084         [!__ASSUME_32BITUIDS]: Remove conditional code.
27085         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27086         <kernel-features.h>.
27087         [__ASSUME_32BITUIDS]: Make code unconditional.
27088         [!__ASSUME_32BITUIDS]: Remove conditional code.
27089         * sysdeps/unix/sysv/linux/kernel-features.h
27090         (__ASSUME_SETRESUID_SYSCALL): Remove.
27091         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27092         (__ASSUME_32BITUIDS): Likewise.
27093         (__ASSUME_LDT_WORKS): Likewise.
27094         (__ASSUME_O_DIRECTORY): Likewise.
27095         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27096         architecture but not kernel version.
27097         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27098         (__ASSUME_MMAP2_SYSCALL): Likewise.
27099         (__ASSUME_STAT64_SYSCALL): Likewise.
27100         (__ASSUME_IPC64): Likewise.
27101         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27102         <kernel-features.h>.
27103         [__ASSUME_32BITUIDS]: Make code unconditional.
27104         [!__ASSUME_32BITUIDS]: Remove conditional code.
27105         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27106         <kernel-features.h>.
27107         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27108         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27109         132096]: Remove conditional code.
27110         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27112         <kernel-features.h>.
27113         [__ASSUME_32BITUIDS]: Make code unconditional.
27114         [!__ASSUME_32BITUIDS]: Remove conditional code.
27115         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27116         <kernel-features.h>.
27117         [__ASSUME_32BITUIDS]: Make code unconditional.
27118         [!__ASSUME_32BITUIDS]: Remove conditional code.
27119         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27120         <kernel-features.h>.
27121         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27122         unconditional.
27123         (__setresgid): Do not declare.
27124         [__ASSUME_32BITUIDS]: Make code unconditional.
27125         [!__ASSUME_32BITUIDS]: Remove conditional code.
27126         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27127         <kernel-features.h>.
27128         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27129         unconditional.
27130         (__setresuid): Do not declare.
27131         [__ASSUME_32BITUIDS]: Make code unconditional.
27132         [!__ASSUME_32BITUIDS]: Remove conditional code.
27133         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27134         <kernel-features.h>.
27135         [__ASSUME_32BITUIDS]: Make code unconditional.
27136         [!__ASSUME_32BITUIDS]: Remove conditional code.
27137         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27138         <kernel-features.h>.
27139         [__ASSUME_32BITUIDS]: Make code unconditional.
27140         [!__ASSUME_32BITUIDS]: Remove conditional code.
27141
27142 2012-05-25  Richard Henderson  <rth@twiddle.net>
27143
27144         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27145         dl_hwcap to ifunc resolver.
27146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27147         elf_ifunc_invoke.
27148         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27149         dl_hwcap to ifunc resolver.
27150         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27151
27152 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27153
27154         [BZ #14153]
27155         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27156         for |x| <= 2**-26, not 2**-57.
27157         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27158         exception.
27159
27160 2012-05-24  Jeff Law  <law@redhat.com>
27161
27162         * stdio-common/Makefile (tests): Add bug25.
27163         * stdio-common/bug25.c: New test.
27164
27165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27166
27167         [BZ #13576]
27168         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27169         multiple of MALLOC_ALIGNMENT in size.
27170         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27171
27172 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27173
27174         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27175         Require >= 256.
27176         (FILENAME_MAX): Use macro-int-constant.
27177         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27178         (_IOFBF): Use macro-int-constant.
27179         (_IOLBF): Likewise.
27180         (_IONBF): Likewise.
27181         (SEEK_CUR): Likewise.
27182         (SEEK_END): Likewise.
27183         (SEEK_SET): Likewise.
27184         (TMP_MAX): Likewise.
27185         (EOF): Use macro-int-constant.  Require < 0.
27186         (NULL): Use macro-constant.  Require == 0.
27187         (stdin): Require type to be FILE *.
27188         (stdout): Likewise.
27189         (stderr): Likewise.
27190         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27191         macro-int-constant.
27192         (EXIT_SUCCESS): Likewise.
27193         (NULL): Use macro-constant.  Require == 0.
27194         (RAND_MAX): Use macro-int-constant.
27195         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27196         [C99-based standards] (strtof): Require function.
27197         [C99-based standards] (strtold): Likewise.
27198         [C99-based standards] (strtoll): Likewise.
27199         [C99-based standards] (strtoull): Likewise.
27200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27201         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27202         [ISO || ISO99 || ISO11] (math.h): Likewise.
27203         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27204         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27206
27207 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27208
27209         [BZ #14132]
27210         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27211         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27212         * intl/dgettext.c (DCGETTEXT): Likewise.
27213         * intl/gettext.c (DCGETTEXT): Likewise.
27214         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27215         * posix/regex_internal.h (gettext): Likewise.
27216         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27217         Remove declaration.
27218         * include/argz.h (__argz_count_internal)
27219         (__argz_stringify_internal): Remove declaration.
27220         (__argz_count, __argz_stringify): Declare hidden proto.
27221         * intl/dcgettext.c: Remove use of INTDEF.
27222         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27223         * string/argz-stringify.c: Likewise.
27224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27226         Declare hidden proto.
27227         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27228         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27229         Declare hidden proto.
27230         * include/stdio.h (__asprintf_internal): Don't declare.
27231         (__asprintf): Don't define as macro.  Declare hidden proto.
27232         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27233         (__fsetlocking): Declare hidden proto.
27234         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27235         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27236         hidden proto.
27237         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27238         (_IO_setlinebuf): Remove use of INTUSE.
27239         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27240         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27241         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27242         Remove declaration.
27243         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27244         (_IO_do_flush): Remove use of INTUSE.
27245         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27246         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27247         (_IO_adjust_column, _IO_least_wmarker)
27248         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27249         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27250         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27251         (_IO_default_doallocate, _IO_wdefault_doallocate)
27252         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27253         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27254         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27255         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27256         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27257         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27258         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27259         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27260         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27261         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27262         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27263         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27264         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27265         proto.
27266         (_IO_flush_all_internal, _IO_adjust_column_internal)
27267         (_IO_default_uflow_internal, _IO_default_finish_internal)
27268         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27269         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27270         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27271         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27272         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27273         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27274         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27275         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27276         (_IO_file_close_internal, _IO_file_close_it_internal)
27277         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27278         (_IO_file_init_internal, _IO_file_attach_internal)
27279         (_IO_file_fopen_internal, _IO_file_read_internal)
27280         (_IO_file_sync_internal, _IO_file_seek_internal)
27281         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27282         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27283         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27284         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27285         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27286         (_IO_list_all_internal, _IO_link_in_internal)
27287         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27288         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27289         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27290         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27291         (_IO_do_write_internal, _IO_padn_internal)
27292         (_IO_getline_info_internal, _IO_getline_internal)
27293         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27294         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27295         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27296         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27297         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27298         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27299         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27300         with libc_hidden_ver, remove use of INTUSE.
27301         * libio/genops.c: Likewise.
27302         * libio/freopen.c: Likewise.
27303         * libio/freopen64.c: Likewise.
27304         * libio/iofclose.c: Likewise.
27305         * libio/iofdopen.c: Likewise.
27306         * libio/iofflush.c: Likewise.
27307         * libio/iofflush_u.c: Likewise.
27308         * libio/iofgets.c: Likewise.
27309         * libio/iofgets_u.c: Likewise.
27310         * libio/iofopen.c: Likewise.
27311         * libio/iofopncook.c: Likewise.
27312         * libio/iofread.c: Likewise.
27313         * libio/iofread_u.c: Likewise.
27314         * libio/ioftell.c: Likewise.
27315         * libio/iofwrite.c: Likewise.
27316         * libio/iogetline.c: Likewise.
27317         * libio/iogets.c: Likewise.
27318         * libio/iogetwline.c: Likewise.
27319         * libio/iopadn.c: Likewise.
27320         * libio/iopopen.c: Likewise.
27321         * libio/ioseekoff.c: Likewise.
27322         * libio/ioseekpos.c: Likewise.
27323         * libio/iosetbuffer.c: Likewise.
27324         * libio/iosetvbuf.c: Likewise.
27325         * libio/ioungetc.c: Likewise.
27326         * libio/ioungetwc.c: Likewise.
27327         * libio/iovdprintf.c: Likewise.
27328         * libio/iovsprintf.c: Likewise.
27329         * libio/iovsscanf.c: Likewise.
27330         * libio/memstream.c: Likewise.
27331         * libio/obprintf.c: Likewise.
27332         * libio/oldfileops.c: Likewise.
27333         * libio/oldiofclose.c: Likewise.
27334         * libio/oldiofdopen.c: Likewise.
27335         * libio/oldiofopen.c: Likewise.
27336         * libio/oldiopopen.c: Likewise.
27337         * libio/oldstdfiles.c: Likewise.
27338         * libio/putc.c: Likewise.
27339         * libio/setbuf.c: Likewise.
27340         * libio/setlinebuf.c: Likewise.
27341         * libio/stdfiles.c: Likewise.
27342         * libio/strops.c: Likewise.
27343         * libio/vasprintf.c: Likewise.
27344         * libio/vscanf.c: Likewise.
27345         * libio/vsnprintf.c: Likewise.
27346         * libio/vswprintf.c: Likewise.
27347         * libio/wfiledoalloc.c: Likewise.
27348         * libio/wfileops.c: Likewise.
27349         * libio/wgenops.c: Likewise.
27350         * libio/wmemstream.c: Likewise.
27351         * libio/wstrops.c: Likewise.
27352         * libio/__fpurge.c: Likewise.
27353         * libio/__fsetlocking.c: Likewise.
27354         * assert/assert.c: Likewise.
27355         * debug/fgets_chk.c: Likewise.
27356         * debug/fgets_u_chk.c: Likewise.
27357         * debug/fread_chk.c: Likewise.
27358         * debug/fread_u_chk.c: Likewise.
27359         * debug/gets_chk.c: Likewise.
27360         * debug/obprintf_chk.c: Likewise.
27361         * debug/vasprintf_chk.c: Likewise.
27362         * debug/vdprintf_chk.c: Likewise.
27363         * debug/vsnprintf_chk.c: Likewise.
27364         * debug/vsprintf_chk.c: Likewise.
27365         * malloc/mtrace.c: Likewise.
27366         * misc/error.c: Likewise.
27367         * misc/syslog.c: Likewise.
27368         * stdio-common/asprintf.c: Likewise.
27369         * stdio-common/fxprintf.c: Likewise.
27370         * stdio-common/getw.c: Likewise.
27371         * stdio-common/isoc99_fscanf.c: Likewise.
27372         * stdio-common/isoc99_scanf.c: Likewise.
27373         * stdio-common/isoc99_vfscanf.c: Likewise.
27374         * stdio-common/isoc99_vscanf.c: Likewise.
27375         * stdio-common/isoc99_vsscanf.c: Likewise.
27376         * stdio-common/printf-prs.c: Likewise.
27377         * stdio-common/printf_fp.c: Likewise.
27378         * stdio-common/printf_fphex.c: Likewise.
27379         * stdio-common/printf_size.c: Likewise.
27380         * stdio-common/putw.c: Likewise.
27381         * stdio-common/scanf.c: Likewise.
27382         * stdio-common/sprintf.c: Likewise.
27383         * stdio-common/tmpfile.c: Likewise.
27384         * stdio-common/vfprintf.c: Likewise.
27385         * stdio-common/vfscanf.c: Likewise.
27386         * stdlib/strfmon_l.c: Likewise.
27387         * sunrpc/openchild.c: Likewise.
27388         * sunrpc/xdr_stdio.c: Likewise.
27389         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27390         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27391
27392 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27393
27394         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27395
27396         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27397         in the third column, to generate for the shared library an IFUNC
27398         that uses _dl_vdso_vsym.
27399         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27400         * Makeconfig (object-suffixes-noshared): New variable.
27401
27402         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27403         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27404         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27405         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27406
27407         [BZ #14132]
27408         * include/sys/time.h (__gettimeofday): Remove macro.
27409         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27410         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27411         Remove INTDEF.
27412         (__gettimeofday): Add libc_hidden_def.
27413         (gettimeofday): Add libc_hidden_weak.
27414         * sysdeps/mach/gettimeofday.c: Likewise.
27415         * sysdeps/posix/gettimeofday.c: Likewise.
27416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27417         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27419         (__gettimeofday_internal): Remove strong_alias.
27420         (__gettimeofday): Add libc_hidden_def.
27421         (gettimeofday): Add libc_hidden_weak.
27422         * sysdeps/unix/syscalls.list (gettimeofday):
27423         Remove __gettimeofday_internal alias.
27424
27425 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27426             H.J. Lu  <hongjiu.lu@intel.com>
27427
27428         [BZ #12495]
27429         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27430         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27431         (largebin_index_32_big): New.
27432         (largebin_index): Use it for 16-byte alignment.
27433         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27434         correction with front_misalign.
27435
27436 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27437
27438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27440         Likewise.
27441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27442         Likewise.
27443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27444         Likewise.
27445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27446         Likewise.
27447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27448         Likewise.
27449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27450         Likewise.
27451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27452         Likewise.
27453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27454         Likewise.
27455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27456         Likewise.
27457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27458         Likewise.
27459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27460         Likewise.
27461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27462         Likewise.
27463
27464         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27465         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27466
27467 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27468
27469         [BZ #10846]
27470         [BZ #14036]
27471         * math/libm-test.inc (exp_test): Add test from bug 14036.
27472         (pow_test): Add test from bug 10846.
27473
27474         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27475         and other flags.
27476         (special_function): Do not include flags in test name.
27477         (parse_args): Likewise.
27478         * sysdeps/i386/fpu/libm-test-ulps: Update.
27479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27483
27484         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27485         exceptions.
27486         * math/libm-test.inc ("Philosophy"): Update comment about
27487         exception testing.
27488         (UNDERFLOW_EXCEPTION): New macro.
27489         (UNDERFLOW_EXCEPTION_OK): Likewise.
27490         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27491         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27492         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27493         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27494         (INVALID_EXCEPTION_OK): Update value.
27495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27496         (OVERFLOW_EXCEPTION_OK): Likewise.
27497         (IGNORE_ZERO_INF_SIGN): Likewise.
27498         (test_exceptions): Handle underflow exceptions.
27499         (acos_test): Update for underflow exception expectations.
27500         (cexp_test): Likewise.
27501         (clog_test): Likewise.
27502         (clog10_test): Likewise.
27503         (csqrt_test): Likewise.
27504         (ctan_test): Likewise.
27505         (ctanh_test): Likewise.
27506         (exp_test): Likewise.
27507         (exp10_test): Likewise.
27508         (exp2_test): Likewise.
27509         (expm1_test): Likewise.
27510         (fma_test): Likewise.
27511         (j0_test): Likewise.
27512         (jn_test): Likewise.
27513         (nexttoward_test): Likewise.
27514         (pow_test): Likewise.
27515         (scalbn_test): Likewise.
27516         (scalbln_test): Likewise.
27517         (tan_test): Likewise.
27518         (y1_test): Likewise.
27519         * sysdeps/i386/fpu/libm-test-ulps: Update.
27520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27521
27522 2012-05-23  David S. Miller  <davem@davemloft.net>
27523
27524         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27525         (__libc_sigaction): Remove unused local variables.
27526
27527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27528
27529         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27530
27531 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27532
27533         mktime: avoid signed integer overflow
27534         * time/mktime.c (__mktime_internal): Do not mishandle the case
27535         where diff == INT_MIN.
27536
27537         mktime: simplify computation of average
27538         * time/mktime.c (ranged_convert): Use new time_t_avg function
27539         instead of rolling our own (probably-slower) code.
27540
27541         mktime: do not assume signed right shift propagates sign bit
27542         * time/mktime.c (isdst_differ): New static function.
27543         (__mktime_internal): No need to normalize tm_isdst now.
27544         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27545         tm_isdst values.
27546
27547         mktime: merge another wrapv change from gnulib
27548         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27549         from some compilers.
27550
27551         mktime: remove incorrect attempt at unusual arithmetics
27552         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27553         The code didn't really work on such machines anyway.
27554         (TYPE_MINIMUM): Assume two's complement.
27555         (twos_complement_arithmetic): Verify that long_int and time_t
27556         are two's complement (or unsigned, in the latter case).
27557
27558         mktime: check signed shifts on long_int and time_t, too
27559         * time/mktime.c (SHR): Check that shifts work as desired
27560         on the types long_int and time_t too, as SHR is used on
27561         such types.
27562
27563         mktime: do not assume 'long' is wide enough
27564         * time/mktime.c (verify): Move decl up.
27565         (long_int): New type.
27566         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27567         to remove assumption in the code that 'long' is wide enough to
27568         store year values.  This assumption is not true on x32 and on
27569         some non-glibc platforms.
27570
27571         mktime: merge wrapv change from gnulib
27572         * time/mktime.c (WRAPV): New macro.
27573         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27574         (guess_time_tm, __mktime_internal): Do not assume that signed
27575         integer overflow wraps around; modern compilers generate code
27576         where this assumption is no longer valid.
27577
27578 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27579
27580         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27581         Replace "jmp L(pseudo_end)" with "ret".
27582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27583         Likewise.
27584
27585 2012-05-23  Andreas Jaeger  <aj@suse.de>
27586
27587         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27588         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27589
27590 2012-05-23  Andreas Jaeger  <aj@suse.de>
27591             Maximilian Attems  <max@stro.at>
27592
27593         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27594         New macros.
27595
27596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27597
27598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27599         code so that pseudo_end is just ret and the stack pointer is
27600         correct also for static library in error case.
27601
27602 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27603
27604         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27605         move to syscalls.list.
27606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27610
27611         * manual/install.texi (Running make install): Do not mention Linux
27612         kernel version for which pt_chown is not needed.
27613         (Linux): Do not mention problems with nscd with 2.0 kernels.
27614         * INSTALL: Regenerated.
27615
27616 2012-05-23  Andreas Jaeger  <aj@suse.de>
27617
27618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27619         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27620         macro.
27621         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27623         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27625         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27630         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27631         * sysdeps/unix/sysv/linux/bits/in.h
27632         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27633
27634 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27635
27636         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27637         (PREPARE_VERSION): Just use assert instead, it will be elided
27638         under [NDEBUG] anyway.
27639
27640 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27641
27642         * sysdeps/unix/sysv/linux/Makefile: Include
27643         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27644         (sysdep_routines): Remove sysctl.
27645         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27646         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27647         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27648         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27649         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27650
27651 2012-05-22  Andreas Jaeger  <aj@suse.de>
27652
27653         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27654         that pseudo_end is just ret and the stack pointer is correct also
27655         for static library in error case.
27656
27657 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27658
27659         [BZ #14122]
27660         * nss/nsswitch.c (defconfig_entries): New variable.
27661         (__nss_database_lookup): Don't leak defconfig entries.
27662         (nss_parse_service_list): Don't leak on error paths.
27663         (free_database_entries): New function.
27664         (free_defconfig): New function.
27665         (free_mem): Move common code to free_database_entries.
27666
27667 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27668
27669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27670         Add arch_prctl.
27671         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27672
27673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27674         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27676         New macro.
27677         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27678         (INTERNAL_SYSCALL_TYPES): Likewise.
27679         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27680         (LOAD_REGS_TYPES_[1-6]): Likewise.
27681         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27682         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27683
27684 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685
27686         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27687         copysignl for GLIBC_2_0.
27688         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27689         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27691         logbl for GLIBC_2_0.
27692         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27693         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27694
27695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27696
27697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27698         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27699
27700         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27701         Use "neg %eax".
27702
27703         * time/mktime.c: Update copyright years.
27704
27705 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27706
27707         mktime: merge comment-quoting-style change from gnulib
27708         * time/mktime.c: Quote 'like this' in comments.
27709         The GNU coding standards suggest that we no longer quote `like this',
27710         as "`" and "'" are typically rendered asymmetrically nowadays.
27711         The typical gnulib style is to quote 'like this' when quoting
27712         code, and "like this" when quoting English.
27713
27714         * time/mktime.c (compile-command): Add "-I.".
27715
27716         mktime: merge mktime-internal.h change from gnulib
27717         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27718
27719         mktime: merge time_r change from gnulib
27720         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27721
27722         mktime: merge DEBUG change from gnulib
27723         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27724         case system <time.h> has a #define.
27725
27726         mktime: merge <sys/types.h> change from gnulib
27727         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27728         since <time.t> is now guaranteed to define time_t.
27729
27730         mktime: merge HAVE_CONFIG_H change from gnulib
27731         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27732
27733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27734
27735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27736         Use "neg %eax".
27737
27738         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27739         __rlim_t cast.
27740         (struct rusage): Use anonymous union to pad each field to
27741         __syscall_slong_t.
27742
27743 2012-05-21  David S. Miller  <davem@davemloft.net>
27744
27745         * Makefules (o-iterator): Remove .s cases.
27746         (compile-command.s): Delete.
27747         (COMPILE.s): Delete.
27748         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27749
27750 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27751
27752         * configure.in (libc_cv_predef_stack_protector): Only consider
27753         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27754         * configure: Regenerated.
27755
27756 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27757
27758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27759         New macro.  Use R*LP on int and pointer.
27760         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27761         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27762         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27763         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27764
27765         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27766         [__WORDSIZE_TIME64_COMPAT32] instead of
27767         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27768         (struct utmp): Likewise.
27769         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27770         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27771         Renamed to ...
27772         (__WORDSIZE_TIME64_COMPAT32): This.
27773         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27774         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27775         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27776         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27778         (__WORDSIZE_TIME64_COMPAT32): New macro.
27779
27780 2012-05-21  Andreas Jaeger  <aj@suse.de>
27781
27782         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27783         only if [SHARED]. Add prototype for __wcschr_ia32.
27784
27785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27786
27787         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27788         of %rbp unmolested in the jmp_buf while mangling the low bits.
27789         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27790         unmolested high bits of %rbp while demangling the low bits.
27791         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27792
27793 2012-05-21  Andreas Jaeger  <aj@suse.de>
27794
27795         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27796         * sunrpc/svc_simple.c: Use it for registerrpc.
27797         * sunrpc/xcrypt.c: Use it for passwd2des.
27798
27799         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27800
27801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27802
27803         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27804         Don't define if [__SYSCALL_WORDSIZE != 32].
27805         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27806         New macro.
27807
27808 2012-05-21  Bruno Haible  <bruno@clisp.org>
27809             Andreas Jaeger  <aj@suse.de>
27810
27811         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27812         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27813         inptr and inend for must_buffer_ch.
27814         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27815         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27816         * stdio-common/Makefile (tests): Remove bug15.
27817         (bug15-ENV): Remove macro.
27818         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27819         anymore.
27820
27821 2012-05-19  Andreas Jaeger  <aj@suse.de>
27822             Roland McGrath  <roland@hack.frob.com>
27823
27824         * manual/contrib.texi: Completely rewritten. It contains now an
27825         alphabetical list of contributors and their contributions.
27826
27827 2012-05-21  Richard Henderson  <rth@twiddle.net>
27828
27829         * misc/getauxval.c (__getauxval): Use unsigned long int.
27830         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27831         (getauxval): Use unsigned long int.
27832
27833 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27834
27835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27836
27837 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27838
27839         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27840         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27841         __alignof__ (long double).
27842
27843 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27844
27845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27846
27847 2012-05-20  Richard Henderson  <rth@twiddle.net>
27848
27849         * misc/getauxval.c: New file.
27850         * misc/sys/auxv.h: New file.
27851         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27852         (routines): Add getauxval.
27853         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27854         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27855         * elf/dl-sysdep.c (_dl_auxv): Remove.
27856         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27857         * elf/dl-support.c (_dl_auxv): New variable.
27858         (_dl_aux_init): Initialize it.
27859         * manual/startup.texi (Auxiliary Vector): New node.
27860         * sysdeps/generic/bits/hwcap.h: New file.
27861         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27862         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27863         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27864         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27865         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27868         Update.
27869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27877
27878 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27879
27880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27881
27882 2012-05-19  David S. Miller  <davem@davemloft.net>
27883
27884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27885
27886 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27887
27888         [BZ #14123]
27889         * math/s_ccosh.c: Include <float.h>
27890         (__ccosh): Avoid internal overflow calculating sinh and cosh
27891         values before multiplying by sin and cos values.
27892         * math/s_ccoshf.c: Likewise.
27893         * math/s_ccoshl.c: Likewise.
27894         * math/s_csin.c: Likewise.
27895         * math/s_csinf.c: Likewise.
27896         * math/s_csinl.c: Likewise.
27897         * math/s_csinh.c: Likewise.
27898         * math/s_csinhf.c: Likewise.
27899         * math/s_csinhl.c: Likewise.
27900         * math/libm-test.inc (ccos_test): Add more tests.
27901         (ccosh_test): Likewise.
27902         (csin_test): Likewise.
27903         (csinh_test): Likewise.
27904         * sysdeps/i386/fpu/libm-test-ulps: Update.
27905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27906
27907 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27908
27909         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27910         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27911
27912         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27913
27914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27915
27916         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27917         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27918         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27919         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27920         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27921         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27922         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27923         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27924         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27925         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27926         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27927         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27928         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27929         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27930         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27931         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27932         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27933         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27934         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27935         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27936         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27937         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27938         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27939         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27940         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27941         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27942         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27943         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27944         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27945         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27946         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27947
27948 2012-05-18  Andreas Jaeger  <aj@suse.de>
27949
27950         * csu/.gitignore: Delete.
27951
27952 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27953
27954         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27955         (timex): Use __syscall_slong_t.
27956
27957 2012-05-18  Andreas Jaeger  <aj@suse.de>
27958             Carlos O'Donell  <carlos_odonell@mentor.com>
27959
27960         * manual/install.texi (Configuring and compiling): Update
27961         description about files modified in the source directory.
27962         * INSTALL: Regenerated.
27963
27964 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27965
27966         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27967         value.  Use "or" to set return value to -1.
27968         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27969         negate return value.
27970
27971 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27972
27973         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27974         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27975         failure if the compiler has Graphite support disabled.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27977         Likewise.
27978         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27979         CFLAGS-memmove.c): Likewise.
27980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27981         Likewise.
27982
27983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27984
27985         * sysdeps/x86_64/x32/_itoa.h: New file.
27986
27987         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27988         getdents system call only if kernel and user dirents have the
27989         same d_ino and d_off.
27990
27991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27992         LLONG_MAX != LONG_MAX.
27993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27994         (_fitoa_word): Likewise.
27995
27996         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27997         years.
27998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27999         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28001
28002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28003         include <bits/wordsize.h>.  Check __x86_64__ instead of
28004         __WORDSIZE.
28005         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28006         if __x86_64__ is defined.  Use anonymous union on fpstate.
28007
28008         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28009         anonymous union.
28010
28011 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28012
28013         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28014         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28016         Refer to _rtld_local_ro instead of _rtld_global_ro.
28017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28018         Likewise.
28019         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28020         Likewise.
28021         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28022         Likewise.
28023         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28024         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28025         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28026
28027         * sysdeps/powerpc/powerpc32/dl-machine.c
28028         (__elf_machine_runtime_setup) [PROF]: Don't reference
28029         _dl_prof_resolve.
28030
28031 2012-05-18  Andreas Jaeger  <aj@suse.de>
28032
28033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28034         function only available for GCCs before 3.4 since GCC 3.4
28035         introduced a builtin.
28036         (lrint): Likewise.
28037         (llrintf): Likewise.
28038         (llrint): Likewise.
28039         (fmaxf): Likewise.
28040         (fmax): Likewise.
28041         (fminf): Likewise.
28042         (fmin): Likewise.
28043         (rint): Likewise.
28044         (rintf): Likewise.
28045         (nearbyint): Likewise.
28046         (nearbyintf): Likewise.
28047         (ceil): Likewise.
28048         (ceilf): Likewise.
28049         (floor): Likewise.
28050         (floorf): Likewise.
28051
28052 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28053
28054         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28055         on both fields and cast pointer to __syscall_ulong_t.
28056
28057         * bits/types.h (__fsword_t): New type.
28058         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28059         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28061         (__FSWORD_T_TYPE): Likewise.
28062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28063         (__FSWORD_T_TYPE): Likewise.
28064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28065         (__FSWORD_T_TYPE): Likewise.
28066         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28067         (__FSWORD_T_TYPE): Likewise.
28068         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28069         __SWORD_TYPE with __fsword_t.
28070         (statfs64): Likewise.
28071
28072 2012-05-17  David S. Miller  <davem@davemloft.net>
28073
28074         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28075
28076 2012-05-17  Andreas Jaeger  <aj@suse.de>
28077
28078         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28079         warning.
28080
28081 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28082
28083         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28084
28085 2012-05-17  Andreas Jaeger  <aj@suse.de>
28086
28087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28088         when it is used.
28089
28090 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28091
28092         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28093
28094 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28095
28096         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28097         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28098
28099 2012-05-17  Andreas Jaeger  <aj@suse.de>
28100             Carlos O'Donell  <carlos_odonell@mentor.com>
28101
28102         [BZ #14059]
28103         * sysdeps/x86_64/multiarch/init-arch.h
28104         (bit_YMM_Usable): Rename to...
28105         (bit_AVX_Usable): ... this.
28106         (bit_FMA4_Usable): New macro.
28107         (bit_XMM_state): New macro.
28108         (bit_YMM_state): New macro.
28109         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28110         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28111         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28112         (CPUID_OSXSAVE): New macro.
28113         (CPUID_AVX): New macro.
28114         (CPUID_FMA4): New macro.
28115         (index_YMM_Usable): Rename to...
28116         (index_AVX_Usable): ... this.
28117         (HAS_AVX): Use HAS_ARCH_FEATURE.
28118         (HAS_FMA4): Likewise.
28119         (HAS_YMM_USABLE): Remove.
28120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28121         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28122         are present.
28123         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28124         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28125         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28126         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28127         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28128
28129 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28130
28131         * math/libm-test.c: Support platforms without multiple rounding modes.
28132         * math/bug-nextafter.c: Support platforms without FP exceptions.
28133         * math/bug-nexttoward.c: Likewise.
28134         * math/test-fenv.c: Likewise.
28135         * math/test-misc.c: Likewise.
28136         * stdlib/bug-getcontext.c: Likewise.
28137
28138 2012-05-17  Andreas Jaeger  <aj@suse.de>
28139
28140         * manual/examples/search.c (critter_cmp): Change signature to
28141         avoid warnings.
28142         * manual/string.texi (Collation Functions): Likewise.
28143
28144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28145
28146         * bits/types.h: Fold copyright years.
28147         * bits/typesizes.h: Likewise.
28148         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28152         * time/time.h: Likewise.
28153
28154 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28155
28156         [BZ #208]
28157         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28158         in instead of returning them.  Return void.
28159         (__libc_mallinfo): Accumulate over all arenas.
28160         (__malloc_stats): Adjust for change in int_mallinfo interface.
28161
28162 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28163
28164         [BZ #10375]
28165         * configure.in (NM): Add AC_CHECK_TOOL for it.
28166         (libc_extra_cflags): New substituted variable.
28167         Check for -fstack-protector being used implicitly.
28168         * configure: Regenerated.
28169         * config.make.in (config-extra-cflags): New variable,
28170         gets @libc_extra_cflags@.
28171         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28172
28173         [BZ #10375]
28174         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28175         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28176         * configure: Regenerated.
28177         * config.make.in (CPPUNDEFS): New substituted variable.
28178         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28179         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28180         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28181
28182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28183
28184         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28185         (mq_attr): Use __syscall_slong_t.
28186
28187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28188
28189         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28190         Check __x86_64__ instead of __WORDSIZE.
28191         (_STAT_VER_LINUX): Likewise.
28192         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28193         __syscall_ulong_t and __syscall_slong_t.
28194         (stat64): Likewise.
28195
28196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28197
28198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28199
28200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28201
28202         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28203
28204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28205
28206         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28207         __syscall_ulong_t.
28208
28209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28210         include <bits/wordsize.h>.  Check __x86_64__ instead of
28211         __WORDSIZE.
28212         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28213         defined.
28214         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28215
28216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28217         include <bits/wordsize.h>.  Check __x86_64__ instead of
28218         __WORDSIZE.
28219         (user_regs_struct): Use "__extension__ unsigned long long"
28220         instead of "unsigned long" if __x86_64__ is defined.
28221         (user): Likewise.  Pad after pointer field if __ILP32__ is
28222         defined.
28223
28224 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28225
28226         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28227         versions 5 to 9.
28228         * configure: Regenerated.
28229         * manual/install.texi (texinfo): Increase version requirement to
28230         4.5 or later.
28231         * INSTALL: Regenerated.
28232
28233         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28234
28235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28236
28237         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28238
28239         * sysdeps/x86_64/x32/ffs.c: New file.
28240
28241         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28242         __syscall_ulong_t.
28243         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28244         defined.  Use __syscall_ulong_t.
28245         (shminfo): Use __syscall_ulong_t.
28246         (shm_info): Likewise.
28247
28248         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28249         __syscall_ulong_t.
28250
28251         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28252         <bits/wordsize.h>.
28253         (msgqnum_t): Use __syscall_ulong_t.
28254         (msglen_t): Likewise.
28255         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28256         __syscall_ulong_t.
28257
28258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28259         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28260
28261         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28262
28263         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28264         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28265
28266         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28267         __syscall_slong_t.
28268
28269         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28270         include <bits/wordsize.h>.  Check __x86_64__ instead of
28271         __WORDSIZE.
28272
28273         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28274         "unsigned long long int" if __x86_64__ is defined.
28275         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28276
28277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28279         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28280
28281         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28282         <stdint.h>.
28283         (GET_PC): Cast to uintptr_t first.
28284         (GET_FRAME): Likewise.
28285         (GET_STACK): Likewise.
28286
28287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28294         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28295         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28316
28317 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28318
28319         * Makerules (+depfiles): Also collect depfiles from .oS in
28320         $(extra-objs).
28321         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28322         .oS, $(libnldbl-routines)).
28323
28324         * Makerules (native-compile-mkdep-flags): Define.
28325         * sunrpc/Makefile (extra-objs): Add $(addprefix
28326         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28327         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28328         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28329         calling $(make-target-directory).
28330
28331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28332
28333         * bits/types.h (__snseconds_t): Removed.
28334         * time/time.h (struct timespec): Replace __snseconds_t with
28335         __syscall_slong_t.
28336         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28337         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28338         Likewise.
28339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28340         (__SNSECONDS_T_TYPE): Likewise.
28341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28342         (__SNSECONDS_T_TYPE): Likewise.
28343         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28344         (__SNSECONDS_T_TYPE): Likewise.
28345
28346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28347
28348         * sysdeps/mach/hurd/bits/typesizes.h
28349         (__SYSCALL_SLONG_TYPE): New macro.
28350         (__SYSCALL_ULONG_TYPE): Likewise.
28351
28352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28353
28354         * bits/types.h (__syscall_slong_t): New type.
28355         (__syscall_ulong_t): Likewise.
28356
28357         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28358         (__SYSCALL_ULONG_TYPE): Likewise.
28359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28360         (__SYSCALL_SLONG_TYPE): Likewise.
28361         (__SYSCALL_ULONG_TYPE): Likewise.
28362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28363         (__SYSCALL_SLONG_TYPE): Likewise.
28364         (__SYSCALL_ULONG_TYPE): Likewise.
28365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28366         (__SYSCALL_SLONG_TYPE): Likewise.
28367         (__SYSCALL_ULONG_TYPE): Likewise.
28368
28369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28370
28371         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28372         Add sigaltstack-offsets.sym.
28373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28374         <sigaltstack-offsets.h>.
28375         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28376         longjmp_msg pointer.
28377         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28378         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28379         signal stack.
28380         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28381
28382 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28383
28384         * elf/stackguard-macros.h: Remove file.
28385         * sysdeps/generic/stackguard-macros.h: New file.
28386         * sysdeps/i386/stackguard-macros.h: Likewise.
28387         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28388         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28389         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28390         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28391         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28392         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28393         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28394         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28395         <elf/stackguard-macros.h>.
28396
28397         [BZ #14109]
28398         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28399         __aligned__ in attribute.
28400         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28401         (gregset_t): Likewise.
28402
28403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28404
28405         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28406         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28407         * sysdeps/x86_64/x32/Implies-after: New file.
28408
28409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28410
28411         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28412         and access return value for _dl_profile_fixup.  Use R10_LP to
28413         load frame size.
28414
28415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28416
28417         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28418
28419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28420
28421         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28422         * sysdeps/x86_64/x32/sysdep.h: New file.
28423
28424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28425
28426         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28427         * sysdeps/x86_64/setjmp.S: Likewise.
28428
28429 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28430
28431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28433         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28435         remove unused global constant.
28436
28437 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28438
28439         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28440         include of <not-cancel.h>.
28441
28442 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28443
28444         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28445
28446 2012-05-15  Jeff Law  <law@redhat.com>
28447             Andreas Jaeger  <aj@suse.de>
28448
28449         [BZ #13594]
28450         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28451         out from...
28452         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28453         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28454         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28455         code changing __hst_map_handle.map.
28456
28457 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28458
28459         * configure.in (sysnames): Look for Implies-before and Implies-after
28460         files.
28461         * configure: Regenerated.
28462
28463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28464
28465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28466         8-byte data alignment with LP_SIZE alignment.
28467
28468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28469
28470         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28471         into R10_LP.
28472
28473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28474
28475         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28476
28477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28478
28479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28480         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28482         Likewise.
28483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28484
28485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28486
28487         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28488         (stackinfo_sub_sp): Likewise.
28489
28490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28491
28492         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28493         RAX_LP.
28494
28495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28496
28497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28498         into R*_LP.
28499
28500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28501
28502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28503         sizes into R*_LP.
28504
28505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28506
28507         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28508
28509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28510
28511         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28512         into R11_LP and load __x86_64_shared_cache_size_half into
28513         R8_LP.
28514
28515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28516
28517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28518         R8_LP.
28519
28520 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28521
28522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28523         logb for POWER7.
28524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28525         logbf for POWER7.
28526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28527         logbl for POWER7.
28528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28529         powerpc32/power7/fpu/s_logb.c via #include.
28530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28531         powerpc32/power7/fpu/s_logbf.c via #include.
28532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28533         powerpc32/power7/fpu/s_logbl.c via #include.
28534
28535 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28536
28537         * README.libm: Remove file.
28538
28539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28540
28541         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28542         count for x32.  Use R*_LP and omit operand-size suffix.
28543
28544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28545
28546         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28547         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28548         * sysdeps/x86_64/x32/shlib-versions: New file.
28549
28550 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28551
28552         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28553         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28554         Use _dl_fatal_printf instead.
28555
28556 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28557
28558         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28559         set if not set by the user.  Do not allow for being unset.
28560         * sysdeps/unix/sysv/linux/configure: Regenerated.
28561
28562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28563
28564         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28565         the `q' suffix from lea and replace .quad with ASM_ADDR.
28566
28567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28568
28569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28570         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28571         instead of $17.
28572         (PTR_DEMANGLE): Likewise.
28573
28574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28575
28576         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28577         (LP_OP): Likewise.
28578         (ASM_ADDR): Likewise.
28579         (RAX_LP): Likewise.
28580         (RBP_LP): Likewise.
28581         (RBX_LP): Likewise.
28582         (RCX_LP): Likewise.
28583         (RDI_LP): Likewise.
28584         (RSI_LP): Likewise.
28585         (RSP_LP): Likewise.
28586         (R8_LP): Likewise.
28587         (R9_LP): Likewise.
28588         (R10_LP): Likewise.
28589         (R10_LP): Likewise.
28590         (R11_LP): Likewise.
28591         (R12_LP): Likewise.
28592         (R13_LP): Likewise.
28593         (R14_LP): Likewise.
28594         (R15_LP): Likewise.
28595
28596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28597
28598         * sysdeps/x86_64/x32/dl-machine.h: New file.
28599
28600 2012-05-14  Andreas Jaeger  <aj@suse.de>
28601
28602         * manual/Makefile (subdir): Remove export of subdir.
28603         (all): Remove target.
28604         (.PHONY): Remove all from list.
28605         (mkinstalldirs): Remove.
28606         (.PHONY): Remove installdirs from list.
28607         ($(inst_infodir)/libc.info): Use make-target-directory.
28608         (installdirs): Remove.
28609         (subdir_%): Remove.
28610         (glibc-targets): Remove.
28611         (lib): Remove.
28612         (stubs): Remove.
28613         ($(objpfx)stubs ../po/manual.pot): Remove.
28614         ($(objpfx)stamp%): Remove.
28615         (make-target-directory): Remove.
28616         (subdir_install): Remove.
28617         (routines): Remove.
28618         (aux): Remove.
28619         (sources): Remove.
28620         (objects): Remove.
28621         (headers): Remove.
28622
28623         [BZ #13750]
28624         * manual/.gitignore: Remove, it's not needed anymore.
28625         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28626         all files in it.
28627         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28628         directory.
28629         (texis): Renamed to $(objpfx)texis.
28630         (texis-path): New, contains path to generated files.
28631         (chapters.%): Use texis-path for complete path, add extra argument
28632         libc-texinfo.sh.
28633         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28634         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28635         (summary,texi, stamp-summary): Use complete path of
28636         files. Generate files in build dir.
28637         (dir-add.texi): Build in build dir.
28638         (libm-err.texi,stamp-libm-err): Likewise.
28639         (version.texi, stamp-version): Likewise.
28640         (.%c.texi): Likewise.
28641         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28642         (mostlyclean): Remove target.
28643         (realclean): Remove target.
28644         (generated): Add new variable with contents from mostlyclean and
28645         realclean, remove entries duplicated in common-mostlyclean, add
28646         stamp-libm-err and stamp-version.
28647         (generated-dirs): Add libc directory.
28648         ($(inst_infodir)/libc.info): Install files from build dir.
28649
28650         * manual/install.texi (Configuring and compiling): Adjust since
28651         the info files are not part of the tar ball anymore.
28652
28653 2012-05-14  Andreas Jaeger  <aj@suse.de>
28654
28655         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28656         variable.
28657
28658 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28659
28660         [BZ #13717]
28661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28662         to 2.2.0 where earlier.
28663         * sysdeps/unix/sysv/linux/configure: Regenerated.
28664         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28665         Remove conditional code.
28666         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28667         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28668         Remove conditional code.
28669         [!__NR_lchown]: Likewise.
28670         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28671         [__NR_lchown]: Likewise.
28672         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28673         comment referencing __ASSUME_LCHOWN_SYSCALL.
28674         * sysdeps/unix/sysv/linux/i386/sigaction.c
28675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28677         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28678         Remove conditional code.
28679         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28680         (__protocol_available): Remove #if 0 code.
28681         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28682         conditional code.
28683         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28684         * sysdeps/unix/sysv/linux/kernel-features.h
28685         (__ASSUME_GETCWD_SYSCALL): Don't define.
28686         (__ASSUME_REALTIME_SIGNALS): Likewise.
28687         (__ASSUME_PREAD_SYSCALL): Likewise.
28688         (__ASSUME_PWRITE_SYSCALL): Likewise.
28689         (__ASSUME_POLL_SYSCALL): Likewise.
28690         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28691         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28692         non-SPARC.
28693         (__ASSUME_SIOCGIFNAME): Don't define.
28694         (__ASSUME_MSG_NOSIGNAL): Likewise.
28695         (__ASSUME_SENDFILE): Define unconditionally.
28696         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28697         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28698         conditional code.
28699         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28700         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28701         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28702         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28703         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28704         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28705         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28730         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28731         Remove conditional code.
28732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28733         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28734         Remove conditional code.
28735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28737         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28738         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28739         Remove conditional code.
28740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28741         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28742         Remove conditional code.
28743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28744         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28745         Remove conditional code.
28746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28747         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28748         Remove conditional code.
28749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28750         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28751         Remove conditional code.
28752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28753         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28756         * sysdeps/unix/sysv/linux/sigaction.c
28757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28759         * sysdeps/unix/sysv/linux/sigpending.c
28760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28762         * sysdeps/unix/sysv/linux/sigprocmask.c
28763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28765         * sysdeps/unix/sysv/linux/sigsuspend.c
28766         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28767         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28769         (__libc_missing_rt_sigs): Remove.
28770         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28771         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28772         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28773         Remove conditional code.
28774         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28775         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28776         return 1.
28777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28780         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28781
28782 2012-05-14  Andreas Jaeger  <aj@suse.de>
28783
28784         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28785         it's not used in glibc.
28786         (__coshm1): Likewise.
28787         (__acosh1p): Likewise.
28788         (__sgn): Likewise.
28789
28790         * manual/string.texi (Copying and Concatenation): Add missing
28791         variable in concat example.
28792         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28793
28794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28795
28796         [BZ #14103]
28797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28798         __builtin_clzl with __builtin_clzll.
28799
28800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28801
28802         [BZ #14104]
28803         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28804         libc_freeres_ptr.
28805
28806 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28807
28808         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28809         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28810         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28812
28813 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28814
28815         * NEWS: Update ia64 info.
28816
28817 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28818
28819         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28820         used as bcopy.
28821
28822 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28823
28824         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28825         * sysdeps/unix/syscalls.list (dup3): Likewise.
28826         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28827         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28828
28829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28830
28831         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28832         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28833
28834 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28835
28836         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28837         thread pointer.
28838         (TLS_IE): Use mov/add instead of movq/addq to load thread
28839         pointer.
28840         (TLS_GD_PREFIX): New.
28841         (TLS_GD): Use it.
28842
28843 2012-05-11  David S. Miller  <davem@davemloft.net>
28844
28845         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28846         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28847         (_FPU_SETCW): Likewise.
28848
28849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28850
28851         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28852         is 32-byte aligned.
28853
28854 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28855
28856         [BZ #11837]
28857         * iconvdata/gb18030.c: Update tables.
28858         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28859         characters specially.
28860         (BODY for TO_LOOP): Add encoding of missing ranges.
28861
28862 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28863
28864         [BZ #13673]
28865         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28866         * sysdeps/mach/hurd/dup3.c: Likewise.
28867         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28868         * sysdeps/powerpc/memmove.c:: Likewise.
28869
28870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28871
28872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28873         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28874
28875 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28876
28877         * elf/elf.h (R_X86_64_RELATIVE64): New.
28878         (R_X86_64_NUM): Updated.
28879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28880         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28881         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28882         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28883         tst-quad1pie tst-quad2pie
28884         (modules-names): Add tst-quadmod1 tst-quadmod2.
28885         ($(objpfx)tst-quad1): New dependency.
28886         ($(objpfx)tst-quad2): Likewise.
28887         ($(objpfx)tst-quad1pie): Likewise.
28888         ($(objpfx)tst-quad2pie): Likewise.
28889         * sysdeps/x86_64/tst-quad1.c: New file.
28890         * sysdeps/x86_64/tst-quad1pie.c: New file.
28891         * sysdeps/x86_64/tst-quad2.c: Likewise.
28892         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28893         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28894         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28895         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28896         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28897
28898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28899
28900         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28901         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28902         * streams/stropts.h (t_scalar_t): Define type.
28903
28904         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28905         (_PATH_PRESERVE): Set to "/var/lib".
28906         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28907
28908         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28909         instead of int.
28910
28911         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28912         if __dir_mkfile succeeded.
28913
28914         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28915         checking for _hurd_dtablesize.  Unlock it right after having
28916         finished _hurd_dtable allocation.
28917
28918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28919
28920         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28921         * sysdeps/mach/hurd/configure: Regenerated.
28922         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28923         special-casing to...
28924         * sysdeps/gnu/configure.in: ... this new file.
28925         * sysdeps/unix/sysv/linux/configure: Regenerated.
28926         * sysdeps/gnu/configure: New generated file.
28927
28928         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28929         for Linux: use nsec instead of usec, as well as:
28930         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28931         members of type struct timespec.
28932         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28933         New macros.
28934         (struct stat64): Likewise.
28935         (_STATBUF_ST_NSEC): New macro.
28936         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28937
28938         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28939         __strtoul_internal rather than strtoul.
28940
28941 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28942
28943         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28944         and reject them.
28945
28946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28947
28948         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28949         which preserves existing values.
28950         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28951
28952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28953
28954         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28955         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28956         greater than FD_SETSIZE.
28957
28958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28959
28960         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28961         allocated, call __vm_protect to finish enabling the existing space, and
28962         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28963         allocate the remainder.
28964
28965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28966
28967         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28968         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28969
28970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28971
28972         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28973         sysdeps/mach/hurd/readlink.c.
28974
28975         * posix/tst-sysconf.c (posix_options): Only use
28976         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28977         _POSIX_SYNCHRONIZED_IO when they are defined
28978         * sysdeps/mach/hurd/bits/posix_opt.h:
28979         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28980         (_XOPEN_REALTIME): Undefine macro.
28981         (_XOPEN_REALTIME_THREADS): Undefine macro.
28982         (_XOPEN_SHM): Undefine macro.
28983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28984         macro to -1.
28985         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28986         macro to -1.
28987         (_POSIX_ASYNC_IO): Undefine macro.
28988         (_POSIX_PRIORITIZED_IO): Undefine macro.
28989         (_POSIX_SPIN_LOCKS): Define macro to -1.
28990
28991         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28992         SA_NODEFER, SA_RESETHAND.
28993         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28994         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28995         F_DUPFD_CLOEXEC.
28996
28997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28998
28999         * elf/Makefile (pldd-modules): Define unconditionally.
29000
29001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29002
29003         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29004
29005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29006
29007         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29008         Return ENOENT when name is empty.
29009         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29010
29011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29012
29013         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29014
29015         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29016
29017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29018
29019         Fix mlock in all cases except non-readable pages.
29020         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29021         instead of VM_PROT_ALL as parameter to __vm_wire function.
29022
29023         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29024         (__mkdir): When path is `/', just fail with EEXIST.
29025         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29026
29027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29028
29029         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29030         <sys/uio.h> (for writev).
29031         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29032         and <sys/param.h> (for MIN).
29033
29034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29035
29036         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29037         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29038         if interrupted.
29039
29040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29041
29042         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29043         Depend on against $(link-rpcuserlibs).
29044
29045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29046
29047         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29048         (__libc_stack_end): Do not use attribute_relro.
29049         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29050         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29051         to libthread-provided value.
29052         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29053         attribute_relro.
29054
29055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29056
29057         [BZ #3748]
29058         * bits/libc-lock.h (__libc_once_get): New macro.
29059         * sysdeps/mach/bits/libc-lock.h: Likewise.
29060         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29062         instead of using implementation details.
29063
29064         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29065         * libio/freopen.c: Likewise.
29066         * libio/freopen64.c: Likewise.
29067         * misc/syslog.c: Likewise.
29068         * nscd/connections.c: Likewise.
29069         * nscd/netgroupcache.c: Likewise.
29070         * sysdeps/posix/getcwd.c: Likewise.
29071
29072 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29073
29074         * math/w_ilogbf.c: Add #include <limits.h>.
29075
29076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29077
29078         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29079         path instead of returning without unlocking.
29080
29081         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29082         immediate-write ioctls.
29083         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29084
29085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29086
29087         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29088         __builtin_frame_address instead of making assumptions about the
29089         location of the return address relative to DATA.  Force early load of
29090         the return address.
29091         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29092         __builtin_frame_address.
29093
29094         dup3 for GNU Hurd.
29095         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29096         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29097         implement dup3 and do some further code clean-ups.
29098         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29099         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29100
29101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29102
29103         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29104
29105         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29106         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29107         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29108         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29109         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29110         d->port.lock.
29111
29112         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29113         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29114         when handler == SIG_ERR, not when handler != SIG_ERR.
29115
29116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29117
29118         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29119         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29120         definitions.
29121
29122         accept4 for GNU Hurd.
29123         * include/sys/socket.h (__libc_accept4): New prototype.
29124         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29125         to implement __libc_accept4.
29126         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29127         __libc_accept4.
29128         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29129
29130         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29131         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29132         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29133         signal-defines.sym.
29134
29135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29136
29137         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29138
29139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29140
29141         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29142         assertion on O_CLOEXEC flag.
29143         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29144         * hurd/intern-fd.c: Likewise.
29145         * hurd/port2fd.c: Likewise.
29146
29147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29148
29149         [BZ #3906]
29150         * bits/in.h (IPV6_PKTINFO): Define new macro.
29151         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29152
29153 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29154
29155         [BZ #13954]
29156         [BZ #13955]
29157         [BZ #13956]
29158         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29160         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29161         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29162         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29163         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29164         * math/libm-test.inc (logb_test) : Additional logb tests.
29165
29166 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29167             Andreas Jaeger  <aj@suse.de>
29168
29169         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29170         * configure: Regenerated.
29171         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29172         * config.make.in (link-obsolete-rpc): New substituted variable.
29173         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29174         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29175         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29176         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29177         so that libc.a contains the symbols.
29178         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29179         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29180         * sunrpc/auth_none.c: Likewise.
29181         * sunrpc/auth_unix.c: Likewise.
29182         * sunrpc/authdes_prot.c: Likewise.
29183         * sunrpc/authuxprot.c: Likewise.
29184         * sunrpc/clnt_gen.c: Likewise.
29185         * sunrpc/clnt_perr.c: Likewise.
29186         * sunrpc/clnt_raw.c: Likewise.
29187         * sunrpc/clnt_simp.c: Likewise.
29188         * sunrpc/clnt_tcp.c: Likewise.
29189         * sunrpc/clnt_udp.c: Likewise.
29190         * sunrpc/clnt_unix.c: Likewise.
29191         * sunrpc/des_crypt.c: Likewise.
29192         * sunrpc/des_soft.c: Likewise.
29193         * sunrpc/get_myaddr.c: Likewise.
29194         * sunrpc/key_call.c: Likewise.
29195         * sunrpc/key_prot.c: Likewise.
29196         * sunrpc/netname.c: Likewise.
29197         * sunrpc/pm_getmaps.c: Likewise.
29198         * sunrpc/pm_getport.c: Likewise.
29199         * sunrpc/pmap_clnt.c: Likewise.
29200         * sunrpc/pmap_prot.c: Likewise.
29201         * sunrpc/pmap_prot2.c: Likewise.
29202         * sunrpc/pmap_rmt.c: Likewise.
29203         * sunrpc/publickey.c: Likewise.
29204         * sunrpc/rpc_cmsg.c: Likewise.
29205         * sunrpc/rpc_common.c: Likewise.
29206         * sunrpc/rpc_dtable.c: Likewise.
29207         * sunrpc/rpc_prot.c: Likewise.
29208         * sunrpc/rpc_thread.c: Likewise.
29209         * sunrpc/rtime.c: Likewise.
29210         * sunrpc/svc.c: Likewise.
29211         * sunrpc/svc_auth.c: Likewise.
29212         * sunrpc/svc_raw.c: Likewise.
29213         * sunrpc/svc_run.c: Likewise.
29214         * sunrpc/svc_tcp.c: Likewise.
29215         * sunrpc/svc_udp.c: Likewise.
29216         * sunrpc/svc_unix.c: Likewise.
29217         * sunrpc/svcauth_des.c: Likewise.
29218         * sunrpc/xcrypt.c: Likewise.
29219         * sunrpc/xdr.c: Likewise.
29220         * sunrpc/xdr_array.c: Likewise.
29221         * sunrpc/xdr_float.c: Likewise.
29222         * sunrpc/xdr_intXX_t.c: Likewise.
29223         * sunrpc/xdr_mem.c: Likewise.
29224         * sunrpc/xdr_rec.c: Likewise.
29225         * sunrpc/xdr_ref.c: Likewise.
29226         * sunrpc/xdr_sizeof.c: Likewise.
29227         * sunrpc/xdr_stdio.c: Likewise.
29228
29229 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29230
29231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29232         change.  Update copyright years.
29233
29234 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29235
29236         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29237
29238 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29239             Joseph Myers  <joseph@codesourcery.com>
29240             Paul Pluzhnikov  <ppluzhnikov@google.com>
29241
29242         [BZ #14012]
29243         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29244         requiring rpcgen.
29245         [cross-compiling] (extra-libs): Likewise.
29246         [cross-compiling] (extra-libs-others): Likewise.
29247         [cross-compiling] (librpcsvc-routines): Likewise.
29248         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29249         [cross-compiling] (omit-deps): Likewise.
29250         (sunrpc-CPPFLAGS): New variable.
29251         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29252         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29253         (cross-rpcgen-objs): New variable.
29254         (extra-objs): Append $(cross-rpcgen-objs).
29255         ($(cross-rpcgen-objs)): New rule.
29256         ($(objpfx)cross-rpcgen): Likewise.
29257         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29258         comment.
29259         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29260         ($(objpfx)x%.stmp): Likewise.
29261         * sunrpc/proto.h [IS_IN_build] (_): Define.
29262         [IS_IN_build] (_libc_intl_domainname): Likewise.
29263
29264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29265
29266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29267         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29268         and R_X86_64_TPOFF64.
29269
29270 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29271
29272         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29273         sysdeps/unix/sysv/syscalls.list.
29274         (stime): Likewise.
29275         (utime): Likewise.
29276         * sysdeps/unix/sysv/syscalls.list: Remove file.
29277
29278 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29279
29280         [BZ #3440]
29281         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29282         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29283         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29284         (__LC_IDENTIFICATION): Make these macros useful in #if
29285         expressions, as required by C99.
29286
29287 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29288
29289         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29290         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29291         after this.
29292
29293 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29294
29295         * stdlib/longlong.h: Updated from GCC.
29296
29297 2012-05-09  Andreas Jaeger  <aj@suse.de>
29298
29299         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29300         default is first entry.
29301         (run_mode): Set type.
29302         (main): Remove informal message about syslog.
29303         (options): Fix typo.
29304
29305         [BZ #14053]
29306         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29307         to asm.
29308         (lrint): Likewise.
29309         (llrintf): Likewise.
29310         (llrint): Likewise.
29311         (rint): Likewise.
29312         (rintf): Likewise.
29313         (nearbyint): Likewise.
29314         (nearbyintf): Likewise.
29315
29316 2012-05-09  Andreas Jaeger  <aj@suse.de>
29317             Pedro Alves  <palves@redhat.com>
29318
29319         * nscd/nscd.c (run_mode): Use enum.
29320         (main): Cleanup coding style issue.
29321
29322 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29323             Andreas Jaeger  <aj@suse.de>
29324
29325         * nscd/nscd.c (go_background): Replaced with...
29326         (run_mode): ... this.
29327         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29328         (options): Add -F --foreground.
29329         (main): Implement it.
29330         (parse_opt): Parse it.
29331
29332 2012-05-09  Andreas Jaeger  <aj@suse.de>
29333
29334         [BZ #14083]
29335         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29336         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29337         -Wconversion warning.
29338         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29339         Likewise.
29340
29341 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29342
29343         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29344         == 0.
29345         (LC_ALL): Use macro-int-constant.
29346         (LC_COLLATE): Likewise.
29347         (LC_CTYPE): Likewise.
29348         (LC_MESSAGES): Likewise.
29349         (LC_MONETARY): Likewise.
29350         (LC_NUMERIC): Likewise.
29351         (LC_TIME): Likewise.
29352         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29353         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29355         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29356         Specify type.
29357         [C99-based standards] (float_t): Expect type.
29358         [C99-based standards] (double_t): Expect type.
29359         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29360         type.
29361         [C99-based standards] (HUGE_VALL): Likewise.
29362         [C99-based standards] (INFINITY): Likewise.
29363         [C99-based standards] (NAN): Likewise.
29364         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29365         [C99-based standards] (FP_NAN): Likewise.
29366         [C99-based standards] (FP_NORMAL): Likewise.
29367         [C99-based standards] (FP_SUBNORMAL): Likewise.
29368         [C99-based standards] (FP_ZERO): Likewise.
29369         [C99-based standards] (FP_FAST_FMA): Use
29370         optional-macro-int-constant.  Specify type.  Require == 1.
29371         [C99-based standards] (FP_FAST_FMAF): Likewise.
29372         [C99-based standards] (FP_FAST_FMAL): Likewise.
29373         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29374         [C99-based standards] (FP_ILOGBNAN): Likewise.
29375         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29376         Specify type.
29377         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29378         [C99-based standards] (math_errhandling): Specify type.
29379         [ISO99 || ISO11] (signgam): Do not allow.
29380         [non-C99-based standards] (copysignf): Do not allow.
29381         [non-C99-based standards] (exp2f): Likewise.
29382         [non-C99-based standards] (log2f): Likewise.
29383         [non-C99-based standards] (modff): Allow.
29384         [non-C99-based standards] (erff): Do not allow.
29385         [non-C99-based standards] (erfcf): Likewise.
29386         [non-C99-based standards] (gammaf): Likewise.
29387         [non-C99-based standards] (hypotf): Likewise.
29388         [non-C99-based standards] (j0f): Likewise.
29389         [non-C99-based standards] (j1f): Likewise.
29390         [non-C99-based standards] (jnf): Likewise.
29391         [non-C99-based standards] (lgammaf): Likewise.
29392         [non-C99-based standards] (tgammaf): Likewise.
29393         [non-C99-based standards] (y0f): Likewise.
29394         [non-C99-based standards] (y1f): Likewise.
29395         [non-C99-based standards] (ynf): Likewise.
29396         [non-C99-based standards] (isnanf): Likewise.
29397         [non-C99-based standards] (acoshf): Likewise.
29398         [non-C99-based standards] (asinhf): Likewise.
29399         [non-C99-based standards] (atanhf): Likewise.
29400         [non-C99-based standards] (cbrtf): Likewise.
29401         [non-C99-based standards] (expm1f): Likewise.
29402         [non-C99-based standards] (ilogbf): Likewise.
29403         [non-C99-based standards] (log1pf): Likewise.
29404         [non-C99-based standards] (logbf): Likewise.
29405         [non-C99-based standards] (nextafterf): Likewise.
29406         [non-C99-based standards] (remainderf): Likewise.
29407         [non-C99-based standards] (rintf): Likewise.
29408         [non-C99-based standards] (scalbf): Likewise.
29409         [non-C99-based standards] (copysignl): Likewise.
29410         [non-C99-based standards] (exp2l): Likewise.
29411         [non-C99-based standards] (log2l): Likewise.
29412         [non-C99-based standards] (modfl): Allow.
29413         [non-C99-based standards] (erfl): Do not allow.
29414         [non-C99-based standards] (erfcl): Likewise.
29415         [non-C99-based standards] (gammal): Likewise.
29416         [non-C99-based standards] (hypotl): Likewise.
29417         [non-C99-based standards] (j0l): Likewise.
29418         [non-C99-based standards] (j1l): Likewise.
29419         [non-C99-based standards] (jnl): Likewise.
29420         [non-C99-based standards] (lgammal): Likewise.
29421         [non-C99-based standards] (tgammal): Likewise.
29422         [non-C99-based standards] (y0l): Likewise.
29423         [non-C99-based standards] (y1l): Likewise.
29424         [non-C99-based standards] (ynl): Likewise.
29425         [non-C99-based standards] (isnanl): Likewise.
29426         [non-C99-based standards] (acoshl): Likewise.
29427         [non-C99-based standards] (asinhl): Likewise.
29428         [non-C99-based standards] (atanhl): Likewise.
29429         [non-C99-based standards] (cbrtl): Likewise.
29430         [non-C99-based standards] (expm1l): Likewise.
29431         [non-C99-based standards] (ilogbl): Likewise.
29432         [non-C99-based standards] (log1pl): Likewise.
29433         [non-C99-based standards] (logbl): Likewise.
29434         [non-C99-based standards] (nextafterl): Likewise.
29435         [non-C99-based standards] (remainderl): Likewise.
29436         [non-C99-based standards] (rintl): Likewise.
29437         [non-C99-based standards] (scalbl): Likewise.
29438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29439         [non-C99-based standards] (FP_*): Do not allow.
29440         [C99-based standards] (FP_*): Change to
29441         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29442         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29443         allow.
29444         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29445         (SIG_ERR): Likewise.
29446         [X/Open-based standards] (SIG_HOLD): Likewise.
29447         (SIG_IGN): Likewise.
29448         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29449         positive value.
29450         (SIGFPE): Likewise.
29451         (SIGILL): Likewise.
29452         (SIGINT): Likewise.
29453         (SIGSEGV): Likewise.
29454         (SIGTER): Likewise.
29455         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29456         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29457         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29458         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29459         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29460         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29461         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29462         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29463         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29464         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29465         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29466         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29467         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29468         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29469         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29470         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29471         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29472         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29473         [X/Open-based standards] (SIGTRAP): Likewise.
29474         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29475         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29476         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29477         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29478         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29479         allow.
29480
29481 2012-05-08  Ian Wienand  <ianw@vmware.com>
29482
29483         [BZ #14080]
29484         * time/tzset.c (__tzset_parse_tz): Update default rules for
29485         daylight time changes in the Energy Policy Act of 2005.
29486
29487 2012-05-09  Andreas Jaeger  <aj@suse.de>
29488
29489         [BZ #13983]
29490         * elf/ldconfig.c (parse_conf): Change string to make clear that
29491         ldconfig only issued a warning if ld.so.conf does not exist.
29492
29493 2012-05-08  David S. Miller  <davem@davemloft.net>
29494
29495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29496         movxtod instead of popping the value on the stack.
29497
29498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29499
29500 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29501
29502         * config.h.in: Add HAVE_ARM_PCS_VFP.
29503
29504 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29505
29506         [BZ #13979]
29507         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29508         checking but the checks are disabled for any reason.
29509
29510 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29511
29512         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29513         and ELF64_R_TYPE with ELFW(R_TYPE).
29514
29515 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29516
29517         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29518         (ulimit): Likewise.
29519
29520         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29521         (settimeofday): Likewise.
29522
29523 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29524
29525         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29526         a struct th_u2 inside the union, and move tu_block/tu_code into
29527         a new th_u3 union of tu_block/tu_code inside of that.  Move
29528         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29529         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29530         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29531         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29532         (th_stuff): Change to th_u1.tu_stuff.
29533         (th_data): Define.
29534         (th_msg): Change to th_u1.th_u2.tu_data.
29535
29536 2012-05-07  David S. Miller  <davem@davemloft.net>
29537
29538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29539
29540         [BZ #14074]
29541         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29542         (SETUP_PIC_REG): Use it.
29543         (SETUP_PIC_REG_LEAF): Use it.
29544
29545 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29546
29547         [BZ #13885]
29548         [BZ #13923]
29549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29550         USE_AS_EXPM1L.
29551         (EXPL_FINITE): Likewise.
29552         (FLDLOG): Likewise.
29553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29554         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29555         e_expl.S.
29556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29557         USE_AS_EXPM1L.
29558         (EXPL_FINITE): Likewise.
29559         (FLDLOG): Likewise.
29560         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29561         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29562         e_expl.S.
29563         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29564         test of -max_value argument for long double.
29565         * sysdeps/i386/fpu/libm-test-ulps: Update.
29566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29567
29568 2012-05-06  David S. Miller  <davem@davemloft.net>
29569
29570         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29571         quad soft-float symbols whose references which are compiler
29572         generated.
29573         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29574
29575 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29576
29577         [BZ #13884]
29578         [BZ #13914]
29579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29580         USE_AS_EXP10L.
29581         (EXPL_FINITE): Likewise.
29582         (FLDLOG): Likewise.
29583         (c0): Likewise.
29584         (c1): Likewise.
29585         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29586         Adjust comments for base varying.
29587         (__expl_finite): Change alias to EXPL_FINITE.
29588         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29589         e_expl.S.
29590         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29591         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29593         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29595         USE_AS_EXP10L.
29596         (EXPL_FINITE): Likewise.
29597         (FLDLOG): Likewise.
29598         (c0): Likewise.
29599         (c1): Likewise.
29600         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29601         Adjust comments for base varying.
29602         (__expl_finite): Change alias to EXPL_FINITE.
29603         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29604         tests for bugs.
29605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29606
29607         [BZ #14064]
29608         * math/libm-test.inc (check_float_internal): Correct ulp
29609         calculation for subnormal expected results.
29610
29611 2012-05-06  Andreas Jaeger  <aj@suse.de>
29612
29613         * Makeconfig (+math-flags): New, set to -frounding-math.
29614         (+cflags): Add +math-flags so that all of glibc gets compiled with
29615         it.
29616
29617         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29618
29619 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29620
29621         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29622         Disable one test.
29623
29624         [BZ #13787]
29625         [BZ #13922]
29626         [BZ #14036]
29627         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29628         (__ieee754_expl): Allow for and saturate large arguments.
29629         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29630         (u_threshold): Likewise.
29631         (__exp): Call __ieee754_exp before checking for overflow and
29632         underflow.
29633         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29634         (u_threshold): Likewise.
29635         (__expf): Call __ieee754_expf before checking for overflow and
29636         underflow.
29637         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29638         (u_threshold): Likewise.
29639         (__expl): Call __ieee754_expl before checking for overflow and
29640         underflow.
29641         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29642         (__ieee754_expl): Allow for and saturate large arguments.
29643         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29644         missing overflow exception on overflow.
29645         (expm1_test): Do not allow missing overflow exception on overflow.
29646
29647         * sysdeps/i386/fpu/e_expl.c: Move to ...
29648         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29649         rather than using inline asm.
29650         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29651         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29652         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29653
29654         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29655         (nice): Likewise.
29656         (poll): Likewise.
29657         (signal): Likewise.
29658         (time): Likewise.
29659         (times): Likewise.
29660
29661 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29662
29663         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29664         sysdeps/unix/common/syscalls.list.
29665         (fchmod): Likewise.
29666         (fchown): Likewise.
29667         (ftruncate): Likewise.
29668         (getrusage): Likewise.
29669         (gettimeofday): Likewise.
29670         (setpgid): Likewise.
29671         (setregid): Likewise.
29672         (setreuid): Likewise.
29673         (sigaction): Likewise.
29674         (truncate): Likewise.
29675         (vhangup): Likewise.
29676         * sysdeps/unix/common/syscalls.list: Remove file.
29677         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29678         * sysdeps/unix/sysv/linux/Implies: Likewise.
29679
29680 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29681
29682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29685         Moved to ...
29686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29687         Here.
29688         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29689         to ...
29690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29691         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29692         to ...
29693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29694         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29695         to ...
29696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29697         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29698         to ...
29699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29700         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29701         to ...
29702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29703         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29704         to ...
29705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29706         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29707         to ...
29708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29709         Here.
29710         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29711         to ...
29712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29713         Here.
29714         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29715         to ...
29716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29717         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29718         Moved to ...
29719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29720         Here.
29721         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29722         to ...
29723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29724
29725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29726
29727         * sysdeps/unix/common/bits/dirent.h: Remove file.
29728         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29729
29730         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29731         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29732         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29733         * sysdeps/unix/bsd/isatty.c: Likewise.
29734         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29735         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29736         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29737
29738 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29739
29740         [BZ #13563]
29741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29742         long double comparison inaccuracies.
29743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29745
29746 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29747
29748         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29750
29751 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29752
29753         [BZ #14049]
29754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29755         nonzero digits before rounding a hex value.
29756         * stdlib/tst-strtod.c (tests): Add another test.
29757
29758 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29759
29760         * sysdeps/s390/fpu/libm-test-ulps: Update.
29761
29762 2012-05-03  Andreas Jaeger  <aj@suse.de>
29763
29764         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29765         does not get optimized out.
29766         (malloc_opt_barrier): New.
29767
29768 2012-05-03  Andreas Jaeger  <aj@suse.de>
29769             Roland McGrath  <roland@hack.frob.com>
29770
29771         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29772         intermediate file deletion.
29773         (generated): Add .symlist files.
29774
29775 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29776
29777         [BZ #13775]
29778         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29779         Redirect under this condition.
29780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29781         [__USE_GNU] (__dprintf_chk): Not under this condition.
29782         [__USE_GNU] (__vdprintf_chk): Likewise.
29783         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29784         under this condition.
29785         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29786         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29787         [__USE_XOPEN2K8] (vdprintf): Likewise.
29788         [__USE_GNU] (__dprintf_chk): Not under this condition.
29789         [__USE_GNU] (__vdprintf_chk): Likewise.
29790         [__USE_GNU] (dprintf): Likewise.
29791         [__USE_GNU] (vdprintf): Likewise.
29792
29793 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29794
29795         * elf/Makefile (common-generated): Set this instead of generated for
29796         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29797         $(all-built-dso)-derived lists.
29798
29799 2012-05-03  Andreas Jaeger  <aj@suse.de>
29800
29801         * sysdeps/i386/fpu/libm-test-ulps: Update.
29802
29803         * FAQ: Removed.
29804         * FAQ.in: Likewise.
29805         * scripts/gen-FAQ.pl: Likewise.
29806         * manual/install.texi (Installation): Point to online location of
29807         FAQ.
29808         * Makefile (files-for-dist): Remove FAQ.
29809         (FAQ): Remove.
29810
29811 2012-05-02  Allan McRae  <allan@archlinux.org>
29812
29813         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29814         (LDFLAGS-reldepmod5.so): Likewise.
29815         (LDFLAGS-reldep6mod1.so): Likewise.
29816         (LDFLAGS-reldep6mod4.so): Likewise.
29817         (LDFLAGS-reldep8mod3.so): Likewise.
29818         (LDFLAGS-unload4mod1.so): Likewise.
29819         (LDFLAGS-unload4mod2.so): Likewise.
29820         (LDFLAGS-tst-initorder): Likewise.
29821         (LDFLAGS-tst-initordera2.so): Likewise.
29822         (LDFLAGS-tst-initordera3.so): Likewise.
29823         (LDFLAGS-tst-initordera4.so): Likewise.
29824         (LDFLAGS-tst-initorderb2.so): Likewise.
29825         (LDFLAGS-noload): Likewise.
29826         (LDFLAGS-next): Likewise.
29827         (LDFLAGS-order2mod1.so): Likewise.
29828         (LDFLAGS-order2mod2.so): Likewise.
29829         (LDFLAGS-tst-initorder2): Likewise.
29830         (LDFLAGS-tst-initorder2a.so): Likewise.
29831         (LDFLAGS-tst-initorder2b.so): Likewise.
29832         (LDFLAGS-tst-initorder2c.so): Likewise.
29833         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29834
29835 2012-05-02  David S. Miller  <davem@davemloft.net>
29836
29837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29838
29839 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29840
29841         [BZ #14055]
29842         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29843
29844 2012-05-02  Andreas Jaeger  <aj@suse.de>
29845
29846         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29847         since we manipulate rounding mode.
29848         (CPPFLAGS-test-idouble.c): Likewise.
29849         (CPPFLAGS-test-ifloat.c): Likewise.
29850         (CFLAGS-test-ldouble.c): Likewise.
29851         (CFLAGS-test-double.c): Likewise.
29852         (CFLAGS-test-float.c): Likewise.
29853         (CFLAGS-test-misc.c): Likewise.
29854         (CFLAGS-test-test-fenv.c): Likewise.
29855
29856 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29857
29858         [BZ #2550]
29859         [BZ #2570]
29860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29861         comparisons to determine direction to adjust input.
29862
29863 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29864
29865         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29866         output to the target.
29867
29868         * scripts/localplt.awk: New file.
29869         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29870         (check-localplt-CFLAGS): Variable removed.
29871         ($(all-built-dso:=.jmprel)): New static pattern rule.
29872         (generated): Add those targets.
29873         (localplt-built-dso): New variable.
29874         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29875
29876         * elf/check-localplt.c: File removed.
29877
29878         * scripts/check-execstack.awk: New file.
29879         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29880         (check-execstack-CFLAGS): Variable removed.
29881         ($(objpfx)check-execstack.h): Target removed.
29882         ($(objpfx)execstack-default): New target.
29883         (generated): Add that instead of check-execstack.h.
29884         ($(all-built-dso:=.phdr)): New static pattern rule.
29885         (generated): Add those targets.
29886         * elf/check-execstack.c: File removed.
29887
29888         * scripts/check-textrel.awk: New file.
29889         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29890         (check-textrel-CFLAGS): Variable removed.
29891         (all-built-dso): Use := to define.o
29892         ($(all-built-dso:=.dyn)): New static pattern rule.
29893         (generated): Add those targets.
29894         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29895         * config.make.in (READELF): New substituted variable.
29896         * elf/check-textrel.c: File removed.
29897
29898 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29899
29900         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29901         allow.
29902         * conform/data/ctype.h-data [C99-based standards] (isblank):
29903         Expect function.
29904         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29905         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29907         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29908         Specify type.  Require positive value.
29909         (EILSEQ): Likewise.
29910         (ERANGE): Likewise.
29911         [ISO || POSIX] (EILSEQ): Do not expect.
29912         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29913         Specify type.  Require positive value.
29914         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29915         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29916         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29917         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29918         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29919         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29920         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29921         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29922         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29923         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29924         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29925         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29926         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29927         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29928         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29929         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29930         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29931         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29932         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29933         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29934         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29935         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29936         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29937         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29938         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29939         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29940         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29941         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29942         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29943         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29944         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29945         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29946         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29947         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29948         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29949         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29950         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29951         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29952         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29953         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29954         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29955         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29956         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29957         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29958         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29959         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29960         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29961         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29962         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29963         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29964         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29965         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29966         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29967         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29968         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29969         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29970         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29971         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29972         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29973         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29974         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29975         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29976         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29977         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29978         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29979         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29980         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29981         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29982         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29983         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29984         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29985         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29986         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29987         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29988         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29989         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29990         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29991         Require >= 2.
29992         (FLT_ROUNDS): Expect as macro, not constant.
29993         (FLT_MANT_DIG): Use macro-int-constant.
29994         (DBL_MANT_DIG): Likewise.
29995         (LDBL_MANT_DIG): Likewise.
29996         (FLT_DIG): Likewise.
29997         (DBL_DIG): Likewise.
29998         (LDBL_DIG): Likewise.
29999         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30000         (DBL_MIN_EXP): Likewise.
30001         (LDBL_MIN_EXP): Likewise.
30002         (FLT_MAX_EXP): Use macro-int-constant.
30003         (DBL_MAX_EXP): Likewise.
30004         (LDBL_MAX_EXP): Likewise.
30005         (FLT_MAX_10_EXP): Likewise.
30006         (DBL_MAX_10_EXP): Likewise.
30007         (LDBL_MAX_10_EXP): Likewise.
30008         (FLT_MAX): Use macro-constant.
30009         (DBL_MAX): Likewise.
30010         (LDBL_MAX): Likewise.
30011         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30012         (DBL_EPSILON): Likewise.
30013         (LDBL_EPSILON): Likewise.
30014         (FLT_MIN): Likewise.
30015         (DBL_MIN): Likewise.
30016         (LDBL_MIN): Likewise.
30017         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30018         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30019         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30020         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30021         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30022         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30023         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30024         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30025         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30026         [ISO11] (FLT_TRUE_MIN): Likewise.
30027         [ISO11] (LDBL_TRUE_MIN): Likewise.
30028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30029         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30030         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30031         (SCHAR_MAX): Likewise.
30032         (UCHAR_MAX): Likewise.
30033         (CHAR_MIN): Likewise.
30034         (CHAR_MAX): Likewise.
30035         (MB_LEN_MAX): Use macro-int-constant.
30036         (SHRT_MIN): Use macro-int-constant.  Specify type.
30037         (SHRT_MAX): Likewise.
30038         (USHRT_MAX): Likewise.
30039         (INT_MAX): Likewise.
30040         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30041         bound negative.
30042         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30043         bound with "U".
30044         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30045         bound with "L".
30046         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30047         bound negative.  Suffix upper bound with "L".
30048         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30049         bound with "UL".
30050         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30051         Specify type.
30052         [C99-based standards] (LLONG_MAX): Likewise.
30053         [C99-based standards] (ULLONG_MAX): Likewise.
30054         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30055         == 0.
30056         [ISO11] (max_align_t): Require type.
30057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30058
30059         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30060         from $CFLAGS, without defining away __attribute__ calls.
30061         (checknamespace): Use $CFLAGS_namespace.
30062
30063         * conform/conformtest.pl (@keywords): Only include C99 keywords
30064         for standards based on C99 or C11.
30065
30066         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30067         Disable tests.
30068         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30069         UNIX98]: Likewise.
30070
30071         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30072         usability of symbols in #if.
30073
30074         * conform/conformtest.pl: If macro or constant types start
30075         "promoted:", expect the symbol to be of the following type
30076         promoted by the integer promotions.
30077
30078         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30079         in one place.  Also handle "macro-constant".
30080
30081         * conform/conformtest.pl: Only accept expected macro values with
30082         "==".  Parse all "macro" lines in one place.
30083         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30084
30085         * conform/conformtest.pl: Handle braced types on "constant" lines
30086         instead of handling "typed-constant".
30087         * conform/data/signal.h-data: Use "constant" instead of
30088         "typed-constant".
30089
30090         * conform/conformtest.pl: Handle "optional-" at start of lines in
30091         one place rather than duplicating several cases.  Handle each
30092         format of "macro" line with initial "optional-".
30093
30094         * conform/conformtest.pl: Only accept expected constant or
30095         optional-constant values with "==".  Parse all "constant" lines in
30096         one place.  Parse all "optional-constant" lines in one place.
30097         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30098         * conform/data/fmtmsg.h-data: Likewise.
30099         * conform/data/netinet/in.h-data: Likewise.
30100         * conform/data/tar.h-data: Likewise.
30101         * conform/data/limits.h-data: Use "==" form on "constant" and
30102         "optional-constant" lines.
30103
30104         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30105         Use -std=c99 for XOPEN2K.
30106         (@knownproblems): Remove.
30107         (newtoken): Don't check %isknown.
30108
30109         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30110         Do not expect macro.
30111         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30112         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30113         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30114         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30115         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30116         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30117         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30118         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30119         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30120         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30121         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30122         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30123         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30124         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30125         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30126         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30127         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30128         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30129         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30130         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30131         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30134         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30135         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30136         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30137         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30138         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30139         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30140         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30141         [XPG3] (acosh): Likewise.
30142         [XPG3] (asinh): Likewise.
30143         [XPG3] (atanh): Likewise.
30144         [XPG3] (cbrt): Likewise.
30145         [XPG3] (expm1): Likewise.
30146         [XPG3] (ilogb): Likewise.
30147         [XPG3] (log1p): Likewise.
30148         [XPG3] (logb): Likewise.
30149         [XPG3] (nextafter): Likewise.
30150         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30151         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30152         [XPG3] (remainder): Likewise.
30153         [XPG3] (rint): Likewise.
30154         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30155         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30156         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30157         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30158         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30159         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30160         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30161         [UNIX98 || XOPEN2K] (scalb): Expect.
30162         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30163         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30164         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30165         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30166         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30167         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30168         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30169         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30170         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30171         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30172         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30173         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30174         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30175         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30176         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30177         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30178         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30179         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30180         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30181         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30182         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30183         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30184         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30185         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30186         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30187         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30188         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30189         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30190         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30191         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30192         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30193         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30194         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30195         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30196         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30197         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30198         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30199         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30200         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30201         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30202         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30203         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30204         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30205         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30206         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30207         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30208         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30209         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30210         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30211         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30212         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30213         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30214         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30215         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30216         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30217         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30218         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30219         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30220         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30221         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30222         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30223         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30224         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30225         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30226         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30227         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30228         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30229         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30230         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30231         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30232         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30233         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30234         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30235         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30236         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30237         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30238         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30239         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30240         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30241         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30242         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30243         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30244         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30245         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30246         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30247         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30248         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30249         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30250         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30251         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30252         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30253         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30254         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30255         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30256         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30257         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30258         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30259         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30260         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30261         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30262         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30263         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30264         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30265         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30266         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30267         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30268         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30269         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30270         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30271         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30272         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30273         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30274         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30275         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30276         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30277         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30278         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30279         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30280         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30281         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30282         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30283         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30284         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30285         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30286         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30287         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30288         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30289         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30290         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30291         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30292         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30293         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30294         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30295         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30296         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30297         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30298         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30299
30300         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30301         _XOPEN_SOURCE_EXTENDED for XPG4.
30302
30303         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30304
30305         * Makeconfig (localtime): Remove variable.
30306         (inst_localtime-file): Likewise.
30307
30308 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30309
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30311         Update.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30313         Update.
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30315         Update.
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30317         Update.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30319         Update.
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30321         Update.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30323         Update.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30325         Update.
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30327         Update.
30328
30329 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30330
30331         [BZ #2550]
30332         [BZ #2570]
30333         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30334         comparisons to determine direction to adjust input.
30335         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30336         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30338         Likewise.
30339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30340         Likewise.
30341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30342         Likewise.
30343         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30344         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30345         Likewise.
30346         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30347         Likewise.
30348         * math/libm-test.inc (nexttoward_test): Add more tests.
30349
30350 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30351
30352         [BZ #14040]
30353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30354         in version GLIBC_2.1, not GLIBC_2.0.
30355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30356         Likewise.
30357
30358 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30359
30360         [BZ #13942]
30361         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30362         (1 - x) * (1 + x).
30363         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30364         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30365         * math/libm-test.inc (acos_test): Add more tests.
30366         (asin_test): Likewise.
30367         * sysdeps/i386/fpu/libm-test-ulps: Update.
30368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30369
30370         [BZ #14034]
30371         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30372         of square root.
30373         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30375         * math/libm-test.inc (acos_test_tonearest): New function.
30376         (acos_test_towardzero): Likewise.
30377         (acos_test_downward): Likewise.
30378         (acos_test_upward): Likewise.
30379         (asin_test_tonearest): Likewise.
30380         (asin_test_towardzero): Likewise.
30381         (asin_test_downward): Likewise.
30382         (asin_test_upward): Likewise.
30383         (main): Call the new functions.
30384         * sysdeps/i386/fpu/libm-test-ulps: Update.
30385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30386
30387         [BZ #13884]
30388         [BZ #13924]
30389         * math/e_exp10.c: Include <float.h>.
30390         (__ieee754_exp10): Handle underflow here rather than multiplying
30391         large negative argument by M_LN10.
30392         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30393         of __ieee754_expf.
30394         * math/e_exp10l.c: Include <float.h>.
30395         (__ieee754_exp10l): Handle underflow here rather than multiplying
30396         large negative argument by M_LN10l.
30397         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30398         spurious overflow exception on underflow.
30399
30400 2012-04-29  Marek Polacek  <polacek@redhat.com>
30401
30402         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30403         (__fortify_function): New macro.
30404         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30405         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30406         __extern_always_inline.
30407         * libio/bits/stdio2.h: Likewise.
30408         * libio/bits/stdio.h: Likewise.
30409         * string/string.h: Likewise.
30410         * string/bits/string3.h: Likewise.
30411         * include/stdio.h: Likewise.
30412         * stdlib/bits/stdlib.h: Likewise.
30413         * stdlib/stdlib.h: Likewise.
30414         * rt/bits/mqueue2.h: Likewise.
30415         * rt/mqueue.h: Likewise.
30416         * posix/bits/unistd.h: Likewise.
30417         * posix/unistd.h: Likewise.
30418         * io/bits/poll2.h: Likewise.
30419         * io/bits/fcntl2.h: Likewise.
30420         * io/fcntl.h: Likewise.
30421         * io/sys/poll.h: Likewise.
30422         * misc/bits/syslog.h: Likewise.
30423         * misc/bits/syslog-ldbl.h: Likewise.
30424         * misc/sys/syslog.h: Likewise.
30425         * socket/bits/socket2.h: Likewise.
30426         * socket/sys/socket.h: Likewise.
30427         * debug/tst-chk1.c: Likewise.
30428         * wcsmbs/bits/wchar2.h: Likewise.
30429         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30430         * wcsmbs/wchar.h: Likewise.
30431
30432 2012-04-29  Andreas Jaeger  <aj@suse.de>
30433
30434         * Makerules (tests): Remove enable-check-abi protection.
30435         (check-abi-warn): Remove.
30436         (check-abi-%): Remove check-abi-warn usage.
30437
30438         * configure.in: Remove check-abi configure option.
30439         * configure: Regenerated.
30440         * config.make.in (enable-check-abi): Remove.
30441
30442 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30443
30444         [BZ #14033]
30445         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30446         double functions to double *_finite functions.
30447
30448         [BZ #13941]
30449         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30450         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30451         LDBL_MIN_EXP.
30452         * stdio-common/Makefile (tests): Add tst-sprintf3.
30453         * stdio-common/tst-sprintf3.c: New file.
30454
30455         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30456         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30457
30458 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30459
30460         * conform/conformtest.pl: Remove duplicate typed-constant
30461         handling.
30462
30463 2012-04-28  David S. Miller  <davem@davemloft.net>
30464
30465         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30466         (check-abi-%): Remove AWK script prerequisite and explicit
30467         abilist directory.
30468         (check-abi): Rewrite to just diff the symlist with the abilist.
30469         (config-tls, config-abi-config): Delete, no longer used.
30470         (update-abi-%): Remove AWK script and explicit abilist directory.
30471         (update-abi): Rewrite to simply compare and conditionally copy the
30472         symlist and the sysdep abilist file.  Remove update-abi-config
30473         checks.
30474         * abilist/ld.abilist: Remove.
30475         * abilist/libBrokenLocale.abilist: Remove.
30476         * abilist/libanl.abilist: Remove.
30477         * abilist/libcrypt.abilist: Remove.
30478         * abilist/libdl.abilist: Remove.
30479         * abilist/librt.abilist: Remove.
30480         * abilist/libthread_db.abilist: Remove.
30481         * abilist/libutil.abilist: Remove.
30482         * scripts/extract-abilist.awk: Remove.
30483         * scripts/merge-abilist.awk: Remove.
30484         * sysdeps/generic/libcidn.abilist: New file.
30485         * sysdeps/generic/libnss_compat.abilist: New file.
30486         * sysdeps/generic/libnss_db.abilist: New file.
30487         * sysdeps/generic/libnss_dns.abilist: New file.
30488         * sysdeps/generic/libnss_files.abilist: New file.
30489         * sysdeps/generic/libnss_hesiod.abilist: New file.
30490         * sysdeps/generic/libnss_nis.abilist: New file.
30491         * sysdeps/generic/libnss_nisplus.abilist: New file.
30492         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30493         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30494         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30495         file.
30496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30497         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30498         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30499         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30500         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30502         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30503         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30504         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30505         file.
30506         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30507         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30508         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30509         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30510         file.
30511         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30512         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30515         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30516         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30517         file.
30518         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30519         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30520         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30521         file.
30522         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30524         New file.
30525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30526         New file.
30527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30528         New file.
30529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30530         New file.
30531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30532         New file.
30533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30534         New file.
30535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30536         New file.
30537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30538         New file.
30539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30540         New file.
30541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30542         New file.
30543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30544         New file.
30545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30546         New file.
30547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30548         New file.
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30550         file.
30551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30552         New file.
30553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30554         New file.
30555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30556         file.
30557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30558         New file.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30560         New file.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30562         file.
30563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30564         New file.
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30566         New file.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30568         New file.
30569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30570         New file.
30571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30572         New file.
30573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30574         New file.
30575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30577         file.
30578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30579         New file.
30580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30581         file.
30582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30583         file.
30584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30585         file.
30586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30587         file.
30588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30589         file.
30590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30591         New file.
30592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30593         file.
30594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30595         file.
30596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30597         New file.
30598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30599         file.
30600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30602         file.
30603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30604         New file.
30605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30606         file.
30607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30608         file.
30609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30610         file.
30611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30612         file.
30613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30614         file.
30615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30616         New file.
30617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30618         file.
30619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30620         file.
30621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30622         New file.
30623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30624         file.
30625         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30626         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30627         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30628         file.
30629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30630         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30631         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30632         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30634         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30635         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30637         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30638         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30641         file.
30642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30643         New file.
30644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30645         file.
30646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30647         file.
30648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30649         file.
30650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30651         file.
30652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30653         file.
30654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30655         New file.
30656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30657         New file.
30658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30659         file.
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30661         New file.
30662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30663         file.
30664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30666         file.
30667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30668         New file.
30669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30670         file.
30671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30672         file.
30673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30674         file.
30675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30676         file.
30677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30678         file.
30679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30680         New file.
30681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30682         New file.
30683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30684         file.
30685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30686         New file.
30687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30688         file.
30689
30690 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30691
30692         * conform/conformtest.pl: Fix typo in handling typed-constant from
30693         allow-header.
30694
30695 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30696
30697         * README: Cut down references to pre-2.6 Linux kernels and
30698         Linuxthreads.  Update lists of configurations in libc and ports
30699         and sort alphabetically.  Say "or newer" with Linux kernel version
30700         requirements.
30701
30702         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30703
30704 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30705
30706         [BZ #887]
30707         * math/libm-test.inc (logb_test_downward): New test to expose
30708         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30709         rounding mode.
30710
30711 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30712
30713         [BZ #14027]
30714         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30715         to be done.
30716         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30717         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30718
30719 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30720
30721         * sysdeps/unix/i386/brk.S: Remove file.
30722         * sysdeps/unix/i386/dl-brk.S: Likewise.
30723         * sysdeps/unix/i386/pipe.S: Likewise.
30724         * sysdeps/unix/i386/sigreturn.S: Likewise.
30725         * sysdeps/unix/i386/syscall.S: Likewise.
30726         * sysdeps/unix/i386/vfork.S: Likewise.
30727         * sysdeps/unix/i386/wait.S: Likewise.
30728
30729         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30730         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30731
30732         * configure.in (arm*-none*): Do not allow without
30733         --enable-hacker-mode.
30734         (netbsd*): Remove case setting base_os.
30735         (386bsd*): Likewise.
30736         (freebsd*): Likewise.
30737         (bsdi*): Likewise.
30738         (osf*): Likewise.
30739         (sunos*): Likewise.
30740         (ultrix*): Likewise.
30741         (newsos*): Likewise.
30742         (dynix*): Likewise.
30743         (*bsd*): Likewise.
30744         (sysv*): Likewise.
30745         (isc*): Likewise.
30746         (esix*): Likewise.
30747         (sco*): Likewise.
30748         (minix*): Likewise.
30749         (irix4*): Likewise.
30750         (irix6*): Likewise.
30751         (solaris[2-9]*): Likewise.
30752         (none): Likewise.
30753         * configure: Regenerated.
30754
30755 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756
30757         [BZ #11521]
30758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30759         overflow or cancellation in calculating denominator.
30760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30761         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30762         down expression to avoid unexpected rounding in newer GCCs.
30763         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30764
30765 2012-04-26  David S. Miller  <davem@davemloft.net>
30766
30767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30768         long-double compat symbols.
30769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30782
30783 2012-04-25  David S. Miller  <davem@davemloft.net>
30784
30785         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30786         HWCAP_* values only after the memory barriers have been defined.
30787         (atomic_full_barrier): Define.
30788         (atomic_read_barrier): Define.
30789         (atomic_write_barrier): Define.
30790
30791 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30792
30793         * shlib-versions: Add libgcc_s version information.
30794         * sysdeps/generic/libgcc_s.h: Remove.
30795         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30796         libgcc_s.h.
30797         * sysdeps/gnu/unwind-resume.c: Likewise.
30798         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30799
30800 2012-04-25  David S. Miller  <davem@davemloft.net>
30801
30802         * sysdeps/unix/sparc/brk.S: Delete.
30803         * sysdeps/unix/sparc/dl-brk.S: Delete.
30804         * sysdeps/unix/sparc/pipe.S: Delete.
30805         * sysdeps/unix/sparc/sysdep.S: Delete.
30806         * sysdeps/unix/sparc/sysdep.h: Delete.
30807         * sysdeps/unix/sparc/vfork.S: Delete.
30808         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30809         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30810         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30811         ret_ERRVAL, r0, r1, MOVE): Define.
30812         (JUMPTARGET): Remove.
30813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30814         sysdeps/unix/sparc/sysdep.h
30815         (ENTRY, END): Remove.
30816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30817
30818 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30819
30820         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30821         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30822         -DIS_IN_build.
30823
30824         * timezone/README: Update upstream location and email address for
30825         tzcode and tzdata.
30826         * timezone/zdump.c: Update from tzcode 2012b.
30827         * timezone/zic.c: Likewise.
30828
30829         * configure.in (libc_cv_as_needed): Remove test.
30830         * configure: Regenerated.
30831         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30832         conditional definition.
30833         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30834         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30835         * config.make.in (have-as-needed): Remove variable.
30836
30837 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838             Paul Pluzhnikov  <ppluzhnikov@google.com>
30839
30840         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30841         strings correctly.
30842
30843 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30844
30845         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30846         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30847         * sysdeps/sh/strlen.S: Likewise.
30848
30849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30850
30851         * sysdeps/unix/fork.S: Remove file.
30852         * sysdeps/unix/i386/fork.S: Likewise.
30853         * sysdeps/unix/sparc/fork.S: Likewise.
30854
30855         * sysdeps/unix/system.c: Remove file.
30856         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30857
30858         * sysdeps/unix/getegid.S: Remove file.
30859         * sysdeps/unix/geteuid.S: Likewise.
30860
30861 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30862
30863         * scripts/check-localplt.awk: New file.
30864         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30865         of diff.
30866         * scripts/data/localplt-generic.data: Add a comment.
30867
30868         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30869         NODE when __dir_mkfile failed.
30870         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30871         Reported by Ludovic Courtès <ludo@gnu.org>.
30872
30873 2012-04-24  Andreas Jaeger  <aj@suse.de>
30874
30875         * Makerules (common-clean): Also remove gen-as-const-headers
30876         files.
30877
30878 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30879
30880         * Makerules (native-compile): Do not change working directory for
30881         build.  Use $(OUTPUT_OPTION) in command.
30882         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30883
30884 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30885
30886         [BZ #13886]
30887         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30888         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30889         * math/libm-test.inc (floor_test): Add more tests.
30890         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30891
30892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30893
30894         * sysdeps/unix/getdents.c: Remove file.
30895         * sysdeps/unix/sysv/getdents.c: Likewise.
30896         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30897
30898         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30899         sysdeps/unix/mman/syscalls.list.
30900         (mmap): Likewise.
30901         (mprotect): Likewise.
30902         (msync): Likewise.
30903         (munmap): Likewise.
30904         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30905         * sysdeps/unix/mman/syscalls.list: Remove.
30906         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30907
30908         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30909         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30910         * configure: Regenerated.
30911         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30912         $(libgcc_s_suffix).
30913         * config.make.in (libgcc_s_suffix): Remove variable.
30914
30915 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30916
30917         * sysdeps/unix/sysv/gethostname.c: Move to ...
30918         * sysdeps/posix/gethostname.c: ... here.
30919
30920         * sysdeps/unix/execve.S: Remove file.
30921
30922         * sysdeps/unix/_exit.S: Remove file.
30923
30924 2012-04-23  Andreas Jaeger  <aj@suse.de>
30925
30926         [BZ #13739]
30927         * manual/Makefile: Remove make dist support, there's no
30928         need for a stand-alone documentation tar ball.
30929         (TEXI2DVI): Define always, it's not in Makeconfig.
30930         (dist): Removed.
30931         (tar-it): Removed.
30932         (edition): Removed.
30933         (glibc-doc-$(edition).tar): Removed
30934         (%.Z): Removed.
30935         (%.gz): Removed.
30936         (%.uu): Removed.
30937         (ETAGS): Remove, it's in Makeconfig.
30938         (move-if-change): Remove, it's in Makeconfig.
30939
30940 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30941
30942         [BZ #13970]
30943         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30944         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30945         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30946         (strtod_l, strtof_l, strtold_l): Remove __wur.
30947         It is not necessarily an error to ignore strtol's return value.
30948         One can reliably look at the stored endptr to decide whether
30949         the number had valid syntax.
30950
30951 2012-04-21  Andreas Jaeger  <aj@suse.de>
30952
30953         [BZ #13739]
30954         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30955
30956 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30957
30958         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30959         * sysdeps/unix/sysv/Versions: Remove file.
30960
30961 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30962
30963         [BZ #13927]
30964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30965
30966 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30967
30968         [BZ #7064]
30969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30970         version from __vm86.
30971
30972 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30973
30974         * sysdeps/unix/common/lxstat.c: Remove file.
30975         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30976
30977         * sysdeps/unix/sysv/Makefile: Remove file.
30978
30979         * sysdeps/unix/sysv/direct.h: Remove file.
30980
30981         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30982         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30983         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30984         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30985         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30986         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30987         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30988
30989         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30990
30991         * sysdeps/unix/xmknod.c: Remove file.
30992         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30993
30994         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30995
30996         * sysdeps/unix/sysv/i386/time.S: Remove file.
30997
30998         * sysdeps/unix/fxstat.c: Remove file.
30999         * sysdeps/unix/xstat.c: Likewise.
31000         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31001
31002         * sysdeps/unix/sysv/sigaction.c: Remove file.
31003
31004         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31005         (sysdep_headers): Remove variable.
31006         [termio.h not in sysdep_headers] (generated): Likewise.
31007         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31008         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31009         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31010         * sysdeps/unix/sysv/tcflow.c: Likewise.
31011         * sysdeps/unix/sysv/tcflush.c: Likewise.
31012         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31013         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31014         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31015         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31016         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31017
31018         * sysdeps/unix/siglist.c: Remove file.
31019
31020         * sysdeps/unix/getppid.S: Remove file.
31021
31022         * sysdeps/unix/mkdir.c: Remove file.
31023         * sysdeps/unix/rmdir.c: Likewise.
31024
31025 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31026
31027         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31028         ERR_MAX value.
31029         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31030         errlist-compat value.
31031
31032 2012-04-18  David S. Miller  <davem@davemloft.net>
31033
31034         * sysdeps/generic/memcopy.h (reg_char): Delete.
31035         * debug/strcat_chk.c: Use char, not reg_char.
31036         * debug/strcpy_chk.c: Likewise.
31037         * debug/strncat_chk.c: Likewise.
31038         * debug/strncpy_chk.c: Likewise.
31039         * string/memchr.c: Likewise.
31040         * string/memrchr.c: Likewise.
31041         * string/rawmemchr.c: Likewise.
31042         * string/strcat.c: Likewise.
31043         * string/strchr.c: Likewise.
31044         * string/strchrnul.c: Likewise.
31045         * string/strcmp.c: Likewise.
31046         * string/strcpy.c: Likewise.
31047         * string/strncat.c: Likewise.
31048         * string/strncmp.c: Likewise.
31049         * string/strncpy.c: Likewise.
31050
31051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31052
31053         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31054         __builtin_memcopy is called when src and dest ranges are known to not
31055         overlap.
31056
31057 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31058
31059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31060         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31061         fwd_align_merge macro call.
31062         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31063         bwd_align_merge macro call.
31064         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31065
31066 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31067
31068         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31069         bwd_align_merge macros.
31070         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31071         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31073
31074 2012-04-18  David S. Miller  <davem@davemloft.net>
31075
31076         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31077
31078 2012-04-18  Andreas Jaeger  <aj@suse.de>
31079
31080         [BZ# 6794]
31081         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31082         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31083         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31084
31085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31086         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31087         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31088
31089         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31090         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31091         Adjust for changed ldbl-128 files.
31092
31093         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31094         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31096
31097 2012-04-17  David S. Miller  <davem@davemloft.net>
31098
31099         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31100
31101 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31102
31103         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31104         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31105         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31106         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31107         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31108         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31109
31110 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31111
31112         [BZ #6794]
31113         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31114         * math/libm-test.inc: Add ilogb errno and exception tests.
31115         * math/w_ilogb.c: New file: ilogb wrapper.
31116         * math/w_ilogbf.c: New file: ilogbf wrapper.
31117         * math/w_ilogbl.c: New file: ilogbl wrapper.
31118         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31119         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31120         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31121         exception being thrown with 0.0 as argument.
31122         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31123         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31124         exception being thrown with 0.0 as argument.
31125         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31126         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31127         exception being thrown with 0.0 as argument.
31128         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31129         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31130         exception being thrown with 0.0 as argument.
31131         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31132         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31133         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31134         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31137         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31138         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31139         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31140
31141 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31142
31143         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31144         with altivec.
31145
31146 2012-04-16  Marek Polacek  <polacek@redhat.com>
31147
31148         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31149
31150 2012-04-16  Marek Polacek  <polacek@redhat.com>
31151
31152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31153         operands of fdivp instruction.
31154
31155 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31156
31157         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31158         * elf/tst-auditmod3b.c: Likewise.
31159         * elf/tst-auditmod4b.c: Likewise.
31160         * elf/tst-auditmod5b.c: Likewise.
31161         * elf/tst-auditmod6b.c: Likewise.
31162         * elf/tst-auditmod6c.c: Likewise.
31163         * elf/tst-auditmod7b.c: Likewise.
31164         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31165         * sysdeps/x86_64/preconfigure.in: Likewise.
31166         * sysdeps/x86_64/preconfigure: Regenerated.
31167
31168 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31169
31170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31171         __ILP32__.
31172
31173 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31174
31175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31176         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31177
31178 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31179
31180         [BZ #13973]
31181         * locale/iso-639.def: Fix gl language name. Spotted by
31182         Yaron Shahrabani.
31183
31184 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31185
31186         [BZ #2074]
31187         * libio/libio.h (__io_write_fn): Update comment.
31188
31189 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31190
31191         [BZ #2074]
31192         * stdio.texi (Hook Functions): The user provided writer function
31193         is not allowed to return -1.
31194
31195 2012-04-11  David S. Miller  <davem@davemloft.net>
31196
31197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31198
31199 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31200
31201         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31202         Add a leading slash to rtkaio.
31203
31204 2012-04-11  Jim Meyering  <meyering@redhat.com>
31205
31206         [BZ #11959]
31207         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31208         It is not necessarily an error to ignore fwrite's return
31209         value.  One can reliably use ferror to test for errors after
31210         the fact.
31211
31212 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31213
31214         * bits/types.h (__snseconds_t): New type.
31215         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31216
31217         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31219         (__SNSECONDS_T_TYPE): Likewise.
31220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31221         (__SNSECONDS_T_TYPE): Likewise.
31222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31223         (__SNSECONDS_T_TYPE): Likewise.
31224
31225 2012-04-10  Andreas Jaeger  <aj@suse.de>
31226
31227         [BZ #2636]
31228         * manual/time.texi (Processor Time): Return type of times is
31229         elapsed real time since an arbitrary point in the past.
31230         (CPU Time): Move CLK_TCK from here...
31231         (Processor Time): ...to here.  Correct description.
31232         * manual/conf.texi (Constants for Sysconf): Correct description of
31233         _SC_CLK_TCK.
31234
31235 2012-04-10  David S. Miller  <davem@davemloft.net>
31236
31237         [BZ #13967]
31238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31239         where the is a gap between DT_REL(A) and DT_JMPREL.
31240
31241 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31242
31243         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31244         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31245         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31246
31247 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31248
31249         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31250         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31251         (dl_main): Handle --inhibit-cache.
31252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31253         _dl_inhibit_cache.
31254         * elf/dl-load.c (_dl_map_object): Use it.
31255         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31256
31257 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31258
31259         [BZ #13872]
31260         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31261         (__ieee754_powl): Saturate large exponents rather than testing for
31262         overflow of y*log2(x).
31263         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31264         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31265         exceptions.
31266
31267         [BZ #11521]
31268         * math/s_ctan.c: Include <float.h>.
31269         (__ctan): Avoid internal overflow or cancellation in calculating
31270         denominator.
31271         * math/s_ctanf.c: Likewise.
31272         * math/s_ctanl.c: Likewise.
31273         * math/s_ctanh.c: Likewise.
31274         * math/s_ctanhf.c: Likewise.
31275         * math/s_ctanhl.c: Likewise.
31276         * math/libm-test.inc (ctan_test): Add more tests.
31277         (ctanh_test): Likewise.
31278         * sysdeps/i386/fpu/libm-test-ulps: Update.
31279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31280
31281 2012-04-09  Andreas Jaeger  <aj@suse.de>
31282
31283         [BZ #6894]
31284         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31285         is an optional BSD extension.
31286
31287         [BZ #10254]
31288         * manual/stdio.texi (Opening Streams): Document additional fopen
31289         parameters.
31290
31291 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31292
31293         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31294         %eax without telling the compiler.
31295
31296 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31297
31298         [BZ # 13963]
31299         * manual/install.texi: Use sourceware.org.
31300
31301 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31302
31303         [BZ #13873]
31304         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31305         (__ieee754_pow): Generate overflow and underflow using huge*huge
31306         and tiny*tiny rather than just returning constant infinity or zero
31307         for large exponents.
31308         * math/libm-test.inc (pow_test): Require overflow exceptions for
31309         applicable cases of large exponents.
31310
31311         [BZ #706]
31312         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31313         (__ieee754_pow): Use iterative multiplication algorithm only for
31314         integer exponents with absolute value below 1024.  Check for odd
31315         integer exponents when using algorithm for real exponents.
31316         * math/libm-test.inc (pow_test): Add more tests.
31317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31318
31319 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31320
31321         [BZ #13705]
31322         * math/libm-test.inc (exp_test): Do not allow overflow exception
31323         on underflow test.
31324
31325 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31326
31327         [BZ #13705]
31328         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31329         instead of __kernel_standard_f.
31330
31331 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31332
31333         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31334         * sysdeps/x86_64/memset_chk.S: Likewise.
31335
31336 2012-04-08  Andreas Jaeger  <aj@suse.de>
31337
31338         [BZ #10153]
31339         * manual/startup.texi (Environment Access): Describe return value
31340         for putenv and setenv.
31341
31342         [BZ #6895]
31343         * manual/filesys.texi (Directory Entries): Add description for
31344         DT_LNK.
31345
31346         [BZ #6890]
31347         * manual/filesys.texi (Directory Entries): Clarify that it's file
31348         system not operating system in the description of DT_UNKNOWN.
31349
31350         [BZ #6578]
31351         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31352
31353 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31354
31355         [BZ #6649]
31356         * manual/llio.texi (Opening and Closing Files): Add cross
31357         reference to explain mode argument.
31358
31359 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31360
31361         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31362         * sysdeps/x86_64/memset_chk.S: Likewise.
31363
31364 2012-04-07  David S. Miller  <davem@davemloft.net>
31365
31366         * elf/elf.h (R_SPARC_WDISP10): Define.
31367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31368         R_SPARC_SIZE32.
31369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31370         R_SPARC_SIZE64 and R_SPARC_H34.
31371
31372 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31373
31374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31375         conditions and remove no longer applicable assertion.
31376
31377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31378
31379         * bits/byteswap.h: Include <features.h>.
31380         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31381         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31382
31383 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31384
31385         * bits/byteswap.h (__bswap_16): Removed.
31386         Include <bits/byteswap-16.h> to get __bswap_16.
31387         * sysdeps/i386/bits/byteswap.h: Likewise.
31388         * sysdeps/s390/bits/byteswap.h: Likewise.
31389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31390         * bits/byteswap-16.h: New file.
31391         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31392         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31393         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31394         * string/Makefile (headers): Add bits/byteswap-16.h.
31395
31396 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31397
31398         [BZ #13895]
31399         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31400         extra indirection.
31401         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31402         * nss/tst-nss-static.c: New.
31403
31404 2012-04-06  Robert Millan  <rmh@gnu.org>
31405
31406         [BZ #6486]
31407         * manual/llio.texi (File Position Primitive): lseek
31408         refers to WHENCE when it really means OFFSET.
31409
31410 2012-04-06  Andreas Jaeger  <aj@suse.de>
31411
31412         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31413         strncmp declarations.
31414
31415         * abilist/libc.abilist: Add __poll and __ppoll.
31416
31417 2012-04-05  David S. Miller  <davem@davemloft.net>
31418
31419         * scripts/check-local-headers.sh: Accept a host triplet in the
31420         path matched by the exclude regexp.
31421
31422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31423         definition.
31424         * sysdeps/powerpc/powerpc32/dl-machine.h
31425         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31426         * sysdeps/s390/s390-32/dl-machine.h
31427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31428         * sysdeps/sparc/sparc32/dl-machine.h
31429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31430         * sysdeps/sparc/sparc64/dl-machine.h
31431         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31432
31433         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31434         lazy binding.
31435         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31436         undefined symbol errors.
31437
31438         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31439         DT_NEEDED entries.
31440
31441 2012-04-05  Michael Matz  <matz@suse.de>
31442
31443         [BZ #13592]
31444         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31445
31446 2012-04-05  Andreas Jaeger  <aj@suse.de>
31447
31448         [BZ #13908]
31449         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31450         comment.
31451
31452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31453
31454         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31455         which ROUND is no valid rounding mode.
31456
31457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31458
31459         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31460         read again.
31461         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31462
31463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31464
31465         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31466         an exception using FPU order intentionally.
31467
31468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31469
31470         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31471         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31472         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31473         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31474
31475 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31476
31477         [BZ #12340]
31478         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31479         EINVAL when BUFLEN is too smal.
31480
31481 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31482
31483         [BZ #13553]
31484         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31485         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31486
31487 2012-04-03  Andreas Jaeger  <aj@suse.de>
31488
31489         [BZ #13938]
31490         * manual/setjmp.texi (System V contexts): Fix sentence.
31491
31492         [BZ #13926]
31493         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31494         New macro for this case.
31495         [!__GNUC__] (__bswap_64): New inline function for this case.
31496         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31497         * bits/byteswap.h: Likewise.
31498         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31499         ull, guard with __GLIBC_HAVE_LONG_LONG.
31500
31501         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31502         __GLIBC_HAVE_LONG_LONG.
31503
31504         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31505         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31506
31507 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31508
31509         [BZ #13691]
31510         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31511         inptr and inend, rather than using last_ch.
31512
31513 2012-04-02  David S. Miller  <davem@davemloft.net>
31514
31515         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31516         * stdio-common/printf-parse.h (read_int): Change return type to
31517         'int', return -1 on INT_MAX overflow.
31518         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31519         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31520         overflows INT_MAX.  Check for overflow of in-format-string precision
31521         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31522         SIZE_MAX not INT_MAX for integer overflow test.
31523         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31524         skip the construct in the format string but do not record anything.
31525         * stdio-common/bug22.c: Adjust to test both width/prevision
31526         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31527         explicitly for proper errno values.
31528
31529 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31530
31531         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31532         CHAR_MAX.
31533         * string/test-strcmp.c [! WIDE]: Likewise.
31534         * time/tst-mktime2.c: Likewise for INT_MAX.
31535         * string/test-string.h: #include <sys/param.h> for MIN.
31536
31537         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31538         * sysdeps/i386/init-first.c (init): Likewise.
31539         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31540         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31541         * sysdeps/sh/init-first.c (init): Likewise.
31542
31543 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31544
31545         * po/ru.po: Update from translation team.
31546         * po/vi.po: Likewise.
31547
31548 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31549
31550         * resolv/nss_dns/dns-host.c: Merge copyright years.
31551
31552 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31553
31554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31555         Optimize memcpy with prefetch if
31556         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31557         src, dst pointers have unequal 16 byte alignments.
31558
31559 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31560
31561         [BZ #13928]
31562         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31563         from a CNAME entry and return the minimum ttl for the query.
31564         (gaih_getanswer_slice): Likewise.
31565
31566 2012-03-30  Jeff Law  <law@redhat.com>
31567
31568         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31569         due to long keys.
31570         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31571         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31572
31573         * resolv/nss_dns/dns-host.c: Update copyright year.
31574
31575 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31576
31577         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31578         requests to save a system call.  Fix check that all bytes are sent.
31579
31580         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31581         comments for sendmmsg.
31582
31583 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31584
31585         [BZ #13691]
31586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31587         with only 1 character between 0x0041 and 0x01b0.
31588         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31589         * wcsmbs/tst-mbsnrtowcs.c: New file.
31590
31591 2012-03-29  David S. Miller  <davem@davemloft.net>
31592
31593         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31594         small copies by hand.
31595
31596 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31597
31598         [BZ #13761]
31599         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31600         _nss_compat_initgroups_dyn): Fall back to malloc/free
31601         for large group memberships.
31602
31603 2012-03-28  David S. Miller  <davem@davemloft.net>
31604
31605         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31606         that branches into memcpy.
31607         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31610         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31612         bits.
31613         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31614         implementation too.
31615         * sysdeps/sparc/mempcpy.S: New file.
31616
31617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31618         the IFUNC routine in the libc case.
31619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31620
31621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31622         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31623         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31624         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31625         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31626         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31627         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31628         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31629
31630         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31631         loop to 256 bytes instead of 64 bytes and fix test signedness.
31632
31633         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31634         * sysdeps/sparc/sparc32/Makefile: rather than here...
31635         * sysdeps/sparc/sparc64/Makefile: and here.
31636
31637 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31638
31639         * malloc/mallocbug.c: Avoid warnings about unused variables.
31640
31641 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31642
31643         [BZ #13760]
31644         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31645         in the right place. Discard and retry query if response is
31646         larger than input buffer size.
31647
31648 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31649
31650         [BZ #369]
31651         [BZ #2678]
31652         [BZ #3866]
31653         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31654         x for large integer exponent.
31655         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31656         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31657         sign of result as needed afterwards.
31658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31659         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31660         result for underflowing pow the same as for overflow.
31661         (__kernel_standard_l): Handle powl overflow and underflow here
31662         rather than calling __kernel_standard.
31663         * math/libm-test.inc (pow_test): Add more tests.
31664
31665         [BZ #3868]
31666         [BZ #13879]
31667         [BZ #13910]
31668         [BZ #13911]
31669         [BZ #13912]
31670         [BZ #13913]
31671         [BZ #13915]
31672         [BZ #13916]
31673         [BZ #13917]
31674         [BZ #13918]
31675         [BZ #13919]
31676         [BZ #13920]
31677         [BZ #13921]
31678         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31679         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31680         (__kernel_standard_l): New function.
31681         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31682         __kernel_standard.
31683         * math/w_acosl.c (__acosl): Likewise.
31684         * math/w_asinl.c (__asinl): Likewise.
31685         * math/w_atan2l.c (__atan2l): Likewise.
31686         * math/w_atanhl.c (__atanhl): Likewise.
31687         * math/w_coshl.c (__coshl): Likewise.
31688         * math/w_exp10l.c (__exp10l): Likewise.
31689         * math/w_exp2l.c (__exp2l): Likewise.
31690         * math/w_fmodl.c (__fmodl): Likewise.
31691         * math/w_hypotl.c (__hypotl): Likewise.
31692         * math/w_j0l.c (__j0l, __y0l): Likewise.
31693         * math/w_j1l.c (__j1l, __y1l): Likewise.
31694         * math/w_jnl.c (__jnl, __ynl): Likewise.
31695         * math/w_lgammal.c (__lgammal): Likewise.
31696         * math/w_log10l.c (__log10l): Likewise.
31697         * math/w_log2l.c (__log2l): Likewise.
31698         * math/w_logl.c (__logl): Likewise.
31699         * math/w_powl.c (__powl): Likewise.
31700         * math/w_remainderl.c (__remainderl): Likewise.
31701         * math/w_scalbl.c (sysv_scalbl): Likewise.
31702         * math/w_sinhl.c (__sinhl): Likewise.
31703         * math/w_sqrtl.c (__sqrtl): Likewise.
31704         * math/w_tgammal.c (__tgammal): Likewise.
31705         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31706         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31707         * math/libm-test.inc (acos_test): Add more tests.
31708         (acosh_test): Likewise.
31709         (asin_test): Likewise.
31710         (atanh_test): Likewise.
31711         (exp_test): Likewise.
31712         (exp10_test): Likewise.
31713         (exp2_test): Likewise.
31714         (expm1_test): Likewise.
31715         (lgamma_test): Likewise.
31716         (log_test): Likewise.
31717         (log10_test): Likewise.
31718         (log1p_test): Likewise.
31719         (log2_test): Likewise.
31720         (pow_test): Do not allow some spurious overflow exceptions.
31721         (sqrt_test): Add more tests.
31722         (tgamma_test): Likewise.
31723         (y0_test): Likewise.
31724         (y1_test): Likewise.
31725         (yn_test): Likewise.
31726
31727 2012-03-27  Anton Blanchard  <anton@samba.org>
31728
31729         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31730         MAP_HUGETLB.
31731         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31732         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31734
31735 2012-03-27  David S. Miller  <davem@davemloft.net>
31736
31737         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31738
31739         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31740         have-as-vis3 check.
31741
31742 2012-03-27  Andreas Jaeger  <aj@suse.de>
31743
31744         * sysdeps/x86_64/elf/configure.in: Moved to ...
31745         * sysdeps/x86_64/configure.in: ... here.
31746         * sysdeps/x86_64/elf/start.S: Moved to ...
31747         * sysdeps/x86_64/start.S: ... here.
31748         * sysdeps/x86_64/elf/configure: Delete.
31749
31750         * sysdeps/x86_64/configure.in: Merge contents from
31751         sysdeps/i386/configure.in (without i686 check).
31752
31753         * sysdeps/i386/elf/Versions: Merge into ...
31754         * sysdeps/i386/Versions: ... this.
31755         * sysdeps/i386/elf/Versions: Delete file.
31756         * sysdeps/i386/elf/start.S: Moved to ...
31757         * sysdeps/i386/start.S: ...here.
31758         * sysdeps/i386/elf/configure.in: Merge into...
31759         * sysdeps/i386/configure.in: ...here.
31760         * sysdeps/i386/elf/configure.in: Delete file.
31761         * sysdeps/i386/elf/configure: Delete file.
31762
31763         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31764         * debug/backtracesyms.c: ... here.
31765         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31766         * debug/backtracesymsfd.c: ... here.
31767         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31768         * sysdeps/generic/ifunc-sel.h: ... here.
31769
31770         * sysdeps/unix/i386/start.c: Delete file.
31771         * sysdeps/unix/sparc/start.c: Delete file.
31772         * sysdeps/unix/start.c: Delete file.
31773
31774         * sysdeps/sh/elf/configure.in: Moved to ...
31775         * sysdeps/sh/configure.in: ... here.
31776         * sysdeps/sh/elf/start.S: Moved to ...
31777         * sysdeps/sh/start.S: ... here.
31778         * sysdeps/sh/elf/configure: Delete file.
31779
31780         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31781         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31782         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31783         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31784         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31785         * sysdeps/powerpc/powerpc64/start.S: here.
31786         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31787         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31788         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31789         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31790         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31791
31792         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31793         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31794         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31795         * sysdeps/powerpc/powerpc32/start.S: ... here.
31796         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31797         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31798         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31799
31800         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31801         * sysdeps/powerpc/ifunc-sel.h: ... here.
31802         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31803         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31804
31805         * sysdeps/sparc/elf/configure.in: Moved to ...
31806         * sysdeps/sparc/configure.in: ... here.
31807         * sysdeps/sparc/elf/configure: Delete file.
31808         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31809         * sysdeps/sparc/sparc32/start.S: ... here.
31810         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31811         * sysdeps/sparc/sparc64/start.S: ... here.
31812         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31813         * sysdeps/sparc/sparc32/Makefile: ... this.
31814         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31815         * sysdeps/sparc/sparc64/Makefile: ... this.
31816
31817         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31818         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31819         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31820         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31821         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31822         * sysdeps/s390/s390-32/setjmp.S: ... here.
31823         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31824         * sysdeps/s390/s390-32/configure.in: ... here.
31825         * sysdeps/s390/s390-32/elf/configure: Delete file.
31826         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31827         * sysdeps/s390/s390-32/start.S: ... here.
31828
31829         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31830         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31831         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31832         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31833         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31834         * sysdeps/s390/s390-64/setjmp.S: ... here.
31835         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31836         * sysdeps/s390/s390-64/configure.in: ... here
31837         * sysdeps/s390/s390-64/elf/configure: Delete file.
31838         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31839         * sysdeps/s390/s390-64/start.S: ... here.
31840         * sysdeps/s390/s390-64/elf/configure: Delete.
31841
31842         * configure.in: Remove support for elf directories in sysdeps.
31843
31844         * configure: Regenerated.
31845         * sysdeps/i386/configure: Regenerated.
31846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31847         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31848         * sysdeps/s390/s390-32/configure: Regenerated.
31849         * sysdeps/s390/s390-64/configure: Regenerated.
31850         * sysdeps/sh/configure: Regenerated.
31851         * sysdeps/sparc/configure: Regenerated.
31852         * sysdeps/x86_64/configure: Regenerated.
31853
31854 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31855
31856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31857
31858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31859         denormal result into account.
31860
31861 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31862
31863         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31864         Reported by Allan McRae <allan@archlinux.org>.
31865
31866 2012-03-23  Jeff Law  <law@redhat.com>
31867
31868         * nss/getnssent.c (__nss_getent): Fix typo.
31869
31870 2012-03-23  David S. Miller  <davem@davemloft.net>
31871
31872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31873
31874 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31875
31876         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31877         to pad to uint64_t for each field.
31878         (dl_tls_index): Replace unsigned long with uint64_t.
31879
31880 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31881         Paul Pluzhnikov  <ppluzhnikov@google.com>
31882
31883         [BZ #6528]
31884         * grp/Makefile (otherlibs): Don't set it.
31885         * inet/Makefile (otherlibs): Likewise.
31886         * login/Makefile (otherlibs): Likewise.
31887         * nscd/Makefile (otherlibs): Likewise.
31888         * posix/Makefile (otherlibs): Likewise.
31889         * pwd/Makefile (otherlibs): Likewise.
31890         * rt/Makefile (otherlibs): Likewise.
31891         * sunrpc/Makefile (otherlibs): Likewise.
31892         * nss/Makefile (otherlibs): Likewise.
31893         Add libnss_files to routines and static-only-routines.
31894         ($(objpfx)getent): Remove rule.
31895         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31896         static-only-routines.
31897
31898 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31899
31900         [BZ #13892]
31901         * math/s_cexp.c: Include <float.h>.
31902         (__cexp): Handle exp result overflowing not necessarily
31903         overflowing both real and imaginary parts of result.
31904         * math/s_cexpf.c: Likewise.
31905         * math/s_cexpl.c: Likewise.
31906         * math/libm-test.inc (cexp_test): Add more tests.
31907         * sysdeps/i386/fpu/libm-test-ulps: Update.
31908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31909
31910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31911
31912         * include/link.h (ELFW): New macro.
31913         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31914         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31915
31916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31917
31918         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31919         with uint64_t.
31920
31921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31922
31923         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31924         declaration.
31925         (struct La_x32_retval): Likewise.
31926
31927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31928
31929         * sysdeps/x86_64/preconfigure.in: New file.
31930         * sysdeps/x86_64/preconfigure: New generated file.
31931
31932 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31933
31934         [BZ #13824]
31935         * math/e_exp2l.c: Include <float.h>.
31936         (__ieee754_exp2l): Handle overflow and underflow cases
31937         separately.  Only pass fractional part of argument to
31938         __ieee754_expl.
31939         * math/libm-test.inc (exp2_test): Add more tests.
31940
31941         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31942         negating x to take absolute value.
31943         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31944         Likewise.
31945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31947         Likewise.
31948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31949         computing low part if x was negated.
31950         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31951
31952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31953
31954         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31955         la_x32_gnu_pltexit.
31956         (pltexit): Cast int_retval to ptrdiff_t.
31957         * elf/tst-auditmod3b.c: Likewise.
31958         * elf/tst-auditmod4b.c: Likewise.
31959         * elf/tst-auditmod5b.c: Likewise.
31960         * elf/tst-auditmod6b.c: Likewise.
31961         * elf/tst-auditmod6c.c: Likewise.
31962         * elf/tst-auditmod7b.c: Likewise.
31963
31964         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31965         and x32_gnu_pltexit.
31966
31967         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31968         __ELF_NATIVE_CLASS.
31969         (La_x32_regs): New macro.
31970         (La_x32_retval): Likewise.
31971         (la_x32_gnu_pltenter): New function prototype.
31972         (la_x32_gnu_pltexit): Likewise.
31973
31974 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31975
31976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31977         exponent.
31978
31979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31980
31981         * configure.in (libc_cv_cc_nofma): Check for option to disable
31982         generation of FMA instructions.
31983         * configure: Regenerate.
31984         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31985         * sysdeps/ieee754/dbl-64/Makefile: New file.
31986         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31987         Remove brandred-fma4.
31988         (CFLAGS-brandred-fma4.c): Remove.
31989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31990         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31991         define.
31992         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31993         define.
31994
31995 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31996
31997         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31998         LLONG_MAX != LONG_MAX.
31999         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32000         (_fitoa_word): Likewise.
32001         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32002         LLONG_MAX != LONG_MAX.
32003         * stdio-common/_itowa.h: Include <_itoa.h>.
32004         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32005         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32006         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32007         only if not defined.
32008         (_ITOA_WORD_TYPE): Likewise.
32009         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32010         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32011
32012 2012-03-21  David S. Miller  <davem@davemloft.net>
32013
32014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32015
32016 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32017
32018         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32019         of x86_64 when setting libc_cv_slibdir, libdir and
32020         libc_cv_localedir.
32021         * sysdeps/unix/sysv/linux/configure: Regenerated.
32022
32023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32024
32025         * manual/lang.texi (Old Varargs): Remove section.
32026         (How Variadic): Update menu.
32027         (va_start): Do not mention varargs.h.
32028
32029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32030             Joseph Myers  <joseph@codesourcery.com>
32031
32032         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32033         link test.
32034         * configure: Regenerated.
32035
32036 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32037
32038         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32039         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32040         conformtest.pl
32041
32042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32043
32044         * NOTES: Remove.
32045         * Makefile (files-for-dist): Remove NOTES.
32046         (NOTES): Remove rule.
32047         * README: Don't refer to NOTES.
32048         * manual/creature.texi: Don't include macros.texi.
32049         * manual/intro.texi (creature.texi): Remove comment referring to
32050         NOTES.
32051
32052         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32053         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32054         * configure: Regenerated.
32055         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32056         LIBC_TRY_CC_OPTION.
32057         (libc_cv_as_i686): Likewise.
32058         (libc_cv_cc_avx): Likewise.
32059         (libc_cv_cc_sse2avx): Likewise.
32060         (libc_cv_cc_fma4): Likewise.
32061         (libc_cv_cc_novzeroupper): Likewise.
32062         * sysdeps/i386/configure: Regenerated.
32063
32064         [BZ #13883]
32065         * sysdeps/i386/fpu/s_cexp.S: Remove.
32066         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32067         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32068         * math/libm-test.inc (cexp_test): Add more tests.
32069         * sysdeps/i386/fpu/libm-test-ulps: Update.
32070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32071
32072 2012-03-21  Allan McRae  <allan@archlinux.org>
32073
32074         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32075
32076 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32077
32078         [BZ #13871]
32079         * math/w_exp2.c: Do not include <float.h>.
32080         (o_threshold, u_threshold): Remove.
32081         (__exp2): Calculate result before checking finiteness and calling
32082         __kernel_standard.
32083         * math/w_exp2f.c: Likewise.
32084         * math/w_exp2l.c: Likewise.
32085         * math/libm-test.inc (exp2_test): Require overflow exception for
32086         1e6 input.
32087
32088         [BZ #3866]
32089         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32090         range of signed 64-bit integers before using fistpll.  Remove
32091         checks for whether integers fit in mantissa bits.
32092         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32093         the range of signed 32-bit integers before using fistpl.  Remove
32094         checks for whether integers fit in mantissa bits.
32095         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32096         (__ieee754_powl): Test for y outside the range of signed 64-bit
32097         integers before using fistpll.  Reduce 64-bit values to 63-bit
32098         ones as needed.
32099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32100         divide-by-zero is raised for zero to large negative powers.
32101         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32102         (__ieee754_powl): Test for y outside the range of signed 64-bit
32103         integers before using fistpll.  Reduce 64-bit values to 63-bit
32104         ones as needed.
32105         * math/libm-test.inc (pow_test): Add more tests.
32106
32107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32108
32109         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32110         <stdio-common/_itoa.h>.
32111         * debug/segfault.c: Likewise.
32112         * elf/dl-cache.c: Likewise.
32113         * elf/dl-minimal.c: Likewise.
32114         * elf/dl-misc.c: Likewise.
32115         * elf/dl-sysdep.c: Likewise.
32116         * elf/dl-version.c: Likewise.
32117         * elf/rtld.c: Likewise.
32118         * hurd/hurdsock.c: Likewise.
32119         * hurd/lookup-retry.c: Likewise.
32120         * malloc/malloc.c: Likewise.
32121         * malloc/mtrace.c: Likewise.
32122         * nscd/nscd_getgr_r.c: Likewise.
32123         * nscd/nscd_getpw_r.c: Likewise.
32124         * nscd/nscd_getserv_r.c: Likewise.
32125         * posix/getopt_init.c: Likewise.
32126         * posix/wordexp.c: Likewise.
32127         * stdio-common/_itoa.c: Likewise.
32128         * stdio-common/printf_fphex.c: Likewise.
32129         * stdio-common/vfprintf.c: Likewise.
32130         * string/_strerror.c: Likewise.
32131         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32132         * sysdeps/i386/i686/hp-timing.h: Likewise.
32133         * sysdeps/mach/_strerror.c: Likewise.
32134         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32135         * sysdeps/mach/hurd/sethostid.c: Likewise.
32136         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32137         * sysdeps/mach/xpg-strerror.c: Likewise.
32138         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32140         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32141         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32142         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32143         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32145         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32146         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32147         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32148         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32149         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32150         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32151         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32152         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32153         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32154         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32155         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32156         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32157         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32158         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32159
32160         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32161
32162         * stdio-common/_itoa.h: Moved to ...
32163         * sysdeps/generic/_itoa.h: Here.
32164
32165         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32166
32167         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32168         instead of "_itoa.h" and "_itowa.h".
32169         * stdio-common/vfprintf.: Likewise.
32170
32171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32172
32173         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32174         <bits/wordsize.h>.
32175         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32176         (__signbit): Likwise.
32177         (llrintf): Likwise.
32178         (llrint): Likwise.
32179
32180 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32181
32182         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32183         __WORDSIZE != 64.
32184
32185 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32186
32187         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32188         OVERFLOW_EXCEPTION_OK.
32189         * math/libm-test.inc ("Philosophy"): Update comment about
32190         exception testing.
32191         (OVERFLOW_EXCEPTION): Define.
32192         (OVERFLOW_EXCEPTION_OK): Likewise.
32193         (INVALID_EXCEPTION_OK): Renumber.
32194         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32195         (IGNORE_ZERO_INF_SIGN): Likewise.
32196         (test_exceptions): Handle FE_OVERFLOW.
32197         (exp10_test): Expect overflow exceptions.
32198         (exp2_test): Likewise.
32199         (expm1_test): Likewise.
32200         (nextafter_test): Likewise.
32201         (pow_test): Likewise.
32202         (scalbn_test): Likewise.
32203         (scalbln_test): Likewise.
32204
32205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32206
32207         * sysdeps/x86_64/bits/atomic.h
32208         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32209         64bit integer.
32210         (atomic_exchange_acq): Likewise.
32211         (__arch_exchange_and_add_body): Likewise.
32212         (__arch_add_body): Likewise.
32213         (atomic_add_negative): Likewise.
32214         (atomic_add_zero): Likewise.
32215
32216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32217
32218         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32219         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32220
32221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32222
32223         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32224         Check __x86_64__ instead of __WORDSIZE.
32225
32226 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32227
32228         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32229
32230 2012-03-19  David S. Miller  <davem@davemloft.net>
32231
32232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32233
32234         * sysdeps/sparc/fpu/fenv_private.h: New file.
32235         * sysdeps/sparc/fpu/math_private.h: Use it.
32236         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32237         Remove.
32238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32239         (libc_feholdexcept_setroundl): Remove.
32240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32241         Remove.
32242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32244
32245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32246
32247         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32248         int64_t instead of long int.
32249         (INSERT_WORDS64): Likwise.
32250
32251 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32252
32253         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32254         _Unwind_GetCFA return to _Unwind_Ptr first.
32255
32256 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32257
32258         [BZ #13629]
32259         * math/s_clog.c: Include <float.h>.
32260         (__clog): Scale large or subnormal inputs.
32261         * math/s_clogf.c: Likewise.
32262         * math/s_clogl.c: Likewise.
32263         * math/s_clog10.c: Include <float.h>.
32264         (M_LOG10_2): Define.
32265         (__clog10): Scale large or subnormal inputs.
32266         * math/s_clog10f.c: Likewise.
32267         * math/s_clog10l.c: Likewise.
32268         * math/libm-test.inc (clog_test): Add more tests.
32269         (clog10_test): Likewise.
32270         * sysdeps/i386/fpu/libm-test-ulps: Update.
32271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32272
32273         [BZ #11451]
32274         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32275         x and y.
32276         * math/libm-test.inc (atan2_test): Add another test.
32277
32278         * Makerules (common-objdir-compile): Remove.
32279         * sysdeps/unix/Makefile (config-generated): Do not add
32280         $(unix-generated) to variable.
32281         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32282         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32283         Remove rule.
32284         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32285         Likewise.
32286         [generic bits/local_lim.h] (before-compile): Do not append to
32287         variable.
32288         [generic bits/local_lim.h] (common-generated): Likewise.
32289         [generic sys/param.h] (before-compile): Do not append to variable.
32290         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32291         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32293         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32294         include.
32295         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32296         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32297         [generic sys/param.h] ($(addprefix
32298         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32299         [generic sys/param.h] (common-generated): Do not append to
32300         variable.
32301         [generic sys/param.h] (sysdep_headers): Likewise.
32302         [generic bits/errno.h] (before-compile): Do not append to
32303         variable.
32304         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32305         rule.
32306         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32307         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32308         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32309         [generic bits/errno.h] (common-generated): Do not append to
32310         variable.
32311         [generic bits/ioctls.h] (before-compile): Do not append to
32312         variable.
32313         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32314         rule.
32315         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32316         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32318         rule.
32319         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32320         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32321         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32322         [generic bits/ioctls.h] (common-generated): Do not append to
32323         variable.
32324         [generic sys/syscall.h] (syscall.h): Remove variable.
32325         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32326         rule.
32327         [generic sys/syscall.h] (before-compile): Do not append to
32328         variable.
32329         [generic sys/syscall.h] (common-generated): Likewise.
32330         * sysdeps/unix/errnos-tmpl.c: Remove file.
32331         * sysdeps/unix/errnos.awk: Likewise.
32332         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32333         * sysdeps/unix/ioctls.awk: Likewise.
32334         * sysdeps/unix/mk-local_lim.c: Likewise.
32335         * sysdeps/unix/snarf-ioctls: Likewise.
32336
32337 2012-03-19  Richard Henderson  <rth@twiddle.net>
32338
32339         * sysdeps/i386/fpu/fenv_private.h: New file.
32340         * sysdeps/i386/fpu/math_private.h: Use it.
32341         (math_opt_barrier, math_force_eval): Remove.
32342         (libc_feholdexcept_setround_53bit): Remove.
32343         (libc_feupdateenv_53bit): Remove.
32344         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32345         (math_opt_barrier, math_force_eval): Remove.
32346         (libc_feholdexcept): Remove.
32347         (libc_feholdexcept_setround): Remove.
32348         (libc_fetestexcept, libc_fesetenv): Remove.
32349         (libc_feupdateenv_test): Remove.
32350         (libc_feupdateenv, libc_feholdsetround): Remove.
32351         (libc_feresetround): Remove.
32352
32353         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32354         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32355
32356         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32357         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32358         (libc_feupdateenv_testl): New.
32359         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32360         (libc_feupdateenv_testf): New.
32361         (libc_feupdateenv): Use libc_feupdateenv_test.
32362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32363         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32364
32365         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32366         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32367         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32368         (libc_feresetround_noex): New.
32369         (libc_feresetround_noexf): New.
32370         (libc_feresetround_noexl): New.
32371         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32372         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32373         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32374         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32375         SET_RESTORE_ROUND.
32376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32378         (__cos): Likewise.
32379         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32381         SET_RESTORE_ROUND_NOEX.
32382         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32383         SET_RESTORE_ROUND_NOEXF.
32384         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32385         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32386         (libc_feholdsetroundf): New.
32387         (libc_feresetround, libc_feresetroundf): New.
32388
32389         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32390         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32391         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32392
32393         * sysdeps/generic/math_private.h: Include <fenv.h>.
32394         (default_libc_feholdexcept): New.
32395         (default_libc_feholdexcept_setround): New.
32396         (default_libc_fesetenv, default_libc_feupdateenv): New.
32397         (libc_feholdexcept): Only define if undefined.
32398         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32400         (libc_feholdexcept_setroundl): Likewise.
32401         (libc_feholdexcept_setround_53bit): Likewise.
32402         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32405         (libc_feupdateenv_53bit): Likewise.
32406         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32407         (libc_feholdexcept): Convert from macro to inline function.
32408         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32409         (libc_fesetenv, libc_feupdateenv): Likewise.
32410
32411         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32412         not previously defined.
32413         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32414         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32415         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32417         * sysdeps/ieee754/flt-32/math_private.h: New file.
32418         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32419         math_private.h below SET_FLOAT_WORD.
32420         (__isnan, __isinf_ns, __finite): Remove.
32421         (__isnanf, __isinf_nsf, __finitef): Remove.
32422
32423 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32424
32425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32426
32427 2012-03-17  David S. Miller  <davem@davemloft.net>
32428
32429         [BZ #6471]
32430         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32431         for 2.16.
32432
32433 2012-03-16  David S. Miller  <davem@davemloft.net>
32434
32435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32436         warnings.
32437
32438         [BZ #6471]
32439         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32440         properly.
32441         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32442         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32443         sysdep_routines when subdir is sysvipc.
32444         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32445         __getshmlba helper.
32446
32447         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32448
32449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32450
32451         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32452         [__LP64__].
32453
32454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32455
32456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32457         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32458         (__lround): Renamed to ...
32459         (__llround): This.  Replace long int with long long int.
32460         Define lround functions as aliases of llround functions.
32461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32462
32463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32464
32465         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32466         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32467         adresses to uintptr_t.  Replace "long int" and "unsigned long
32468         int" with "greg_t" on va_arg.
32469
32470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32471
32472         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32473         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32474
32475         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32476         Move e_machine check before EI_CLASS check.  Handle x32
32477         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32478         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32479         SKIP_EM_IA_64 and include
32480         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32481
32482         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32483         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32484         (add_system_dir): New macro.
32485
32486         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32487         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32488
32489 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32490
32491         [BZ #2551]
32492         [BZ #2552]
32493         [BZ #2553]
32494         [BZ #2554]
32495         [BZ #2562]
32496         [BZ #2563]
32497         [BZ #2565]
32498         [BZ #2566]
32499         [BZ #2576]
32500         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32501         (y0): Likewise.
32502         * math/w_j0f.c (j0f): Likewise.
32503         (y0f): Likewise.
32504         * math/w_j0l.c (__j0l): Likewise.
32505         (__y0l): Likewise.
32506         * math/w_j1.c (j1): Likewise.
32507         (y1): Likewise.
32508         * math/w_j1f.c (j1f): Likewise.
32509         (y1f): Likewise.
32510         * math/w_j1l.c (__j1l): Likewise.
32511         (__y1l): Likewise.
32512         * math/w_jn.c (jn): Likewise.
32513         (yn): Likewise.
32514         * math/w_jnf.c (jnf): Likewise.
32515         (ynf): Likewise.
32516         * math/w_jnl.c (__jnl): Likewise.
32517         (__ynl): Likewise.
32518         * math/libm-test.inc (j0_test): Add more tests.
32519         (j1_test): Likewise.
32520         (jn_test): Likewise.  Add trailing semicolon to existing test.
32521         (y0_test): Likewise.
32522         (y1_test): Likewise.
32523         * sysdeps/i386/fpu/libm-test-ulps: Update.
32524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32525
32526         [BZ #13851]
32527         [BZ #13854]
32528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32529         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32530         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32531         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32532         (__tanl): Set errno for infinite argument.
32533         * sysdeps/i386/fpu/mptan.c: Remove.
32534         * sysdeps/i386/fpu/s_tan.S: Likewise.
32535         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32536         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32537         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32538         * math/libm-test.inc (tan_test): Add more tests and enable more
32539         tests for double and long double.
32540         * sysdeps/i386/fpu/libm-test-ulps: Update.
32541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32542
32543 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32544
32545         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32546         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32547
32548 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32549
32550         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32551         * configure.in: Use it for both main tree and add-ons.
32552         * configure: Regenerated.
32553
32554 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32555
32556         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32557
32558 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32559
32560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32561         in comment.
32562
32563         [BZ #13851]
32564         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32565         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32566         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32567         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32568         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32569         infinite argument.
32570         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32572         != 0 for prec == 2.
32573         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32574         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32575         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32576         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32577         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32578         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32579         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32580         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32581         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32582         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32583         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32584         * math/libm-test.inc (cos_test): Add more tests and enable more
32585         tests for long double.
32586         (sin_test): Likewise.
32587         (sincos_test): Likewise.
32588         * sysdeps/i386/fpu/libm-test-ulps: Update.
32589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32590
32591 2012-03-16  David S. Miller  <davem@davemloft.net>
32592
32593         * sysdeps/sparc/fpu/math_private.h: New file.
32594
32595 2012-03-15  David S. Miller  <davem@davemloft.net>
32596
32597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32598         file.
32599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32601         file.
32602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32608         sysdep routines.
32609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32610
32611         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32612         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32613
32614         * sysdeps/sparc/sparc-ifunc.h: New file.
32615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32616         sparc-ifunc.h
32617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32619         Likewise.
32620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32621         Likewise.
32622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32626         Likewise.
32627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32632         Likewise.
32633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32634         Likewise.
32635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32659
32660 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32661
32662         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32663         scaling.
32664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32665
32666 2012-03-15  Andreas Jaeger  <aj@suse.de>
32667
32668         [BZ #13852]
32669         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32670         ieee754/flt-32 implementation for sin, cos and sincos.
32671         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32672         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32673         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32674         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32675         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32676         ieee754/flt-32 implementation for tan.
32677
32678         * math/libm-test.inc (cos_test): Enable some large input tests for
32679         float as well
32680         (sin_test): Likewise.
32681         (sincos_test): Likewise.
32682         (tan_test): Add tests for large input.
32683
32684         * sysdeps/i386/fpu/libm-test-ulps: Update.
32685
32686 2012-03-15  Andreas Jaeger  <aj@suse.de>
32687
32688         [BZ #13658]
32689         * math/libm-test.inc (cos_test): Add more test cases.
32690         (sin_test): Likewise.
32691         (sincos_test): Likewise.
32692
32693 2012-03-15  Andreas Jaeger  <aj@suse.de>
32694
32695         [BZ #13837]
32696         * math/libm-test.inc (cos_test): Add a test case for large input
32697         value.
32698         (sin_test): Likewise.
32699         (sincos_test): Likewise.
32700
32701 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32702         Joseph Myers  <joseph@codesourcery.com>
32703
32704         [BZ #13658]
32705         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32706         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32707         * sysdeps/i386/fpu/branred.c: Likewise.
32708         * sysdeps/i386/fpu/dosincos.c: Likewise.
32709         * sysdeps/i386/fpu/mpa.c: Likewise.
32710         * sysdeps/i386/fpu/s_cos.S: Likewise.
32711         * sysdeps/i386/fpu/s_sin.S: Likewise.
32712         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32713         * sysdeps/i386/fpu/sincos32.c: Likewise.
32714
32715         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32716         Define.
32717         (libc_feupdateenv_53bit): Define.
32718         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32719         Define.
32720         (libc_feupdateenv_53bit): Define.
32721
32722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32723         53 bit (without extend i386 double precision).
32724
32725         * math/libm-test.inc (sincos_test): Add tests for large input.
32726         (sin): Likewise.
32727         (cos): Likewise.
32728
32729         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32730
32731 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32732
32733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32734
32735 2012-03-15  David S. Miller  <davem@davemloft.net>
32736
32737         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32738         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32739         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32740         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32753         file.
32754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32756         file.
32757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32759         file.
32760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32762         file.
32763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32765         fmin/fmax sysdep routines.
32766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32767
32768 2012-03-14  David S. Miller  <davem@davemloft.net>
32769
32770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32799         routines.
32800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32801         file.
32802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32804         file.
32805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32807         file.
32808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32810         file.
32811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32813         file.
32814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32816         file.
32817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32818         file.
32819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32820         file.
32821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32822         file.
32823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32824         New file.
32825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32826         file.
32827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32828         file.
32829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32831         file.
32832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32834         file.
32835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32837         file.
32838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32840         VIS3 routines.
32841
32842         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32843         New file.
32844
32845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32846
32847         * sysdeps/sparc/configure.in: New file.
32848         * sysdeps/sparc/configure: Generate.
32849         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32850         * configure: Regenerate.
32851         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32852         * config.make.in (have-as-vis3): New.
32853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32854         available use -Av9d instead of -Av9a.
32855         * sysdeps/sparc/sparc64/Makefile: Likewise.
32856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32858         New file.
32859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32860         file.
32861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32862         New file.
32863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32864         file.
32865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32870
32871         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32872         fzeros/fnegs to load 0x80000000 into a float register instead of
32873         using the stack.
32874         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32875
32876 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32877
32878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32879         bits/syscall.h.
32880         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32881         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32882         ($(inst_includedir)/bits/syscall.h): Remove rule.
32883         ($(objpfx)bits/syscall.d): Include instead of
32884         $(objpfx)syscall-list.d.
32885         (generated): Change syscall-list.h and syscall-list.d to
32886         bits/syscall.h and bits/syscall.d.
32887
32888 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32889
32890         [BZ #13846]
32891         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32892
32893 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32894
32895         [BZ #13841]
32896         * math/s_csqrt.c: Include <float.h>.
32897         (__csqrt): Scale large or subnormal inputs.
32898         * math/s_csqrtf.c: Likewise.
32899         * math/s_csqrtl.c: Likewise.
32900         * math/libm-test.inc (csqrt_test): Add more tests.
32901         * sysdeps/i386/fpu/libm-test-ulps: Update.
32902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32903
32904         [BZ #13840]
32905         * math/libm-test.inc (hypot_test): Add more tests.
32906
32907 2012-03-13  David S. Miller  <davem@davemloft.net>
32908
32909         [BZ #13840]
32910         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32911         double-precision for the calculation instead of scaling.
32912
32913 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32914
32915         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32916         manipulate bits before adding and subtracting TWO52[sx].
32917         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32918         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32919         Likewise.
32920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32921
32922 2012-03-13  David S. Miller  <davem@davemloft.net>
32923
32924         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32925         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32927         rtld-global-offsets.h
32928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32929
32930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32931         large parameters.
32932
32933         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32934
32935         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32936         'err' in the ifdef scope in which it is actually used.
32937
32938         * nss/nss_db/db-init.c: Include string.h
32939
32940 2012-03-12  David S. Miller  <davem@davemloft.net>
32941
32942         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32943         masking out of the most significant byte of random value used.
32944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32945         Fix coding style in previous change.
32946
32947         * sysdeps/unix/sysv/linux/kernel-features.h
32948         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32949         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32950         expression.
32951         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32952         later.
32953
32954 2012-03-11  David S. Miller  <davem@davemloft.net>
32955
32956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32957         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32959         for 'resultvar' otherwise things get truncated on 64-bit.
32960
32961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32962         Fix masking out of the most significant byte of random value used.
32963
32964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32965
32966 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32967
32968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32969
32970 2012-03-09  David S. Miller  <davem@davemloft.net>
32971
32972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32973         variables with appropriate CPP guards.
32974         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32975         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32976         on resulting framesize and the management of the outregs buffer for pltexit.
32977         Preserve floating point return values across _dl_call_pltexit call.
32978         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32979         framesize and the management of the outregs buffer for pltexit.
32980         Preserve floating point return values across _dl_call_pltexit
32981         call.
32982         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32983         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32984         (print_exit): Fix format string for return register value.
32985
32986 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32987
32988         * sunrpc/Makefile (others): Add rpcgen.
32989         ($(objpfx)rpcgen): Remove special build rule and dependency on
32990         libc.
32991         * sunrpc/rpcgen.c: New file.
32992
32993 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32994
32995         [BZ #13673]
32996         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32997         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32998         * sysdeps/i386/crti.S: Likewise.
32999         * sysdeps/i386/crtn.S: Likewise.
33000         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33001         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33002         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33003         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33004         * sysdeps/sh/crti.S: Likewise.
33005         * sysdeps/sh/crtn.S: Likewise.
33006         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33007
33008         [BZ #13673]
33009         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33010         with URL.
33011         * locale/programs/locfile-kw.gperf: Likewise.
33012         * locale/programs/charmap-kw.h: Regenerated.
33013         * locale/programs/locfile-kw.h: Likewise.
33014
33015         [BZ #13673]
33016         * intl/plural.y: Replace FSF snail mail address with URL.
33017         * intl/plural.c: Regenerated.
33018
33019 2012-03-09  Richard Henderson  <rth@twiddle.net>
33020
33021         * include/math_private.h: Remove file.
33022         * math/math_private.h: Move file ...
33023         * sysdeps/generic/math_private.h: ... here.
33024
33025         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33026         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33027         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33028
33029         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33030         and <math_private.h>.
33031         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33032         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33033         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33034         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33035         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33036         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33050         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33055         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33061         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33063         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33065         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33066         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33067         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33068         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33069         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33071         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33074         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33075         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33076         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33077         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33078         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33079         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33080         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33081         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33082         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33090         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33092         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33095         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33096         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33097         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33098         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33099         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33101         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33102         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33104         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33111         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33113         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33118         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33119         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33122         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33123         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33124         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33125         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33126         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33128         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33129         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33131         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33132         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33133         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33134         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33136         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33137         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33138         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33143         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33144         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33145         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33146         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33147         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33148         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33149         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33150         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33152         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33153         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33154         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33155         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33156         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33157         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33158         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33159         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33160         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33161         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33162         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33163         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33164         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33165         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33166         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33167         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33168         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33169         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33170         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33171         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33173         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33174         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33175         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33176         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33177         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33178         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33179         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33180         * sysdeps/ieee754/k_standard.c: Likewise.
33181         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33182         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33184         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33185         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33186         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33187         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33188         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33189         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33193         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33194         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33195         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33196         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33198         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33199         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33200         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33201         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33202         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33204         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33205         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33206         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33207         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33208         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33212         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33213         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33215         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33216         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33218         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33219         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33220         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33221         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33222         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33227         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33229         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33233         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33235         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33239         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33240         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33242         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33274         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33277         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33278         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33280         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33283         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33284         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33285         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33291         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33292         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33294         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33295         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33296         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33297         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33303         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33304         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33305         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33306         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33308         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33309         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33310         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33311         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33312         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33313         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33314         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33315         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33316         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33317         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33318         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33319         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33320         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33321         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33322         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33323         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33324         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33325         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33326         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33327         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33329         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33330         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33335         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33336         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33337         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33338         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33339         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33340         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33341         * sysdeps/ieee754/s_lib_version.c: Likewise.
33342         * sysdeps/ieee754/s_matherr.c: Likewise.
33343         * sysdeps/ieee754/s_signgam.c: Likewise.
33344         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33345         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33346         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33347         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33349         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33350         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33351         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33352         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33353         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33354         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33355         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33356         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33357         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33358         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33359         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33361         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33362         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33365
33366 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33367
33368         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33369         * sunrpc/rpc_main.c: Likewise.
33370         * sunrpc/rpc_svcout.c: Likewise.
33371
33372 2012-03-09  David S. Miller  <davem@davemloft.net>
33373
33374         * include/math_private.h: New file.
33375
33376 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33377
33378         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33379         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33380         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33381         from <bits/socket_type.h>.
33382         (enum __socket_type): Don't define here.
33383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33385         bits/socket_type.h.
33386
33387         [BZ #13566]
33388         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33389         checking __USE_GNU.
33390
33391         * Makerules ($(inst_includedir)/%.h): New rule.
33392         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33393         (install-others): Remove variable setting.
33394         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33395
33396 2012-03-08  Richard Henderson  <rth@twiddle.net>
33397
33398         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33399         from macro to inline function; merge with the
33400         !__LIBC_INTERNAL_MATH_INLINES version.
33401         (__ieee754_sqrtf): Likewise.
33402
33403         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33404         to inline function.
33405         (__rintf, __floor, __floorf): Likewise.
33406
33407         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33408         macro to inline function.
33409         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33410
33411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33412         not <math/math_private.h>.
33413
33414 2012-03-08  David S. Miller  <davem@davemloft.net>
33415
33416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33417         copyright year.
33418         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33419
33420 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33421
33422         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33423         normalization.
33424         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33425         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33426
33427 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33428
33429         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33430         be defined individually, they must be defined as a block.  Define
33431         S for printing a string instead of hidint the different by using a
33432         macro for adding the 'l'.
33433         * stdio-common/tst-fphex-wide.c: Adjust.
33434
33435 2012-03-07  Marek Polacek  <polacek@redhat.com>
33436
33437         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33438
33439 2012-03-08  Marek Polacek  <polacek@redhat.com>
33440
33441         [BZ #13806]
33442         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33443         * stdio-common/tst-fphex.c: Define a few macros to make the
33444         test reusable.  Use them.
33445         * stdio-common/tst-fphex-wide.c: New file.
33446
33447 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33448
33449         [BZ #6911]
33450         * manual/macros.texi (gnusystems): New macro.
33451         (nongnusystems): Likewise.
33452         (gnulinuxhurdsystems): Likewise.
33453         (gnuhurdsystems): Likewise..
33454         (gnulinuxsystems): Likewise.
33455         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33456         variants of the GNU system, not "GNU system".
33457         * manual/conf.texi: Likewise.
33458         * manual/errno.texi: Likewise.  Update example of errno macro
33459         expansion.
33460         * manual/filesys.texi: Likewise.
33461         (getumask): Document as specific to GNU/Hurd.
33462         * manual/install.texi: Likewise.  Reword some references to
33463         GNU/Linux.
33464         * manual/intro.texi: Likewise.
33465         * manual/io.texi: Likewise.
33466         (File Name Portability): Detail which constraints are inapplicable
33467         to all GNU systems and which are only inapplicable to GNU/Hurd.
33468         * manual/job.texi: Likewise.
33469         * manual/llio.texi: Likewise.
33470         (O_NOCTTY): Document as present on GNU/Linux.
33471         * manual/maint.texi: Likewise.
33472         * manual/memory.texi: Likewise.
33473         * manual/pattern.texi: Likewise.
33474         * manual/pipe.texi: Likewise.
33475         * manual/process.texi: Likewise.
33476         * manual/resource.texi: Likewise.
33477         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33478         child on GNU/Hurd.
33479         * manual/setjmp.texi: Likewise.
33480         * manual/signal.texi: Likewise.
33481         * manual/startup.texi: Likewise.
33482         * manual/stdio.texi: Likewise.
33483         * manual/terminal.texi: Likewise.
33484         (ONLCR): Document as POSIX.
33485         (OXTABS): Document availability on GNU/Linux as XTABS.
33486         (ONOEOT): Document availability separately from other bits.
33487         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33488         * manual/time.texi: Likewise.
33489         * manual/users.texi: Likewise.
33490         * INSTALL: Regenerated.
33491         * sysdeps/gnu/errlist.c: Regenerated.
33492
33493         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33494         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33495         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33496         puts.
33497         * configure: Regenerated.
33498
33499 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33500
33501         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33502         default includes instead of AC_HEADER_CHECK.
33503         * sysdeps/i386/configure: Regenerated.
33504
33505         [BZ #10716]
33506         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33507         * math/s_cacoshf.c (__cacoshf): Likewise.
33508         * math/s_cacoshl.c (__cacoshl): Likewise.
33509         * math/s_casinh.c (__casinh): Set signs of result from argument.
33510         * math/s_casinhf.c (__casinhf): Likewise.
33511         * math/s_casinhl.c (__casinhl): Likewise.
33512         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33513         (casinh_test): Add more tests.
33514         * sysdeps/i386/fpu/libm-test-ulps: Update.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33516
33517 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33518
33519         * po/zh_TW.po: Update from translation team.
33520
33521         * login/Makefile (distribute): Remove variable.
33522         * catgets/Makefile: Likewise.
33523         * mach/Makefile: Likewise.
33524         * malloc/Makefile: Likewise.
33525         * misc/Makefile: Likewise.
33526         * iconv/Makefile: Likewise.
33527         * nscd/Makefile: Likewise.
33528         * hurd/Makefile: Likewise.
33529         * manual/Makefile: Likewise.
33530         * locale/Makefile: Likewise.
33531         * intl/Makefile: Likewise.
33532         * conform/Makefile: Likewise.
33533         * nss/Makefile: Likewise.
33534         * time/Makefile: Likewise.
33535         * soft-fp/Makefile: Likewise.
33536         * dirent/Makefile: Likewise.
33537         * gmon/Makefile: Likewise.
33538         * po/Makefile: Likewise.
33539         * rt/Makefile: Likewise.
33540         * socket/Makefile: Likewise.
33541         * math/Makefile: Likewise.
33542         * signal/Makefile: Likewise.
33543         * debug/Makefile: Likewise.
33544         * elf/Makefile: Likewise.
33545         * timezone/Makefile: Likewise.
33546         * stdlib/Makefile: Likewise.
33547         * iconvdata/Makefile: Likewise.
33548         * sunrpc/Makefile: Likewise.
33549         * io/Makefile: Likewise.
33550         * argp/Makefile: Likewise.
33551         * inet/Makefile: Likewise.
33552         * hesiod/Makefile: Likewise.
33553         * grp/Makefile: Likewise.
33554         * csu/Makefile: Likewise.
33555         * wctype/Makefile: Likewise.
33556         * crypt/Makefile: Likewise.
33557         * libio/Makefile: Likewise.
33558         * string/Makefile: Likewise.
33559         * nis/Makefile: Likewise.
33560         * resolv/Makefile: Likewise.
33561         * stdio-common/Makefile: Likewise.
33562         * wcsmbs/Makefile: Likewise.
33563         * dlfcn/Makefile: Likewise.
33564         * posix/Makefile: Likewise.
33565
33566         [BZ #6959]
33567         * timezone/Makefile: Don't install timezone files, just the programs
33568         and scripts.
33569
33570 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33571
33572         * nss/databases.def: Add missing gshadow entry.
33573
33574         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33575
33576 2012-03-06  Marek Polacek  <polacek@redhat.com>
33577
33578         [BZ #13726]
33579         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33580         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33581         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33582         * stdio-common/tst-long-dbl-fphex.c: New file.
33583
33584 2012-03-06  David S. Miller  <davem@davemloft.net>
33585
33586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33587         (set_obp_int): New function.
33588         (get_obp_int): New function.
33589         (__get_clockfreq_via_dev_openprom): Likewise.
33590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33591         Avoid unused variable warnings on 'val' and use builtin_expect.
33592         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33593         __builtin_expect.
33594         (INLINE_CLONE_SYSCALL): Likewise.
33595
33596 2012-03-05  David S. Miller  <davem@davemloft.net>
33597
33598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33599
33600 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33601
33602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33603
33604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33605         only for |x| >= 40.
33606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33607
33608 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33609
33610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33611         Replace gettimeofday with __vdso_gettimeofday.
33612
33613         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33614         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33615         __vdso_clock_gettime and __vdso_getcpu.
33616
33617         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33618         time with __vdso_time.
33619
33620 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33621
33622         * manual/lang.texi (size_t): Note types to which size_t may be
33623         equivalent with the GNU C Library, but do not describe when
33624         differences between them are significant.
33625
33626 2012-03-05  Andreas Jaeger  <aj@suse.de>
33627
33628         * sysdeps/i386/fpu/libm-test-ulps: Update.
33629
33630 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33631
33632         [BZ #3976]
33633         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33634         (__ieee754_pow): Save and restore rounding mode and use
33635         round-to-nearest for main computations.
33636         * math/libm-test.inc (pow_test_tonearest): New function.
33637         (pow_test_towardzero): Likewise.
33638         (pow_test_downward): Likewise.
33639         (pow_test_upward): Likewise.
33640         (main): Call the new functions.
33641         * sysdeps/i386/fpu/libm-test-ulps: Update.
33642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33643
33644         [BZ #3976]
33645         * math/libm-test.inc (cosh_test_tonearest): New function.
33646         (cosh_test_towardzero): Likewise.
33647         (cosh_test_downward): Likewise.
33648         (cosh_test_upward): Likewise.
33649         (sinh_test_tonearest): Likewise.
33650         (sinh_test_towardzero): Likewise.
33651         (sinh_test_downward): Likewise.
33652         (sinh_test_upward): Likewise.
33653         (main): Call the new functions.
33654         * sysdeps/i386/fpu/libm-test-ulps: Update.
33655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33656
33657 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33658
33659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33660         default stack guard is set in last bytes.
33661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33662
33663 2012-03-05  Kees Cook  <keescook@chromium.org>
33664
33665         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33666
33667         [BZ #13656]
33668         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33669         possibly allocate from heap instead of stack.
33670         * stdio-common/bug-vfprintf-nargs.c: New file.
33671         * stdio-common/Makefile (tests): Add nargs overflow test.
33672
33673 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33674
33675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33676
33677 2012-03-03  Marek Polacek  <polacek@redhat.com>
33678
33679         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33680         * math/math_private.h: Likewise.
33681         * stdlib/tst-strtod.c: Likewise.
33682         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33683         * sysdeps/x86_64/bits/atomic.h: Likewise.
33684
33685 2012-03-02  David S. Miller  <davem@davemloft.net>
33686
33687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33691         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33692         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33693         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33694         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33695
33696 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33697
33698         [BZ #13792]
33699         * manual/examples/README: New file, says the example source files
33700         can be used under GPL>=2.
33701         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33702         line containing just "*/".
33703         * manual/examples/add.c: Add copyright header (GPL>=2).
33704         * manual/examples/argp-ex1.c: Likewise.
33705         * manual/examples/argp-ex2.c: Likewise.
33706         * manual/examples/argp-ex3.c: Likewise.
33707         * manual/examples/argp-ex4.c: Likewise.
33708         * manual/examples/atexit.c: Likewise.
33709         * manual/examples/db.c: Likewise.
33710         * manual/examples/dir.c: Likewise.
33711         * manual/examples/dir2.c: Likewise.
33712         * manual/examples/execinfo.c: Likewise.
33713         * manual/examples/filecli.c: Likewise.
33714         * manual/examples/filesrv.c: Likewise.
33715         * manual/examples/fmtmsgexpl.c: Likewise.
33716         * manual/examples/genpass.c: Likewise.
33717         * manual/examples/inetcli.c: Likewise.
33718         * manual/examples/inetsrv.c: Likewise.
33719         * manual/examples/isockad.c: Likewise.
33720         * manual/examples/longopt.c: Likewise.
33721         * manual/examples/memopen.c: Likewise.
33722         * manual/examples/memstrm.c: Likewise.
33723         * manual/examples/mkfsock.c: Likewise.
33724         * manual/examples/mkisock.c: Likewise.
33725         * manual/examples/mygetpass.c: Likewise.
33726         * manual/examples/pipe.c: Likewise.
33727         * manual/examples/popen.c: Likewise.
33728         * manual/examples/rprintf.c: Likewise.
33729         * manual/examples/search.c: Likewise.
33730         * manual/examples/select.c: Likewise.
33731         * manual/examples/setjmp.c: Likewise.
33732         * manual/examples/sigh1.c: Likewise.
33733         * manual/examples/sigusr.c: Likewise.
33734         * manual/examples/stpcpy.c: Likewise.
33735         * manual/examples/strdupa.c: Likewise.
33736         * manual/examples/strftim.c: Likewise.
33737         * manual/examples/strncat.c: Likewise.
33738         * manual/examples/subopt.c: Likewise.
33739         * manual/examples/swapcontext.c: Likewise.
33740         * manual/examples/termios.c: Likewise.
33741         * manual/examples/testopt.c: Likewise.
33742         * manual/examples/testpass.c: Likewise.
33743         * manual/examples/timeval_subtract.c: Likewise.
33744
33745         [BZ #13792]
33746         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33747         function to ...
33748         * manual/timeval_subtract.c.texi: ... here, new file.
33749
33750 2012-03-02  David S. Miller  <davem@davemloft.net>
33751
33752         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33753
33754 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33755
33756         [BZ #3976]
33757         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33758         (__sin): Save and restore rounding mode and use round-to-nearest
33759         for all computations.
33760         (__cos): Save and restore rounding mode and use round-to-nearest
33761         for all computations.
33762         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33763         <fenv.h>.
33764         (tan): Save and restore rounding mode and use round-to-nearest for
33765         all computations.
33766         * math/libm-test.inc (cos_test_tonearest): New function.
33767         (cos_test_towardzero): Likewise.
33768         (cos_test_downward): Likewise.
33769         (cos_test_upward): Likewise.
33770         (sin_test_tonearest): Likewise.
33771         (sin_test_towardzero): Likewise.
33772         (sin_test_downward): Likewise.
33773         (sin_test_upward): Likewise.
33774         (tan_test_tonearest): Likewise.
33775         (tan_test_towardzero): Likewise.
33776         (tan_test_downward): Likewise.
33777         (tan_test_upward): Likewise.
33778         (main): Call the new functions.
33779         * sysdeps/i386/fpu/libm-test-ulps: Update.
33780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33781
33782         [BZ #10135]
33783         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33784         small n, then large n, before computing and testing k+n.
33785         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33787         Likewise.
33788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33789         Likewise.
33790         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33791         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33798         * math/libm-test.inc (scalbn_test): Add more tests.
33799         (scalbln_test): Likewise.
33800
33801         * manual/filesys.texi (mode_t): Describe constraints on size and
33802         signedness, not exact equivalence to a particular type.
33803         (ino_t): Likewise.
33804         (ino64_t): Likewise.
33805         (dev_t): Likewise.
33806         (nlink_t): Likewise.
33807         (blkcnt_t): Likewise.
33808         (blkcnt64_t): Likewise.
33809         * manual/llio.texi (off_t): Likewise.
33810
33811         [BZ #3976]
33812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33813         (__ieee754_exp): Save and restore rounding mode and use
33814         round-to-nearest for all computations.
33815         * math/libm-test.inc (exp_test_tonearest): New function.
33816         (exp_test_towardzero): Likewise.
33817         (exp_test_downward): Likewise.
33818         (exp_test_upward): Likewise.
33819         (main): Call the new functions.
33820         * sysdeps/i386/fpu/libm-test-ulps: Update.
33821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822
33823 2012-03-01  Chris Demetriou  <cgd@google.com>
33824
33825         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33826         have predictable order.
33827
33828 2012-03-01  David S. Miller  <davem@davemloft.net>
33829
33830         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33831
33832         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33833         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33834         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33835         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33836
33837         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33838         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33839         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33841         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33842         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33843         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33844         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33845         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33846
33847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33848
33849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33850         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33851         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33852
33853         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33854         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33856         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33857         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33861         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33862         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33863         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33867         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33869         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33870         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33871         * sysdeps/sparc/elf/configure: Regenerated.
33872
33873 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33874
33875         * configure.in (AS, LD): Require binutils 2.20 or later.
33876         * configure: Regenerated.
33877         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33878         as required minimum version.
33879         * INSTALL: Regenerated.
33880
33881         [BZ #2541]
33882         [BZ #4108]
33883         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33884         before squaring exponent.
33885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33886         bottom long double and 27 bits of top long double before squaring
33887         exponent.
33888         * math/libm-test.inc (erfc_test): Add more tests.
33889         * sysdeps/i386/fpu/libm-test-ulps: Update.
33890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33892
33893 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33894
33895         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33896         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33897         containing bit-fields.
33898         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33899         * soft-fp/single.h (_FP_UNION_S): Likewise.
33900         * soft-fp/double.h (_FP_UNION_D): Likewise.
33901
33902 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33903
33904         [BZ #13786]
33905         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33906         not include ../strcmp.S.
33907         [USE_AS_STRNCASECMP_L]: Likewise.
33908         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33909         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33910         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33911         (__strncasecmp_l_ia32): Define as alias to
33912         __strncasecmp_l_nonascii.
33913
33914         [BZ #5794]
33915         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33916         * sysdeps/i386/fpu/libm-test-ulps: Update.
33917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33918
33919         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33921
33922 2012-02-29  Jeff Law  <law@redhat.com>
33923
33924         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33925         out of bounds read.
33926
33927 2012-02-29  Marek Polacek  <polacek@redhat.com>
33928
33929         [BZ #13706]
33930         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33931         * elf/Makefile: Add rules to run tst-unused-dep.out.
33932
33933 2012-02-28  David S. Miller  <davem@davemloft.net>
33934
33935         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33936         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33939         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33940         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33941
33942 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33943
33944         * math/libm-test.inc (llround_test): Move one test from
33945         lround_test.  Use TEST_f_L in moved test.
33946         (lround_test): Move misplaced test to llround_test.  Add testcase
33947         from bug 2561.
33948
33949 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33950
33951         * sysdeps/x86_64/fpu/e_expf.S: New file.
33952         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33953
33954 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33955
33956         [BZ #13637]
33957         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33958         of remain_len that may cause incomplete multi-byte character and
33959         false match.
33960         * posix/bug-regex33.c: New file.
33961         * posix/Makefile (tests): Add bug-regex33.
33962
33963 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33964
33965         * manual/macros.texi: New file.
33966         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33967         * manual/libc.texinfo: Include macros.texi.
33968         * manual/creatute.texi: Likewise.
33969         * manual/install.texi: Likewise.
33970         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33971         @glibcadj{} in references to the GNU C Library.
33972         * manual/charset.texi: Likewise.
33973         * manual/conf.texi: Likewise.
33974         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33975         when not using those macros.
33976         * manual/creature.texi: Likewise.
33977         * manual/crypt.texi: Likewise.
33978         * manual/errno.texi: Likewise.
33979         * manual/filesys.texi: Likewise.
33980         * manual/header.texi: Likewise.
33981         * manual/install.texi: Likewise.
33982         * manual/intro.texi: Likewise.
33983         * manual/io.texi: Likewise.
33984         * manual/job.texi: Likewise.
33985         * manual/lang.texi: Likewise.
33986         * manual/libc.texiinfo: Likewise.
33987         * manual/llio.texi: Likewise.
33988         * manual/locale.texi: Likewise.
33989         * manual/maint.texi: Likewise.
33990         * manual/math.texi: Likewise.
33991         * manual/memory.texi: Likewise.
33992         * manual/message.texi: Likewise.
33993         * manual/nss.texi: Likewise.
33994         * manual/pattern.texi: Likewise.
33995         * manual/process.texi: Likewise.
33996         * manual/resource.texi: Likewise.
33997         * manual/search.texi: Likewise.
33998         * manual/setjmp.texi: Likewise.
33999         * manual/signal.texi: Likewise.
34000         * manual/socket.texi: Likewise.
34001         * manual/startup.texi: Likewise.
34002         * manual/stdio.texi: Likewise.
34003         * manual/string.texi: Likewise.
34004         * manual/sysinfo.texi: Likewise.
34005         * manual/syslog.texi: Likewise.
34006         * manual/terminal.texi: Likewise.
34007         * manual/time.texi: Likewise.
34008         * manual/users.texi: Likewise.
34009         * INSTALL: Regenerated.
34010         * NOTES: Regenerated.
34011         * sysdeps/gnu/errlist.c: Regenerated.
34012
34013 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34014
34015         * include/dirent.h: Include <dirstream.h> before
34016         <dirent/dirent.h>.
34017
34018 2012-02-28  David S. Miller  <davem@davemloft.net>
34019
34020         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34021         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34022         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34023         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34024
34025 2012-02-27  David S. Miller  <davem@davemloft.net>
34026
34027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34029         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34030         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34031
34032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34033         frame pointer instead of stack pointer relative arg slot.
34034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34035         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34036         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34037
34038 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34039
34040         [BZ #3992]
34041         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34042
34043 2012-02-27  David S. Miller  <davem@davemloft.net>
34044
34045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34049         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34050         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34051         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34052         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34053
34054 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34055
34056         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34057         later.  Allow versions 5-9.
34058         * configure: Regenerated.
34059         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34060         required minimum version and 4.6 as recommended version.  Do not
34061         mention bugs in GCC 2.7 and 2.8.
34062         * INSTALL: Regenerated.
34063
34064 2012-02-27  David S. Miller  <davem@davemloft.net>
34065
34066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34072         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34074
34075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34076         manipulate bits before adding and subtracting TWO112[sx].
34077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34078
34079 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34080
34081         [BZ #13775]
34082         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34083         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34084         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34085         being in POSIX, because they are in 1003.1-2008.
34086
34087         * rt/tst-aio.c: Include <fcntl.h>.
34088         * rt/tst-aio7.c: Likewise.
34089         * rt/tst-aio64.c: Likewise.
34090
34091         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34092
34093 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34094
34095         * manual/install.texi (--with-headers): Describe headers as
34096         interface headers, not private headers.
34097         (Specific advice for GNU/Linux systems): Describe use of headers
34098         from "make headers_install", not private headers from older
34099         kernels.
34100         * INSTALL: Regenerated.
34101         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34102         Change to 2.6.19.
34103         * sysdeps/unix/sysv/linux/configure: Regenerated.
34104
34105         * manual/llio.texi (fclean): Remove documentation.
34106
34107         * manual/Makefile (libc-texi-generated): New variable.  Include
34108         version.texi.
34109         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34110         $(libc-texi-generated), not duplicated list of files.
34111         (version.texi, stamp-version): New rules.
34112         (realclean): Remove $(libc-texi-generated), not individual files
34113         from that list.  Do not remove dir-add.texinfo.
34114         * manual/libc.texinfo: Comment out uses of edition numbers and
34115         references to printed manual.  Remove last-updated dates.
34116         (EDITION): Comment out.
34117         (ISBN): Likewise.
34118         (VERSION, UPDATED): Remove.
34119         (version.texi): Include.
34120
34121 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34122
34123         * sysdeps/posix/spawni.c: Include <signal.h>.
34124         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34125         * sysdeps/pthread/aio_fsync.c: Likewise.
34126
34127 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34128
34129         * conform/Makefile (tests): Run only when not cross-compiling and
34130         when fast-check is not defined.
34131
34132         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34133         * conform/data/limits.h-data: Fixes for POSIX2008.
34134         * conform/run-conformtest.sh: Run all tests.
34135         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34136         headers.
34137         * include/bits/dlfcn.h: Likewise.
34138         * include/langinfo.h: Likewise.
34139         * include/monetary.h: Likewise.
34140         * include/sys/poll.h: Likewise.
34141
34142         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34143         for __USE_GNU.
34144         * posix/spawn.h: Define __need_sigset_t.
34145         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34146         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34147         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34148         to get sigevent_t only.
34149         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34150         only for __USE_GNU.
34151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34153         process_vm_writev only for __USE_GNU.
34154         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34155
34156         * conform/Makefile: For now ignore errors from run-conformtest.
34157         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34158         POSIX to avoid namespace pollution.  Don't prepend headers.
34159         * conform/data/aio.h-data: Fixes for POSIX testing.
34160         * conform/data/fcntl.h-data: Likewise.
34161         * conform/data/glob.h-data: Likewise.
34162         * conform/data/grp.h-data: Likewise.
34163         * conform/data/pthread.h-data: Likewise.
34164         * conform/data/pwd.h-data: Likewise.
34165         * conform/data/signal.h-data: Likewise.
34166         * conform/data/spawn.h-data: Likewise.
34167         * conform/data/stdio.h-data: Likewise.
34168         * conform/data/stdlib.h-data: Likewise.
34169         * conform/data/stropts.h-data: Likewise.
34170         * conform/data/sys/mman.h-data: Likewise.
34171         * conform/data/sys/stat.h-data: Likewise.
34172         * conform/data/sys/types.h-data: Likewise.
34173         * conform/data/sys/wait.h-data: Likewise.
34174         * conform/data/time.h-data: Likewise.
34175         * conform/data/unistd.h-data: Likewise.
34176         * conform/data/utime.h-data: Likewise.
34177
34178         * io/sys/stat.h: fchmod was always in POSIX.
34179         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34180         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34181         * rt/aio.h: Define __need_timespec before including <time.h>.
34182         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34183         struct.  Add forward declaration of pthread_attr_t and use it in
34184         sigevent.
34185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34187         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34188         always remove CLK_TCK definition.
34189
34190 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34191
34192         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34193
34194 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34195
34196         * conform/run-conformtest.sh: New file.
34197         * conform/Makefile: Run run-conformtest for tests.
34198         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34199         support.
34200
34201         * conform/data/uchar.h-data: New file.
34202         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34203         * conform/data/arpa/inet.h-data: Likewise.
34204         * conform/data/assert.h-data: Likewise.
34205         * conform/data/complex.h-data: Likewise.
34206         * conform/data/cpio.h-data: Likewise.
34207         * conform/data/ctype.h-data: Likewise.
34208         * conform/data/dirent.h-data: Likewise.
34209         * conform/data/dlfcn.h-data: Likewise.
34210         * conform/data/errno.h-data: Likewise.
34211         * conform/data/fcntl.h-data: Likewise.
34212         * conform/data/float.h-data: Likewise.
34213         * conform/data/fmtmsg.h-data: Likewise.
34214         * conform/data/fnmatch.h-data: Likewise.
34215         * conform/data/ftw.h-data: Likewise.
34216         * conform/data/glob.h-data: Likewise.
34217         * conform/data/grp.h-data: Likewise.
34218         * conform/data/iconv.h-data: Likewise.
34219         * conform/data/inttypes.h-data: Likewise.
34220         * conform/data/langinfo.h-data: Likewise.
34221         * conform/data/libgen.h-data: Likewise.
34222         * conform/data/limits.h-data: Likewise.
34223         * conform/data/locale.h-data: Likewise.
34224         * conform/data/math.h-data: Likewise.
34225         * conform/data/monetary.h-data: Likewise.
34226         * conform/data/mqueue.h-data: Likewise.
34227         * conform/data/ndbm.h-data: Likewise.
34228         * conform/data/net/if.h-data: Likewise.
34229         * conform/data/netdb.h-data: Likewise.
34230         * conform/data/netinet/in.h-data: Likewise.
34231         * conform/data/nl_types.h-data: Likewise.
34232         * conform/data/poll.h-data: Likewise.
34233         * conform/data/pthread.h-data: Likewise.
34234         * conform/data/pwd.h-data: Likewise.
34235         * conform/data/regex.h-data: Likewise.
34236         * conform/data/sched.h-data: Likewise.
34237         * conform/data/search.h-data: Likewise.
34238         * conform/data/semaphore.h-data: Likewise.
34239         * conform/data/setjmp.h-data: Likewise.
34240         * conform/data/signal.h-data: Likewise.
34241         * conform/data/spawn.h-data: Likewise.
34242         * conform/data/stdarg.h-data: Likewise.
34243         * conform/data/stdio.h-data: Likewise.
34244         * conform/data/stdlib.h-data: Likewise.
34245         * conform/data/string.h-data: Likewise.
34246         * conform/data/strings.h-data: Likewise.
34247         * conform/data/stropts.h-data: Likewise.
34248         * conform/data/sys/ipc.h-data: Likewise.
34249         * conform/data/sys/mman.h-data: Likewise.
34250         * conform/data/sys/msg.h-data: Likewise.
34251         * conform/data/sys/resource.h-data: Likewise.
34252         * conform/data/sys/select.h-data: Likewise.
34253         * conform/data/sys/sem.h-data: Likewise.
34254         * conform/data/sys/shm.h-data: Likewise.
34255         * conform/data/sys/socket.h-data: Likewise.
34256         * conform/data/sys/stat.h-data: Likewise.
34257         * conform/data/sys/statvfs.h-data: Likewise.
34258         * conform/data/sys/time.h-data: Likewise.
34259         * conform/data/sys/timeb.h-data: Likewise.
34260         * conform/data/sys/times.h-data: Likewise.
34261         * conform/data/sys/types.h-data: Likewise.
34262         * conform/data/sys/uio.h-data: Likewise.
34263         * conform/data/sys/un.h-data: Likewise.
34264         * conform/data/sys/utsname.h-data: Likewise.
34265         * conform/data/sys/wait.h-data: Likewise.
34266         * conform/data/syslog.h-data: Likewise.
34267         * conform/data/tar.h-data: Likewise.
34268         * conform/data/termios.h-data: Likewise.
34269         * conform/data/utime.h-data: Likewise.
34270         * conform/data/utmpx.h-data: Likewise.
34271         * conform/data/varargs.h-data: Likewise.
34272         * conform/data/wchar.h-data: Likewise.
34273         * conform/data/wctype.h-data: Likewise.
34274         * conform/data/wordexp.h-data: Likewise.
34275
34276         * include/stropts.h: New file.
34277         * include/uchar.h: New file.
34278         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34279         * include/assert.h: Likewise.
34280         * include/ctype.h: Likewise.
34281         * include/dirent.h: Likewise.
34282         * include/dlfcn.h: Likewise.
34283         * include/fcntl.h: Likewise.
34284         * include/fnmatch.h: Likewise.
34285         * include/glob.h: Likewise.
34286         * include/grp.h: Likewise.
34287         * include/libio.h: Likewise.
34288         * include/locale.h: Likewise.
34289         * include/math.h: Likewise.
34290         * include/net/if.h: Likewise.
34291         * include/netdb.h: Likewise.
34292         * include/netinet/in.h: Likewise.
34293         * include/pthread.h: Likewise.
34294         * include/pwd.h: Likewise.
34295         * include/regex.h: Likewise.
34296         * include/sched.h: Likewise.
34297         * include/search.h: Likewise.
34298         * include/setjmp.h: Likewise.
34299         * include/signal.h: Likewise.
34300         * include/stdio.h: Likewise.
34301         * include/stdlib.h: Likewise.
34302         * include/string.h: Likewise.
34303         * include/sys/cdefs.h: Likewise.
34304         * include/sys/mman.h: Likewise.
34305         * include/sys/msg.h: Likewise.
34306         * include/sys/resource.h: Likewise.
34307         * include/sys/select.h: Likewise.
34308         * include/sys/socket.h: Likewise.
34309         * include/sys/stat.h: Likewise.
34310         * include/sys/statvfs.h: Likewise.
34311         * include/sys/time.h: Likewise.
34312         * include/sys/times.h: Likewise.
34313         * include/sys/uio.h: Likewise.
34314         * include/sys/utsname.h: Likewise.
34315         * include/sys/wait.h: Likewise.
34316         * include/termios.h: Likewise.
34317         * include/time.h: Likewise.
34318         * include/ulimit.h: Likewise.
34319         * include/unistd.h: Likewise.
34320         * include/utime.h: Likewise.
34321         * include/wchar.h: Likewise.
34322         * include/wctype.h: Likewise.
34323         * include/wordexp.h: Likewise.
34324
34325         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34326
34327         * time/time.h: TIME_UTC must be a macro.
34328         Make timespec_get available for ISO C11 only as well.
34329
34330 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34331
34332         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34333         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34334
34335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34336
34337         * configure.in: Use -o not -a in test for unsupported multi-arch.
34338
34339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34340
34341         * manual/texinfo.tex: Update to version 2012-01-19.16.
34342
34343 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34344
34345         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34346
34347 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34348
34349         [BZ #13738]
34350         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34351         * manual/fdl-1.3.texi: New file.
34352         * manual/fdl-1.1.texi: File removed.
34353
34354         [BZ #13738]
34355         * manual/libc.texinfo (FDL_VERSION): New @set.
34356         Use it for mention of FDL in cover text.
34357         (Documentation License): Use it in @include file name.
34358
34359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34360             Roland McGrath  <roland@hack.frob.com>
34361
34362         [BZ #5461]
34363         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34364         not LONG_LONG_MAX and LONG_LONG_MIN.
34365         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34366         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34367         name.
34368         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34369
34370 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34371
34372         [BZ #2547]
34373         [BZ #11365]
34374         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34375         manipulate bits before adding and subtracting TWO23[sx].
34376         * math/libm-test.inc (nearbyint_test): Add more tests.
34377
34378 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34379
34380         [BZ #2548]
34381         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34382         bits before adding and subtracting TWO23[sx].
34383         * math/libm-test.inc (rint_test): Add more tests.
34384         (rint_test_tonearest): Likewise.
34385         (rint_test_towardzero): Likewise.
34386         (rint_test_downward): Likewise.
34387         (rint_test_upward: Likewise.
34388
34389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34390
34391         [BZ #10110]
34392         * include/stdc-predef.h: New file.  Extracted from features.h.
34393         * include/features.h: Include stdc-predef.h.
34394         * Makefile (headers): Add stdc-predef.h.
34395         * CONFORMANCE (Compiler limitations): Update.
34396
34397 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34398
34399         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34400
34401 2012-02-21  David S. Miller  <davem@davemloft.net>
34402
34403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34404         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34405
34406 2012-02-20  David S. Miller  <davem@davemloft.net>
34407
34408         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34409         using a normal save/restore sequence, rather than allocating a
34410         dummy stack frame just to store a frame pointer and restore.
34411         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34412
34413 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34414
34415         * manual/install.texi: Fix stray word in line-wrapped comment.
34416
34417 2012-02-20  David S. Miller  <davem@davemloft.net>
34418
34419         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34420         both binutils and gcc support GOTDATA.
34421
34422         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34423         "rd %pc" in the PIC register setup sequences.
34424
34425         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34426         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34427         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34428         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34429         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34434         (SYSCALL_ERROR_HANDLER): Likewise.
34435         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34438         (SYSCALL_ERROR_HANDLER): Likewise.
34439
34440         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34441         (HAVE_GCC_GOTDATA): New.
34442         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34443         relocation support in both binutils and gcc.
34444         * sysdeps/sparc/elf/configure: Regenerate.
34445
34446         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34447         * sysdeps/sparc/sparc32/elf/configure: Delete.
34448         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34449         * sysdeps/sparc/sparc64/elf/configure: Delete.
34450         * sysdeps/sparc/elf/configure.in: New file.
34451         * sysdeps/sparc/elf/configure: Generate.
34452
34453         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34454         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34455         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34456         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34457         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34458
34459 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34460
34461         * manual/install.texi: Do not mention specific glibc version
34462         numbers.
34463         * manual/libc.texinfo (VERSION, UPDATED): Update.
34464         (@copying): Use @copyright{} and range of years.
34465
34466 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34467
34468         [BZ #13695]
34469         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34470         [crti.S not in sysdirs] (generated): Do not append.
34471         [crti.S not in sysdirs] (omit-deps): Likewise.
34472         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34473         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34474         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34475         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34476         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34477         Likewise.
34478         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34479         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34480         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34481         * csu/defs.awk: Remove file.
34482         * sysdeps/generic/initfini.c: Likewise.
34483         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34484         variable.
34485         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34486         Likewise.
34487
34488 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34489
34490         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34491         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34495         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34496         <bits/epoll.h>.
34497         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34498         (__EPOLL_PACKED): Define to empty if not defined by
34499         <bits/epoll.h>.
34500         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34502         bits/epoll.h.
34503
34504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34505
34506         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34507         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34508         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34509         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34510         <bits/timerfd.h>.
34511         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34513         bits/timerfd.h.
34514
34515 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34516
34517         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34518         in C locale.
34519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34523
34524 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34525
34526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34527         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34528
34529 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34530
34531         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34532         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34533         defined.
34534         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34535         Likewise.
34536         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34537         entry for 2.16.
34538
34539 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34540
34541         * math/w_acos.c: Use non-signaling floating-point comparisons.
34542         * math/w_acosf.c: Likewise.
34543         * math/w_acosh.c: Likewise.
34544         * math/w_acoshf.c: Likewise.
34545         * math/w_acoshl.c: Likewise.
34546         * math/w_acosl.c: Likewise.
34547         * math/w_asin.c: Likewise.
34548         * math/w_asinf.c: Likewise.
34549         * math/w_asinl.c: Likewise.
34550         * math/w_atanh.c: Likewise.
34551         * math/w_atanhf.c: Likewise.
34552         * math/w_atanhl.c: Likewise.
34553         * math/w_exp2.c: Likewise.
34554         * math/w_exp2f.c: Likewise.
34555         * math/w_exp2l.c: Likewise.
34556         * math/w_j0.c: Likewise.
34557         * math/w_j0f.c: Likewise.
34558         * math/w_j0l.c: Likewise.
34559         * math/w_j1.c: Likewise.
34560         * math/w_j1f.c: Likewise.
34561         * math/w_j1l.c: Likewise.
34562         * math/w_jn.c: Likewise.
34563         * math/w_jnf.c: Likewise.
34564         * math/w_log.c: Likewise.
34565         * math/w_log10.c: Likewise.
34566         * math/w_log10f.c: Likewise.
34567         * math/w_log10l.c: Likewise.
34568         * math/w_log2.c: Likewise.
34569         * math/w_log2f.c: Likewise.
34570         * math/w_log2l.c: Likewise.
34571         * math/w_logf.c: Likewise.
34572         * math/w_logl.c: Likewise.
34573         * math/w_sqrt.c: Likewise.
34574         * math/w_sqrtf.c: Likewise.
34575         * math/w_sqrtl.c: Likewise.
34576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34581
34582 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34583
34584         [BZ #9739]
34585         * manual/string.texi (strnlen): Use correct parameter name in
34586         equivalent expression.
34587
34588 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34589
34590         [BZ #11174]
34591         * manual/users.texi (seteuid): Consistently use neweuid for
34592         argument name.
34593
34594 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34595
34596         [BZ #13704]
34597         * manual/nss.texi (Services in the NSS configuration): Correct
34598         list of services in example configuration file.
34599
34600 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34601
34602         [BZ #11322]
34603         * manual/arith.texi: Remove statements about negative zero
34604         behaving identically to zero.
34605
34606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34607
34608         [BZ #5993]
34609         * manual/install.texi: Do not document upgrading from libc5.
34610
34611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34612
34613         [BZ #4596]
34614         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34615
34616 2012-02-18  David S. Miller  <davem@davemloft.net>
34617
34618         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34619         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34620         %o7 across the call.
34621         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34622         instead.
34623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34624         SETUP_PIC_REG_LEAF.
34625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34626         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34627         * sysdeps/sparc/crtn.S: Likewise.
34628
34629 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34630
34631         * aout/Makefile: Remove.
34632
34633 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34634
34635         [BZ #13058]
34636         * manual/examples/argp-ex1.c (main): Format definition in GNU
34637         style.
34638         * manual/examples/argp-ex2.c (main): Likewise.
34639         * manual/examples/argp-ex3.c (main): Likewise.
34640         * manual/examples/argp-ex4.c (main): Likewise.
34641         * manual/examples/longopt.c (main): Use new-style prototype
34642         definition.
34643         * manual/examples/strncat.c (main): Specify return type and use
34644         (void) for arguments.
34645         * manual/examples/subopt.c (main): Use char **argv argument.
34646
34647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34648
34649         [BZ #5077]
34650         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34651         rounding modes.
34652
34653 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34654
34655         [BZ #6907]
34656         * manual/string.texi (strchr): Change when strchrnul is
34657         recommended.
34658
34659 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34660
34661         [BZ #174]
34662         * manual/locale.texi (setlocale): Document LOCPATH.
34663
34664 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34665
34666         [BZ #10210]
34667         * manual/process.texi (execle): Move @dots{} before last argument.
34668
34669 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34670
34671         [BZ #12047]
34672         * manual/charset.texi (Generic Charset Conversion): Fix typo
34673         (LC_TYPE -> LC_CTYPE).
34674
34675 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34676
34677         [BZ #5805]
34678         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34679         (scalbnf): Likewise.
34680         (scalbnl): Likewise.
34681         (scalbln): Likewise.
34682         (scalblnf): Likewise.
34683         (scalblnl): Likewise.
34684         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34685         (vwarnx): Likewise.
34686         (verr): Likewise.
34687         (verrx): Likewise.
34688         * manual/filesys.texi (telldir): Use braces around return type.
34689         * manual/llio.texi (mmap): Add space after comma.
34690         (mmap64): Likewise.
34691         * manual/math.texi (jn): Use @var{} on parameter names.
34692         (jnf): Likewise.
34693         (jnl): Likewise.
34694         (yn): Likewise.
34695         (ynf): Likewise.
34696         (ynl): Likewise.
34697         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34698         line.
34699         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34700         "...".
34701         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34702         (sched_get_priority_max): Likewise.
34703         * manual/signal.texi (sigvec): Add space after comma.
34704         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34705         names.
34706         (if_indextoname): Likewise.
34707         (if_freenameindex): Likewise.
34708         (sendto): Use ',' instead of '.' in prototype.
34709         * manual/startup.texi (syscall): Use @dots{} instead of literal
34710         "...".
34711         * manual/stdio.texi (__fpending): Separate initial words of
34712         paragraph from @deftypefun line.
34713         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34714         "...".
34715         (vsyslog): Use @var{} on parameter names.
34716         * manual/terminal.texi (stty): Use @var{} on parameter names.
34717         * manual/users.texi (getutmp): Use @var{} on parameter names.
34718         (getutmpx): Likewise.
34719
34720 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34721
34722         [BZ #6884]
34723         * manual/stdio.texi (fopen): Fix typos in description of
34724         ",ccs=STRING".
34725
34726 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34727
34728         [BZ #4026]
34729         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34730         get clock_id definition.
34731
34732 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34733
34734         [BZ #4822]
34735         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34736         (madvise): Cast every argument to void on its own.
34737
34738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34739
34740         [BZ #9902]
34741         * manual/startup.texi (Exit Status): Fix typo.
34742
34743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34744
34745         [BZ #10140]
34746         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34747         * manual/examples/argp-ex2.c: Likewise.
34748         * manual/examples/argp-ex3.c: Likewise.
34749
34750 2012-02-16  Richard Henderson  <rth@redhat.com>
34751
34752         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34753         * sysdeps/s390/s390-32/initfini.c: Remove.
34754         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34755         * sysdeps/s390/s390-64/initfini.c: Remove.
34756
34757 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34758
34759         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34760         compiler output for sysdeps/generic/initfini.c.
34761         * sysdeps/sh/elf/initfini.c: Remove file.
34762
34763 2012-02-16  David S. Miller  <davem@davemloft.net>
34764
34765         [BZ #11494]
34766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34767
34768         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34769         * sysdeps/sparc/crti.S: New file.
34770         * sysdeps/sparc/crtn.S: New file.
34771         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34772         * sysdeps/sparc/sparc64/Makefile: Likewise.
34773
34774 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34775
34776         [BZ #3335]
34777         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34778
34779 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34780
34781         [BZ #4822]
34782         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34783
34784         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34785         (write, read, close): Likewise.
34786         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34787
34788 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34789
34790         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34791         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34792         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34793         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34794         <bits/signalfd.h>.
34795         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34797         bits/signalfd.h.
34798
34799 2012-02-14  Marek Polacek  <polacek@redhat.com>
34800
34801         * sysdeps/x86_64/crti.S: New file.
34802         * sysdeps/x86_64/crtn.S: New file.
34803         * sysdeps/x86_64/elf/initfini.c: Remove file.
34804
34805 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34806
34807         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34808         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34809         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34810         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34811         <bits/inotify.h>.
34812         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34814         bits/inotify.h.
34815
34816 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34817
34818         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34819         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34820         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34821         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34822         <bits/eventfd.h>.
34823         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34825         bits/eventfd.h.
34826
34827 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34828
34829         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34830         __feraiseexcept instead of feraiseexcept.
34831
34832         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34833         nanosleep invocations.
34834         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34835         strings, and add error checking for a nanosleep invocations.
34836
34837 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34838
34839         Replace FSF snail mail address with URLs, as per GNU coding standards.
34840         Most of the snail mail addresses were wrong anyway, and omitting
34841         them makes the source code easier to maintain.  Almost all of the
34842         changes are to license notices and to locale LC_IDENTIFICATION
34843         addresses, except for this one:
34844         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34845         not its snail mail address.
34846
34847 2012-02-09  Richard Henderson  <rth@twiddle.net>
34848
34849         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34850         of kernel-features.h.
34851
34852         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34853
34854 2012-02-08  Marek Polacek  <polacek@redhat.com>
34855
34856         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34857         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34858         * sysdeps/gnu/_G_config.h: Likewise.
34859         * sysdeps/generic/_G_config.h: Likewise.
34860
34861 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34862
34863         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34864         tests.
34865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34866
34867         * sysdeps/powerpc/powerpc32/crti.S: New file.
34868         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34869         * sysdeps/powerpc/powerpc64/crti.S: New file.
34870         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34871
34872         * Makeconfig (have-initfini): Don't set.
34873         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34874         * configure.in (nopic_initfini): Don't substitute.
34875         * config.h.in (HAVE_INITFINI): Don't #undef.
34876         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34877         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34878
34879 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34880
34881         Support crti.S and crtn.S provided directly by architectures.
34882         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34883         [crti.S in sysdirs] (omit-deps): Likewise.
34884         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34885         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34886         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34887         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34888         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34889         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34890         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34891         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34892         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34893         compiler output for sysdeps/generic/initfini.c.
34894         * sysdeps/i386/elf/Makefile: Remove file.
34895         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34896
34897 2012-02-07  Marek Polacek  <polacek@redhat.com>
34898
34899         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34900         * sysdeps/gnu/_G_config.h: Likewise.
34901         * sysdeps/mach/hurd/_G_config.h: Likewise.
34902
34903 2012-02-07  Marek Polacek  <polacek@redhat.com>
34904
34905         * math/Makefile (tests): Add tst-CMPLX2.
34906         * math/tst-CMPLX2.c: New file.
34907
34908 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34909
34910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34911
34912         * math/libm-test.inc (jn_test): Add missing L suffix.
34913
34914 2012-02-06  Marek Polacek  <polacek@redhat.com>
34915
34916         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34917         * sysdeps/i386/fpu/e_powf.S: Likewise.
34918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34919         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34920         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34921         * sysdeps/i386/fpu/e_pow.S: Likewise.
34922         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34924         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34925         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34926         * sysdeps/i386/fpu/e_log2.S: Likewise.
34927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34929         * sysdeps/i386/fpu/e_powl.S: Likewise.
34930         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34931         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34932         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34933         * sysdeps/i386/fpu/e_logl.S: Likewise.
34934         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34935         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34936         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34937         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34938         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34939         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34940         * sysdeps/i386/fpu/e_log.S: Likewise.
34941         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34942         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34943         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34944         * sysdeps/i386/fpu/e_logf.S: Likewise.
34945         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34946         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34947         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34948         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34949         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34950         * sysdeps/i386/fpu/e_log10.S: Likewise.
34951         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34952         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34953         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34954         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34956         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34957         * sysdeps/i386/asm-syntax.h: Likewise.
34958         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34960         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34961         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34962         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34963         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34964         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34965         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34966         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34967         * sysdeps/powerpc/sysdep.h: Likewise.
34968         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34969         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34970
34971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34972
34973         [BZ #411]
34974         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34975
34976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34977
34978         * sysdeps/i386/sysdep.h: Include <features.h>.
34979         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34980         version.
34981
34982 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34983
34984         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34985         Define.
34986         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34987         LOAD_PIC_REG_STR.
34988
34989 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34990
34991         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34992         (SETUP_PIC_REG): Use GET_PC_THUNK.
34993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34994         macro.
34995
34996 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34997
34998         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34999         for non-PIC compilation.
35000         (SETUP_PIC_REG): Add .p2align directive.
35001         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35002         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35003         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35015         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35016         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35017         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35018         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35019         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35020         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35023         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35024         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35029         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35030         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35031         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35042
35043 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35044
35045         * math/tst-CMPLX.c: Include <stdio.h>.
35046
35047 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35048
35049         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35050         float.
35051         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35052         * sysdeps/sparc/bits/mathdef.h: Likewise.
35053
35054 2012-01-31  Marek Polacek  <polacek@redhat.com>
35055
35056         * libio/libio.h: Don't define _PARAMS.
35057         * locale/programs/config.h: Don't define PARAMS.
35058         * stdlib/strtol_l.c: Likewise.
35059         (__strtol_l): Remove PARAMS from the prototype.
35060
35061 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35062
35063         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35064         names.  Just use the correct names.  Remove unnecessary wrapper
35065         functions.
35066         * malloc/arena.c: Likewise.
35067         * malloc/hooks.c: Likewise.
35068
35069         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35070         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35071         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35072
35073 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35074
35075         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35076         into tail calls.
35077         (update_get_addr): New function.
35078         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35079         GET_ADDR_MODULE parameter.
35080
35081 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35082
35083         * crypt/cert.c: Remove __STDC__ conditionals.
35084         * crypt/crypt-entry.c: Likewise.
35085         * crypt/crypt_util.c: Likewise.
35086         * libio/filedoalloc.c: Likewise.
35087         * libio/fileops.c: Likewise.
35088         * libio/genops.c: Likewise.
35089         * libio/iofclose.c: Likewise.
35090         * libio/iofdopen.c: Likewise.
35091         * libio/iofopen.c: Likewise.
35092         * libio/iofopen64.c: Likewise.
35093         * libio/iogetdelim.c: Likewise.
35094         * libio/iopopen.c: Likewise.
35095         * libio/obprintf.c: Likewise.
35096         * libio/oldfileops.c: Likewise.
35097         * libio/oldiofclose.c: Likewise.
35098         * libio/oldiofdopen.c: Likewise.
35099         * libio/oldiofopen.c: Likewise.
35100         * libio/oldiopopen.c: Likewise.
35101         * libio/wfiledoalloc.c: Likewise.
35102         * libio/wgenops.c: Likewise.
35103         * locale/programs/xmalloc.c: Likewise.
35104         * misc/syslog.c: Likewise.
35105         * stdio-common/xbug.c: Likewise.
35106         * string/memchr.c: Likewise.
35107         * string/memcmp.c: Likewise.
35108         * string/memrchr.c: Likewise.
35109         * string/rawmemchr.c: Likewise.
35110         * sysdeps/posix/getcwd.c: Likewise.
35111         * time/strftime_l.c: Likewise.
35112
35113 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35114
35115         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35116         * config.make.in (config-cflags-sse2avx): Define.
35117         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35118         Fix typo.
35119
35120 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35121
35122         * scripts/config.guess: Update from upstream config git repository.
35123         * scripts/config.sub: Likewise.
35124
35125 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35126
35127         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35128         (EM_NUM): Update.
35129         (R_TILEPRO_*, R_TILEGX_*): New macros.
35130
35131         * scripts/firstversions.awk: Fix bug in version range handling.
35132
35133         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35134
35135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35136
35137         * include/sys/epoll.h: New file.
35138         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35139         libc_hidden_def.
35140
35141 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35142
35143         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35144         Avoid unnecessary __WORDSIZE == 64 test.
35145         (fmaxf): Use VEX format if possible.
35146         (fmax): Likewise.
35147         (fminf): Likewise.
35148         (fmin): Likewise.
35149
35150         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35151         * math/math_private.h: Remove libc_fegetround* and
35152         libc_fesetround*.
35153         * sysdeps/i386/configure.in: Check for -msse2avx.
35154         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35155         also if SSE2AVX is defined.
35156         Remove libc_fegetround* and libc_fesetround*.
35157         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35158         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35160         of HAS_YMM_USABLE.
35161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35162         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35163         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35164         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35165         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35166
35167         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35168
35169 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35170
35171         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35172         size is not set.
35173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35174
35175 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35176
35177         [BZ #13618]
35178         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35179         relocation.
35180         * Makeconfig (libm): Define.
35181         * elf/Makefile: Add rules to build and run tst-relsort1.
35182         * elf/tst-relsort1.c: New file.
35183         * elf/tst-relsort1mod1.c: New file.
35184         * elf/tst-relsort1mod2.c: New file.
35185
35186 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35187
35188         * math/s_ldexp.c: Remove __STDC__ conditionals.
35189         * math/s_ldexpf.c: Likewise.
35190         * math/s_ldexpl.c: Likewise.
35191         * math/s_nextafter.c: Likewise.
35192         * math/s_nexttowardf.c: Likewise.
35193         * math/s_significand.c: Likewise.
35194         * math/s_significandf.c: Likewise.
35195         * math/s_significandl.c: Likewise.
35196         * math/w_jnl.c: Likewise.
35197         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35198         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35199         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35200         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35201         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35203         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35204         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35210         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35212         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35213         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35214         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35215         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35216         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35217         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35218         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35223         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35224         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35225         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35226         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35227         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35228         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35229         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35230         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35232         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35233         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35234         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35235         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35236         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35237         * sysdeps/ieee754/k_standard.c: Likewise.
35238         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35239         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35240         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35248         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35249         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35251         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35252         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35254         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35256         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35259         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35263         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35267         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35269         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35270         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35271         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35274         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35278         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35280         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35283         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35287         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35288         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35294         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35296         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35297         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35298         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35299         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35300         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35302         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35303         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35304         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35305         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35306         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35307         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35308         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35309         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35310         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35311         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35312         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35313         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35314         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35315         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35317         * sysdeps/ieee754/s_matherr.c: Likewise.
35318         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35322
35323 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35324
35325         * crypt/md5.h: Remove __STDC__ conditionals.
35326         * libio/libioP.h: Likewise.
35327         * locale/programs/config.h: Likewise.
35328         * sysdeps/generic/sysdep.h: Likewise.
35329         * sysdeps/i386/asm-syntax.h: Likewise.
35330         * sysdeps/s390/asm-syntax.h: Likewise.
35331         * sysdeps/unix/sysdep.h: Likewise.
35332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35334
35335 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35336
35337         * libio/libio.h: Remove __STDC__ conditionals.
35338         * malloc/obstack.h: Likewise.
35339         * math/complex.h: Likewise.
35340         * math/math.h: Likewise.
35341         * sysdeps/generic/_G_config.h: Likewise.
35342         * sysdeps/gnu/_G_config.h: Likewise.
35343         * sysdeps/mach/hurd/_G_config.h: Likewise.
35344         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35345         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35346         * sysdeps/sparc/bits/mathdef.h: Likewise.
35347
35348 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35349
35350         [BZ #13583]
35351         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35352         Clean up HAS_* macros.
35353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35354         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35355         possible.
35356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35357         HAS_AVX.
35358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35362         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35363
35364 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35365
35366         * elf/tst-unique3.cc (gets): Remove declaration.
35367         * elf/tst-unique3lib.cc (gets): Likewise.
35368         * elf/tst-unique3lib2.cc (gets): Likewise.
35369         * elf/tst-unique4.cc (gets): Likewise.
35370
35371 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35372
35373         * include/stdio.h: Add C++ protection.  Add gets declarations and
35374         definitions.
35375         * debug/tst-chk1.c: Don't declare gets here.
35376         * stdio-common/tst-gets.c: Likewise.
35377
35378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35379
35380         * posix/glob: Remove directory.
35381
35382 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35383
35384         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35385
35386 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35387
35388         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35389         of the non-standard EPFNOSUPPORT.
35390
35391 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35392
35393         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35394         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35395         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35396
35397 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35398
35399         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35400
35401 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35402
35403         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35404         transient errors.
35405         * nscd/grpcache.c (cache_addgr): Likewise.
35406         * nscd/hstcache.c (cache_addhst): Likewise.
35407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35408         * nscd/pwdcache.c (cache_addpw): Likewise.
35409         * nscd/servicescache.c (cache_addserv): Likewise.
35410
35411 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35412
35413         * malloc/malloc.c: Various cleanups.
35414         * malloc/hooks.c: Likewise.
35415
35416         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35417         * stdlib/bug-fmtmsg1.c: New file.
35418
35419         * stdlib/fmtmsg.c (init): Add missing unlock.
35420         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35421
35422 2012-01-12  Marek Polacek  <polacek@redhat.com>
35423
35424         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35425         and _GNU_SOURCE.
35426
35427 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35428
35429         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35430         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35431         macro to ensure uniqueness of label name.
35432         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35433         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35434
35435 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35436
35437         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35438
35439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35440         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35443
35444 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35445
35446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35447
35448         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35449         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35450         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35451
35452         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35453
35454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35455         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35458
35459         * math/bits/math-finite.h: Add ldexp support.
35460
35461 2012-01-10  Marek Polacek  <polacek@redhat.com>
35462
35463         * locale/programs/localedef.h (show_archive_content): Add noreturn
35464         attribute.
35465
35466 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35467
35468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35469
35470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35471
35472         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35473
35474         * io/Makefile (headers): Add bits/poll2.h.
35475
35476 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35477
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35479         typo #include statement.
35480
35481 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35482
35483         * include/sys/cdefs.h: Define __attribute_alloc_size.
35484         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35485         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35486         * elf/pldd.c: Likewise.
35487         * iconv/iconv_charmap.c: Likewise.
35488         * iconv/iconvconfig.c: Likewise.
35489         * iconv/strtab.c: Likewise.
35490         * locale/programs/locale.c: Likewise.
35491         * locale/programs/localedef.h: Likewise.
35492         * locale/programs/simple-hash.c: Likewise.
35493         * nscd/nscd.h: Likewise.
35494         * nss/makedb.c: Likewise.
35495         * sysdeps/generic/ldconfig.h: Likewise.
35496         * locale/programs/localedef.c: Remove xmalloc prototype.
35497         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35498
35499 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35500
35501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35502         appropriate.
35503
35504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35505
35506         * math/Makefile (tests): Add tst-CMPLX.
35507         * math/tst-CMPLX.c: New file.
35508
35509         * math/complex.h (CMPLXL): Fix typo.
35510
35511         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35512         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35513         GLIBC_2.16.
35514         * debug/tst-chk1.c: Add poll and ppoll tests.
35515         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35516         * include/sys/poll.h: Add hidden proto for ppoll.
35517         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35518         * sysdeps/mach/hurd/ppoll.c: Likewise.
35519         * io/ppoll.c: Likewise.
35520         * debug/poll_chk.c: New file.
35521         * debug/ppoll_chk.c: New file.
35522         * include/bits/poll2.h: New file.
35523         * io/bits/poll2.h: New file.
35524
35525         [BZ #1350]
35526         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35527
35528         * configure.in: static is always set to yes.  Remove.
35529         * config.make.in: Don't set build-static.
35530         * Makeconfig: Remove use of build-static.
35531         * dlfcn/Makefile: Likewise.
35532         * elf/Makefile: Likewise.
35533         * math/Makefile: Likewise.
35534         * misc/Makefile: Likewise.
35535         * nptl/Makefile: Likewise.
35536         * sysdeps/mach/hurd/Makefile: Likewise.
35537
35538         * configure.in: PWD_P is not used anymore.
35539         * config.make.in: Remove PWD_P entry.
35540
35541         * configure.in: Remove last remnants of RANLIB.
35542         No need to check for signed size_t anymore.
35543         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35544         and IA-64.
35545         Remove __builtin_expect test because we require at least gcc 3.4.
35546         * aclocal.m4: Likewise.
35547
35548         * wcsmbs/mbrtoc16.c: Implement using towc function.
35549         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35550         * wcsmbs/wcsmbsload.c: Likewise.
35551         * iconv/gconv_simple.c: Likewise.
35552         * iconv/gconv_int.h: Likewise.
35553         * iconv/gconv_builtin.h: Likewise.
35554         * iconv/iconv_prog.c: Remove CHAR16 handling.
35555
35556         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35557
35558         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35559
35560         * configure.in: Remove --with-elf and --enable-bounded options.
35561         Dont set base_machine for ia64.  More non-ELF conditions removed.
35562         Remove testing and setting of leading underscore information.
35563         * config.make.in (build-bounded): Set to no.
35564         * config.h.in: Remove NO_UNDERSCORES entry.
35565         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35566         them.
35567         * csu/start.c: Remove !NO_UNDERSCORE code.
35568         * locale/localeinfo.h: Likewise.
35569         * sysdeps/generic/machine-gmon.h: Likewise.
35570         * sysdeps/generic/sysdep.h: Likewise.
35571         * sysdeps/i386/sysdep.h: Likewise.
35572         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35573         * sysdeps/mach/sysdep.h: Likewise.
35574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35576         * sysdeps/sh/sysdep.h: Likewise.
35577         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35578         * sysdeps/unix/i386/sysdep.S: Likewise.
35579         * sysdeps/unix/sparc/start.c: Likewise.
35580         * sysdeps/unix/sparc/sysdep.S: Likewise.
35581         * sysdeps/unix/sparc/sysdep.h: Likewise.
35582         * sysdeps/unix/start.c: Likewise.
35583         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35584         * sysdeps/x86_64/sysdep.h: Likewise.
35585
35586 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35587
35588         [BZ #13553]
35589         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35590         for non-gcc.
35591         * argp/argp-fmtstream.h: Use const instead __const.
35592         * argp/argp.h: Likewise.
35593         * assert/assert.h: Likewise.
35594         * bits/fenv.h: Likewise.
35595         * bits/sched.h: Likewise.
35596         * bits/sigset.h: Likewise.
35597         * bits/sigthread.h: Likewise.
35598         * catgets/nl_types.h: Likewise.
35599         * conform/data/pthread.h-data: Likewise.
35600         * crypt/crypt-private.h: Likewise.
35601         * crypt/crypt.h: Likewise.
35602         * crypt/crypt_util.c: Likewise.
35603         * ctype/ctype.h: Likewise.
35604         * debug/execinfo.h: Likewise.
35605         * debug/mbsnrtowcs_chk.c: Likewise.
35606         * debug/mbsrtowcs_chk.c: Likewise.
35607         * debug/wcsnrtombs_chk.c: Likewise.
35608         * debug/wcsrtombs_chk.c: Likewise.
35609         * debug/wcstombs_chk.c: Likewise.
35610         * dirent/dirent.h: Likewise.
35611         * dlfcn/dlfcn.h: Likewise.
35612         * elf/neededtest4.c: Likewise.
35613         * grp/grp.h: Likewise.
35614         * gshadow/gshadow.h: Likewise.
35615         * iconv/gconv.h: Likewise.
35616         * iconv/gconv_int.h: Likewise.
35617         * iconv/gconv_simple.c: Likewise.
35618         * iconv/iconv.h: Likewise.
35619         * iconv/loop.c: Likewise.
35620         * iconv/skeleton.c: Likewise.
35621         * include/aio.h: Likewise.
35622         * include/aliases.h: Likewise.
35623         * include/argz.h: Likewise.
35624         * include/arpa/inet.h: Likewise.
35625         * include/assert.h: Likewise.
35626         * include/dirent.h: Likewise.
35627         * include/dlfcn.h: Likewise.
35628         * include/execinfo.h: Likewise.
35629         * include/fcntl.h: Likewise.
35630         * include/fenv.h: Likewise.
35631         * include/glob.h: Likewise.
35632         * include/grp.h: Likewise.
35633         * include/libintl.h: Likewise.
35634         * include/mntent.h: Likewise.
35635         * include/netdb.h: Likewise.
35636         * include/pwd.h: Likewise.
35637         * include/rpc/netdb.h: Likewise.
35638         * include/sched.h: Likewise.
35639         * include/search.h: Likewise.
35640         * include/shadow.h: Likewise.
35641         * include/signal.h: Likewise.
35642         * include/stdio.h: Likewise.
35643         * include/stdlib.h: Likewise.
35644         * include/string.h: Likewise.
35645         * include/sys/socket.h: Likewise.
35646         * include/sys/stat.h: Likewise.
35647         * include/sys/statfs.h: Likewise.
35648         * include/sys/statvfs.h: Likewise.
35649         * include/sys/syslog.h: Likewise.
35650         * include/sys/time.h: Likewise.
35651         * include/sys/uio.h: Likewise.
35652         * include/time.h: Likewise.
35653         * include/unistd.h: Likewise.
35654         * include/utmp.h: Likewise.
35655         * include/wchar.h: Likewise.
35656         * include/wctype.h: Likewise.
35657         * inet/aliases.h: Likewise.
35658         * inet/arpa/inet.h: Likewise.
35659         * inet/netinet/ether.h: Likewise.
35660         * inet/netinet/in.h: Likewise.
35661         * intl/libintl.h: Likewise.
35662         * io/bits/fcntl2.h: Likewise.
35663         * io/fcntl.h: Likewise.
35664         * io/ftw.h: Likewise.
35665         * io/sys/poll.h: Likewise.
35666         * io/sys/stat.h: Likewise.
35667         * io/sys/statfs.h: Likewise.
35668         * io/sys/statvfs.h: Likewise.
35669         * io/utime.h: Likewise.
35670         * libio/bits/stdio.h: Likewise.
35671         * libio/bits/stdio2.h: Likewise.
35672         * libio/libio.h: Likewise.
35673         * libio/libioP.h: Likewise.
35674         * libio/stdio.h: Likewise.
35675         * locale/lc-ctype.c: Likewise.
35676         * locale/locale.h: Likewise.
35677         * login/utmp.h: Likewise.
35678         * malloc/arena.c: Likewise.
35679         * malloc/malloc.c: Likewise.
35680         * malloc/malloc.h: Likewise.
35681         * malloc/mcheck.c: Likewise.
35682         * malloc/mtrace.c: Likewise.
35683         * math/bits/mathcalls.h: Likewise.
35684         * math/fenv.h: Likewise.
35685         * math/math_private.h: Likewise.
35686         * misc/bits/error.h: Likewise.
35687         * misc/bits/syslog.h: Likewise.
35688         * misc/err.h: Likewise.
35689         * misc/error.h: Likewise.
35690         * misc/fstab.h: Likewise.
35691         * misc/mntent.h: Likewise.
35692         * misc/regexp.h: Likewise.
35693         * misc/search.h: Likewise.
35694         * misc/sgtty.h: Likewise.
35695         * misc/sys/mman.h: Likewise.
35696         * misc/sys/syslog.h: Likewise.
35697         * misc/sys/uio.h: Likewise.
35698         * misc/sys/xattr.h: Likewise.
35699         * misc/ttyent.h: Likewise.
35700         * nis/rpcsvc/ypclnt.h: Likewise.
35701         * nss/nss.h: Likewise.
35702         * posix/bits/unistd.h: Likewise.
35703         * posix/fnmatch.h: Likewise.
35704         * posix/glob.h: Likewise.
35705         * posix/sched.h: Likewise.
35706         * posix/spawn.h: Likewise.
35707         * posix/sys/wait.h: Likewise.
35708         * posix/unistd.h: Likewise.
35709         * posix/wordexp.h: Likewise.
35710         * pwd/pwd.h: Likewise.
35711         * resolv/netdb.h: Likewise.
35712         * resource/sys/resource.h: Likewise.
35713         * rt/aio.h: Likewise.
35714         * rt/bits/mqueue2.h: Likewise.
35715         * rt/mqueue.h: Likewise.
35716         * shadow/shadow.h: Likewise.
35717         * signal/signal.h: Likewise.
35718         * socket/send.c: Likewise.
35719         * socket/sendto.c: Likewise.
35720         * socket/sys/socket.h: Likewise.
35721         * stdio-common/printf.h: Likewise.
35722         * stdlib/bits/stdlib.h: Likewise.
35723         * stdlib/fmtmsg.h: Likewise.
35724         * stdlib/monetary.h: Likewise.
35725         * stdlib/stdlib.h: Likewise.
35726         * stdlib/ucontext.h: Likewise.
35727         * streams/stropts.h: Likewise.
35728         * string/argz.h: Likewise.
35729         * string/bits/string2.h: Likewise.
35730         * string/string.h: Likewise.
35731         * string/strings.h: Likewise.
35732         * sunrpc/rpc/auth.h: Likewise.
35733         * sunrpc/rpc/auth_des.h: Likewise.
35734         * sunrpc/rpc/clnt.h: Likewise.
35735         * sunrpc/rpc/netdb.h: Likewise.
35736         * sunrpc/rpc/pmap_clnt.h: Likewise.
35737         * sunrpc/rpc/xdr.h: Likewise.
35738         * sysdeps/generic/inttypes.h: Likewise.
35739         * sysdeps/generic/net/if.h: Likewise.
35740         * sysdeps/generic/sys/swap.h: Likewise.
35741         * sysdeps/gnu/net/if.h: Likewise.
35742         * sysdeps/gnu/utmpx.h: Likewise.
35743         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35744         * sysdeps/i386/i486/bits/string.h: Likewise.
35745         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35746         * sysdeps/s390/bits/string.h: Likewise.
35747         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35748         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35749         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35750         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35751         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35752         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35753         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35754         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35755         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35756         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35757         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35758         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35759         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35760         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35761         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35762         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35763         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35764         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35768         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35769         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35770         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35771         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35772         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35773         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35775         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35776         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35777         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35778         * sysvipc/sys/ipc.h: Likewise.
35779         * sysvipc/sys/msg.h: Likewise.
35780         * sysvipc/sys/sem.h: Likewise.
35781         * sysvipc/sys/shm.h: Likewise.
35782         * termios/termios.h: Likewise.
35783         * time/sys/time.h: Likewise.
35784         * time/time.h: Likewise.
35785         * wcsmbs/bits/wchar2.h: Likewise.
35786         * wcsmbs/uchar.h: Likewise.
35787         * wcsmbs/wchar.h: Likewise.
35788         * wctype/wctype.h: Likewise.
35789
35790         [BZ #13551]
35791         * Makeconfig: Remove all but ELF support including AIX support.
35792         * Makerules: Likewise.
35793         * config.h.in: Likewise.
35794         * config.make.in: Likewise.
35795         * configure: Likewise.
35796         * configure.in: Likewise.
35797         * csu/Makefile: Likewise.
35798         * csu/version.c: Likewise.
35799         * debug/Makefile: Likewise.
35800         * dlfcn/Makefile: Likewise.
35801         * elf/Makefile: Likewise.
35802         * extra-lib.mk: Likewise.
35803         * iconv/Makefile: Likewise.
35804         * include/libc-symbols.h: Likewise.
35805         * include/shlib-compat.h: Likewise.
35806         * resolv/Makefile: Likewise.
35807         * resolv/res_libc.c: Likewise.
35808         * rt/Makefile: Likewise.
35809         * sysdeps/i386/asm-syntax.h: Likewise.
35810         * sysdeps/i386/sysdep.h: Likewise.
35811         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35812         * sysdeps/mach/sysdep.h: Likewise.
35813         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35814         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35815         * sysdeps/s390/asm-syntax.h: Likewise.
35816         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35818         * sysdeps/sh/sysdep.h: Likewise.
35819         * sysdeps/unix/sparc/sysdep.h: Likewise.
35820         * sysdeps/wordsize-32/divdi3.c: Likewise.
35821         * sysdeps/x86_64/sysdep.h: Likewise.
35822
35823         * argp/Versions: Remove _argp_unlock_xxx.
35824
35825         [BZ #13559]
35826         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35827         * abilist/libBrokenLocale.abilist: Likewise.
35828         * abilist/libanl.abilist: Likewise.
35829         * abilist/libc.abilist: Likewise.
35830         * abilist/libcrypt.abilist: Likewise.
35831         * abilist/libdl.abilist: Likewise.
35832         * abilist/libm.abilist: Likewise.
35833         * abilist/libnsl.abilist: Likewise.
35834         * abilist/libpthread.abilist: Likewise.
35835         * abilist/libresolv.abilist: Likewise.
35836         * abilist/librt.abilist: Likewise.
35837         * abilist/libthread_db.abilist: Likewise.
35838         * abilist/libutil.abilist: Likewise.
35839         * abilist/libnss_db.abilist: New file.
35840
35841         * scripts/abilist.awk: Add support for indirect functions.
35842
35843         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35844
35845         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35846
35847         * shlib-versions: Remove entries for ports architectures.
35848
35849         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35850         files in ports.
35851         * elf/stackguard-macros.h: Remove support for IA-64.
35852         * elf/tst-auditmod1.c: Likewise.
35853         * sysdeps/generic/ldsodefs.h: Likewise.
35854
35855         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35856         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35857         configure files.
35858
35859         [BZ #13552]
35860         * configure.in: Remove --enable-omitfp support.
35861         * FAQ.in: Adjust.
35862         * config.make.in: Likewise.
35863         * Makeconfig: Likewise.
35864         * manual/install.texi: Likewise.
35865
35866         In case anyone cares, the IA-64 architecture could move to ports.
35867         * sysdeps/ia64/*: Removed.
35868         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35869         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35870
35871         [BZ #13555]
35872         * configure.in: Remove entries for unsupported architectures.
35873
35874         [BZ #13533]
35875         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35876         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35877         routines.
35878         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35879         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35880         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35881         fall back to using wcrtomb.
35882         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35883         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35884         renaming.
35885         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35886         * wcsmbs/tst-c16c32-1.c: New file.
35887
35888         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35889         local variable.
35890
35891         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35892
35893         * elf/tst-unique3.cc: Add explicit declaration of gets.
35894         * elf/tst-unique3lib.cc: Likewise.
35895         * elf/tst-unique3lib2.cc: Likewise.
35896         * elf/tst-unique4.cc: Likewise.
35897
35898         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35899
35900 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35901
35902         [BZ #13566]
35903         * assert/assert.h (static_assert): Don't define for C++.
35904         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35905         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35906
35907 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35908
35909         * iconv/loop.c (single loop): Fix assertion in storing of
35910         remaining bytes.
35911
35912         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35913
35914 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35915
35916         * posix/getconf.c: Update copyright year.
35917         * nss/getent.c: Likewise.
35918         * nss/makedb.c: Likewise.
35919         * iconv/iconvconfig.c: Likewise.
35920         * iconv/iconv_prog.c: Likewise.
35921         * elf/ldconfig.c: Likewise.
35922         * elf/pldd.c: Likewise.
35923         * elf/sotruss.ksh: Likewise.
35924         * catgets/gencat.c: Likewise.
35925         * csu/version.c: Likewise.
35926         * elf/ldd.bash.in: Likewise.
35927         * elf/sprof.c (print_version): Likewise.
35928         * locale/programs/locale.c: Likewise.
35929         * locale/programs/localedef.c: Likewise.
35930         * login/programs/pt_chown.c: Likewise.
35931         * nscd/nscd.c (print_version): Likewise.
35932         * debug/xtrace.sh: Likewise.
35933         * malloc/memusage.sh: Likewise.
35934         * malloc/mtrace.pl: Likewise.
35935         * debug/catchsegv.sh: Likewise.
35936
35937 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35938
35939         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35940         pure attribute.
35941
35942 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35943
35944         [BZ #13533]
35945         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35946         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35947         transformations.
35948         * iconv/gconv_int.h: Likewise.
35949         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35950         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35951         from libc for GLIBC_2.16.
35952         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35953         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35954         * wcsmbs/uchar.h: Really define mbstate_t.
35955         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35956         * wcsmbs/c16rtomb.c: New file.
35957         * wcsmbs/mbrtoc16.c: New file.
35958         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35959         for C/POSIX locale.
35960         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35961         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35962
35963         * wcsmbs/wchar.h: Add missing __restrict.
35964
35965 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35966
35967         [BZ #13532]
35968         * time/Makefile (routines): Add timespec_get.
35969         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35970         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35971         timespec for ISO C11.
35972         * time/timespec_get.c: New file.
35973         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35974         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35975
35976         [BZ #13531]
35977         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35978         * stdlib/stdlib.h: Declare aligned_alloc.
35979         * Versions.def: Add GLIBC_2.16 for libc.
35980         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35981
35982         [BZ 13527]
35983         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35984         ISO C11.
35985
35986         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35987         code.
35988
35989         [BZ #13528]
35990         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35991
35992         [BZ #13529]
35993         * assert/assert.h (static_assert): Define.
35994
35995         * version.h: Update for 2.16 development version.
35996
35997         [BZ #13526]
35998         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35999         _ISOC11_SOURCE.
36000
36001         * version.h (RELEASE): Bump for 2.15 release.
36002         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36003
36004         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36005         Patch by Marek Polacek <mpolacek@redhat.com>.
36006
36007         * bits/byteswap.h: Protect long long constants with __extension__.
36008         * sysdeps/i386/bits/byteswap.h: Likewise.
36009         * sysdeps/ia64/bits/byteswap.h: Likewise.
36010         * sysdeps/s390/bits/byteswap.h: Likewise.
36011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36012
36013 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36014
36015         [BZ #13540]
36016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36017         destination buffer.
36018         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36019
36020 2011-12-23  Marek Polacek  <polacek@redhat.com>
36021
36022         * elf/dl-addr.c (determine_info): Add inline keyword.
36023         * elf/tst-auditmod4b.c (check_avx): Likewise.
36024         * elf/tst-auditmod6b.c (check_avx): Likewise.
36025         * elf/tst-auditmod6c.c (check_avx): Likewise.
36026         * elf/tst-auditmod7b.c (check_avx): Likewise.
36027
36028 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36029
36030         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36031         !__SSE_MATH__.
36032
36033 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36034
36035         [BZ #13540]
36036         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36037         processing for last bytes.
36038
36039 2011-08-06  Bruno Haible  <bruno@clisp.org>
36040
36041         [BZ #13061]
36042         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36043         U+0385, not to U+1FEE.
36044
36045         [BZ #13062]
36046         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36047         entry for U+00A5 U+0301.
36048
36049 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36050
36051         [BZ #13166]
36052         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36053         buffer for the output is too small.
36054
36055         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36056         optimization.
36057
36058         [BZ #13185]
36059         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36060         SSE flags if possible.
36061
36062 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36063
36064         [BZ #13540]
36065         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36066         processing for last bytes.
36067
36068 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36069
36070         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36071         (syscall-list-default-options, syscall-list-default-condition)
36072         (syscall-list-includes): Define.
36073         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36074         list of ABIs and options and #if conditions for each ABI.  Do not
36075         handle common syscalls between ABIs specially.
36076         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36077         Remove.
36078         (syscall-list-variants, syscall-list-32bit-options)
36079         (syscall-list-32bit-condition, syscall-list-64bit-options)
36080         (syscall-list-64bit-condition): Define.
36081         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36082         (syscall-list-variants, syscall-list-32bit-options)
36083         (syscall-list-32bit-condition, syscall-list-64bit-options)
36084         (syscall-list-64bit-condition): Define.
36085         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36086         Remove.
36087         (syscall-list-variants, syscall-list-32bit-options)
36088         (syscall-list-32bit-condition, syscall-list-64bit-options)
36089         (syscall-list-64bit-condition): Define.
36090         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36091         Remove.
36092         (syscall-list-variants, syscall-list-32bit-options)
36093         (syscall-list-32bit-condition, syscall-list-64bit-options)
36094         (syscall-list-64bit-condition): Define.
36095
36096 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36097
36098         * locale/iso-639.def: Add brx entry.
36099
36100         [BZ #13328]
36101         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36102         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36103
36104         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36105         __feraiseexcept_renamed.
36106
36107 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36108
36109         [BZ #13538]
36110         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36111         EPOLLET with unsigned values.
36112         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36114
36115         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36116         to large cancellation.
36117         * math/s_cacoshf.c: Likewise.
36118         * math/s_cacoshl.c: Likewise.
36119
36120 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36121
36122         [BZ #13305]
36123         [BZ #12786]
36124         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36125         * math/s_cacoshf.c: Likewise.
36126         * math/s_cacoshl.c: Likewise.
36127
36128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36129
36130         [BZ #13439]
36131         * iconv/gconv.h: Define __GCONV_SWAP.
36132         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36133         * iconvdata/utf-16.c: Likewise.
36134         * iconvdata/utf-32.c: Likewise.
36135
36136 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36137
36138         [BZ #13524]
36139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36140         numerator after shifting it by one limb.
36141
36142 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36143
36144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36145         under [__USE_EXTERN_INLINES].
36146
36147 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36148
36149         [BZ #13446]
36150         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36151
36152 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36153
36154         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36155         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36156         optimized code.
36157         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36158         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36159         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36160         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36161         for strncasecmp/strncasecmp_l compilation.
36162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36163         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36164
36165 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36166
36167         [BZ #13484]
36168         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36169         of __asm__.
36170
36171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36172
36173         [BZ #13506]
36174         * time/tzfile.c (__tzfile_read): Check values from file header.
36175
36176 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36177
36178         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36179         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36180         * powerpc/powerpc32/dl-start.S: Likewise.
36181         * powerpc/powerpc32/elf/start.S: Likewise.
36182         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36183         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36184         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36185         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36186         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36187         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36188         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36189         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36190         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36191         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36192         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36193         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36194         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36195         * powerpc/powerpc32/memset.S: Likewise.
36196         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36197         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36198         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36199         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36200         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36201         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36202         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36203         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36204         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36205         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36206         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36207         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36208         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36209
36210 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36211
36212         * math/libm-test.inc: Added more nearbyint tests.
36213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36217
36218 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36219
36220         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36221         FD_CLOEXEC.
36222
36223 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36224
36225         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36226         Add wcscpy-ssse3 wcscpy-c.
36227         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36228         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36229         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36230         * sysdeps/x86_64/wcschr.S: New file.
36231         * sysdeps/x86_64/wcsrchr.S: New file.
36232         * string/test-strcmp.c: Remove checking of wcscmp function for
36233         wrong alignments.
36234         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36235         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36236         wcsrchr-sse2 wcsrchr-c.
36237         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36238         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36239         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36240         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36241         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36242         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36243         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36244         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36246         * wcsmbc/wcschr.c (WCSCHR): New macro.
36247
36248 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36249
36250         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36251         * wcsmbs/test-wcsrchr.c: New file.
36252         * string/test-strrchr.c: Add wcsrchr support.
36253         (WIDE): New macro.
36254         * wcsmbs/test-wcscpy.c: New file.
36255         * string/test-strcpy.c: Add wcscpy support.
36256         (WIDE): New macro.
36257
36258 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36259
36260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36261         the inner loop.
36262
36263 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36264
36265         [BZ #13472]
36266         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36267
36268 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36269
36270         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36271         Minor optimizations.
36272
36273         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36274         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36275         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36276
36277 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36278
36279         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36280         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36281         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36282         for gcc to avoid warnings.
36283         * inet/Makefile (tests): Add tst-checks.
36284         * inet/tst-checks.c: New file.
36285
36286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36287         warning.
36288
36289         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36290         __wmemcmp_sse2.
36291
36292         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36293         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36294
36295         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36296
36297 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36298
36299         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36300         problem.
36301
36302         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36303
36304 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36305
36306         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36307         conditional on GCC version.
36308         (__arch_compare_and_exchange_val_8_acq)
36309         (__arch_compare_and_exchange_val_16_acq)
36310         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36311         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36312         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36313
36314 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36315
36316         * sysdeps/sh/backtrace.c: New file.
36317
36318 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36319
36320         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36321         parenthesis.
36322
36323 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36324
36325         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36326         falling back to utime.
36327
36328 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36329
36330         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36331         expectations for float.
36332
36333 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36334
36335         * locale/weight.h (findidx): Add parameter len.
36336         * locale/weightwc.h (findidx): Likewise.
36337         * posix/fnmatch_loop.c (FCT): Adjust caller.
36338         * posix/regcomp.c (build_equiv_class): Likewise.
36339         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36340         * posix/regexec.c (check_node_accept_bytes): Likewise.
36341         * string/strcoll_l.c (STRCOLL): Likewise.
36342         * string/strxfrm_l.c (STRXFRM): Likewise.
36343
36344 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36345
36346         * Makefile.in: Remove CVSOPT handling.
36347         * configure.in: Remove use of AC_REVISION.
36348         * iconvdata/Makefile (distribute): No need to filter out CVS.
36349         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36350         handling.
36351
36352 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36353
36354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36355         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36356         [USE_AS_STRNCASECMP_L]: Likewise.
36357         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36358         NO_TLS_DIRECT_SEG_REFS.
36359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36360         Fix argument offsets for non-PIC.
36361         [USE_AS_STRNCASECMP_L]: Likewise.
36362         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36363         NO_TLS_DIRECT_SEG_REFS.
36364
36365 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36366
36367         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36368         O_CLOEXEC.
36369         * locale/loadlocale.c (_nl_load_locale): Likewise.
36370
36371 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36372
36373         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36374         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36376         (SYSCALL_GETTIME): Set errno on error.
36377
36378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36379         count references to noai6ai_cached.
36380
36381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36382
36383         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36384
36385         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36386         FD_CLOEXEC for /proc/self/maps.
36387
36388         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36389         FD_CLOEXEC for /proc/meminfo.
36390
36391         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36392         gai.conf.
36393
36394         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36395         FD_CLOEXEC for given file.
36396
36397         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36398
36399         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36400         FD_CLOEXEC for /etc/hosts.
36401         (_gethtent): Likewise.
36402
36403         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36404
36405         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36406         cancellation and set FD_CLOEXEC for /etc/netgroup.
36407
36408         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36409         reading /etc/publickey.
36410
36411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36412         allow cancellation when reading /etc/group.
36413
36414         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36415         cancellation.
36416         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36417
36418         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36419         when using data file.
36420
36421         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36422
36423         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36424         (write_nis_obj): Use "c" and "e" in fopen.
36425
36426         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36427
36428         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36429
36430         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36431
36432         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36433
36434         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36435         locale.alias.
36436
36437         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36438
36439         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36440
36441         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36442
36443         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36444         file parsing and set FD_CLOEXEC.
36445
36446 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36447
36448         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36449
36450 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36451
36452         * malloc/arena.c (arena_get2): Don't call reused_arena when
36453         _int_new_arena failed.
36454
36455 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36456
36457         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36458         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36463         to compile strcasecmp and strncasecmp.
36464         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36465         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36466
36467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36468
36469 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36470
36471         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36472         locale-defines.sym to gen-as-const-headers.
36473         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36474         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36476         to compile strcasecmp and strncasecmp.
36477         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36478         strcasecmp_l and strncasecmp_l.
36479         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36480         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36481         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36482         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36483         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36484         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36485         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36486         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36487         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36488         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36489         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36490
36491 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36492
36493         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36494         result of SYSDEP_GETTIME_CPU to retval.
36495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36496         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36497
36498         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36499         variable.
36500
36501         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36502         mantissa words.
36503         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36504
36505         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36506         from unused variable.
36507
36508         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36509         DWARF definitions.
36510         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36511         for assembling.
36512
36513         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36514         over namespaces.
36515
36516         * sunrpc/rpc_prot.c (rejected): Fix case value.
36517
36518         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36519         unsigned long long int to avoid warnings in shift.
36520
36521         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36522         of use of trans.
36523         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36524         variable tmp.
36525
36526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36529
36530         * nis/nis_table.c (nis_list): Use variable of correct type for
36531         result of __follow_path call.
36532
36533 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36534
36535         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36536         of math functions ceil, trunc, floor, round, and sqrt, when
36537         avaliable on the platform.
36538         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36539         name clash.
36540         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36542         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36543
36544 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36545
36546         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36548
36549 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36550
36551         * include/unistd.h: Fix __readlink return type.
36552         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36553
36554 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36555
36556         * stdlib/ucontext.h: Undo last change for makecontext.
36557
36558 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36559
36560         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36561
36562         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36563         * setjmp/setjmp.h: Mark functions as non-leaf.
36564         * setjmp/bits/setjmp2.h: Likewise.
36565         * stdlib/ucontext.h: Likewise.
36566
36567 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36568
36569         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36570         (reused_arena): Don't check arena limit.
36571         (arena_get2): Atomically check arena limit.
36572
36573 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36574
36575         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36576         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36577
36578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36579         instructions.
36580
36581 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36582
36583         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36584         handler when locking.
36585
36586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36587         Fix size of allocated buffer.
36588
36589 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36590
36591         [BZ #10103]
36592         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36593         declarations for long double functions.
36594         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36595
36596         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36597
36598 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36599
36600         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36601         installed.
36602
36603         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36604         is disabled.
36605
36606 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36607
36608         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36609
36610 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36611
36612         * include/alloca.h (stackinfo_alloca_round): Define.
36613         (extend_alloca): Use it.
36614         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36615         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36616         here.
36617
36618         * scripts/check-local-headers.sh: Ignore libaudit.h.
36619
36620         * nscd/Makefile (extra-objs): Make recursively expanded.
36621
36622 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36623
36624         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36626
36627         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36628         * posix/tst-rfc3484-2.c: Likewise.
36629         * posix/tst-rfc3484-3.c: Likewise.
36630
36631         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36632         process_vm_writev.
36633         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36634         process_vm_writev.
36635         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36636         process_vm_writev from libc using GLIBC_2.15 version.
36637
36638         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36639
36640 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36641
36642         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36643         stack usage.
36644
36645 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36646
36647         [BZ #13367]
36648         * nss/getent.c (initgroups_keys): Show error message in case no group
36649         names are given.
36650
36651         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36652         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36653         __bump_nl_timestamp.
36654         * nscd/connections (nscd_init): When host database is served open
36655         netlink socket and request notification about configuration changes.
36656         (main_loop_poll): Track netlink file descriptor and bump timestamp
36657         in case data becomes available.
36658         (main_loop_epoll): Likewise.
36659         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36660         (database_pers_head): Add extra_data fileds.
36661         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36662         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36663         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36664         Adjust caller.
36665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36666         in6ai data, call __free_in6ai.
36667         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36668         Add -DHAVE_NETLINK.
36669         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36670         interface information.  Reuse previous data if netlink timestamp
36671         is not changed.
36672         (__bump_nl_timestamp): New function.
36673         (__free_in6ai): New function.
36674
36675 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36676
36677         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36678         close_not_cancel_no_status here.
36679         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36680
36681 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36682
36683         [BZ #13276]
36684         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36685         return value.
36686
36687         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36688         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36689         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36690
36691 2011-07-03  Andreas Jaeger  <aj@suse.de>
36692
36693         [BZ #10709]
36694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36695         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36696         * math/libm-test.inc (sin_test): Add test case.
36697
36698 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36699
36700         [BZ #13337]
36701         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36702         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36703
36704         * elf/chroot_canon.c (chroot_canon): Cleanups.
36705
36706         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36707
36708         [BZ #13335]
36709         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36710         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36711
36712         * string/test-strchr.c: Make usable for strchrnul testing.
36713         * string/test-strchrnul.c: New file.
36714         * string/Makefile (strop-tests): Add strchrnul.
36715
36716         * po/it.po: Update from translation team.
36717         * po/es.po: Likewise.
36718
36719 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36720
36721         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36722         the three constants needed as parameters.  Drop the others.
36723         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36724         __m128i_strloadu_tolower.
36725         Create and initialize variable zero and use it in all the places
36726         where _mm_setzero_si128 was used.
36727
36728         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36729         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36730         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36732         anymore.
36733         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36734         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36735         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36736         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36737         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36738         __mpranred, __mptan.
36739         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36740         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36741         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36742         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36743         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36744         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36746         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36747         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36748
36749 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36750
36751         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36752         redefine if SHARED.
36753         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36754
36755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36756         wide char related routines to wcsmbs subdir.
36757
36758 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36759
36760         [BZ #13344]
36761         * misc/sys/cdefs.h (__THROWNL): Define.
36762         * posix/unistd.h: Use __THREADNL instead of __THREAD
36763         for memory synchronization functions.
36764
36765 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36766
36767         [BZ #13349]
36768         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36769         doesn't exist.
36770         * manual/stdio.texi (Obstack Streams): Node removed.
36771
36772 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36773
36774         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36775         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36776         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36777
36778         * math/math_private.h (math_force_eval): Allow non-addressable
36779         arguments.
36780         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36781
36782 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36783
36784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36785         file is not needed.
36786
36787         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36790         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36794         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36795         Add AVX variants.
36796         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36797         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36798         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36799         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36800         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36801         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36802         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36804         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36805         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36806         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36807         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36808         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36809         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36810         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36811         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36812         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36813         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36814         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36815
36816         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36817         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36818
36819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36820         place.  Use VEX encoding when compiling for AVX.
36821
36822 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36823
36824         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36825         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36826
36827         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36828
36829 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36830
36831         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36832         useless if() expression.
36833         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36841         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36844         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36847         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36849         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36851         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36852
36853         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36854
36855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36856
36857         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36858         condition.
36859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36860
36861 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36862
36863         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36864         .text section.  Avoid duplicate constants.
36865         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36873         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36874         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36876         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36877         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36878         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36879         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36884         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36885         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36886         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36887         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36889         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36890         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36891         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36892         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36893         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36895         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36896         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36898         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36899         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36900         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36901         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36902         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36903         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36904         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36906         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36907         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36908         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36909         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36910
36911 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36912
36913         * sysdeps/x86_64/dla.h: Move to ...
36914         * sysdeps/x86_64/fpu/dla.h: ...here.
36915         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36916         situations.  Use __builtin_fma only for gcc 4.6 and up.
36917
36918         * config.make.in: Add have-mfma4 entry.
36919         * configure.in: Substitute libc_cv_cc_fma4.
36920         * math/Makefile (dbl-only-routines): Add sincostab.
36921         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36922         Use __sincostab not sincos.
36923         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36924         name is a macro.
36925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36929         using __copysign.
36930         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36931         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36932         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36933         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36934         and __inv.
36935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36936         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36937         __copysign.
36938         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36939         define aliases when function name is a macro.
36940         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36941         sysdeps/ieee754/dbl-64/sincos.tbl.
36942         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36943         fma4-enabled routines.
36944         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36945         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36946         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36947         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36948         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36949         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36950         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36951         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36953         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36954         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36956         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36957         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36959         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36960         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36961         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36962         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36963         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36964         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36965         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36967         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36969         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36970         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36971         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36972         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36973         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36974
36975         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36976         rename.
36977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36985
36986 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36987
36988         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36989
36990 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36991
36992         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36993
36994         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36995         prediction.
36996         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36997
36998         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36999         Remove unused variable magic_bits.
37000         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37001
37002         * string/strnlen.c: Define and use STRNLEN macro.
37003         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37004         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37006         * wcsmbs/wcslen.c: Define and use WCSLEN.
37007         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37008         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37009         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37010         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37012         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37014
37015 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37016
37017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37018         strnlen-sse2-no-bsf.
37019         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37021         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37022         Add strnlen support.
37023         (USE_AS_STRNLEN): New macro.
37024         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37026         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37027         * sysdeps/x86_64/wcslen.S: New file.
37028
37029 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37030
37031         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37032         XMM-moves are used for copying on small sizes.
37033
37034 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37035
37036         * wcsmbs/Makefile (strop-tests): Add wcschr.
37037         * wcsmbs/test-wcschr.c: New file.
37038         * string/test-strchr.c: Update.
37039         Add wcschr support.
37040         (WIDE): New macro.
37041
37042 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37043
37044         * wcsmbs/Makefile (strop-tests): Add wcslen.
37045         * wcsmbs/test-wcslen.c: New file.
37046         * string/test-strlen.c: Update.
37047         Add wcslen support.
37048         (WIDE): New macro.
37049
37050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37051
37052         * po/it.po: Update from translation team.
37053
37054 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37055
37056         * sysdeps/x86_64/wcscmp.S: Update.
37057         Fix wrong comparison semantics.
37058         wcscmp shall use signed comparison not unsigned.
37059         Don't use substraction to avoid overflow bug.
37060         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37061         * wcsmbc/wcscmp.c: Likewise.
37062         * string/test-strcmp.c: Likewise.
37063         Add new tests to check cases with negative values.
37064
37065 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37066
37067         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37068         * sysdeps/x86_64/dla.h: ...here.  New file.
37069         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37078
37079 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37080
37081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37082         __ynl_finite aliases.
37083
37084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37085
37086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37087
37088         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37089         define DLA_FMA.
37090         [DLA_FMA] (EMULV): Use DLA_FMA.
37091         [DLA_FMA] (MUL12): Use EMULV.
37092         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37093         that are not needed.
37094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37101
37102 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37103
37104         * math/s_nan.c: Undef __nan.
37105         * math/s_nanf.c: Undef __nanf.
37106         * math/s_nanl.c: Undef __nanl.
37107         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37108         "math_private.h".
37109
37110 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37111
37112         * math/s_catan.c: Add branch predictions.
37113         * math/s_catanf.c: Likewise.
37114         * math/s_catanh.c: Likewise.
37115         * math/s_catanhf.c: Likewise.
37116         * math/s_catanhl.c: Likewise.
37117         * math/s_catanl.c: Likewise.
37118         * math/s_cexp.c: Likewise.
37119         * math/s_cexpf.c: Likewise.
37120         * math/s_cexpl.c: Likewise.
37121         * math/s_clog.c: Likewise.
37122         * math/s_clog10.c: Likewise.
37123         * math/s_clog10f.c: Likewise.
37124         * math/s_clog10l.c: Likewise.
37125         * math/s_clogf.c: Likewise.
37126         * math/s_clogl.c: Likewise.
37127         * math/s_csqrt.c: Likewise.
37128         * math/s_csqrtf.c: Likewise.
37129         * math/s_csqrtl.c: Likewise.
37130         * math/s_ctanf.c: Likewise.
37131         * math/s_ctanh.c: Likewise.
37132         * math/s_ctanhf.c: Likewise.
37133         * math/s_ctanhl.c: Likewise.
37134         * math/s_ctanl.c: Likewise.
37135
37136         * math/math_private.h: Define __nan, __nanf, __nanl.
37137         * math/s_cacosh.c: Include <math_private.h>.
37138         * math/s_cacoshl.c: Likewise.
37139         * math/s_casinh.c: Likewise.
37140         * math/s_casinhf.c: Likewise.
37141         * math/s_casinhl.c: Likewise.
37142         * math/s_ccos.c: Rely entire on ccosh.
37143         * math/s_ccosf.c: Rely entire on ccoshf.
37144         * math/s_ccosl.c: Rely entirely on ccoshl.
37145         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37146         Remove tests for FE_INVALID.
37147         * math/s_ccoshf.c: Likewise.
37148         * math/s_ccoshl.c: Likewise.
37149         * math/s_csin.c: Likewise.
37150         * math/s_csinf.c: Likewise.
37151         * math/s_csinh.c Likewise.
37152         * math/s_csinhf.c: Likewise.
37153         * math/s_csinhl.c: Likewise.
37154         * math/s_csinl.c: Likewise.
37155         * math/s_ctan.c: Likewise.
37156         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37157         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37158         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37159
37160 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37161
37162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37163         compilation problems.
37164
37165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37166         __builtin_expect.
37167
37168 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37169
37170         * sysdeps/i386/configure.in: Test for -mfma4 option.
37171         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37172         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37173         COMMON_CPUID_INDEX_80000001.
37174         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37175         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37176         use it if FMA3 is not supported.
37177         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37178
37179         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37180         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37181
37182 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37183
37184         [BZ #12892]
37185         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37186         it would create a cycle with a link time dependency.
37187
37188 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37189
37190         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37191         instruction.
37192         * string/Makefile (strop-tests): Add rawmemchr.
37193         * string/test-rawmemchr.c: New file.
37194
37195         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37197         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37198         when compiling str{,n}casecmp and when AVX is available.  Hook up
37199         new optimized code in initializers.
37200
37201 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37202
37203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37204         __feraiseexcept instead of feraiseexcept.
37205
37206 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37207
37208         * math/math_private.h: Define defaults for libc_fetestexcept and
37209         libc_feupdateenv.
37210         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37211         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37212         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37213         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37214         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37215         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37216         libc_fetestexcept and libc_feupdateenv.
37217
37218         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37219         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37220         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37221         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37222         libc_feholdexcept_setround.
37223
37224         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37225         Add s_nearbyint-c and s_nearbyintf-c.
37226         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37227         nearbyintf inlines.
37228         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37230         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37232
37233         * math/math_private.h: Define defaults for libc_fegetround,
37234         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37235         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37236         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37237         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37238         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37239         standard functions.
37240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37241         Remove comments and hacks for old compiler versions.
37242         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37243         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37244         libc_feholdexceptl.
37245
37246 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37247
37248         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37249         (__feraiseexcept_renamed): Add __NTH.
37250         (feraiseexcept): Add __NTH.  Rename local variables to fix
37251         namespace violations.
37252
37253 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37254
37255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37256
37257         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37258
37259         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37260         recently added interfaces.
37261         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37262
37263         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37264         about macro parameter expansion.
37265
37266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37267         __NO_MATH_INLINES is defined.  Cleanups.
37268
37269         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37270         and __floorf is target has SSE4.1.
37271         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37272         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37273         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37274         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37275
37276         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37277         name.
37278         (floorf): Likewise.
37279
37280         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37281
37282 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37283
37284         * misc/sys/cdefs.h: Fix last change.
37285
37286         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37287         database lookup.
37288
37289 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37290
37291         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37292
37293         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37298         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37301         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37302         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37303         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37304         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37305         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37306         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37307         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37308         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37309         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37310         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37311         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37312         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37313         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37315
37316         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37317         ceil, ceilf, floor, floorf.
37318
37319         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37320         Perform IRELATIVE relocations last.
37321
37322         * elf/do-rel.h: Add another parameter nrelative, replacing the
37323         local variable with the same name.  Change name of the function
37324         to end in Rel or Rela (uppercase).
37325         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37326         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37327         elf_dynamic_do_##reloc function.
37328
37329 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37330
37331         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37332         is sufficient, at least on modern CPUs.
37333
37334         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37335
37336         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37337         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37338
37339         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37340         __expl_finite.
37341         * math/bits/math-finite.h: Add entries for exp.
37342         * math/e_expl.c: Add __*_finite alias.
37343         * sysdeps/i386/fpu/e_exp.S: Likewise.
37344         * sysdeps/i386/fpu/e_expf.S: Likewise.
37345         * sysdeps/i386/fpu/e_expl.c: Likewise.
37346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37350         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37353
37354         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37355         is sufficient, at least on modern CPUs.
37356
37357         * ctype/ctype-info.c (__ctype_init): Define.
37358         * include/ctype.h (__ctype_init): Declare.
37359         (__ctype_b_loc): The variable is always initialized.
37360         (__ctype_toupper_loc): Likewise.
37361         (__ctype_tolower_loc): Likewise.
37362         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37363         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37364
37365 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37366
37367         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37368
37369         * configure.in: Also look in $cxxmachine/include for C++ system
37370         headers.
37371
37372 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37373
37374         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37375         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37376         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37377         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37378         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37379         (USE_AS_WMEMCMP): New macro.
37380         Fixing indents.
37381         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37382         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37383         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37384         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37386         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37387         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37388         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37389         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37390         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37392         (USE_AS_WMEMCMP): New macro.
37393         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37394         * sysdeps/string/test-memcmp.c: Update.
37395         Fix simple_wmemcmp.
37396         Add new tests.
37397         * wcsmbs/wmemcmp.c: Update.
37398         (WMEMCMP): New macro.
37399         Fix overflow bug.
37400
37401 2011-10-12  Andreas Jaeger  <aj@suse.de>
37402
37403         [BZ #13268]
37404         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37405
37406 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37407
37408         * libio/iofwide.c (do_length): Avoid warning.
37409
37410         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37411
37412 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37413
37414         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37415
37416         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37417         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37418         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37419         * sysdeps/i386/i686/fpu/e_log.S: New file.
37420         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37421         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37422
37423         * ctype/ctype.h: Add support for inlined isXXX functions when
37424         compiling C++ code.
37425
37426 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37427
37428         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37429
37430         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37431
37432 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37433
37434         [BZ #13291]
37435         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37436
37437 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37438
37439         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37440         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37441         feraiseexcept.
37442
37443         * sysdeps/x86_64/memrchr.S: Check for zero size.
37444
37445         * string/stratcliff.c: Add memrchr tests.
37446
37447 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37448
37449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37450         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37451         rawmemchr-sse2 rawmemchr-sse2-bsf.
37452         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37453         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37454         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37455         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37456         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37457         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37458         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37459         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37460         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37462         * string/memrchr.c (MEMRCHR): New macro.
37463
37464 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37465
37466         Add integration with gcc's -ffinite-math-only and optimize wrapper
37467         functions in libm.
37468         * Versions.def: Define GLIBC_2.15 version for libm.
37469         * math/Makefile (headers): Add bits/math-finite.h.
37470         * math/bits/math-finite.h: New file.
37471         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37472         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37473         * math/e_acoshl.c: Add __*_finite alias.
37474         * math/e_acosl.c: Likewise.
37475         * math/e_asinl.c: Likewise.
37476         * math/e_atan2l.c: Likewise.
37477         * math/e_atanhl.c: Likewise.
37478         * math/e_coshl.c: Likewise.
37479         * math/e_exp10.c: Likewise.
37480         * math/e_exp10f.c: Likewise.
37481         * math/e_exp10l.c: Likewise.
37482         * math/e_exp2l.c: Likewise.
37483         * math/e_fmodl.c: Likewise.
37484         * math/e_gammal_r.c: Likewise.
37485         * math/e_hypotl.c: Likewise.
37486         * math/e_j0l.c: Likewise.
37487         * math/e_j1l.c: Likewise.
37488         * math/e_jnl.c: Likewise.
37489         * math/e_lgammal_r.c: Likewise.
37490         * math/e_log10l.c: Likewise.
37491         * math/e_log2l.c: Likewise.
37492         * math/e_logl.c: Likewise.
37493         * math/e_powl.c: Likewise.
37494         * math/e_sinhl.c: Likewise.
37495         * math/e_sqrtl.c: Likewise.
37496         * math/e_scalb.c: Completely rewritten and optimized.
37497         * math/e_scalbf.c: Likewise.
37498         * math/e_scalbl.c: Likewise.
37499         * math/w_acos.c: Likewise.
37500         * math/w_acosf.c: Likewise.
37501         * math/w_acosl.c: Likewise.
37502         * math/w_acosh.c: Likewise.
37503         * math/w_acoshf.c: Likewise.
37504         * math/w_acoshl.c: Likewise.
37505         * math/w_asin.c: Likewise.
37506         * math/w_asinf.c: Likewise.
37507         * math/w_asinl.c: Likewise.
37508         * math/w_atan2.c: Likewise.
37509         * math/w_atan2f.c: Likewise.
37510         * math/w_atan2l.c: Likewise.
37511         * math/w_atanh.c: Likewise.
37512         * math/w_atanhf.c: Likewise.
37513         * math/w_atanhl.c: Likewise.
37514         * math/w_exp10.c: Likewise.
37515         * math/w_exp10f.c: Likewise.
37516         * math/w_exp10l.c: Likewise.
37517         * math/w_fmod.c: Likewise.
37518         * math/w_fmodf.c: Likewise.
37519         * math/w_fmodl.c: Likewise.
37520         * math/w_j0.c: Likewise.
37521         * math/w_j0f.c: Likewise.
37522         * math/w_j0l.c: Likewise.
37523         * math/w_j1.c: Likewise.
37524         * math/w_j1f.c: Likewise.
37525         * math/w_j1l.c: Likewise.
37526         * math/w_jn.c: Likewise.
37527         * math/w_jnf.c: Likewise.
37528         * math/w_log.c: Likewise.
37529         * math/w_logf.c: Likewise.
37530         * math/w_logl.c: Likewise.
37531         * math/w_log10.c: Likewise.
37532         * math/w_log10f.c: Likewise.
37533         * math/w_log10l.c: Likewise.
37534         * math/w_log2.c: Likewise.
37535         * math/w_log2f.c: Likewise.
37536         * math/w_log2l.c: Likewise.
37537         * math/w_pow.c: Likewise.
37538         * math/w_powf.c: Likewise.
37539         * math/w_powl.c: Likewise.
37540         * math/w_remainder.c: Likewise.
37541         * math/w_remainderf.c: Likewise.
37542         * math/w_remainderl.c: Likewise.
37543         * math/w_scalb.c: Likewise.
37544         * math/w_scalbf.c: Likewise.
37545         * math/w_scalbl.c: Likewise.
37546         * math/w_sqrt.c: Likewise.
37547         * math/w_sqrtf.c: Likewise.
37548         * math/w_sqrtl.c: Likewise.
37549         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37550         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37551         used.
37552         * math/math_private.h: Declare __kernel_standard_f.
37553         * math/w_cosh.c: Remove cruft and optimize a bit.
37554         * math/w_coshf.c: Likewise.
37555         * math/w_coshl.c: Likewise.
37556         * math/w_exp2.c: Likewise.
37557         * math/w_exp2f.c: Likewise.
37558         * math/w_exp2l.c: Likewise.
37559         * math/w_hypot.c: Likewise.
37560         * math/w_hypotf.c: Likewise.
37561         * math/w_hypotl.c: Likewise.
37562         * math/w_lgamma.c: Likewise.
37563         * math/w_lgamma_r.c: Likewise.
37564         * math/w_lgammaf.c: Likewise.
37565         * math/w_lgammaf_r.c: Likewise.
37566         * math/w_lgammal.c: Likewise.
37567         * math/w_lgammal_r.c: Likewise.
37568         * math/w_sinh.c: Likewise.
37569         * math/w_sinhf.c: Likewise.
37570         * math/w_sinhl.c: Likewise.
37571         * math/w_tgamma.c: Likewise.
37572         * math/w_tgammaf.c: Likewise.
37573         * math/w_tgammal.c: Likewise.
37574         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37576         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37577         Minor optimizations.  Pretty printing.  Remove cruft.
37578         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37579         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37580         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37582         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37583         * sysdeps/i386/fpu/e_asin.S: Likewise.
37584         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37585         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37586         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37587         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37588         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37591         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37592         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37593         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37594         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37595         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37596         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37597         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37598         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37599         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37600         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37601         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37602         * sysdeps/i386/fpu/e_log.S: Likewise.
37603         * sysdeps/i386/fpu/e_log10.S: Likewise.
37604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37606         * sysdeps/i386/fpu/e_log2.S: Likewise.
37607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37609         * sysdeps/i386/fpu/e_logf.S: Likewise.
37610         * sysdeps/i386/fpu/e_logl.S: Likewise.
37611         * sysdeps/i386/fpu/e_pow.S: Likewise.
37612         * sysdeps/i386/fpu/e_powf.S: Likewise.
37613         * sysdeps/i386/fpu/e_powl.S: Likewise.
37614         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37615         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37616         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37620         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37621         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37622         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37626         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37627         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37628         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37629         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37630         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37631         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37649         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37651         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37652         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37654         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37655         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37657         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37658         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37659         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37660         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37665         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37666         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37668         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37670         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37671         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37672         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37684         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37685         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37687         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37689         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37690         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37692         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37693         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37702         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37704         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37705         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37711         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37712         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37718         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37719         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37720         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37721         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37722         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37723         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37724         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37725         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37726         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37727         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37728         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37730         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37731         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37732         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37733         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37734         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37735         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37736         (__isnanf): Likewise.
37737         (__isinf_ns): Likewise.
37738         (__isinf_nsf): Likewise.
37739         (__finite): Likewise.
37740         (__finitef): Likewise.
37741         (__ieee754_sqrt): Define as macro.
37742         (__ieee754_sqrtf): Define as macro.
37743         (__ieee754_sqrtl): Define as macro.
37744         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37745         inlined copy.
37746         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37747         __FINITE_MATH_ONLY__ consistent.
37748         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37749
37750 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37751
37752         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37753         of rawmemchr.
37754
37755         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37756
37757 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37758
37759         * po/ja.po: Update from translation team.
37760
37761 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37762
37763         * locale/programs/locarchive.c (prepare_address_space): New function.
37764         (create_archive, enlarge_archive, open_archive): Use it.
37765
37766         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37767         inside [SHARED], where it is used.
37768
37769         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37770
37771         * nss/getent.c (netgroup_keys): Remove unused variable.
37772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37773
37774 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37775
37776         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37780         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37782         * math/Makefile (libm-calls): Add s_isinf_ns.
37783         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37784         * math/multc3.c: Likewise.
37785         * math/s_casin.c: Likewise.
37786         * math/s_casinf.c: Likewise.
37787         * math/s_casinl.c: Likewise.
37788         * math/s_ccos.c: Likewise.
37789         * math/s_ccosf.c: Likewise.
37790         * math/s_ccosl.c: Likewise.
37791         * math/s_ctan.c: Likewise.
37792         * math/s_ctanf.c: Likewise.
37793         * math/s_ctanh.c: Likewise.
37794         * math/s_ctanhf.c: Likewise.
37795         * math/s_ctanhl.c: Likewise.
37796         * math/s_ctanl.c: Likewise.
37797         * math/w_fmod.c: Likewise.
37798         * math/w_fmodf.c: Likewise.
37799         * math/w_fmodl.c: Likewise.
37800         * math/w_remainder.c: Likewise.
37801         * math/w_remainderf.c: Likewise.
37802         * math/w_remainderl.c: Likewise.
37803         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37804         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37807         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37808         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37809         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37810         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37811
37812         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37813         of the number.
37814         * stdio-common/printf_fphex.c: Likewise.
37815         * stdio-common/printf_size.c: Likewise.
37816
37817         * math/e_exp10.c: Include math_private.h using <...> not "...".
37818         * math/e_exp10f.c: Likewise.
37819         * math/e_exp10l.c: Likewise.
37820         * math/e_exp2l.c: Likewise.
37821         * math/e_j0l.c: Likewise.
37822         * math/e_j1l.c: Likewise.
37823         * math/e_jnl.c: Likewise.
37824         * math/e_lgammal_r.c: Likewise.
37825         * math/e_rem_pio2l.c: Likewise.
37826         * math/e_scalb.c: Likewise.
37827         * math/e_scalbf.c: Likewise.
37828         * math/e_scalbl.c: Likewise.
37829         * math/k_cosl.c: Likewise.
37830         * math/k_sinl.c: Likewise.
37831         * math/k_tanl.c: Likewise.
37832         * math/s_cacoshf.c: Likewise.
37833         * math/s_catan.c: Likewise.
37834         * math/s_catanf.c: Likewise.
37835         * math/s_catanh.c: Likewise.
37836         * math/s_catanhf.c: Likewise.
37837         * math/s_catanhl.c: Likewise.
37838         * math/s_catanl.c: Likewise.
37839         * math/s_ccosh.c: Likewise.
37840         * math/s_ccoshf.c: Likewise.
37841         * math/s_ccoshl.c: Likewise.
37842         * math/s_cexp.c: Likewise.
37843         * math/s_cexpf.c: Likewise.
37844         * math/s_cexpl.c: Likewise.
37845         * math/s_clog.c: Likewise.
37846         * math/s_clog10.c: Likewise.
37847         * math/s_clog10f.c: Likewise.
37848         * math/s_clog10l.c: Likewise.
37849         * math/s_clogf.c: Likewise.
37850         * math/s_clogl.c: Likewise.
37851         * math/s_csin.c: Likewise.
37852         * math/s_csinf.c: Likewise.
37853         * math/s_csinh.c: Likewise.
37854         * math/s_csinhf.c: Likewise.
37855         * math/s_csinhl.c: Likewise.
37856         * math/s_csinl.c: Likewise.
37857         * math/s_csqrt.c: Likewise.
37858         * math/s_csqrtf.c: Likewise.
37859         * math/s_csqrtl.c: Likewise.
37860         * math/s_ctan.c: Likewise.
37861         * math/s_ctanf.c: Likewise.
37862         * math/s_ctanh.c: Likewise.
37863         * math/s_ctanhf.c: Likewise.
37864         * math/s_ctanhl.c: Likewise.
37865         * math/s_ctanl.c: Likewise.
37866         * math/s_ldexp.c: Likewise.
37867         * math/s_ldexpf.c: Likewise.
37868         * math/s_ldexpl.c: Likewise.
37869         * math/s_significand.c: Likewise.
37870         * math/s_significandf.c: Likewise.
37871         * math/s_significandl.c: Likewise.
37872         * math/w_acos.c: Likewise.
37873         * math/w_acosf.c: Likewise.
37874         * math/w_acosh.c: Likewise.
37875         * math/w_acoshf.c: Likewise.
37876         * math/w_acoshl.c: Likewise.
37877         * math/w_acosl.c: Likewise.
37878         * math/w_asin.c: Likewise.
37879         * math/w_asinf.c: Likewise.
37880         * math/w_asinl.c: Likewise.
37881         * math/w_atan2.c: Likewise.
37882         * math/w_atan2f.c: Likewise.
37883         * math/w_atan2l.c: Likewise.
37884         * math/w_atanh.c: Likewise.
37885         * math/w_atanhf.c: Likewise.
37886         * math/w_atanhl.c: Likewise.
37887         * math/w_cosh.c: Likewise.
37888         * math/w_coshf.c: Likewise.
37889         * math/w_coshl.c: Likewise.
37890         * math/w_dremf.c: Likewise.
37891         * math/w_exp10.c: Likewise.
37892         * math/w_exp10f.c: Likewise.
37893         * math/w_exp10l.c: Likewise.
37894         * math/w_exp2.c: Likewise.
37895         * math/w_exp2f.c: Likewise.
37896         * math/w_fmod.c: Likewise.
37897         * math/w_fmodf.c: Likewise.
37898         * math/w_fmodl.c: Likewise.
37899         * math/w_hypot.c: Likewise.
37900         * math/w_hypotf.c: Likewise.
37901         * math/w_hypotl.c: Likewise.
37902         * math/w_j0.c: Likewise.
37903         * math/w_j0f.c: Likewise.
37904         * math/w_j0l.c: Likewise.
37905         * math/w_j1.c: Likewise.
37906         * math/w_j1f.c: Likewise.
37907         * math/w_j1l.c: Likewise.
37908         * math/w_jn.c: Likewise.
37909         * math/w_jnf.c: Likewise.
37910         * math/w_jnl.c: Likewise.
37911         * math/w_lgamma.c: Likewise.
37912         * math/w_lgamma_r.c: Likewise.
37913         * math/w_lgammaf.c: Likewise.
37914         * math/w_lgammaf_r.c: Likewise.
37915         * math/w_lgammal.c: Likewise.
37916         * math/w_lgammal_r.c: Likewise.
37917         * math/w_log.c: Likewise.
37918         * math/w_log10.c: Likewise.
37919         * math/w_log10f.c: Likewise.
37920         * math/w_log10l.c: Likewise.
37921         * math/w_log2.c: Likewise.
37922         * math/w_log2f.c: Likewise.
37923         * math/w_log2l.c: Likewise.
37924         * math/w_logf.c: Likewise.
37925         * math/w_logl.c: Likewise.
37926         * math/w_pow.c: Likewise.
37927         * math/w_powf.c: Likewise.
37928         * math/w_powl.c: Likewise.
37929         * math/w_remainder.c: Likewise.
37930         * math/w_remainderf.c: Likewise.
37931         * math/w_remainderl.c: Likewise.
37932         * math/w_scalb.c: Likewise.
37933         * math/w_scalbf.c: Likewise.
37934         * math/w_scalbl.c: Likewise.
37935         * math/w_sinh.c: Likewise.
37936         * math/w_sinhf.c: Likewise.
37937         * math/w_sinhl.c: Likewise.
37938         * math/w_sqrt.c: Likewise.
37939         * math/w_sqrtf.c: Likewise.
37940         * math/w_sqrtl.c: Likewise.
37941         * math/w_tgamma.c: Likewise.
37942         * math/w_tgammaf.c: Likewise.
37943         * math/w_tgammal.c: Likewise.
37944
37945         * po/ja.po: Update from translation team.
37946
37947 2011-09-29  Andreas Jaeger  <aj@suse.de>
37948
37949         [BZ #13179]
37950         * sunrpc/netname.c (netname2host): Fix logic.
37951
37952         [BZ #6779]
37953         [BZ #6783]
37954         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37955         correctly.
37956         * math/w_remainder.c (__remainder): Likewise.
37957         * math/w_remainderf.c (__remainderf): Likewise.
37958         * math/libm-test.inc (remainder_test): Add test cases.
37959
37960 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37961
37962         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37963         sdiv_qrnnd.
37964
37965 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37966
37967         * string/test-memcmp.c: Avoid unncessary #defines.
37968         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37969
37970 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37971
37972         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37973         Use new sse2 version for core i3 - i7 as it's faster
37974         than sse42 version.
37975         (bit_Prefer_PMINUB_for_stringop): New.
37976         * sysdeps/x86_64/rawmemchr.S: Update.
37977         Replace with faster SSE2 version.
37978         * sysdeps/x86_64/memrchr.S: New file.
37979         * sysdeps/x86_64/memchr.S: Update.
37980         Replace with faster SSE2 version.
37981
37982 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37983
37984         * elf/dl-load.c (lose): Add cast to avoid warning.
37985
37986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37987
37988         * po/ca.po: Update from translation team.
37989
37990         * inet/getnetgrent_r.c: Hook up nscd.
37991         * nscd/Makefile (routines): Add nscd_netgroup.
37992         (nscd-modules): Add netgroupcache.
37993         (CFLAGS-netgroupcache.c): Define.
37994         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37995         (cache_search): Add const to second parameter.
37996         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37997         INNETGR.
37998         (dbs): Add netgrdb entry.
37999         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38000         (verify_persistent_db): Handle netgrdb.
38001         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38002         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38003         GETFDNETGR.
38004         (netgroup_response_header): Define.
38005         (innetgroup_response_header): Define.
38006         (datahead): Add netgroup_response_header and innetgroup_response_header
38007         elements.
38008         * nscd/nscd.conf: Add entries for netgroup cache.
38009         * nscd/nscd.h (dbtype): Add netgrdb.
38010         (_PATH_NSCD_NETGROUP_DB): Define.
38011         (netgroup_iov_disabled): Declare.
38012         (xmalloc, xcalloc, xrealloc): Move declarations here.
38013         (cache_search): Adjust prototype.
38014         Add netgroup-related prototypes.
38015         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38016         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38017         (__nscd_innetgr): Declare.
38018         * nscd/selinux.c (perms): Use access_vector_t as element type and
38019         add netgroup-related initializers.
38020         * nscd/netgroupcache.c: New file.
38021         * nscd/nscd_netgroup.c: New file.
38022         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38023         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38024         For four parameters use innetgr.
38025         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38026         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38027         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38028         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38029
38030         * nscd/connections.c (register_traced_file): Don't register file
38031         for disabled databases.
38032
38033 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38034
38035         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38036
38037         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38038         from tree and freeing node.
38039
38040 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38041
38042         * nss/nsswitch.c (__nss_database_lookup): Handle
38043         nss_parse_service_list out of memory case.
38044
38045 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38046
38047         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38048         out of memory case.
38049
38050 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38051
38052         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38053         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38054         pass it down.
38055         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38056         elf_machine_rela, elf_machine_lazy_rel.
38057         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38058         (ELF_DYNAMIC_DO_REL): Likewise.
38059         (ELF_DYNAMIC_DO_RELA): Likewise.
38060         (ELF_DYNAMIC_RELOCATE): Likewise.
38061         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38062         to ELF_DYNAMIC_DO_REL.
38063         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38064         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38065         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38066         elf_machine_rela.
38067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38068         skip_ifunc, don't call ifunc function if non-zero.
38069         (elf_machine_rela): Likewise.
38070         (elf_machine_lazy_rel): Likewise.
38071         (elf_machine_lazy_rela): Likewise.
38072         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38073         (elf_machine_lazy_rel): Likewise.
38074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38075         Likewise.
38076         (elf_machine_lazy_rel): Likewise.
38077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38078         Likewise.
38079         (elf_machine_lazy_rel): Likewise.
38080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38081         (elf_machine_lazy_rel): Likewise.
38082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38083         (elf_machine_lazy_rel): Likewise.
38084         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38085         (elf_machine_lazy_rel): Likewise.
38086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38087         (elf_machine_lazy_rel): Likewise.
38088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38089         (elf_machine_lazy_rel): Likewise.
38090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38091         (elf_machine_lazy_rel): Likewise.
38092
38093 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38094
38095         * nss/nss_files/files-init.c (_nss_files_init): Use static
38096         initialization for all the *_traced_file variables.
38097
38098 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38099
38100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38101
38102 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38103
38104         [BZ #13226]
38105         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38106
38107 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38108
38109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38110         Reread the line before reparsing it.
38111
38112 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38113
38114         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38115
38116 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38117             Maxim Kuvyrkov  <maxim@codesourcery.com>
38118             Joseph Myers  <joseph@codesourcery.com>
38119
38120         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38121         if needed for __stack_chk_guard.
38122
38123 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38124
38125         * sysdeps/posix/spawni.c (script_execute): Always define it.
38126         It will be optimized away if unused.
38127         (maybe_script_execute): New function.
38128         (__spawni): Call it.
38129
38130         * Makerules: Don't include tls.make.
38131         (config-tls): Always set to thread.
38132         * tls.make.c: File removed.
38133
38134 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38135
38136         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38137         * config.make.in (CPPFLAGS-config): New substituted variable.
38138
38139 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38140
38141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38142
38143         [BZ #13192]
38144         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38145         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38146
38147 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38148
38149         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38150         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38152         (CALL_FAIL): Likewise.
38153         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38154         (CALL_FAIL): Macro removed.
38155         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38156
38157 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38158
38159         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38160         for __FINITE_MATH_ONLY__ == 1.
38161
38162 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38163
38164         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38165         __ieee754_sqrt instead of sqrt.
38166         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38167         __ieee754_sqrtf instead of sqrtf.
38168         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38169         __floorf instead of floorf.
38170         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38171         __floorf, __truncf instead of floorf, truncf.
38172
38173 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38174
38175         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38176
38177         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38178         __extern_always_inline.
38179         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38180         32-bit.
38181
38182 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38183
38184         * elf/rtld.c (dl_main): Also relocate in dependency order when
38185         doing symbol dependency testing.
38186
38187 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38188
38189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38190         Always define `refsym'.
38191
38192 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38193
38194         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38195         (__FD_ELT): Renamed from __FDELT.
38196         * misc/bits/select2.h (__FD_ELT): Likewise.
38197         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38198         __FD_MASK instead of __FDELT, __FDMASK.
38199         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38200         Likewise.
38201         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38202         Likewise.
38203
38204         * elf/Makefile (gen-ldd): Fix pattern.
38205
38206         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38207         (init_tls): Likewise.
38208
38209 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38210
38211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38212
38213 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38214
38215         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38216         `struct cmsghdr *' instead of `void *'.
38217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38218         Likewise.
38219
38220 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38221
38222         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38223         if non-absolute.
38224         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38225         ldd_rewrite_script.
38226
38227 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38228
38229         * configure.in: Remove --with-tls option.
38230         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38231         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38232         out in case it is missing.
38233         * sysdeps/ia64/elf/configure.in: Likewise.
38234         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38235         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38236         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38237         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38238         * sysdeps/sh/elf/configure.in: Likewise.
38239         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38241         * sysdeps/x86_64/elf/configure.in: Likewise.
38242         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38243         * sysdeps/mach/hurd/tls.h: Likewise.
38244
38245         [BZ #13067]
38246         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38247
38248         [BZ #13090]
38249         * configure.in: Fix use of AC_INIT.
38250
38251         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38252
38253 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38254
38255         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38256         __set_errno.
38257         * malloc/hooks.c: Likewise.
38258
38259         [BZ #11929]
38260         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38261         variables statically.
38262         (narenas): Initialize.
38263         (list_lock): Initialize.
38264         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38265         initializtion of main_arena and list_lock.  Small cleanups.
38266         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38267         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38268         Add initializers to main_arena and mp_.
38269         (malloc_state): Remove pagesize member.  Change all users to use
38270         GLRO(dl_pagesize).
38271
38272         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38273         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38274         is always initialized.
38275
38276         * malloc/malloc.c: Removed unused configurations and dead code.
38277         * malloc/arena.c: Likewise.
38278         * malloc/hooks.c: Likewise.
38279         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38280
38281         * include/tls.h: Removed.  USE___THREAD must always be defined.
38282         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38283         * elf/dl-libc.c: Likewise.
38284         * elf/dl-tsd.c: Likewise.
38285         * include/errno.h: Likewise.
38286         * include/netdb.h: Likewise.
38287         * include/resolv.h: Likewise.
38288         * inet/herrno-loc.c: Likewise.
38289         * inet/herrno.c: Likewise.
38290         * malloc/arena.c: Likewise.
38291         * malloc/hooks.c: Likewise.
38292         * malloc/malloc.c: Likewise.
38293         * resolv/res-state.c: Likewise.
38294         * resolv/res_libc.c: Likewise.
38295         * sysdeps/i386/dl-machine.h: Likewise.
38296         * sysdeps/ia64/dl-machine.h: Likewise.
38297         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38299         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38300         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38301         * sysdeps/sh/dl-machine.h: Likewise.
38302         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38304         * sysdeps/unix/i386/sysdep.S: Likewise.
38305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38306         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38311         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38316         * sysdeps/x86_64/dl-machine.h: Likewise.
38317         * tls.make.c: Likewise.
38318
38319         * configure.in: Remove --with-__thread option.  Make tests for
38320         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38321         tls_model attribute fail if no support is available.  Remove
38322         USE_IN_LIBIO.
38323         * Makeconfig: Adjust for dropped configure option.  All features are
38324         now mandatory.
38325         * Makerules: Likewise.
38326         * Versions.def: Likewise.
38327         * argp/argp-fmtstream.c: Likewise.
38328         * argp/argp-fmtstream.h: Likewise.
38329         * argp/argp-help.c: Likewise.
38330         * assert/assert.c: Likewise.
38331         * config.h.in: Likewise.
38332         * config.make.in: Likewise.
38333         * configure: Likewise.
38334         * configure.in: Likewise.
38335         * csu/Versions: Likewise.
38336         * csu/init.c: Likewise.
38337         * elf/tst-audit2.c: Likewise.
38338         * elf/tst-tls10.c: Likewise.
38339         * elf/tst-tls10.h: Likewise.
38340         * elf/tst-tls11.c: Likewise.
38341         * elf/tst-tls12.c: Likewise.
38342         * elf/tst-tls14.c: Likewise.
38343         * elf/tst-tlsmod11.c: Likewise.
38344         * elf/tst-tlsmod12.c: Likewise.
38345         * elf/tst-tlsmod13.c: Likewise.
38346         * elf/tst-tlsmod13a.c: Likewise.
38347         * elf/tst-tlsmod14a.c: Likewise.
38348         * elf/tst-tlsmod15b.c: Likewise.
38349         * elf/tst-tlsmod16a.c: Likewise.
38350         * elf/tst-tlsmod16b.c: Likewise.
38351         * elf/tst-tlsmod7.c: Likewise.
38352         * elf/tst-tlsmod8.c: Likewise.
38353         * elf/tst-tlsmod9.c: Likewise.
38354         * gmon/gmon.c: Likewise.
38355         * grp/fgetgrent_r.c: Likewise.
38356         * grp/putgrent.c: Likewise.
38357         * hurd/fopenport.c: Likewise.
38358         * include/libc-symbols.h: Likewise.
38359         * include/tls.h: Likewise.
38360         * intl/gettextP.h: Likewise.
38361         * intl/loadinfo.h: Likewise.
38362         * locale/global-locale.c: Likewise.
38363         * locale/localeinfo.h: Likewise.
38364         * mach/devstream.c: Likewise.
38365         * malloc/arena.c: Likewise.
38366         * malloc/set-freeres.c: Likewise.
38367         * misc/err.c: Likewise.
38368         * misc/getttyent.c: Likewise.
38369         * misc/mntent_r.c: Likewise.
38370         * posix/getopt.c: Likewise.
38371         * posix/wordexp.c: Likewise.
38372         * pwd/fgetpwent_r.c: Likewise.
38373         * resolv/Versions: Likewise.
38374         * resolv/res_hconf.c: Likewise.
38375         * shadow/fgetspent_r.c: Likewise.
38376         * shadow/putspent.c: Likewise.
38377         * stdio-common/printf_fphex.c: Likewise.
38378         * stdio-common/tmpfile.c: Likewise.
38379         * stdlib/abort.c: Likewise.
38380         * stdlib/fmtmsg.c: Likewise.
38381         * sunrpc/auth_unix.c: Likewise.
38382         * sunrpc/clnt_perr.c: Likewise.
38383         * sunrpc/clnt_tcp.c: Likewise.
38384         * sunrpc/clnt_udp.c: Likewise.
38385         * sunrpc/clnt_unix.c: Likewise.
38386         * sunrpc/openchild.c: Likewise.
38387         * sunrpc/svc_simple.c: Likewise.
38388         * sunrpc/svc_tcp.c: Likewise.
38389         * sunrpc/svc_udp.c: Likewise.
38390         * sunrpc/svc_unix.c: Likewise.
38391         * sunrpc/xdr.c: Likewise.
38392         * sunrpc/xdr_array.c: Likewise.
38393         * sunrpc/xdr_rec.c: Likewise.
38394         * sunrpc/xdr_ref.c: Likewise.
38395         * sunrpc/xdr_stdio.c: Likewise.
38396
38397 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38398
38399         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38400
38401 2011-07-03  Andreas Jaeger  <aj@suse.de>
38402
38403         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38404         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38405         regenerate with gen-libm-tests.pl.
38406
38407 2010-05-12  Petr Baudis  <pasky@suse.cz>
38408
38409         [BZ #11589]
38410         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38411         around j0() zero points by switching to j1().
38412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38415         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38416
38417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38418
38419         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38420         instead of 0.
38421         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38422         instead of 0.
38423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38424         Patch in part by Pavel Roskin <proski@gnu.org>.
38425
38426         [BZ #13138]
38427         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38428         realloc.
38429         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38430         Free memory block if necessary.
38431
38432         [BZ #12847]
38433         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38434         be NULL.  Don't lock in this case.
38435
38436 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38437
38438         * elf/elf.h (ELFOSABI_GNU): New macro.
38439         (ELFOSABI_LINUX): Define to that.
38440
38441 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38442
38443         * string/strncat.c (strncat): Undef the symbol in case it has been
38444         defined in bits/string.h.
38445
38446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38447
38448         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38449
38450         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38451         link map.
38452
38453 2011-08-17  Andreas Jaeger  <aj@suse.de>
38454
38455         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38456
38457 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38458             Ian Lance Taylor  <iant@google.com>
38459
38460         * math/libm-test.inc (lround_test): New testcase.
38461         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38462
38463 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38464
38465         * Makefile: Remove support for automatic cvs check-ins.
38466         * Makerules: Likewise.
38467         * config.make.in: Likewise.
38468         * configure.in: Likewise.
38469         * intl/Makefile: Likewise.
38470         * locale/Makefile: Likewise.
38471         * po/Makefile: Likewise.
38472         * posix/Makefile: Likewise.
38473         * sysdeps/gnu/Makefile: Likewise.
38474         * sysdeps/mach/hurd/Makefile: Likewise.
38475         * sysdeps/sparc/sparc32/Makefile: Likewise.
38476
38477         [BZ #13118]
38478         * posix/Makefile (bug-regex32-ENV): Define.
38479         Patch by John Stanley <jpsinthemix@verizon.net>.
38480
38481         * misc/Makefile (headers): Add bits/select2.h.
38482         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38483         * misc/bits/select2.h: New file.
38484         * include/bits/select2.h: New file.
38485         * debug/Makefile (routines): Add fdelt_chk.
38486         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38487         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38488         FD_ISSET.
38489         * debug/fdelt_chk.c: New file.
38490
38491         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38492         * wcsmbs/test-wmemcmp.c: Likewise.
38493         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38494         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38495
38496 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38497
38498         * string/Makefile (strop-tests): Add memcmp.
38499         * string/test-wmemcmp.c: New file.
38500         * string/test-memcmp.c: Add wmemcmp support.
38501
38502 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38503
38504         [BZ #13153]
38505         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38506         2011-07-19 change.
38507
38508         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38509         garbage value in a __mach_port_mod_refs call in the cases of the
38510         task-self and thread-self ports.
38511
38512 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38513
38514         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38515
38516 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38517
38518         * elf/dl-load.c (lose): Check for non-null L.
38519
38520 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38521
38522         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38523
38524         * elf/dl-libc.c (dlerror_run): Pass back error code from
38525         dl_catch_error.
38526
38527         [BZ #13123]
38528         * elf/dl-load.c (lose): Free l_origin if it is valid.
38529
38530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38531         names.
38532         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38535         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38536         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38537         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38538
38539 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38540
38541         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38542         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38543         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38544         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38545         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38546         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38547         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38548         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38549         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38550         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38551
38552 2011-08-15  Alan Modra  <amodra@gmail.com>
38553
38554         [BZ #13092]
38555         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38556         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38557         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38558         ppc_mcount to static-only-routines.
38559         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38560         __mcount_internal.
38561         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38562         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38563
38564 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38565
38566         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38567         for finite and infinity parameters.
38568
38569 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38570
38571         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38572         and add nop instructions for throughput optimization.
38573         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38574
38575 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38576
38577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38578         aligned copy for power7 with vector-scalar instructions.
38579         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38580
38581 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38582
38583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38584         AVX check.
38585
38586 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38587
38588         [BZ #13144]
38589         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38590         last change.
38591
38592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38593
38594         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38595         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38596         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38597         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38598         clock_gettime.
38599
38600 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38601
38602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38603         Forgot to demangle the pointer.
38604
38605         * sysdeps/i386/sysdep.h: Define atom_text_section.
38606         * sysdeps/x86_64/sysdep.h: Likewise.
38607         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38608         section with atom_text_section.
38609         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38611         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38614
38615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38616         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38617         already be defined.  Change to take two parameters and don't assign
38618         result to variable.  Adjust all users.
38619         Define INTERNAL_GETTIME if not already defined.
38620         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38621         call.
38622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38623         HAVE_CLOCK_GETTIME_VSYSCALL.
38624         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38625
38626         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38627         gettimeofday vsyscall, just use time.
38628
38629 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38630
38631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38632         <errno.h>.
38633
38634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38635
38636         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38637         syscall on x86-64.
38638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38639         syscall.
38640         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38642         syscall if possible.
38643
38644 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38645
38646         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38647         e_ident.  Don't pass to find_mapsXX.
38648         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38649
38650 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38651
38652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38653         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38654         * sysdeps/x86_64/multiarch/strchr.S: Update.
38655         Check bit_slow_BSF bit.
38656         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38657         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38659
38660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38661
38662         [BZ #13134]
38663         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38664         before glibc 2.15.
38665         (tryshell): Define.
38666         (__spawni): Change last parameter to be flag.  Test
38667         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38668         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38669         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38670         * posix/spawni.c: Likewise.
38671         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38672         * posix/spawnp.c: Likewise.  Change normal version to use
38673         SPAWN_XFLAGS_USE_PATH.
38674         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38675         SPAWN_XFLAGS_TRY_SHELL.
38676
38677         [BZ #13150]
38678         * posix/glob.h: Remove gcc 1.x support.
38679
38680         [BZ #13068]
38681         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38682
38683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38684
38685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38686         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38687         strrchr-sse2-bsf
38688         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38689         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38690         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38691         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38692         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38693         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38694
38695 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38696
38697         * sysdeps/x86_64/wcscmp.S: New file.
38698
38699         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38700         wcscmp-c wcscmp-sse2
38701         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38702         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38704         * wcsmbs/wcscmp.c: Allow renaming.
38705
38706 2011-09-05  David S. Miller  <davem@davemloft.net>
38707
38708         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38709         stack slot, rather than the struct return pointer slot.
38710         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38711         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38713         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38714
38715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38716
38717         * po/ja.po: Update from translation team.
38718
38719         [BZ #13144]
38720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38721         kernel in 64-bit binaries.
38722
38723 2011-09-01  David S. Miller  <davem@davemloft.net>
38724
38725         * elf/elf.h (HWCAP_SPARC_*): Move to..
38726         * sysdeps/sparc/sysdep.h: this new file and add new values.
38727         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38728         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38729         _DL_HWCAP_COUNT to 24.
38730         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38731         entries.
38732         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38733         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38734         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38736         instead of magic constants.
38737         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38738
38739 2011-08-31  David S. Miller  <davem@davemloft.net>
38740
38741         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38743         Reimplement to do errno handling inline.
38744         (SYSCALL_ERROR_HANDLER): New macro.
38745         (__SYSCALL_STRING): Do not do errno handling in asm.
38746         (__CLONE_SYSCALL_STRING): Delete.
38747         (__INTERNAL_SYSCALL_STRING): Delete.
38748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38749         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38750         (PSEUDO): Reimplement to do errno handling inline.
38751         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38752         (SYSCALL_ERROR_HANDLER): New macro.
38753         (__SYSCALL_STRING): Do not do errno handling in asm.
38754         (__CLONE_SYSCALL_STRING): Delete.
38755         (__INTERNAL_SYSCALL_STRING): Delete.
38756         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38757         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38758         i386.
38759         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38760         (inline_syscall*): Add 'err' argument.
38761         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38762         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38763         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38764         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38765
38766         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38767         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38768
38769 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38770
38771         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38772
38773 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38774
38775         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38776         directive.
38777
38778 2011-08-24  David S. Miller  <davem@davemloft.net>
38779
38780         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38781
38782 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38783
38784         * elf/Makefile: Add rules to build and run unload8 test.
38785         * elf/unload8.c: New file.
38786         * elf/unload8mod1.c: New file.
38787         * elf/unload8mod1x.c: New file.
38788         * elf/unload8mod2.c: New file.
38789         * elf/unload8mod3.c: New file.
38790
38791         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38792         it wasn't used.
38793
38794 2011-08-23  David S. Miller  <davem@davemloft.net>
38795
38796         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38797         subtract stack bias.
38798         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38799         %sp not %fp in calculations.
38800         (_JMPBUF_UNWINDS_ADJ): Likewise.
38801
38802         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38803         (aio_suspend): Call it to force an exception region around the
38804         AIO_MISC_WAIT() invocation.
38805
38806 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38807
38808         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38809         backslash.
38810
38811 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38812
38813         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38814         protection macro.
38815         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38816         and <dl-machine.h>.
38817         (Elf64_FuncDesc): Remove.
38818
38819 2011-08-22  David S. Miller  <davem@davemloft.net>
38820
38821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38822         sigaltstack check, add missing cfi directives.
38823         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38824         missing cfi directives, and sigaltstack handling.
38825
38826 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38827
38828         [BZ #11724]
38829         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38830         object is seen twice.
38831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38832
38833         * elf/Makefile (distribute): Add tst-initorder2.c.
38834         (tests): Add tst-initorder2.
38835         (modules-names): Add tst-initorder2a tst-initorder2b
38836         tst-initorder2c tst-initorder2d.  Add rules to build them.
38837         ($(objpfx)tst-initorder2.out): New rule.
38838         * elf/tst-initorder2.c: New file.
38839         * elf/tst-initorder2.exp: New file.
38840
38841 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38842
38843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38844
38845         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38846         dependencies back to end of function.
38847
38848         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38849         $(elfobjdir)/ld.so.
38850
38851 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38852
38853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38854         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38856         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38857         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38858         of __vdso_gettimeofday.
38859         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38860         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38861         attribute_hidden.
38862         (_libc_vdso_platform_setup): Remove initialization of
38863         __vdso_gettimeofday and __vdso_time.
38864
38865 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38866
38867         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38868         and fgetc_unlocked.
38869         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38870         getc_unlocked.
38871
38872         * elf/dl-open.c (add_to_global): Report additions to the global scope
38873         for LD_DEBUG=scopes.
38874         (dl_open_worker): Also print scope of newly loaded dependencies.
38875         (_dl_show_scope): Indicate if there is no scope.
38876
38877         [BZ #13114]
38878         * stdio-common/Makefile (tests): Add bug24.
38879         * stdio-common/bug24.c: New file.
38880
38881 2011-08-19  Andreas Jaeger  <aj@suse.de>
38882
38883         [BZ #13114]
38884         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38885         non-existant file when using close-on-exec mode.
38886
38887 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38888
38889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38890         the very first instruction.
38891
38892         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38893         the CFI state in the end.
38894         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38895         inclusion of dl-trampoline.h.
38896         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38897
38898 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38899
38900         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38901         expectations for long double.
38902
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38904         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38905
38906 2011-08-14  David S. Miller  <davem@davemloft.net>
38907
38908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38909         artificual limit depends upon the system page size.
38910
38911 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38912
38913         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38914         * resolv/Makefile: Define CFLAGS-libresolv.
38915
38916 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38917
38918         * nss/makedb.c (compute_tables): Make variables used in nested
38919         function static.
38920
38921 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38922
38923         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38924         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38925         if buffer was too small.
38926
38927         * elf/pldd.c (main): Attach to all threads in the process.
38928         Rewrite /proc handling to use *at functions.
38929
38930 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38931
38932         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38933         specifies first scope to show.
38934         (dl_open_worker): Update callers.  Move printing scope of new
38935         object to before the relocation.
38936         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38937         * sysdeps/generic/ldsodefs.h: Update declaration.
38938
38939         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38940         string for the scope number.
38941
38942 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38943
38944         * nscd/servicescache.c (cache_addserv): Make sure written is always
38945         initialized.
38946
38947 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38948
38949         * sysdeps/i386/i486/bits/atomic.h
38950         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38951         statement expression, so as to suppress "set but not used" warning.
38952         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38953
38954         * string/strncat.c (STRNCAT): Use prototype definition.
38955
38956         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38957         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38958         -Iprograms here.
38959         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38960         (localedef-modules): Add localedef.
38961         (locale-modules): Add locale.
38962
38963         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38964         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38965         to avoid a warning.
38966
38967 2011-08-14  David S. Miller  <davem@davemloft.net>
38968
38969         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38970         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38971
38972 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38973
38974         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38975         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38976         * elf/rtld.c (dl_main): Set l_name of vDSO.
38977         Call _dl_show_scope when DL_DEBUG_SCOPES.
38978         (process_dl_debug): Recognize scopes flag and also set it for all.
38979         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38980         Declare _dl_show_scope.
38981
38982         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38983         (do_dlopen): Pass caller_dlopen to dl_open.
38984         (__libc_dlopen_mode): Initialize caller_dlopen.
38985
38986         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38987         of libc.  Make tolower call locale-independent.  Optimize a bit by
38988         using isdigit instead of isalnum.
38989         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38990
38991 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38992
38993         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38994         was a dependency or dynamically loaded.
38995
38996 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38997
38998         * intl/l10nflist.c: Allow architecture-specific pop function.
38999         * sysdeps/x86_64/l10nflist.c: New file.
39000
39001         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39002         classification.
39003
39004 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39005
39006         * include/dirent.h: Add libc_hidden_proto for scandirat and
39007         scandirat64.  Don't declare __scandirat64.
39008         * dirent/scandirat.c: Add libc_hidden_def.
39009         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39010         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39011
39012 2011-08-10  David S. Miller  <davem@davemloft.net>
39013
39014         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39015         enum.
39016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39019
39020 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39021
39022         * Versions.def [libc]: Add GLIBC_2.15.
39023         * dirent/Makefile (routines): Add scandirat and scandirat64.
39024         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39025         GLIBC_2.15.
39026         * dirent/dirent.h: Declare scandirat and scandirat64.
39027         * dirent/scandirat.c: New file.
39028         * dirent/scandirat64.c: New file.
39029         * sysdeps/wordsize-64/scandirat.c: New file.
39030         * sysdeps/wordsize-64/scandirat64.c: New file.
39031         * dirent/opendir.c: Define opendirat.
39032         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39033         using scandirat.
39034         * dirent/scandir64.c: Adjust for scandir.c change.
39035         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39036         __scandirat64, and __scandir_cancel_handler.
39037         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39038         additional parameter and use openat instead of open (outside of ld.so).
39039         Add new __opendir as wrapper around __opendirat.
39040         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39041         here without requiring old scandirat implementation.
39042
39043 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39044
39045         * dirent/scandir.c (cancel_handler): Renamed to
39046         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39047         defined.  Adjust users.
39048         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39049         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39050
39051 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39052
39053         * string/test-string.h (IMPL): Use __STRING to expand name and then
39054         stringify it.
39055
39056         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39057         of cleanups.
39058
39059 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39060
39061         * string/Makefile: Update.
39062         (strop-tests): Append strncat.
39063         * string/test-wcscmp.c: New file.
39064         New comprehensive test for wcscmp.
39065         * string/test-strcmp.c: Update.
39066         (WIDE): New define.
39067
39068 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39069
39070         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39071         line.
39072
39073 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39074
39075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39076         encoding to ACE if AI_IDN.
39077
39078 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39079
39080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39081         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39082
39083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39084
39085         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39086         Fix overflow bug in strncat.
39087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39088
39089         * string/test-strncat.c: Update.
39090         Add new tests for checking overflow bugs.
39091
39092 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39093
39094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39095         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39096         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39097         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39099         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39100         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39101         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39102         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39103
39104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39105         (USE_AS_STRCAT): Define.
39106         Add strcat and strncat support.
39107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39108
39109 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39110
39111         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39112         __n bigger than INT_MAX+1.
39113         (__strncmp_g): Likewise.
39114
39115 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39116
39117         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39118         * libio/stido.h: Likewise.
39119
39120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39121         (AF_NFC): Define.
39122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39123         (AF_NFC): Define.
39124
39125         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39128         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39130
39131         [BZ #13021]
39132         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39133         installed.
39134
39135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39136         typo.
39137         (_dl_x86_64_save_sse): Likewise.
39138
39139 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39140
39141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39142         OSXSAVE.
39143         (_dl_x86_64_save_sse): Likewise.
39144
39145         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39146
39147         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39148
39149 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39150
39151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39152         change.
39153         (_dl_x86_64_save_sse): Use correct AVX check.
39154
39155 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39156
39157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39158         bug in strncpy/strncat.
39159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39160
39161 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39162
39163         * string/tester.c (test_strcat): Add tests for different alignments
39164         of source and destination.
39165         (test_strncat): Likewise.
39166
39167 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39168
39169         [BZ #12852]
39170         * posix/glob.c (glob): Check passed in values before using them in
39171         expressions to avoid some overflows.
39172         (glob_in_dir): Likewise.
39173
39174         [BZ #13007]
39175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39176         check for AVX enablement so that we don't crash with old kernels and
39177         new hardware.
39178         * elf/tst-audit4.c: Add same checks here.
39179         * elf/tst-audit6.c: Likewise.
39180
39181         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39182
39183 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39184
39185         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39186
39187 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39188
39189         * po/cs.po: Update from translation team.
39190         * po/bg.po: Likewise.
39191
39192 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39193
39194         * misc/sys/cdefs.h: Add support for const attribute.
39195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39196         to gnu_dev_{major,minor,makedev} functions.
39197
39198 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39199
39200         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39201
39202 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39203
39204         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39205         strlen results.
39206
39207 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39208
39209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39210         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39211         register in order to avoid conflicts with the soft frame pointer
39212         being held in r11 when necessary.
39213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39214         (INTERNAL_VSYSCALL_NCS): Likewise.
39215
39216 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39217
39218         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39219         * elf/dl-fini.c (_dl_fini): Adjust caller.
39220         * elf/dl-close.c (_dl_close_worker): Likewise.
39221         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39222
39223 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39224
39225         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39226         "aux_cache->nlibs < 0".
39227
39228         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39229         in the reload-count case.
39230
39231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39232
39233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39234         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39235         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39237         * sysdeps/x86_64/multiarch/strcat.S: New file.
39238         * sysdeps/x86_64/multiarch/strncat.S: New file.
39239         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39240         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39241         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39242         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39244         (USE_AS_STRCAT): Define.
39245         Add strcat and strncat support.
39246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39247         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39248         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39249         * string/strncat.c: Update.
39250         (USE_AS_STRNCAT): Define.
39251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39252         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39253         and i7.
39254         * sysdeps/x86_64/multiarch/init-arch.h
39255         (bit_Prefer_PMINUB_for_stringop): New.
39256         (index_Prefer_PMINUB_for_stringop): Likewise.
39257         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39258         bit_Prefer_PMINUB_for_stringop.
39259
39260 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39261
39262         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39263         buffer64.
39264         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39265         of casting of buffer.
39266         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39267         buffer32 and buffer64.
39268         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39269         writes instead of casting of buffer.
39270         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39271         buffer32.
39272         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39273         casting of buffer.
39274
39275 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39276
39277         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39278
39279 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39280
39281         * nscd/nscd.c (termination_handler): Don't do anything for a database
39282         if it has not yet been initialized.
39283
39284 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39285
39286         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39287
39288 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39289
39290         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39291
39292 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39293
39294         * po/nl.po: Update from translation team.
39295         * po/sv.po: Likewise.
39296
39297 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39298
39299         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39300         now disallowed by GCC.
39301
39302         * configure.in (use-default-link): Default to yes if a test -shared
39303         link meets our qualifications.
39304         * configure: Regenerated.
39305
39306         * config.make.in (output-format): New variable.
39307         * configure.in: Check for ld --print-output-format support.
39308         * configure: Regenerated.
39309         * Makerules ($(common-objpfx)format.lds)
39310         [$(output-format) != unknown]: Just use $(output-format),
39311         instead of the linker-script munging.
39312
39313 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39314
39315         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39316         of $(common-objpfx)shlib.lds.
39317         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39318
39319         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39320         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39321
39322         * configure.in (-z relro check): Adjust test code to add a large
39323         writable data section after it.
39324         * configure: Regenerated.
39325
39326 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39327
39328         * configure.in (-z relro check): Fix test code to make the variable
39329         truly const.
39330         * configure: Regenerated.
39331
39332 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39333
39334         * nscd/nscd.h (struct traced_file): Define.
39335         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39336         elements.  Add traced_files.
39337         (inotify_fd): Declare.
39338         (register_traced_file): Declare.
39339         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39340         (inotify_fd): Export.
39341         (resolv_conf_descr): Remove.
39342         (nscd_init): Move inotify descriptor creation to main.
39343         Don't register files for notification here.
39344         (register_traced_file): New function.
39345         (invalidate_cache): Don't use reset_res to determine whether to call
39346         res_init, go through the list of registered files.
39347         (main_loop_poll): The inotify descriptors are now stored in the
39348         structures for the traced files.
39349         (main_loop_epoll): Likewise
39350         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39351         to __nss_disable_nscd.
39352         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39353         for a database anymore.  Check the records for all the registered
39354         files instead.
39355         * nss/Makefile (libnss_files-routines): Add files-init.
39356         (libnss_db-routines): Add db-init.
39357         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39358         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39359         * nss/nss_db/db-init.c: New file.
39360         * nss/nss_files/files-init.c: New file.
39361         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39362         __nss_lookup_function.
39363         (__nss_lookup_function): Call nss_load_library.
39364         (nss_load_all_libraries): New function.
39365         (__nss_disable_nscd): Take parameter with callback function for files
39366         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39367         used for the cached services.
39368         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39369         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39370         options for features to all the files in nscd.
39371
39372         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39373
39374 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39375
39376         * csu/elf-init.c (__libc_csu_init): Comment typo.
39377
39378 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39379
39380         * po/pl.po: Update from translation team.
39381         * po/ja.po: Likewise.
39382         * po/ru.po: Likewise.
39383         * po/ko.po: Likewise.
39384         * po/fr.po: Likewise.
39385
39386 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39387
39388         * configure.in (.ctors/.dtors header and trailer check):
39389         Use an empirical test on a built program.
39390         * configure: Regenerated.
39391
39392         * configure.in (-z relro check): Use an empirical test on a built DSO.
39393         Detect, but do not require, on ia64.
39394         * configure: Regenerated.
39395
39396         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39397         Update tests that use readelf to use $READELF instead.
39398         * configure: Regenerated.
39399
39400 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39401
39402         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39403         if the result is not used.
39404
39405 2011-07-05  Andreas Jaeger  <aj@suse.de>
39406
39407         [BZ#9696]
39408         * stdlib/tst-strtod.c: Add testcase.
39409
39410 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39411
39412         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39413         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39414         The latter has a higher limit.  Take additional parameter to pass to
39415         the new function.
39416         (__pathconf): Pass file to __statfs_link_max.
39417         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39418         __statfs_link_max.
39419         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39420         __statfs_link_max.
39421
39422         [BZ #12868]
39423         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39425         Handle Lustre.
39426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39427         (__statfs_filesize_max): Likewise.
39428         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39429
39430 2011-07-05  Andreas Jaeger  <aj@suse.de>
39431
39432         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39433
39434 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39435
39436         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39437         `status' variable.
39438         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39439         Likewise.
39440
39441 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39442
39443         * Makefile (strop-tests): Add strncat.
39444         * string/test-strncat.c: New file.
39445
39446 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39447
39448         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39449
39450 2011-06-21  Andreas Jaeger  <aj@suse.de>
39451
39452         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39453         Copy rule from iconvdata/Makefile.
39454
39455 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39456
39457         [BZ #12922]
39458         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39459         but no long options are defined, just return 'W'.
39460
39461 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39462
39463         [BZ #9696]
39464         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39465
39466 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39467
39468         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39469         netgroups to read.
39470         (innetgr): Likewise.
39471
39472 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39473
39474         * config.make.in (install_root): Default to $(DESTDIR).
39475
39476 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39477
39478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39479
39480 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39481
39482         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39483
39484         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39485         containing directory rather than embedding absolute directory names.
39486
39487         * scripts/check-local-headers.sh: Rewritten using awk.
39488         Match by word, not by line.  Print error messages for matches.
39489         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39490
39491         * Makerules [shlib-lds-flags empty]:
39492         ($(common-objpfx)libc_pic.opts): New target.
39493         ($(common-objpfx)libc_pic.os.clean): New target.
39494         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39495
39496         * config.make.in (OBJCOPY): New variable.
39497         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39498         * configure: Regenerated.
39499
39500         * config.make.in (use-default-link): New variable.
39501         * configure.in (use_default_link): Grok --with-default-link to set it.
39502         * configure: Regenerated.
39503         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39504         (shlib-lds, shlib-lds-flags): Define to empty.
39505
39506         * Makerules (shlib-lds): New variable.
39507         (shlib-lds-flags): New variable.
39508         (build-shlib, build-moduile, build-module-asneeded): Use it.
39509         ($(common-objpfx)libc.so): Use $(shlib-lds).
39510         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39511         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39512
39513         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39514         DT_FLAGS/DT_FLAGS_1 with zero flags.
39515
39516         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39517         linker script munging.
39518
39519 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39520
39521         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39522         as 128-bit value.
39523         * crypt/sha512.c (sha512_process_block): Perform total addition using
39524         128-bit if possible.
39525         (__sha512_finish_ctx): Likewise.
39526         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39527         as 64-bit value.
39528         * crypt/sha256.c (SWAP64): Define.
39529         (sha256_process_block): Perform total addition using 64-bit if
39530         possible.
39531         (__sha256_finish_ctx): Likewise.
39532
39533 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39534
39535         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39537         * nscd/hstcache.c (cache_addhst): Likewise.
39538         * nscd/grpcache.c (cache_addgr): Likewise.
39539         * nscd/aicache.c (addhstaiX): Likewise
39540         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39541
39542 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39543
39544         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39546         * nscd/hstcache.c (cache_addhst): Likewise.
39547         * nscd/grpcache.c (cache_addgr): Likewise.
39548         * nscd/aicache.c (addhstaiX): Likewise
39549
39550 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39551
39552         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39553         domain only when needed.
39554
39555 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39556
39557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39558         is always restored.
39559
39560 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39561
39562         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39563         are re-adding the entry.
39564         * nscd/servicescache.c (cache_addserv): Likewise.
39565
39566 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39567
39568         * sysdeps/generic/dl-irel.h: fix protection against multiple
39569         inclusions.
39570         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39571
39572 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39573
39574         [BZ #12935]
39575         * malloc/memusage.sh: Fix quoting in message.
39576         * debug/xtrace.sh: Likewise.
39577
39578         * configure.in: Remove support for --experimental-malloc option, make
39579         it the default.
39580         * config.make.in: Likewise.
39581         * malloc/Makefile: Likewise.
39582
39583 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39584
39585         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39586         two-byte characters.
39587
39588 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39589
39590         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39591         AC_CACHE_CHECK invocation.
39592         * configure: Regenerated.
39593
39594         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39595
39596 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39597
39598         [BZ #12350]
39599         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39600         bit from old_res_options.
39601
39602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39603
39604         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39605         value type for setfct.
39606
39607 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39608
39609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39610         __gettimeofday instead of gettimeofday.
39611
39612 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39613
39614         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39615
39616 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39617
39618         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39619
39620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39621         info.
39622
39623 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39624
39625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39626         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39627         strcpy-sse2-unaligned strncpy-sse2-unaligned
39628         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39629         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39630         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39631         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39632         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39635         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39636         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39637         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39638         (STRCPY): Support SSE2 and SSSE3 versions.
39639
39640 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39641
39642         [BZ #12874]
39643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39644         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39645         kernels which artificially limit size of requests.
39646
39647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39648
39649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39650         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39651         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39652         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39653         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39654         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39655         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39656         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39659         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39660         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39661         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39662         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39663         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39665         Enable unaligned load optimization for Intel Core i3, i5 and i7
39666         processors.
39667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39668         Define.
39669         (index_Fast_Unaligned_Load): Define.
39670         (HAS_FAST_UNALIGNED_LOAD): Define.
39671
39672 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39673
39674         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39675
39676 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39677
39678         [BZ #12907]
39679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39680         until it is clear that the information is realy needed.
39681         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39682
39683 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39684
39685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39686
39687 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39688
39689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39690         /sys/devices/system/cpu/online if it is usable.
39691
39692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39693         reading the information from the /proc filesystem to once a second.
39694
39695 2011-06-21  Andreas Jaeger  <aj@suse.de>
39696
39697         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39698         NULL after inclusion of kernel headers.
39699
39700 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39701
39702         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39703         calls to internal_setent.
39704
39705         [BZ #12885]
39706         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39707         addresses using gethostbyname4_r ignore IPv4 addresses.
39708
39709         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39710         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39711
39712         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39713
39714 2011-06-20  David S. Miller  <davem@davemloft.net>
39715
39716         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39717         inclusions.
39718         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39719
39720         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39721         (elf_irel): Use it.
39722         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39723         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39724         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39725         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39726         * sysdeps/x86_64/dl-irel.h: Likewise.
39727
39728         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39729         * elf/dl-sym.c: Likewise.
39730
39731 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39732
39733         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39734         need to dereference resplen2.
39735
39736 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39737
39738         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39739
39740 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39741
39742         * Makeconfig: Define vardbdir and inst_vardbdir.
39743         * nss/Makefile: Add rules to install db-Makefile.
39744
39745         * nss/nss_db/db-XXX.c: Cleanup.
39746
39747         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39748         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39749         GLIBC_PRIVATE.
39750         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39751         * nss/makedb.c: Implement -g option to specify that value strings
39752         are generated and should not be added to table iterated over for
39753         get*ent calls.
39754         * nss/nss_db/db-initgroups.c: New file.
39755
39756         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39757         interface.
39758
39759         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39760         (internal_getgrouplist): Adjust to name change.
39761         Update use_initgroups_entry if this is not the first call.
39762         * nss/databases.def: Add initgroups entry.
39763
39764         * nss/makedb.c (compute_tables): Check result of multiple hash table
39765         sizes to minimize maximum chain length.
39766
39767 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39768
39769         * Versions.def: Add entry for libnss_db.
39770         * shlib-versions: Likewise.
39771         * nss/Makefile: Add rules to build libnss_db.
39772         * nss/Versions: Add libnss_db information.  Organize libnss_files
39773         entries better.
39774         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39775         makedb progra.  Some minor improvements to generate smaller files.
39776         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39777         here from...
39778         * nss/makedb.c: ...here.
39779         Improve database format to be smaller and require less memory at
39780         runtime.
39781         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39782         db anymore.
39783         * nss/nss_db/db-netgrp.c: Likewise.
39784         * nss/nss_db/db-open.c: Likewise.
39785         * nss/nss_files/flies-XXX.x: Adjust comments.
39786         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39787         * nss/nss_files/files-grp.c: Likewise.
39788         * nss/nss_files/files-hosts.c: Likewise.
39789         * nss/nss_files/files-network.c: Likewise.
39790         * nss/nss_files/files-proto.c: Likewise.
39791         * nss/nss_files/files-pwd.c: Likewise.
39792         * nss/nss_files/files-rpc.c: Likewise.
39793         * nss/nss_files/files-service.c: Likewise.
39794         * nss/nss_files/files-sgrp.c: Likewise.
39795         * nss/nss_files/files-spwd.c: Likewise.
39796         * nss/nss_db/db-alias.c: Removed.
39797         * nss/nss_db/dummy-db.h: Removed.
39798
39799 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39800
39801         * nss/makedb.c: Rewritten to not use database library.
39802         * nss/Makefile: Update to build new makedb program.
39803
39804 2011-06-14  Andreas Jaeger  <aj@suse.de>
39805
39806         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39807         memset declaration.
39808
39809 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39810
39811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39812         tmpbuf.
39813
39814 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39815
39816         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39817         * elf/Makefile ($(objpfx)ld.so): Likewise.
39818
39819         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39820         Don't list ld.so twice in dependencies.
39821
39822         * posix/bug-regex31.c: Include <stdlib.h>.
39823
39824         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39825
39826         * nis/nss_compat/compat-spwd.c
39827         (getspent_next_nss_netgr): Remove unused variable.
39828         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39829
39830         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39831         nonmembers" output to use the right array.
39832
39833         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39834
39835         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39836
39837         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39838         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39839         * catgets/gencat.c (read_input_file): Likewise.
39840         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39841
39842         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39843         variable definition inside #if's controlling its use.
39844
39845         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39846
39847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39848
39849         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39850
39851         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39852         unreachable code.
39853
39854         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39855
39856         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39857         * configure: Regenerated.
39858
39859         * Makerules: Revert last change.
39860         * elf/Makefile: Likewise.
39861
39862 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39863
39864         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39865         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39866         (reloc-link): Likewise.
39867
39868 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39869
39870         * elf/Makefile: Add rules to build pldd.
39871         * elf/pldd.c: New file.
39872         * elf/pldd-xx.c: New file.
39873
39874 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39875
39876         * version.h: Update for 2.15 development version.
39877
39878 2011-06-07  David S. Miller  <davem@davemloft.net>
39879
39880         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39881         ifuncs.
39882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39883         elf_machine_lazy_rel): Likewise.
39884         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39886         elf_machine_lazy_rel): Likewise.
39887         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39888         dl_hwcap via passed in argument.
39889         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39890         Likewise.
39891
39892 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39893
39894         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39895
39896 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39897
39898         [BZ #12849]
39899         * manual/fdl-1.1.texi: New file, verbatim from:
39900         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39901         * manual/lgpl-2.1.texi: New file, verbatim from:
39902         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39903         * manual/Makefile (licenses): New variable, list those new file names.
39904         (texis): Use it.
39905         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39906
39907         * manual/fdl.texi: File removed.
39908         * manual/lesser.texi: File removed.
39909         * manual/libc.texinfo (Copying, Documentation License):
39910         Use new @include file names, put @appendix directive before @include.
39911
39912 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39913
39914         [BZ #12841]
39915         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39916         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39917         (mq_open): Add __NTH.
39918
39919 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39920
39921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39922         Assume Intel Core i3/i5/i7 processor if AVX is available.
39923
39924 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39925
39926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39927         typo.
39928
39929 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39930
39931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39932         memory.  Use alloca_account.  Fix memory leak when retrying.
39933
39934 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39935
39936         * version.h (RELEASE): Bump for 2.14 release.
39937         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39938
39939         * config.make.in (RANLIB): Remove entry.
39940
39941 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39942
39943         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39944         (libc.pot): Work around missing support for .ksh extension in xgettext.
39945
39946         [BZ #12684]
39947         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39948         if both request failed.
39949         (send_dg): In case of server errors clear resplen or *resplen2.
39950
39951         [BZ #12454]
39952         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39953         when there are multiple maps.
39954         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39955         (_dl_fini): Remove test here.
39956
39957         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39958
39959 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39960
39961         [BZ #12350]
39962         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39963         bit from old_res_options.
39964         (gaih_inet): Likewise.
39965
39966         [BZ #11099]
39967         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39968         as signed.
39969
39970         * resolv/res_init.c (res_setoptions): Make the code more compact.
39971
39972         [BZ #11558]
39973         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39974         set RES_USEVC.
39975
39976         [BZ #11634]
39977         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39978
39979         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39980
39981         [BZ #11781]
39982         * malloc/malloc.h: Declare malloc hook variables as volatile.
39983
39984         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39985         in last patch.
39986
39987         [BZ #11799]
39988         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39989         raise in the comment.
39990         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39992         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39993
39994 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39995
39996         [BZ #12811]
39997         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39998         grow the buffers more if it already has to be sufficient.
39999         (build_wcs_upper_buffer): Likewise.
40000         * posix/regexec.c (check_matching): Likewise.
40001         (clean_state_log_if_needed): Likewise.
40002         (extend_buffers): Don't enlarge buffers beyond size of the input
40003         buffer.
40004         Patches mostly by Emil Wojak <emil@wojak.eu>.
40005         * posix/bug-regex32.c: New file.
40006         * posix/Makefile (tests): Add bug-regex32.
40007
40008         * locale/findlocale.c (_nl_find_locale): Return right away if
40009         _nl_explode_name failed.
40010         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40011
40012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40013
40014         * debug/xtrace.sh: Unify messages.
40015         * malloc/memusage.sh: Likewise.
40016
40017         [BZ #12813]
40018         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40019         time symbol from vDSO.  Substitute with vsyscall if not available.
40020         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40021         __vdso_time.
40022
40023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40024         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40025         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40026         Add sendmmsg and internal_sendmmsg.
40027         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40028         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40030
40031         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40032         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40033         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40034
40035 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40036
40037         [BZ #12813]
40038         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40039         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40040         available.
40041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40042         __vdso_getcpu.
40043
40044         [BZ #12814]
40045         * iconvdata/Makefile (tests): Add bug-iconv9.
40046         * iconvdata/bug-iconv9.c: New file.
40047
40048 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40049
40050         [BZ #12814]
40051         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40052
40053 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40054
40055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40056         (struct user_regs_struct): Change intcs field back to cs.
40057
40058 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40059
40060         * po/ja.po: Update from translation team.
40061
40062 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40063
40064         [BZ #12795]
40065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40067
40068 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40069
40070         * stdlib/longlong.h: Update from GCC.
40071
40072 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40073
40074         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40075         parameter name.
40076         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40077         Add parameter name.
40078         (__sysconf): Pass it down.
40079
40080 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40081
40082         [BZ #12671]
40083         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40084         some situations.
40085         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40086         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40087         add in in __libc_use_alloca calls.  Adjust callers.
40088         (glob): Use malloc in some situations.
40089
40090         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40091         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40092         pltexit.
40093
40094 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40095
40096         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40097         and CLOCK_BOOTTIME_ALARM.
40098
40099         [BZ #12782]
40100         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40101         is returned.
40102
40103         * string/_strerror.c (__strerror_r): Print negative errors as signed
40104         numbers.
40105
40106         [BZ #12777]
40107         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40108         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40109         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40110
40111         * configure.in: Fix typo in redirection and correct removal of test
40112         files in two cases.
40113
40114         [BZ #12788]
40115         * locale/setlocale.c (new_composite_name): Fix test to check for
40116         identical name of all categories.
40117
40118         [BZ #12792]
40119         * libio/filedoalloc.c (local_isatty): New function.
40120         (_IO_file_doallocate): Use local_isatty.
40121         * stdio-common/perror.c (perror): In case a new stream is used
40122         forward the stream error.
40123         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40124         error flag.
40125
40126 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40127
40128         [BZ #11869]
40129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40130         alloca.
40131         * include/alloca.h (extend_alloca_account): Define.
40132
40133         [BZ #11857]
40134         * posix/regex.h: Fix comments with documentation of user-accessible
40135         fields after compilation and describe correct free'ing of pattern
40136         after re_compile_pattern.
40137         Patch by Reuben Thomas <rrt@sc3d.org>.
40138
40139 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40140
40141         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40142         and -mno-altivec to prevent the compiler from using Altivec and/or
40143         VSX instructions when the corresponding registers are not available.
40144
40145 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40146
40147         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40148
40149 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40150
40151         * libio/freopen.c (freopen): Use __dup2, not dup2.
40152         * libio/freopen64.c (freopen64): Likewise.
40153
40154 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40155
40156         [BZ #12775]
40157         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40158         * math/Makefile (tests): Add test-powl.
40159         (CFLAGS-test-powl.c): Define.
40160         * math/test-powl.c: New file.
40161
40162 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40163
40164         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40165
40166 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40167
40168         [BZ #11837]
40169         * iconvdata/gb18030.c: Update to GB18020-2005.
40170
40171 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40172
40173         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40174         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40175         Patch by Aharon Robbins <arnold@skeeve.com>.
40176
40177         [BZ #11892]
40178         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40179         on the stack.
40180
40181         [BZ #11895]
40182         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40183         through underflows.
40184
40185         [BZ #12766]
40186         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40187         point to strings before performing equality test for error_one_per_line
40188         mode.
40189
40190         [BZ #11697]
40191         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40192
40193         [BZ #11820]
40194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40195         (struct user_fpregs_struct): Avoid __uint*_t types.
40196
40197         [BZ #6420]
40198         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40199         symbol info.  Use it instead of calling _dl_addr locally.
40200         (lock_and_info): New function.
40201         (tr_freehook): Call lock_and_info and pass symbol info as additional
40202         parameter to tr_where.
40203         (tr_mallochook): Likewise.
40204         (tr_reallochook): Likewise.
40205         (tr_memalignhook): Likewise.
40206
40207         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40208         used and couldn't be at all thread-safe.
40209
40210 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40211
40212         * libio/freopen.c (freopen): Don't close old file descriptor
40213         before the new one is opened.  Instead dup the new file descriptor
40214         to the old one after the new stream is created.
40215         * libio/freopen64.c (freopen64): Likewise.
40216         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40217         * libio/fileops.c (_IO_new_file_close_it): Handle new
40218         _IO_FLAGS2_NOCLOSE flag.
40219         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40220         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40221         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40222         _IO_FLAGS2_NOCLOSE flag.
40223         * include/unistd.h: Add hidden_proto for dup3.
40224         Define __have_dup3.
40225         * io/dup3.c: Define hidden symbol.
40226         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40227
40228         [BZ #7101]
40229         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40230         when an incomplete long option is used.
40231         * posix/tst-getopt_long1.c: New file.
40232         * posix/Makefile (tests): Add tst-getopt_long1.
40233
40234         [BZ #10138]
40235         * scripts/config.guess: Update from autoconf-2.68.
40236         * scripts/config.sub: Likewise.
40237
40238         [BZ #10157]
40239         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40240         tests into ...
40241         (has_cpuclock): ...this.  New function.
40242         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40243         macro here based on has_cpuclock code.
40244
40245         [BZ #10149]
40246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40247         First byte (not low byte) is now always NUL.
40248         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40249
40250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40251         Use non-cancelable interfaces.
40252
40253         [BZ #9809]
40254         * locale/iso-639.def: Add entry for Sorani.
40255
40256         [BZ #11901]
40257         * include/stdlib.h: Move include protection to the right place.
40258         Define abort_msg_s.  Declare __abort_msg with it.
40259         * stdlib/abort.c (__abort_msg): Adjust type.
40260         * assert/assert.c (__assert_fail_base): New function.  Majority
40261         of code from __assert_fail.  Allocate memory for __abort_msg with
40262         mmap.
40263         (__assert_fail): Now call __assert_fail_base.
40264         * assert/assert-perr.c: Remove bulk of implementation.  Use
40265         __assert_fail_base.
40266         * include/assert.hL Declare __assert_fail_base.
40267         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40268         mmap.
40269         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40270
40271 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40272
40273         [BZ #11952]
40274         [BZ #12453]
40275         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40276         until all modules are registered in the DTV.
40277         * elf/Makefile: Add rules to build and run tst-tls19.
40278         * elf/tst-tls19.c: New file.
40279         * elf/tst-tls19mod1.c: New file.
40280         * elf/tst-tls19mod2.c: New file.
40281         * elf/tst-tls19mod3.c: New file.
40282         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40283
40284         [BZ #12083]
40285         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40286         correctly.
40287
40288         [BZ #12601]
40289         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40290         two-byte sequence errors.
40291         * iconvdata/Makefile (tests): Add bug-iconv8.
40292         * iconvdata/bug-iconv8.c: New file.
40293
40294         [BZ #12626]
40295         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40296         buf2 definition.
40297
40298         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40299
40300         [BZ #12432]
40301         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40302         (dummy_getcfa): New function.
40303         (init): Get _Unwind_GetCFA address, use dummy if not found.
40304         (backtrace_helper): In recursion check, also check whether CFA changes.
40305         (__backtrace): Completely initialize arg.
40306
40307         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40308         storing incomplete byte sequence in state object.  Avoid testing for
40309         guaranteed too small input if we know there is enough data available.
40310
40311 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40312
40313         * Makeconfig (+link-pie): Indent.
40314         * Rules (binaries-pie): Define if $(have-fpie) and
40315         $(build-shared).
40316         (binaries-shared): Also filter out $(binaries-pie).
40317         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40318         * nscd/Makefile (others-pie): Add nscd.
40319         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40320         ($(objpfx)nscd): Remove command override.
40321         * login/Makefile (others-pie): Add pt_chown.
40322         ($(objpfx)pt_chown): Remove command override.
40323         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40324         remove command overrides.
40325
40326 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40327
40328         * libio/tst_putwc.c: Fix error messages.
40329
40330         [BZ #12724]
40331         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40332         currently writing and seek to current position when not.
40333         * libio/Makefile (tests): Add bug-fclose1.
40334         * libio/bug-fclose1.c: New file.
40335
40336 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40337
40338         [BZ #12511]
40339         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40340         don't set DF_1_NODELETE here.
40341         (do_lookup_x): When entering new entry test for copy relocation
40342         and if necessary set DF_1_NODELETE flag.
40343         * elf/tst-unique4.cc: New file.
40344         * elf/tst-unique4.h: New file.
40345         * elf/tst-unique4lib.cc: New file.
40346         * elf/Makefile: Add rules to build and run tst-unique4.
40347         Patch by Piotr Bury <pbury@goahead.com>.
40348
40349 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40350
40351         [BZ #12052]
40352         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40353
40354         [BZ #12625]
40355         * misc/mntent_r.c (addmntent): Flush the stream after the output
40356
40357         [BZ #12393]
40358         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40359         (is_trusted_path_normalize): Skip initial colon.  Append slash
40360         to empty buffer.  Duplicate is_trusted_path code but allow
40361         constructed patch to be prefix.
40362         (is_dst): Allow $ORIGIN followed by /.
40363         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40364         Correct testing of result of is_trusted_path_normalize
40365         (decompose_rpath): Fix warning.
40366
40367 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40368
40369         [BZ #11257]
40370         * grp/initgroups.c (internal_getgrouplist): When we found the service
40371         list through the initgroups entry in nsswitch.conf do not always
40372         continue on a successful lookup.  Don't always use the
40373         __nss_group_database value if it is set.
40374         * nss/nsswitch.conf (initgroups): Change action for successful db
40375         lookup to continue for compatibility.
40376
40377 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40378
40379         [BZ #11532]
40380         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40381         and CP774 modules.
40382         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40383         and CP774 modules.
40384         * iconvdata/tst-tables.sh: Likewise.
40385         * iconvdata/cp770.c: New file.
40386         * iconvdata/cp771.c: New file.
40387         * iconvdata/cp772.c: New file.
40388         * iconvdata/cp773.c: New file.
40389         * iconvdata/cp774.c: New file.
40390         * iconvdata/testdata/CP770: New file.
40391         * iconvdata/testdata/CP770..UTF8: New file.
40392         * iconvdata/testdata/CP771: New file.
40393         * iconvdata/testdata/CP771..UTF8: New file.
40394         * iconvdata/testdata/CP772: New file.
40395         * iconvdata/testdata/CP772..UTF8: New file.
40396         * iconvdata/testdata/CP773: New file.
40397         * iconvdata/testdata/CP773..UTF8: New file.
40398         * iconvdata/testdata/CP774: New file.
40399         * iconvdata/testdata/CP774..UTF8: New file.
40400
40401         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40402         END CHARMAP line.
40403         * iconvdata/gen-8bit-gap.sh: Likewise.
40404         * iconvdata/gen-8bit.sh: Likewise.
40405
40406         * locale/iso-639.def: Add ary entry.
40407
40408         [BZ #11258]
40409         * locale/C-translit.h.in: Add U20A1 transliteration.
40410
40411         [BZ #12178]
40412         * locale/iso-639.def: Add wae entry.
40413         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40414
40415         [BZ #12545]
40416         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40417         for n.
40418
40419         [BZ #12711]
40420         * locale/C-translit.h.in: Add entry for U20B9.
40421         Patch by pravin.d.s@gmail.com.
40422
40423 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40424
40425         [BZ #12713]
40426         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40427         ENAMETOOLONG use generic getcwd.
40428         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40429         in rtld.  Use *stat64.
40430         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40431         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40432         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40433         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40434         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40435         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40436         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40437         __fstatat64 macros.
40438         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40439         * dirent/rewinddir.c: Add libc_hidden_def.
40440         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40441         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40442
40443         * include/dirent.h (__alloc_dir): Add flags parameter.
40444         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40445         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40446         __alloc_dir.
40447         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40448         from fdopendir if O_CLOEXEC is already set.
40449
40450 2011-03-15  Alan Modra  <amodra@gmail.com>
40451
40452         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40453         l_tls_firstbyte_offset non-zero.  Save padding offset in
40454         l_tls_firstbyte_offset for later use.
40455         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40456         freeing static tls block.
40457
40458 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40459
40460         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40461         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40462         being defined by the kernel headers.
40463
40464 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40465
40466         [BZ #12734]
40467         * resolv/resolv.h: Define RES_NOTLDQUERY.
40468         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40469         no-tld-query and set RES_NOTLDQUERY.
40470         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40471         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40472         modern BIND to search name as TLD unless forbidden.
40473
40474 2011-05-07  Petr Baudis  <pasky@suse.cz>
40475             Ulrich Drepper  <drepper@gmail.com>
40476
40477         [BZ #12393]
40478         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40479         (is_trusted_path): ...to here.
40480         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40481         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40482         using is_trusted_path_normalize() in setuid scripts.
40483
40484 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40485
40486         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40487         __BEGIN/__END_DECLS.
40488
40489 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40490
40491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40492         NSS_STATUS_NOTFOUND if no record was found.
40493
40494 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40495
40496         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40497         (headers-not-in-tirpc): Remove rpc/netdb.h
40498         * resolv/netdb.h: Revert last change.
40499
40500 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40501
40502         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40503         circular dependency between libgcc.a and libc.a.
40504
40505 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40506
40507         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40508         * nis/Makefile: Don't install rpcsvc/*.
40509         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40510         instead of <rpc/types.h>.
40511         (MAXHOSTNAMELEN): Define.
40512
40513 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40514
40515         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40516
40517 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40518
40519         [BZ #12714]
40520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40521         gethostbyname4_r when IPv6 results are possible.
40522
40523 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40524
40525         [BZ #12723]
40526         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40527         _PC_PIPE_BUF handling.
40528
40529 2011-04-30  Bruno Haible  <bruno@clisp.org>
40530
40531         [BZ #12717]
40532         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40533         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40534         to 'int'.
40535         * inet/getnameinfo.c (getnameinfo): Likewise.
40536
40537 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40538
40539         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40540         to groups setting in database lookup.
40541         * nss/nsswitch.conf: Add initgroups entry.
40542
40543 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40544
40545         [BZ #12685]
40546         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40547         mode string.
40548         Patch by Eric Blake <eblake@redhat.com>.
40549
40550 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40551
40552         * sunrpc/Makefile (need-export-routines): Add svc_run.
40553         (routines): Remove svc_run.
40554         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40555         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40556         * sunrpc/svc_run.c (svc_run): Likewise.
40557         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40558
40559 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40560
40561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40562         problem in reallocation in last patch.
40563
40564 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40565
40566         * sunrpc/Makefile: Move inclusion of Rules.
40567
40568 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40569
40570         * nss/nss_files/files-initgroups.c: New file.
40571         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40572         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40573         _nss_files_initgroups_dyn.
40574
40575 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40576
40577         * elf/elf.h (R_ARM_IRELATIVE): Define.
40578
40579 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40580
40581         * po/ru.po: Update from translation team.
40582
40583 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40584
40585         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40586         dependencies.
40587
40588 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40589
40590         [BZ #12653]
40591         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40592         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40593         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40594         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40596
40597 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40598
40599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40600         differing bytes.
40601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40604
40605 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40606
40607         [BZ #12420]
40608         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40609         storing it.
40610         * stdlib/bug-getcontext.c: New file.
40611         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40612
40613 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40614
40615         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40616         instructions into .machine "z9-109".
40617         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40618         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40619
40620 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40621
40622         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40623         between environment variables and auxiliary vector.
40624
40625 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40626
40627         * Makefile: Add rules to build linkobj/libc.so.
40628         * include/libc-symbols.h: Define libc_hidden_nolink.
40629         * include/rpc/auth.h: Mark functions which are to be hidden.
40630         * include/rpc/auth_des.h: Likewise.
40631         * include/rpc/auth_unix.h: Likewise.
40632         * include/rpc/clnt.h: Likewise.
40633         * include/rpc/des_crypt.h: Likewise.
40634         * include/rpc/key_prot.h: Likewise.
40635         * include/rpc/pmap_clnt.h: Likewise.
40636         * include/rpc/pmap_prot.h: Likewise.
40637         * include/rpc/pmap_rmt.h: Likewise.
40638         * include/rpc/rpc_msg.h: Likewise.
40639         * include/rpc/svc.h: Likewise.
40640         * include/rpc/svc_auth.h: Likewise.
40641         * include/rpc/xdr.h: Likewise.
40642         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40643         * nss/Makefile: Likewise.
40644         * sunrpc/Makefile: Don't install headers.  Build library with normal
40645         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40646         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40647         for the compat linking library.  Remove use of INTDEF/INTUSE.
40648         * sunrpc/auth_none.c: Likewise.
40649         * sunrpc/auth_unix.c: Likewise.
40650         * sunrpc/authdes_prot.c: Likewise.
40651         * sunrpc/authuxprot.c: Likewise.
40652         * sunrpc/clnt_gen.c: Likewise.
40653         * sunrpc/clnt_perr.c: Likewise.
40654         * sunrpc/clnt_raw.c: Likewise.
40655         * sunrpc/clnt_simp.c: Likewise.
40656         * sunrpc/clnt_tcp.c: Likewise.
40657         * sunrpc/clnt_udp.c: Likewise.
40658         * sunrpc/clnt_unix.c: Likewise.
40659         * sunrpc/des_crypt.c: Likewise.
40660         * sunrpc/des_soft.c: Likewise.
40661         * sunrpc/get_myaddr.c: Likewise.
40662         * sunrpc/key_call.c: Likewise.
40663         * sunrpc/key_prot.c: Likewise.
40664         * sunrpc/netname.c: Likewise.
40665         * sunrpc/pm_getmaps.c: Likewise.
40666         * sunrpc/pm_getport.c: Likewise.
40667         * sunrpc/pmap_clnt.c: Likewise.
40668         * sunrpc/pmap_prot.c: Likewise.
40669         * sunrpc/pmap_prot2.c: Likewise.
40670         * sunrpc/pmap_rmt.c: Likewise.
40671         * sunrpc/publickey.c: Likewise.
40672         * sunrpc/rpc_cmsg.c: Likewise.
40673         * sunrpc/rpc_common.c: Likewise.
40674         * sunrpc/rpc_dtable.c: Likewise.
40675         * sunrpc/rpc_prot.c: Likewise.
40676         * sunrpc/rpc_thread.c: Likewise.
40677         * sunrpc/rtime.c: Likewise.
40678         * sunrpc/svc.c: Likewise.
40679         * sunrpc/svc_auth.c: Likewise.
40680         * sunrpc/svc_authux.c: Likewise.
40681         * sunrpc/svc_raw.c: Likewise.
40682         * sunrpc/svc_run.c: Likewise.
40683         * sunrpc/svc_simple.c: Likewise.
40684         * sunrpc/svc_tcp.c: Likewise.
40685         * sunrpc/svc_udp.c: Likewise.
40686         * sunrpc/svc_unix.c: Likewise.
40687         * sunrpc/svcauth_des.c: Likewise.
40688         * sunrpc/xcrypt.c: Likewise.
40689         * sunrpc/xdr.c: Likewise.
40690         * sunrpc/xdr_array.c: Likewise.
40691         * sunrpc/xdr_float.c: Likewise.
40692         * sunrpc/xdr_intXX_t.c: Likewise.
40693         * sunrpc/xdr_mem.c: Likewise.
40694         * sunrpc/xdr_rec.c: Likewise.
40695         * sunrpc/xdr_ref.c: Likewise.
40696         * sunrpc/xdr_sizeof.c: Likewise.
40697         * sunrpc/xdr_stdio.c: Likewise.
40698
40699 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40700
40701         [BZ #12650]
40702         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40703         * sysdeps/ia64/dl-tls.h: Likewise.
40704         * sysdeps/powerpc/dl-tls.h: Likewise.
40705         * sysdeps/s390/dl-tls.h: Likewise.
40706         * sysdeps/sh/dl-tls.h: Likewise.
40707         * sysdeps/sparc/dl-tls.h: Likewise.
40708         * sysdeps/x86_64/dl-tls.h: Likewise.
40709         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40710
40711 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40712
40713         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40714         rpath element also skip the following colon.
40715         (expand_dynamic_string_token): Add is_path parameter and pass
40716         down to DL_DST_REQUIRED and _dl_dst_substitute.
40717         (decompose_rpath): Call expand_dynamic_string_token with
40718         non-zero is_path.  Ignore empty rpaths.
40719         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40720         with zero is_path.
40721
40722 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40723
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40725         Make cancelable.
40726
40727 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40728
40729         [BZ #12655]
40730         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40731         Patch by Filipe David Manana <fdmanana@apache.org>.
40732
40733 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40734
40735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40736         Maintain aligned stack.
40737         (CHECK_RSP): Remove unused macro.
40738
40739 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40740
40741         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40742         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40743
40744 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40745
40746         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40747
40748         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40749
40750 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40751
40752         [BZ #12518]
40753         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40754         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40755         * sysdeps/x86_64/memmove.c: New file.
40756         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40757         (memcpy): Renamed to ...
40758         (__new_memcpy): This.
40759         (memcpy): Provide GLIBC_2_14 memcpy.
40760         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40761         (memcpy): Provide GLIBC_2_2_5 memcpy.
40762
40763 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40764
40765         [BZ #12631]
40766         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40767
40768 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40769
40770         * misc/syncfs.c: New file.
40771         * misc/Makefile (routines): Add syncfs.
40772         * posix/unistd.h: Declare syncfs.
40773         * sysdeps/unix/syscalls.list: Add syncfs.
40774
40775 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40776
40777         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40778         open_by_handle_at.
40779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40780         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40784         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40786
40787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40788
40789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40791         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40793         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40796
40797         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40798         sync_file_range.c with -fexceptions.
40799         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40800         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40801         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40802         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40806         sync_file_range as cancellation point
40807         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40808         now a wrapper around __call_sync_file_range with cancellation handling.
40809         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40810         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40811         function name to __call_sync_file_range.
40812         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40813         Add call_sync_file_range.
40814
40815 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40816
40817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40818         bits/timex.h.
40819
40820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40821
40822         * iconv/iconv.h: Fix typo in comment.
40823         * io/fcntl.h: Likewise.
40824         * libio/stdio.h: Likewise.
40825         * posix/spawn.h: Likewise.
40826         * posix/unistd.h: Likewise.
40827         * stdlib/stdlib.h: Likewise.
40828         * time/time.h: Likewise.
40829         * wcsmbs/wchar.h: Likewise.
40830
40831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40832         open_by_handle): Add.
40833         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40834         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40835         Augment a few comments.
40836         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40841         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40842         open_by_handle.
40843
40844         * io/fcntl.h (AT_EMPTY_PATH): Define.
40845
40846 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40847
40848         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40849         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40850         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40851         to...
40852         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40853         * Versions.def: Add GLIBC_2.14.
40854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40855         Export.
40856
40857 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40858
40859         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40860         round counter.
40861         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40862
40863 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40864
40865         [BZ #12597]
40866         * string/test-strncmp.c (do_page_test): New function.
40867         (check2): Likewise.
40868         (test_main): Call check2.
40869         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40870
40871 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40872
40873         [BZ #12587]
40874         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40875         Handle cache information in CPU leaf 4.
40876         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40877
40878 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40879
40880         [BZ #12583]
40881         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40882         character representation.
40883         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40884
40885 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40886
40887         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40888         END(__isnan) to END(__isnanf) to match function entry point/label
40889         EALIGN(__isnanf,...).
40890
40891 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40892
40893         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40894
40895 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40896
40897         [BZ #12510]
40898         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40899         copy from the symbol referenced in the relocation to initialize the
40900         used variable.
40901         Patch by Piotr Bury <pbury@goahead.com>.
40902         * elf/Makefile: Add rules to build and tst-unique3.
40903         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40904         * elf/tst-unique3.cc: New file.
40905         * elf/tst-unique3.h: New file.
40906         * elf/tst-unique3lib.cc: New file.
40907         * elf/tst-unique3lib2.cc: New file.
40908
40909         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40910
40911 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40912
40913         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40914         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40915         to _start.
40916
40917 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40918
40919         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40920         to-be-loaded object along a path to loader is ld.so.
40921
40922 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40923             Ulrich Drepper  <drepper@gmail.com>
40924
40925         * sysdeps/x86_64/memset.S: After aligning destination, code
40926         branches to different locations depending on the value of
40927         misalignment, when multiarch is enabled. Fix this.
40928
40929 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40930
40931         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40932         Set _x86_64_preferred_memory_instruction for AMD processsors.
40933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40934         Set bit_Prefer_SSE_for_memop for AMD processors.
40935
40936 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40937
40938         * libio/fmemopen.c (fmemopen): Optimize a bit.
40939
40940 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40941
40942         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40943
40944 2011-03-03  Roland McGrath  <roland@redhat.com>
40945
40946         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40947
40948 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40949
40950         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40951         __bzero_ultra1 instead of __memset_ultra1.
40952
40953 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40954             Ulrich Drepper  <drepper@gmail.com>
40955
40956         [BZ #12509]
40957         * include/link.h (struct link_map): Add l_orig_initfini.
40958         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40959         returning unsuccessfully.
40960         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40961         close of a file loaded at startup, restore the original l_initfini
40962         list.
40963         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40964         list, store the pointer.
40965         * elf/Makefile ($(objpfx)noload-mem): New rule.
40966         (noload-ENV): Define.
40967         (tests): Add $(objpfx)noload-mem.
40968         * elf/noload.c: Include <memcheck.h>.
40969         (main): Call mtrace.  Close all opened handles.
40970
40971 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40972
40973         [BZ #12454]
40974         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40975         dependencies are missing.
40976
40977 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40978
40979         Fix __if_freereq crash: Unlike the generic version which uses free,
40980         Hurd needs munmap.
40981         * sysdeps/mach/hurd/ifreq.h: New file.
40982
40983 2011-01-27  Petr Baudis  <pasky@suse.cz>
40984             Ulrich Drepper  <drepper@gmail.com>
40985
40986         [BZ 12445]#
40987         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40988         to extend_alloca().
40989         * stdio-common/bug23.c: New file.
40990         * stdio-common/Makefile (tests): Add bug23.
40991
40992 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40993             Ulrich Drepper  <drepper@gmail.com>
40994
40995         [BZ #12489]
40996         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40997         before performing relro protection.  At old place add assertion
40998         to make sure nothing changed.
40999
41000 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41001             Glauber de Oliveira Costa  <glommer@gmail.com>
41002
41003         * elf/elf.h: Add new ARM TLS relocs.
41004
41005 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41006
41007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41008         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41009         cast from r3.
41010         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41011         'tests' variable.
41012         * sysdeps/wordsize-64/tst-writev.c: New file.
41013
41014 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41015
41016         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41017         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41018         insns in _dl_start to prevent a TOC reference before relocs are
41019         resolved.
41020
41021 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41022
41023         [BZ #12469]
41024         * Makeconfig: Remove RANLIB definition.
41025         * Makerules: Don't use RANLIB.
41026         * aclocal.m4: Remove ranlib test.
41027         * configure.in: No need to check for ranlib.
41028         * elf/rtld-Rules: Don't use RANLIB.
41029
41030 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41031
41032         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41033         protection macro.
41034         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41035         inclusion protection macro.
41036
41037         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41038         SIGRTMIN and SIGRTMAX and print information in that case only when
41039         SIGRTMIN is defined.
41040
41041 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41042
41043         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41044         arginfo fn returning -1.
41045
41046         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41047         and thousands string is zero terminated.
41048
41049 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41050
41051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41052         sysdeps/unix/sysv/linux/bits/socket.h.
41053
41054 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41055
41056         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41057         (__CPU_COUNT): Remove old macros.
41058         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41059         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41060         (__CPU_ALLOC, __CPU_FREE): Add macros.
41061         (__sched_cpualloc, __sched_cpufree): Add declarations.
41062
41063 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41064
41065         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41066         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41067         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41068         (readdhstai): Return value of addhstaiX call.
41069         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41070         (addgrbyX): Return value returned by cache_addgr.
41071         (readdgrbyname): Return value returned by addgrbyX.
41072         (readdgrbygid): Likewise.
41073         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41074         (addpwbyX): Return value returned by cache_addpw.
41075         (readdpwbyname): Return value returned by addhstbyX.
41076         (readdpwbyuid): Likewise.
41077         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41078         (addservbyX): Return value returned by cache_addserv.
41079         (readdservbyname): Return value returned by addservbyX:
41080         (readdservbyport): Likewise.
41081         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41082         (addhstbyX): Return value returned by cache_addhst.
41083         (readdhstbyname): Return value returned by addhstbyX.
41084         (readdhstbyaddr): Likewise.
41085         (readdhstbynamev6): Likewise.
41086         (readdhstbyaddrv6): Likewise.
41087         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41088         (readdinitgroups): Return value returned by addinitgroupsX.
41089         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41090         (prune_cache): Keep track of timeout value of re-added entries.
41091         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41092         * nscd/nscd.h: Adjust prototypes of readd* functions.
41093
41094 2011-02-04  Roland McGrath  <roland@redhat.com>
41095
41096         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41097         (nis_stats): Likewise.
41098         * nis/nis_modify.c (nis_modify): Likewise.
41099         * nis/nis_remove.c (nis_remove): Likewise.
41100         * nis/nis_add.c (nis_add): Likewise.
41101
41102         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41103
41104         * posix/fnmatch_loop.c: Add some consts.
41105
41106         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41107
41108 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41109
41110         [BZ #12460]
41111         * config.make.in (config-cflags-novzeroupper): Define.
41112         * configure.in: Substitute libc_cv_cc_novzeroupper.
41113         * elf/Makefile (AVX-CFLAGS): Define.
41114         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41115         (CFLAGS-tst-auditmod4a.c): Likewise.
41116         (CFLAGS-tst-auditmod4b.c): Likewise.
41117         (CFLAGS-tst-auditmod6b.c): Likewise.
41118         (CFLAGS-tst-auditmod6c.c): Likewise.
41119         (CFLAGS-tst-auditmod7b.c): Likewise.
41120         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41121
41122 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41123
41124         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41125         function to the callback.
41126         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41127
41128 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41129
41130         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41131         of errno.
41132
41133 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41134
41135         [BZ #11724]
41136         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41137         of constructors.
41138         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41139         of destructors.
41140         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41141
41142         [BZ #11724]
41143         * elf/Makefile: Add rules to build and run new test.
41144         * elf/tst-initorder.c: New file.
41145         * elf/tst-initorder.exp: New file.
41146         * elf/tst-initordera1.c: New file.
41147         * elf/tst-initordera2.c: New file.
41148         * elf/tst-initordera3.c: New file.
41149         * elf/tst-initordera4.c: New file.
41150         * elf/tst-initorderb1.c: New file.
41151         * elf/tst-initorderb2.c: New file.
41152         * elf/tst-order-a1.c: New file.
41153         * elf/tst-order-a2.c: New file.
41154         * elf/tst-order-a3.c: New file.
41155         * elf/tst-order-a4.c: New file.
41156         * elf/tst-order-b1.c: New file.
41157         * elf/tst-order-b2.c: New file.
41158         * elf/tst-order-main.c: New file.
41159         New test case by George Gensure <werkt0@gmail.com>.
41160
41161 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41162
41163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41164         decoding ACE if AI_CANONIDN.
41165
41166 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41167
41168         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41169
41170 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41171
41172         * version.h (RELEASE): Bump for 2.13 release.
41173         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41174
41175         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41176
41177         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41178         MADV_NOHUGEPAGE.
41179         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41180         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41184         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41185
41186         * posix/getconf.c: Update copyright year.
41187         * catgets/gencat.c: Likewise.
41188         * csu/version.c: Likewise.
41189         * debug/catchsegv.sh: Likewise.
41190         * debug/xtrace.sh: Likewise.
41191         * elf/ldconfig.c: Likewise.
41192         * elf/ldd.bash.in: Likewise.
41193         * elf/sprof.c (print_version): Likewise.
41194         * iconv/iconv_prog.c: Likewise.
41195         * iconv/iconvconfig.c: Likewise.
41196         * locale/programs/locale.c: Likewise.
41197         * locale/programs/localedef.c: Likewise.
41198         * malloc/memusage.sh: Likewise.
41199         * malloc/mtrace.pl: Likewise.
41200         * nscd/nscd.c (print_version): Likewise.
41201         * nss/getent.c: Likewise.
41202
41203         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41204         PF_CAIF, and PF_ALG.
41205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41206
41207 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41208
41209         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41210         (modules-names): Use them.
41211         (ifunc-test-modules, ifunc-pie-tests): Define.
41212         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41213         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41214         (test-extras): Likewise.
41215         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41216         $(compile-command.c).
41217         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41218         (all-built-dso): Define.
41219         (check-textrel.out, check-execstack.out): Depend on it.
41220
41221         * configure.in: Don't override --enable-multi-arch.
41222
41223 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41224
41225         [BZ #6812]
41226         * nscd/hstcache.c (tryagain): Define.
41227         (cache_addhst): Return tryagain not notfound for temporary errors.
41228         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41229         failed.
41230
41231 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41232
41233         [BZ #10563]
41234         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41235         to make the syscall.
41236         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41237
41238         [BZ #12378]
41239         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41240         and fall back to matching as normal character if the string ends before
41241         the matching ']' is found.  This is what POSIX requires.
41242         * posix/testfnm.c: Adjust test result.
41243         * posix/globtest.sh: Adjust test result.  Add new test.
41244         * posix/tst-fnmatch.input: Likewise.
41245         * posix/tst-fnmatch2.c: Add new test.
41246
41247 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41248
41249         * elf/Makefile (check-execstack): Revert last change.  Depend on
41250         check-execstack.h.
41251         (check-execstack.h): New target.
41252         (generated): Add check-execstack.h.
41253         * elf/check-execstack.c: Include "check-execstack.h".
41254         (main): Revert last change.
41255         (handle_file): Return zero if GNU_STACK is absent and
41256         DEFAULT_STACK_PERMS doesn't include PF_X.
41257
41258 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41259
41260         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41261         in child fails because the descriptor is already closed.
41262         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41263         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41264         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41265
41266         [BZ #12397]
41267         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41268         syscall.
41269
41270         [BZ #10484]
41271         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41272         temporary buffer used to handle multi lookups locally.
41273         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41274
41275 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41276
41277         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41278         loader is ld.so.
41279
41280 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41281
41282         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41283         alignment for SSE2.
41284
41285 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41286
41287         [BZ #12394]
41288         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41289         characters.  When rounding increased number of integer digits recompute
41290         number of groups.
41291         * stdio-common/tst-grouping.c: New file.
41292         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41293
41294 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41295
41296         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41297         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41298
41299         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41300         void.
41301         * bits/select.h: Likewise.
41302
41303 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41304
41305         * po/ja.po: Update from translation team.
41306
41307 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41308
41309         [BZ #11155]
41310         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41311         implementation just like for lxstat, fxstatat, et al.
41312
41313 2010-12-27  Jim Meyering  <meyering@redhat.com>
41314
41315         [BZ #12348]
41316         * posix/regexec.c (build_trtable): Return failure indication upon
41317         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41318
41319 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41320
41321         [BZ #12201]
41322         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41323         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41325         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41326
41327         [BZ #12207]
41328         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41329
41330         [BZ #12204]
41331         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41332         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41333
41334 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41335
41336         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41337         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41338         script has SORT_BY_INIT_PRIORITY.
41339         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41340         NO_CTORS_DTORS_SECTIONS is defined.
41341         * elf/soinit.c: Likewise.
41342         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41343         NO_CTORS_DTORS_SECTIONS is defined.
41344         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41345         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41346         * sysdeps/sh/init-first.c: Likewise.
41347         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41348
41349 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41350
41351         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41352         always use the slow path.
41353
41354 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41355
41356         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41357         similar rule which adds the sysdep directories to the header search in
41358         order to pick up the correct platform stackinfo.h.
41359         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41360         perform test if it is, otherwise return successfully without testing.
41361         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41362         DEFAULT_STACK_PERMS define in stackinfo.h.
41363         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41364         defined in stackinfo.h.
41365         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41366         DEFAULT_STACK_PERMS defined in stackinfo.h.
41367         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41368         * sysdeps/ia64/stackinfo.h: Likewise.
41369         * sysdeps/s390/stackinfo.h: Likewise.
41370         * sysdeps/sh/stackinfo.h: Likewise.
41371         * sysdeps/sparc/stackinfo.h: Likewise.
41372         * sysdeps/x86_64/stackinfo.h: Likewise.
41373         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41374         PF_X for powerpc64.  Retain PF_X for powerpc32.
41375
41376 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41377
41378         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41379         accurately.
41380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41381         GETDENTS_64BIT_ALIGNED.
41382
41383 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41384
41385         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41386
41387 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41388
41389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41390         _GNU_SOURCE.
41391
41392         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41393         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41394         Remove __restrict.
41395         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41396         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41397
41398 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41399
41400         [BZ #11655]
41401         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41402         are initialized.
41403
41404 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41405
41406         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41407
41408 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41409
41410         * po/it.po: Update from translation team.
41411
41412 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41413
41414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41415         unused codes.
41416
41417 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41418
41419         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41420
41421 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41422
41423         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41424         specially.
41425         (gaih_getanswer_slice): Likewise.
41426
41427 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41428
41429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41430
41431 2010-05-31  Petr Baudis  <pasky@suse.cz>
41432
41433         [BZ #11149]
41434         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41435         silently even in the chroot mode.
41436
41437 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41438
41439         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41440         last patch a bit.  Pretty printing
41441
41442 2010-05-31  Petr Baudis <pasky@suse.cz>
41443
41444         [BZ #10085]
41445         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41446         initialization of skip_initgroups_dyn.
41447
41448 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41449
41450         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41452
41453 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41454
41455         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41456
41457 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41458
41459         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41460         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41461         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41462         ($(objpfx)tst-fnmatch-mem): New rule.
41463         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41464         * posix/tst-fnmatch.c (main): Call mtrace.
41465
41466 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41467
41468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41469         Support Intel processor model 6 and model 0x2c.
41470
41471 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41472
41473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41474           signed comparison.
41475
41476 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41477
41478         [BZ #12205]
41479         * string/test-strncasecmp.c (check_result): New function.
41480         (do_one_test): Use it.
41481         (check1): New function.
41482         (test_main): Use it.
41483         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41484         Support strcasecmp and strncasecmp.
41485
41486 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41487
41488         [BZ #12194]
41489         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41491
41492 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41493
41494         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41495         IFUNC support.
41496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41497         memset-x86-64.
41498         * sysdeps/x86_64/multiarch/bzero.S: New file.
41499         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41500         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41501         * sysdeps/x86_64/multiarch/memset.S: New file.
41502         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41504         Set bit_Prefer_SSE_for_memop for Intel processors.
41505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41506         Define.
41507         (index_Prefer_SSE_for_memop): Define.
41508         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41509
41510 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41511
41512         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41514
41515 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41516
41517         [BZ #12191]
41518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41519         (__x86_64_raw_data_cache_size_half): Likewise.
41520         (__x86_64_raw_shared_cache_size): Likewise.
41521         (__x86_64_raw_shared_cache_size_half): Likewise.
41522
41523         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41524         (__x86_64_raw_data_cache_size_half): Likewise.
41525         (__x86_64_raw_shared_cache_size): Likewise.
41526         (__x86_64_raw_shared_cache_size_half): Likewise.
41527         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41528         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41529         and __x86_64_raw_shared_cache_size_half.  Round
41530         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41531         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41532         to multiple of 256 bytes.
41533
41534 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41535
41536         [BZ #12167]
41537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41538         of inacessible symlinks.  Verify result of symlink before returning it.
41539         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41540         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41541
41542 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41543
41544         * math/math.h (isinf): Fix typo in comment.
41545
41546 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41547
41548         * po/da.po: Update from translation team.
41549
41550 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41551
41552         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41553         is added to the list.
41554
41555 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41556             Ulrich Drepper  <drepper@gmail.com>
41557
41558         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41559         the global list here.  Move code to...
41560         (_dl_add_to_namespace_list): ...here.  New function.
41561         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41562         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41563         * elf/dl-load.c (lose): Don't remove the element from the list.
41564         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41565         (_dl_map_object): Likewise.
41566
41567 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41568
41569         [BZ #12159]
41570         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41571         into all bytes of SSE register.
41572         Patch by Richard Li <richardpku@gmail.com>.
41573
41574 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41575
41576         [BZ #12140]
41577         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41578         perturbing.
41579
41580 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41581
41582         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41583         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41587         submachine.
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41589
41590 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41591
41592         * include/dlfcn.h (__RTLD_SECURE): Define.
41593         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41594         mode & __RTLD_SECURE instead.
41595         (open_path): Rename preloaded parameter to secure.
41596         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41597         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41598         * elf/dl-deps.c (openaux): Likewise.
41599         * elf/rtld.c (struct map_args): Remove is_preloaded.
41600         (map_doit): Don't use it.
41601         (dl_main): Likewise.
41602         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41603         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41604
41605 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41606
41607         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41608         (sysd-rules-targets): Remove duplicates.
41609         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41610         rtld-%.$o dependency.
41611
41612 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41613
41614         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41615         _dl_map_object do it.
41616
41617 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41618
41619         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41620         fast fma builtins, define the macros in the C99 standard.
41621         (FP_FAST_FMAF): Likewise.
41622         (FP_FAST_FMAL): Likewise.
41623         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41624
41625         * bits/mathdef.h: Update copyright year.
41626         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41627
41628 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41629
41630         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41631         builtins, define the macros in the C99 standard.
41632         (FP_FAST_FMAF): Likewise.
41633         (FP_FAST_FMAL): Likewise.
41634         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41635         multiply/add.
41636         (FP_FAST_FMAF): Likewise.
41637
41638 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41639
41640         [BZ #3268]
41641         * math/libm-test.inc (fma_test): Some new testcases.
41642         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41644         y and infinite z.  Do multiplication by C already in long double.
41645         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41647         y and infinite z.  Do bitwise or of inexact bit into u.d.
41648         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41649         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41650         * sysdeps/i386/fpu/s_fma.S: Removed.
41651         * sysdeps/i386/fpu/s_fmal.S: Removed.
41652
41653 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41654
41655         [BZ #3268]
41656         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41658         computation is not scheduled after fetestexcept.  Fix value
41659         of minimum denormal long double.
41660
41661 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41662
41663         [BZ #3268]
41664         * math/libm-test.inc (fma_test): Add some more tests.
41665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41666         correctly.
41667
41668 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41669
41670         * scripts/data/localplt-s390-linux-gnu.data: New file.
41671         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41672
41673 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41674
41675         [BZ #3268]
41676         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41677         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41678         instead of dbl-64.
41679         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41680         inlines.
41681         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41683         if one of x and y is very large and the other is subnormal.
41684         * sysdeps/s390/fpu/s_fmaf.c: New file.
41685         * sysdeps/s390/fpu/s_fma.c: New file.
41686         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41687         * sysdeps/powerpc/fpu/s_fma.S: New file.
41688         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41689         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41690         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41691
41692 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41693
41694         [BZ #3268]
41695         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41696         fma tests.
41697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41698         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41699         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41700         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41701         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41702         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41704
41705 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41706
41707         [BZ #12078]
41708         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41709         * posix/bug-regex31.input: Add test case.
41710
41711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41712
41713         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41714         * posix/bug-regex31.input: New file.
41715
41716         [BZ #12078]
41717         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41718         (parse_sub_exp): Fix last change, use postorder.
41719
41720         * posix/bug-regex31.c: New file.
41721         * posix/Makefile: Add rules to build and run bug-regex31.
41722
41723         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41724
41725         [BZ #12078]
41726         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41727
41728         [BZ #12108]
41729         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41730         to have entries in sys_siglist.
41731
41732         [BZ #12093]
41733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41734         be NULL.
41735
41736 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41737
41738         [BZ #3268]
41739         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41740         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41741         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41742         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41743         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41744         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41745         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41746         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41747         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41748         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41749         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41750         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41752         * math/ftestexcept.c (fetestexcept): Likewise.
41753         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41754         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41755         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41756         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41757         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41758         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41759         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41760
41761 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41762
41763         [BZ #12107]
41764         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41765         newline.
41766
41767 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41768
41769         * string/bug-strstr1.c: New file.
41770         * string/Makefile: Add rules to build and run bug-strstr1.
41771
41772 2010-10-05  Eric Blake  <eblake@redhat.com>
41773
41774         [BZ #12092]
41775         * string/str-two-way.h (two_way_long_needle): Always clear memory
41776         when skipping input due to the shift table.
41777
41778 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41779
41780         [BZ #12005]
41781         * malloc/mcheck.c: Handle large requests.
41782
41783         [BZ #12077]
41784         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41785         for strncmp and strncasecmp.
41786         * string/stratcliff.c: Add tests for strcmp and strncmp.
41787         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41788
41789 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41790
41791         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41792         __set_fpscr.
41793
41794 2010-09-30  Andreas Jaeger  <aj@suse.de>
41795
41796         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41797         (CGROUP_SUPER_MAGIC): Define.
41798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41799         Handle btrfs and cgroup file systems.
41800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41801         Likewise.
41802
41803 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41804
41805         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41806         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41807
41808 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41809
41810         [BZ #12067]
41811         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41812         trying to locate the ELF header.
41813
41814 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41815
41816         [BZ #11611]
41817         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41818         Mask out sign-bit copies when constructing f_fsid.
41819
41820 2010-09-24  Petr Baudis <pasky@suse.cz>
41821
41822         * debug/stack_chk_fail_local.c: Add missing licence exception.
41823         * debug/warning-nop.c: Likewise.
41824
41825 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41826
41827         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41828         implementing getdents64 using getdents syscall, set d_type if
41829         __ASSUME_GETDENTS32_D_TYPE.
41830
41831 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41832
41833         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41834         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41835
41836 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41837
41838         [BZ #12037]
41839         * posix/unistd.h: Undo change of feature selection for ftruncate from
41840         2010-01-11.
41841
41842 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41843
41844         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41845         detection.
41846
41847 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41848
41849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41850         fanotify_mark.
41851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41852
41853 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41854
41855         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41856         variables after CHECK_SP call.
41857         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41858
41859 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41860             Ulrich Drepper  <drepper@redhat.com>
41861
41862         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41863         re-relocationg ld.so.
41864         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41865         _dl_init_paths call.
41866         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41867         here anymore.
41868
41869 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41870
41871         * resolv/res_init.c (__res_vinit): Count the default server we added.
41872
41873 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41874             Ulrich Drepper  <drepper@redhat.com>
41875
41876         [BZ #11968]
41877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41878         (____longjmp_chk): Use %ebx for saving value across system call.
41879         Add unwind info.
41880
41881 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41882
41883         * manual/Makefile: Don't mix pattern rules with normal rules.
41884
41885 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41886
41887         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41888         operation.
41889         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41890         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41891         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41892         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41894         Likewise.
41895
41896 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41897
41898         [BZ #11979]
41899         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41900         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41901
41902 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41903
41904         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41905         * sysdeps/x86_64/addmul_1.S: Likewise.
41906         * sysdeps/x86_64/lshift.S: Likewise.
41907         * sysdeps/x86_64/mul_1.S: Likewise.
41908         * sysdeps/x86_64/rshift.S: Likewise.
41909         * sysdeps/x86_64/sub_n.S: Likewise.
41910         * sysdeps/x86_64/submul_1.S: Likewise.
41911
41912 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41913
41914         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41915         Define __sched_param instead of SCHED_* and sched_param when
41916         <bits/sched.h> is included with __need_schedparam defined.
41917         * bits/sched.h [__need_schedparam]
41918         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41919         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41920         (__defined_schedparam): Define to 1.
41921         (__sched_param): New structure, identical to sched_param.
41922         (__need_schedparam): Undefine.
41923
41924 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41925
41926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41927         (epoll_create1): Declare.
41928
41929         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41930
41931 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41932
41933         [BZ #7066]
41934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41935         shifting retval into place.
41936
41937 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41938
41939         * nis/rpcsvc/nis.h: Update copyright notice.
41940         * nis/rpcsvc/nis.x: Likewise.
41941         * nis/rpcsvc/nis_callback.h: Likewise.
41942         * nis/rpcsvc/nis_callback.x: Likewise.
41943         * nis/rpcsvc/nis_object.x: Likewise.
41944         * nis/rpcsvc/nis_tags.h: Likewise.
41945         * nis/rpcsvc/yp.h: Likewise.
41946         * nis/rpcsvc/yp.x: Likewise.
41947         * nis/rpcsvc/ypupd.h: Likewise.
41948         * nis/yp_xdr.c: Likewise.
41949         * nis/ypupdate_xdr.c: Likewise.
41950
41951         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41952         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41953         (pmap_getport): Use __libc_rpc_getport.
41954         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41955         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41956         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41957
41958 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41959
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41961         fanotify_mark.
41962
41963 2010-08-27  Roland McGrath  <roland@redhat.com>
41964
41965         * sysdeps/i386/i686/multiarch/Makefile
41966         (CFLAGS-varshift.c): New variable.
41967
41968 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41969
41970         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41971         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41972
41973         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41974
41975         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41976
41977 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41978
41979         * sysdeps/x86_64/strlen.S: Unroll the loop.
41980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41981         strlen-sse2 strlen-sse2-bsf.
41982         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41983         __strlen_no_bsf if bit_Slow_BSF is set.
41984         (__strlen_sse42): Removed.
41985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41986         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41987
41988 2010-08-25  Roland McGrath  <roland@redhat.com>
41989
41990         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41991         * sysdeps/x86_64/multiarch/varshift.c: New file.
41992         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41993         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41994         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41996
41997 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41998
41999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42000         strlen-sse2 strlen-sse2-bsf.
42001         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42002         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42003         (__strlen_sse2): Removed.
42004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42007         bit_Slow_BSF for Atom.
42008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42009         (index_Slow_BSF): Define.
42010         (HAS_SLOW_BSF): Define.
42011
42012 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42013
42014         [BZ #10851]
42015         * resolv/res_init.c (__res_vinit): When no server address at all
42016         is given default to loopback.
42017
42018 2010-08-24  Roland McGrath  <roland@redhat.com>
42019
42020         * configure.in: Remove config-name.h generation.
42021         * configure: Regenerated.
42022         * config-name.in: File removed.
42023         * scripts/config-uname.sh: New file.
42024         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42025         ($(objdir)config-name.h): New target.
42026
42027         * sunrpc/rpc_parse.h: Avoid nested comment.
42028
42029 2010-08-24  Richard Henderson  <rth@redhat.com>
42030             Ulrich Drepper  <drepper@redhat.com>
42031             H.J. Lu  <hongjiu.lu@intel.com>
42032
42033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42035         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42036         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42037         _mm_alignr_epi8 with _mm_loadu_si128.
42038         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42039         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42040         (__m128i_shift_right): Removed.
42041         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42042         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42043         * sysdeps/x86_64/multiarch/varshift.h: New file.
42044         * sysdeps/x86_64/multiarch/varshift.S: New file.
42045
42046 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42047
42048         * configure.in: Move assembler checks to before sysdep dir checking.
42049
42050 2010-08-20  Petr Baudis  <pasky@suse.cz>
42051
42052         * LICENSES: Sync the sunrpc license.
42053
42054 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42055
42056         * sunrpc/auth_des.c: Update copyright notice once again.
42057         * sunrpc/auth_none.c: Likewise.
42058         * sunrpc/auth_unix.c: Likewise.
42059         * sunrpc/authdes_prot.c: Likewise.
42060         * sunrpc/authuxprot.c: Likewise.
42061         * sunrpc/bindrsvprt.c: Likewise.
42062         * sunrpc/clnt_gen.c: Likewise.
42063         * sunrpc/clnt_perr.c: Likewise.
42064         * sunrpc/clnt_raw.c: Likewise.
42065         * sunrpc/clnt_simp.c: Likewise.
42066         * sunrpc/clnt_tcp.c: Likewise.
42067         * sunrpc/clnt_udp.c: Likewise.
42068         * sunrpc/clnt_unix.c: Likewise.
42069         * sunrpc/des_crypt.c: Likewise.
42070         * sunrpc/des_soft.c: Likewise.
42071         * sunrpc/get_myaddr.c: Likewise.
42072         * sunrpc/getrpcport.c: Likewise.
42073         * sunrpc/key_call.c: Likewise.
42074         * sunrpc/key_prot.c: Likewise.
42075         * sunrpc/openchild.c: Likewise.
42076         * sunrpc/pm_getmaps.c: Likewise.
42077         * sunrpc/pm_getport.c: Likewise.
42078         * sunrpc/pmap_clnt.c: Likewise.
42079         * sunrpc/pmap_prot.c: Likewise.
42080         * sunrpc/pmap_prot2.c: Likewise.
42081         * sunrpc/pmap_rmt.c: Likewise.
42082         * sunrpc/rpc/auth.h: Likewise.
42083         * sunrpc/rpc/auth_unix.h: Likewise.
42084         * sunrpc/rpc/clnt.h: Likewise.
42085         * sunrpc/rpc/des_crypt.h: Likewise.
42086         * sunrpc/rpc/key_prot.h: Likewise.
42087         * sunrpc/rpc/netdb.h: Likewise.
42088         * sunrpc/rpc/pmap_clnt.h: Likewise.
42089         * sunrpc/rpc/pmap_prot.h: Likewise.
42090         * sunrpc/rpc/pmap_rmt.h: Likewise.
42091         * sunrpc/rpc/rpc.h: Likewise.
42092         * sunrpc/rpc/rpc_des.h: Likewise.
42093         * sunrpc/rpc/rpc_msg.h: Likewise.
42094         * sunrpc/rpc/svc.h: Likewise.
42095         * sunrpc/rpc/svc_auth.h: Likewise.
42096         * sunrpc/rpc/types.h: Likewise.
42097         * sunrpc/rpc/xdr.h: Likewise.
42098         * sunrpc/rpc_clntout.c: Likewise.
42099         * sunrpc/rpc_cmsg.c: Likewise.
42100         * sunrpc/rpc_common.c: Likewise.
42101         * sunrpc/rpc_cout.c: Likewise.
42102         * sunrpc/rpc_dtable.c: Likewise.
42103         * sunrpc/rpc_hout.c: Likewise.
42104         * sunrpc/rpc_main.c: Likewise.
42105         * sunrpc/rpc_parse.c: Likewise.
42106         * sunrpc/rpc_parse.h: Likewise.
42107         * sunrpc/rpc_prot.c: Likewise.
42108         * sunrpc/rpc_sample.c: Likewise.
42109         * sunrpc/rpc_scan.c: Likewise.
42110         * sunrpc/rpc_scan.h: Likewise.
42111         * sunrpc/rpc_svcout.c: Likewise.
42112         * sunrpc/rpc_tblout.c: Likewise.
42113         * sunrpc/rpc_util.c: Likewise.
42114         * sunrpc/rpc_util.h: Likewise.
42115         * sunrpc/rpcinfo.c: Likewise.
42116         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42117         * sunrpc/rpcsvc/key_prot.x: Likewise.
42118         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42119         * sunrpc/rpcsvc/mount.x: Likewise.
42120         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42121         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42122         * sunrpc/rpcsvc/rex.x: Likewise.
42123         * sunrpc/rpcsvc/rstat.x: Likewise.
42124         * sunrpc/rpcsvc/rusers.x: Likewise.
42125         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42126         * sunrpc/rpcsvc/spray.x: Likewise.
42127         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42128         * sunrpc/rtime.c: Likewise.
42129         * sunrpc/svc.c: Likewise.
42130         * sunrpc/svc_auth.c: Likewise.
42131         * sunrpc/svc_authux.c: Likewise.
42132         * sunrpc/svc_raw.c: Likewise.
42133         * sunrpc/svc_run.c: Likewise.
42134         * sunrpc/svc_simple.c: Likewise.
42135         * sunrpc/svc_tcp.c: Likewise.
42136         * sunrpc/svc_udp.c: Likewise.
42137         * sunrpc/svc_unix.c: Likewise.
42138         * sunrpc/svcauth_des.c: Likewise.
42139         * sunrpc/xcrypt.c: Likewise.
42140         * sunrpc/xdr.c: Likewise.
42141         * sunrpc/xdr_array.c: Likewise.
42142         * sunrpc/xdr_float.c: Likewise.
42143         * sunrpc/xdr_mem.c: Likewise.
42144         * sunrpc/xdr_rec.c: Likewise.
42145         * sunrpc/xdr_ref.c: Likewise.
42146         * sunrpc/xdr_sizeof.c: Likewise.
42147         * sunrpc/xdr_stdio.c: Likewise.
42148
42149         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42150         handling.
42151
42152 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42153
42154         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42155
42156 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42157
42158         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42159         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42160         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42161         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42162         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42163         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42165         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42168         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42169         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42170         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42171         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42172
42173 2010-07-26  Anton Blanchard  <anton@samba.org>
42174
42175         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42176         * malloc/arena.c (heap_trim): Likewise.
42177
42178 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42179
42180         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42181         here.  Not...
42182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42183         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42184
42185 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42186
42187         * sysdeps/i386/elf/Makefile: New file.
42188
42189 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42190
42191         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42192         from fanotify_init.
42193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42195
42196 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42197
42198         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42199         of strncasecmp_l.
42200         * sysdeps/multiarch/strcmp.S: Likewise.
42201
42202 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42203
42204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42205         strncase_l-nonascii.
42206         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42207         Add strncase_l-ssse3.
42208         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42209         * sysdeps/x86_64/strcmp.S: Likewise.
42210         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42211         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42212         * sysdeps/x86_64/strncase.S: New file.
42213         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42214         * sysdeps/x86_64/strncase_l.S: New file.
42215         * string/Makefile (strop-tests): Add strncasecmp.
42216         * string/test-strncasecmp.c: New file.
42217
42218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42219         warning.
42220
42221         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42222         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42223
42224 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42225
42226         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42227
42228 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42229
42230         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42232         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42233
42234 2010-05-01  Alan Modra  <amodra@gmail.com>
42235
42236         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42237         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42238         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42239         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42240         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42241         tidying.  Don't tail-call __sigjmp_save for static lib.
42242         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42243         save location.
42244         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42245         (CALL_MCOUNT): Add eh info, and nop after bl.
42246         (TAIL_CALL_SYSCALL_ERROR): New macro.
42247         (PSEUDO_RET): Use it.
42248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42249         Correct save location of integer regs and cr.
42250         (_dl_profile_resolve): Correct cr save location.  Delete nops
42251         after bl when SHARED.  Reduce cfi size a little by better
42252         placement of cfi directives.
42253         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42254         make a stack frame.  Instead use parm save area as a temp.
42255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42256         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42258         Don't make a stack frame for parent, use parm save area.
42259         Increase child stack frame to 112 bytes.  Don't save unused reg,
42260         and adjust reg usage.  Set up cfi on error recovery and
42261         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42263         (__makecontext): Add dummy nop after jump to exit.
42264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42265         Use correct parm save area and cr save, reduce stack frame.
42266         Correct cfi for possible PSEUDO_RET frame setup.
42267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42268         Branch to local label emitted by PSEUDO_RET rather than
42269         __syscall_error.
42270
42271 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42272
42273         [BZ #11904]
42274         * locale/programs/locale.c (print_assignment): New function.
42275         (show_locale_vars): Use it.
42276
42277 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42278
42279         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42280         field.
42281         (struct statfs64): Likewise.
42282         (_STATFS_F_FLAGS): Define.
42283         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42285         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42286         (ST_VALID): Define locally.
42287         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42288         __statvfs_getflags, use the provided value.
42289         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42290         __ASSUME_STATFS_F_FLAGS.
42291
42292         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42293
42294         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42295         Add sys/fanotify.h.
42296         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42297         fanotify_mask for GLIBC_2.13.
42298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42299         fanotify_init and fanotify_mark.
42300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42301         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42302
42303         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42304         Add prlimit.
42305         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42306         prlimit64 for GLIBC_2.13.
42307         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42308         prlimit64.
42309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42310         syscall.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42316         add prlimit alias.
42317         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42318
42319         [BZ #11903]
42320         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42321         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42322
42323         * nss/Makefile: Add rules to build and run tst-nss-test1.
42324         * shlib-versions: Add entry for libnss_test1.
42325         * nss/nss_test1.c: New file.
42326         * nss/tst-nss-test1.c: New file.
42327
42328         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42329         (__nss_configure_lookup): Set appropriate entry in
42330         __nss_configure_lookup to true.
42331         * nss/nsswitch.h: Define enum with indeces of databases in
42332         databases and __nss_database_custom arrays.  Declare
42333         __nss_database_custom.
42334         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42335         to avoid using nscd when custom rules are installed.
42336         * nss/getXXbyYY_r.c: Likewise.
42337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42338
42339         * nss/nss_files/files-parse.c: Whitespace fixes.
42340
42341 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42342
42343         [BZ #11883]
42344         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42345         * posix/fnmatch_loop.c: Likewise.
42346
42347 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42348
42349         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42350         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42351         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42352         * Versions.def [GLIBC_2.13]: Add.
42353
42354 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42355
42356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42357         Also fail if tpwd after pwuid call is NULL.
42358
42359 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42360
42361         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42362         when converting to ms.
42363
42364 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42365
42366         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42367         EOPNOTSUPP errors with ENOTTY.
42368         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42369         EOPNOTSUPP errors with ENOTTY.
42370
42371 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42372
42373         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42374         Add strcasecmp_l-ssse3.
42375         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42376         strcasecmp.
42377         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42378         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42379         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42380
42381 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42382
42383         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42384
42385         * string/Makefile (strop-tests): Add strcasecmp.
42386         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42387         strcasecmp_l-nonascii.
42388         (gen-as-const-headers): Add locale-defines.sym.
42389         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42390         * sysdeps/x86_64/strcasecmp.S: New file.
42391         * sysdeps/x86_64/strcasecmp_l.S: New file.
42392         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42393         * sysdeps/x86_64/locale-defines.sym: New file.
42394         * string/test-strcasecmp.c: New file.
42395
42396         * string/test-strcasestr.c: Test both ends of the range of characters.
42397         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42398
42399 2010-07-29  Roland McGrath  <roland@redhat.com>
42400
42401         [BZ #11856]
42402         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42403
42404 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42405
42406         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42407         for ld.so.
42408
42409 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42410
42411         * manual/memory.texi (Malloc Tunable Parameters): Document
42412         M_PERTURB.
42413
42414 2010-07-26  Roland McGrath  <roland@redhat.com>
42415
42416         [BZ #11840]
42417         * configure.in (-fgnu89-inline check): Set and substitute
42418         gnu89_inline, not libc_cv_gnu89_inline.
42419         * configure: Regenerated.
42420         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42421
42422 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42423
42424         * string/test-strnlen.c: New file.
42425         * string/Makefile (strop-tests): Add strnlen.
42426         * string/tester.c (test_strnlen): Add a few more test cases.
42427         * string/tst-strlen.c: Better error reporting.
42428
42429         * sysdeps/x86_64/strnlen.S: New file.
42430
42431 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42432
42433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42434         lower-latency instructions.
42435
42436 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42437
42438         * string/test-strcasestr.c: New file.
42439         * string/test-strstr.c: New file.
42440         * string/Makefile (strop-tests): Add strstr and strcasestr.
42441         * string/str-two-way.h: Don't undefine MAX.
42442         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42443
42444 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42445
42446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42447         strcasestr-nonascii.
42448         (CFLAGS-strcasestr-nonascii.c): Define.
42449         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42451         Remove unused attribute.
42452
42453 2010-07-20  Roland McGrath  <roland@redhat.com>
42454
42455         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42456         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42457         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42458         like LD_HWCAP_MASK can disable hwcaps.
42459
42460 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42461
42462         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42463
42464 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42465
42466         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42467         call in strcasestr.
42468         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42469         __strcasestr_sse42_nonascii.
42470         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42471         strcasestr-nonascii.c.
42472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42473
42474 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42475
42476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42480
42481 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42482
42483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42484         fcntl.
42485
42486 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42487
42488         [BZ #11577]
42489         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42490         dl_signal_cerror.
42491
42492 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42493
42494         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42495         _PC_PIPE_BUF using F_GETPIPE_SZ.
42496
42497 2010-07-05  Roland McGrath  <roland@redhat.com>
42498
42499         * manual/arith.texi (Rounding Functions): Fix rint description
42500         implicit in round description.
42501
42502 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42503
42504         * elf/Makefile: Fix linking for a few tests to make recent linker
42505         happy.
42506
42507 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42508
42509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42510         $(common-objpfx)libc_nonshared.a.
42511
42512 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42513
42514         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42515         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42516         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42517         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42518         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42519         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42521         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42536         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42537         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42538         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42539         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42540         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42541         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42542         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42543         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42544         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42545         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42546         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42547         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42562
42563 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42564
42565         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42566         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42567         * string/memmove.c (memmove): Renamed to ...
42568         (MEMMOVE): ...this.  Default to memmove.
42569         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42570         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42571         (END_CHK): Define.
42572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42573         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42574         mempcpy-ssse3-back memmove-ssse3-back.
42575         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42576         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42578         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42579         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42580         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42581         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42582         * sysdeps/x86_64/multiarch/memmove.c: New file.
42583         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42584         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42585         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42586         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42587         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42589         Define.
42590         (index_Fast_Copy_Backward): Define.
42591         (HAS_ARCH_FEATURE): Define.
42592         (HAS_FAST_REP_STRING): Define.
42593         (HAS_FAST_COPY_BACKWARD): Define.
42594
42595 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42596
42597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42598         Restore proper fallback handling.
42599
42600 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42601
42602         [BZ #11701]
42603         * posix/group_member.c (__group_member): Correct checking loop.
42604
42605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42606         OOM in getpwuid_r correctly.  Return error number when the caller
42607         should return, otherwise -1.
42608         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42609         call returning > 0 value.
42610         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42611
42612 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42613
42614         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42615         libc_nonshared.a from targets in modules-names.
42616
42617 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42618
42619         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42620         requires it.
42621
42622 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42623
42624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42625         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42628
42629 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42630
42631         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42632
42633 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42634
42635         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42636         and F_GETPIPE_SZ.
42637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42638         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42642         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42643
42644 2010-06-14  Roland McGrath  <roland@redhat.com>
42645
42646         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42647
42648 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42649
42650         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42651         __REDIRECT followed by __THROW.
42652         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42653         * posix/getopt.h (getopt): Likewise.
42654
42655 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42656
42657         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42658         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42659         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42660         in AT_FLAGS.
42661         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42662         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42663
42664 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42665
42666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42667
42668 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42669
42670         [BZ #11640]
42671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42672         Properly check family and model.
42673
42674 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42675
42676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42677
42678 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42679
42680         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42681
42682 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42683
42684         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42685         symbol reference.
42686
42687 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42688
42689         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42690         symbol reference.
42691
42692 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42693
42694         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42695         and internal_recvmmsg.
42696         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42697         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42698         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42699         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42700
42701         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42702         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42703         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42704
42705 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42706
42707         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42708
42709 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42710
42711         POWER7 optimizations.
42712         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42713         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42714
42715 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42716
42717         * version.h: Update for 2.13 development version.
42718
42719 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42720
42721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42722         exceptions.  Return 0.
42723
42724 2010-05-07  Roland McGrath  <roland@redhat.com>
42725
42726         * elf/ldconfig.c (main): Add a const.
42727
42728 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42729
42730         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42731         (args_options): Add no-idn option.
42732         (ahosts_keys_int): Add idn_flags to ai_flags.
42733         (parse_option): Handle 'i' option to clear idn_flags.
42734
42735         * malloc/malloc.c (_int_free): Possible race in the most recently
42736         added check.  Only act on the data if no current modification
42737         happened.
42738
42739 See ChangeLog.17 for earlier changes.