BZ #15536: Fix ulp for 128-bit IBM long double.
[glibc.git] / ChangeLog
blob91a183ad84652ca8460faf6987a7adf4d271d6a9
1 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3         [BZ #15536]
4         * math/libm-test.inc (MAX_EXP): Remove
5         (MIN_EXP): Define.
6         (ulp): Use MIN_EXP - MANT_DIG.
7         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11         * po/be.po: Revert last change.
12         * po/zh_CN.po: Likewise.
13         * po/header.pot: Likewise.
15 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18         link-libc-deps to empty as target-specific variable.
19         * Makerules (link-libc-args): New variable.
20         (libc-for-link): Likewise.
21         (link-libc-deps): Likewise.
22         (lib%.so): Depend on $(link-libc-deps).  Link with
23         $(link-libc-args).
24         (build-module): Link with $(link-libc-args).
25         (build-module-asneeded): Likewise.
26         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27         list of objects.
28         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29         target-specific variable.
30         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33         libc.
34         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35         libc and ld.so.
36         ($(objpfx)libpcprofile.so): Likewise.
37         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38         libc_nonshared.a.
39         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42         $(link-libc-deps).
43         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45         * login/Makefile ($(objpfx)libutil.so): Likewise.
46         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47         * math/Makefile ($(objpfx)libm.so): Likewise.
48         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50         variable instead of depending directly on libc.
51         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53         $(link-libc-deps).
54         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55         libc.
56         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58         ($(objpfx)libanl.so): Likewise.
59         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60         ld.so.
61         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62         $(link-libc-deps).
63         * sysdeps/i386/fpu/Makefile: Remove file.
64         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65         ($(objpfx)libm.so): Remove dependency on ld.so.
67 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
69         [BZ # 15553]
70         * nis/yp_xdr.c (XDRMAXNAME): Define.
71         (XDRMAXRECORD): Define.
72         (xdr_domainname): Use XDRMAXNAME.
73         (xdr_mapname): Likewise.
74         (xdr_peername): Likewise.
75         (xdr_keydat): Use XDRMAXRECORD.
76         (xdr_valdat): Likewise.
78 2013-05-30  Jeff Law  <law@redhat.com>
80         [BZ #14256]
81         * manual/errno.texi (ESTALE): Update to account for more than
82         just NFS file systems.
83         * sysdeps/gnu/errlist.c: Regenerated.
85 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
87         [BZ #15465]
88         * elf/Makefile (tests): Add tst-null-argv.
89         (modules-names):  Add tst-null-argv-lib.
90         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
91         (tst-null-argv-ENV): Set environment for tst-null-argv.
92         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
93         (RTLD_PROGNAME): New macro.
94         * elf/tst-null-argv.c: New test case.
95         * elf/tst-null-argv-lib.c: Library for test case.
96         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
97         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
98         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
99         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
100         * elf/dl-init.c (call_init): Likewise.
101         (_dl_init): Likewise.
102         * elf/dl-load.c (print_search_path): Likewise.
103         (_dl_map_object): Likewise.
104         * elf/dl-lookup.c (do_lookup_x): Likewise.
105         (add_dependency): Likewise.
106         (_dl_lookup_symbol_x): Likewise.
107         (_dl_debug_bindings): Likewise.
108         * elf/dl-open.c (_dl_show_scope): Likewise.
109         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
110         * elf/dl-version.c (match_symbol): Likewise.
111         (_dl_check_map_versions): Likewise.
112         * elf/rtld.c (dl_main): Likewise.
113         (print_unresolved): Use RTLD_PROGNAME.
114         (print_missing_version): Likewise.
115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
116         (elf_machine_rela): Likewise.
117         * sysdeps/powerpc/powerpc32/dl-machine.c
118         (__process_machine_rela): Likewise.
119         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
120         Likewise.
121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
122         Likewise.
123         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
124         Likewise.
125         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
126         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
127         Likewise.
128         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
129         Likewise.
130         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
132 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
134         * po/be.po: Add descriptive title.
135         * po/zh_CN.po: Likewise.
136         * po/header.pot: Likewise.
138 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
140         * locale/programs/locarchive.c (create_archive): Inlucde fname in
141         error message.
142         (enlarge_archive): Likewise.
144 2013-05-28  Ben North  <ben@redfrontdoor.org>
146         * manual/arith.texi (frexp): It is the magnitude of the return
147         value which lies in [0.5, 1), not the return value itself.
149 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
153 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
155         * stdio-common/bug26.c (main): Correct fscanf template.
157         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
158         declare _dl_skip_args.
160         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
161         Don't declare.
163         * manual/platform.texi: Add missing @end deftypefun.
165 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
167         [BZ #15529]
168         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
169         bit of mantissa of 2^16382.
170         * math/libm-test.inc (hypot_test_data): Add more tests.
172         * math/libm-test.inc: Add drem and pow10 to list of tested
173         functions.
174         (pow10_test): New function.
175         (drem_test): Likewise.
176         (drem_test_tonearest): Likewise.
177         (drem_test_towardzero): Likewise.
178         (drem_test_downward): Likewise.
179         (drem_test_upward): Likewise.
180         (main): Call the new functions.
182         * math/libm-test.inc (finite_test_data): Remove.
183         (finite_test): Run tests from isfinite_test_data.
184         (gamma_test_data): Remove.
185         (gamma_test): Run tests from lgamma_test_data.
186         * sysdeps/i386/fpu/libm-test-ulps: Update.
187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
189 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
191         * manual/platform.texi: Add PowerPC PPR function set documentation.
192         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
193         implementation.
195 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
197         * math/libm-test.inc (MAX_EXP): Define.
198         (ULPDIFF): Define.
199         (ulp): New function.
200         (check_float_internal): Use ULPDIFF.
201         (cpow_test): Disable failing test.
202         (check_ulp): Test ulp() implemetnation.
203         (main): Call check_ulp before starting tests.
205 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
207         * math/gen-libm-test.pl (generate_testfile): Do not handle
208         START_DATA and END_DATA.
209         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
210         END_DATA.
211         (acos_tonearest_test_data): Likewise.
212         (acos_towardzero_test_data): Likewise.
213         (acos_downward_test_data): Likewise.
214         (acos_upward_test_data): Likewise.
215         (acosh_test_data): Likewise.
216         (asin_test_data): Likewise.
217         (asin_tonearest_test_data): Likewise.
218         (asin_towardzero_test_data): Likewise.
219         (asin_downward_test_data): Likewise.
220         (asin_upward_test_data): Likewise.
221         (asinh_test_data): Likewise.
222         (atan_test_data): Likewise.
223         (atanh_test_data): Likewise.
224         (atan2_test_data): Likewise.
225         (cabs_test_data): Likewise.
226         (cacos_test_data): Likewise.
227         (cacosh_test_data): Likewise.
228         (carg_test_data): Likewise.
229         (casin_test_data): Likewise.
230         (casinh_test_data): Likewise.
231         (catan_test_data): Likewise.
232         (catanh_test_data): Likewise.
233         (cbrt_test_data): Likewise.
234         (ccos_test_data): Likewise.
235         (ccosh_test_data): Likewise.
236         (ceil_test_data): Likewise.
237         (cexp_test_data): Likewise.
238         (cimag_test_data): Likewise.
239         (clog_test_data): Likewise.
240         (clog10_test_data): Likewise.
241         (conj_test_data): Likewise.
242         (copysign_test_data): Likewise.
243         (cos_test_data): Likewise.
244         (cos_tonearest_test_data): Likewise.
245         (cos_towardzero_test_data): Likewise.
246         (cos_downward_test_data): Likewise.
247         (cos_upward_test_data): Likewise.
248         (cosh_test_data): Likewise.
249         (cosh_tonearest_test_data): Likewise.
250         (cosh_towardzero_test_data): Likewise.
251         (cosh_downward_test_data): Likewise.
252         (cosh_upward_test_data): Likewise.
253         (cpow_test_data): Likewise.
254         (cproj_test_data): Likewise.
255         (creal_test_data): Likewise.
256         (csin_test_data): Likewise.
257         (csinh_test_data): Likewise.
258         (csqrt_test_data): Likewise.
259         (ctan_test_data): Likewise.
260         (ctan_tonearest_test_data): Likewise.
261         (ctan_towardzero_test_data): Likewise.
262         (ctan_downward_test_data): Likewise.
263         (ctan_upward_test_data): Likewise.
264         (ctanh_test_data): Likewise.
265         (ctanh_tonearest_test_data): Likewise.
266         (ctanh_towardzero_test_data): Likewise.
267         (ctanh_downward_test_data): Likewise.
268         (ctanh_upward_test_data): Likewise.
269         (erf_test_data): Likewise.
270         (erfc_test_data): Likewise.
271         (exp_test_data): Likewise.
272         (exp_tonearest_test_data): Likewise.
273         (exp_towardzero_test_data): Likewise.
274         (exp_downward_test_data): Likewise.
275         (exp_upward_test_data): Likewise.
276         (exp10_test_data): Likewise.
277         (exp2_test_data): Likewise.
278         (expm1_test_data): Likewise.
279         (fabs_test_data): Likewise.
280         (fdim_test_data): Likewise.
281         (finite_test_data): Likewise.
282         (floor_test_data): Likewise.
283         (fma_test_data): Likewise.
284         (fma_towardzero_test_data): Likewise.
285         (fma_downward_test_data): Likewise.
286         (fma_upward_test_data): Likewise.
287         (fmax_test_data): Likewise.
288         (fmin_test_data): Likewise.
289         (fmod_test_data): Likewise.
290         (fpclassify_test_data): Likewise.
291         (frexp_test_data): Likewise.
292         (gamma_test_data): Likewise.
293         (hypot_test_data): Likewise.
294         (ilogb_test_data): Likewise.
295         (isfinite_test_data): Likewise.
296         (isgreater_test_data): Likewise.
297         (isgreaterequal_test_data): Likewise.
298         (isinf_test_data): Likewise.
299         (isless_test_data): Likewise.
300         (islessequal_test_data): Likewise.
301         (islessgreater_test_data): Likewise.
302         (isnan_test_data): Likewise.
303         (isnormal_test_data): Likewise.
304         (issignaling_test_data): Likewise.
305         (isunordered_test_data): Likewise.
306         (j0_test_data): Likewise.
307         (j1_test_data): Likewise.
308         (jn_test_data): Likewise.
309         (ldexp_test_data): Likewise.
310         (lgamma_test_data): Likewise.
311         (lrint_test_data): Likewise.
312         (lrint_tonearest_test_data): Likewise.
313         (lrint_towardzero_test_data): Likewise.
314         (lrint_downward_test_data): Likewise.
315         (lrint_upward_test_data): Likewise.
316         (llrint_test_data): Likewise.
317         (llrint_tonearest_test_data): Likewise.
318         (llrint_towardzero_test_data): Likewise.
319         (llrint_downward_test_data): Likewise.
320         (llrint_upward_test_data): Likewise.
321         (log_test_data): Likewise.
322         (log10_test_data): Likewise.
323         (log1p_test_data): Likewise.
324         (log2_test_data): Likewise.
325         (logb_test_data): Likewise.
326         (logb_downward_test_data): Likewise.
327         (lround_test_data): Likewise.
328         (llround_test_data): Likewise.
329         (modf_test_data): Likewise.
330         (nearbyint_test_data): Likewise.
331         (nextafter_test_data): Likewise.
332         (nexttoward_test_data): Likewise.
333         (pow_test_data): Likewise.
334         (pow_tonearest_test_data): Likewise.
335         (pow_towardzero_test_data): Likewise.
336         (pow_downward_test_data): Likewise.
337         (pow_upward_test_data): Likewise.
338         (remainder_test_data): Likewise.
339         (remainder_tonearest_test_data): Likewise.
340         (remainder_towardzero_test_data): Likewise.
341         (remainder_downward_test_data): Likewise.
342         (remainder_upward_test_data): Likewise.
343         (remquo_test_data): Likewise.
344         (rint_test_data): Likewise.
345         (rint_tonearest_test_data): Likewise.
346         (rint_towardzero_test_data): Likewise.
347         (rint_downward_test_data): Likewise.
348         (rint_upward_test_data): Likewise.
349         (round_test_data): Likewise.
350         (scalb_test_data): Likewise.
351         (scalbn_test_data): Likewise.
352         (scalbln_test_data): Likewise.
353         (signbit_test_data): Likewise.
354         (sin_test_data): Likewise.
355         (sin_tonearest_test_data): Likewise.
356         (sin_towardzero_test_data): Likewise.
357         (sin_downward_test_data): Likewise.
358         (sin_upward_test_data): Likewise.
359         (sincos_test_data): Likewise.
360         (sinh_test_data): Likewise.
361         (sinh_tonearest_test_data): Likewise.
362         (sinh_towardzero_test_data): Likewise.
363         (sinh_downward_test_data): Likewise.
364         (sinh_upward_test_data): Likewise.
365         (sqrt_test_data): Likewise.
366         (tan_test_data): Likewise.
367         (tan_tonearest_test_data): Likewise.
368         (tan_towardzero_test_data): Likewise.
369         (tan_downward_test_data): Likewise.
370         (tan_upward_test_data): Likewise.
371         (tanh_test_data): Likewise.
372         (tgamma_test_data): Likewise.
373         (trunc_test_data): Likewise.
374         (y0_test_data): Likewise.
375         (y1_test_data): Likewise.
376         (yn_test_data): Likewise.
377         (significand_test_data): Likewise.
379         * math/gen-libm-test.pl (@functions): Remove variable.
380         (generate_testfile): Don't handle START and END lines.
381         * math/libm-test.inc (START): New macro.
382         (END): Likewise.
383         (END_COMPLEX): Likewise.
384         (acos_test): Use END macro without arguments.
385         (acos_test_tonearest): Likewise.
386         (acos_test_towardzero): Likewise.
387         (acos_test_downward): Likewise.
388         (acos_test_upward): Likewise.
389         (acosh_test): Likewise.
390         (asin_test): Likewise.
391         (asin_test_tonearest): Likewise.
392         (asin_test_towardzero): Likewise.
393         (asin_test_downward): Likewise.
394         (asin_test_upward): Likewise.
395         (asinh_test): Likewise.
396         (atan_test): Likewise.
397         (atanh_test): Likewise.
398         (atan2_test): Likewise.
399         (cabs_test): Likewise.
400         (cacos_test): Use END_COMPLEX macro without arguments.
401         (cacosh_test): Likewise.
402         (carg_test): Use END macro without arguments.
403         (casin_test): Use END_COMPLEX macro without arguments.
404         (casinh_test): Likewise.
405         (catan_test): Likewise.
406         (catanh_test): Likewise.
407         (cbrt_test): Use END macro without arguments.
408         (ccos_test): Use END_COMPLEX macro without arguments.
409         (ccosh_test): Likewise.
410         (ceil_test): Use END macro without arguments.
411         (cexp_test): Use END_COMPLEX macro without arguments.
412         (cimag_test): Use END macro without arguments.
413         (clog_test): Use END_COMPLEX macro without arguments.
414         (clog10_test): Likewise.
415         (conj_test): Likewise.
416         (copysign_test): Use END macro without arguments.
417         (cos_test): Likewise.
418         (cos_test_tonearest): Likewise.
419         (cos_test_towardzero): Likewise.
420         (cos_test_downward): Likewise.
421         (cos_test_upward): Likewise.
422         (cosh_test): Likewise.
423         (cosh_test_tonearest): Likewise.
424         (cosh_test_towardzero): Likewise.
425         (cosh_test_downward): Likewise.
426         (cosh_test_upward): Likewise.
427         (cpow_test): Use END_COMPLEX macro without arguments.
428         (cproj_test): Likewise.
429         (creal_test): Use END macro without arguments.
430         (csin_test): Use END_COMPLEX macro without arguments.
431         (csinh_test): Likewise.
432         (csqrt_test): Likewise.
433         (ctan_test): Likewise.
434         (ctan_test_tonearest): Likewise.
435         (ctan_test_towardzero): Likewise.
436         (ctan_test_downward): Likewise.
437         (ctan_test_upward): Likewise.
438         (ctanh_test): Likewise.
439         (ctanh_test_tonearest): Likewise.
440         (ctanh_test_towardzero): Likewise.
441         (ctanh_test_downward): Likewise.
442         (ctanh_test_upward): Likewise.
443         (erf_test): Use END macro without arguments.
444         (erfc_test): Likewise.
445         (exp_test): Likewise.
446         (exp_test_tonearest): Likewise.
447         (exp_test_towardzero): Likewise.
448         (exp_test_downward): Likewise.
449         (exp_test_upward): Likewise.
450         (exp10_test): Likewise.
451         (exp2_test): Likewise.
452         (expm1_test): Likewise.
453         (fabs_test): Likewise.
454         (fdim_test): Likewise.
455         (finite_test): Likewise.
456         (floor_test): Likewise.
457         (fma_test): Likewise.
458         (fma_test_towardzero): Likewise.
459         (fma_test_downward): Likewise.
460         (fma_test_upward): Likewise.
461         (fmax_test): Likewise.
462         (fmin_test): Likewise.
463         (fmod_test): Likewise.
464         (fpclassify_test): Likewise.
465         (frexp_test): Likewise.
466         (gamma_test): Likewise.
467         (hypot_test): Likewise.
468         (ilogb_test): Likewise.
469         (isfinite_test): Likewise.
470         (isgreater_test): Likewise.
471         (isgreaterequal_test): Likewise.
472         (isinf_test): Likewise.
473         (isless_test): Likewise.
474         (islessequal_test): Likewise.
475         (islessgreater_test): Likewise.
476         (isnan_test): Likewise.
477         (isnormal_test): Likewise.
478         (issignaling_test): Likewise.
479         (isunordered_test): Likewise.
480         (j0_test): Likewise.
481         (j1_test): Likewise.
482         (jn_test): Likewise.
483         (ldexp_test): Likewise.
484         (lgamma_test): Likewise.
485         (lrint_test): Likewise.
486         (lrint_test_tonearest): Likewise.
487         (lrint_test_towardzero): Likewise.
488         (lrint_test_downward): Likewise.
489         (lrint_test_upward): Likewise.
490         (llrint_test): Likewise.
491         (llrint_test_tonearest): Likewise.
492         (llrint_test_towardzero): Likewise.
493         (llrint_test_downward): Likewise.
494         (llrint_test_upward): Likewise.
495         (log_test): Likewise.
496         (log10_test): Likewise.
497         (log1p_test): Likewise.
498         (log2_test): Likewise.
499         (logb_test): Likewise.
500         (logb_test_downward): Likewise.
501         (lround_test): Likewise.
502         (llround_test): Likewise.
503         (modf_test): Likewise.
504         (nearbyint_test): Likewise.
505         (nextafter_test): Likewise.
506         (nexttoward_test): Likewise.
507         (pow_test): Likewise.
508         (pow_test_tonearest): Likewise.
509         (pow_test_towardzero): Likewise.
510         (pow_test_downward): Likewise.
511         (pow_test_upward): Likewise.
512         (remainder_test): Likewise.
513         (remainder_test_tonearest): Likewise.
514         (remainder_test_towardzero): Likewise.
515         (remainder_test_downward): Likewise.
516         (remainder_test_upward): Likewise.
517         (remquo_test): Likewise.
518         (rint_test): Likewise.
519         (rint_test_tonearest): Likewise.
520         (rint_test_towardzero): Likewise.
521         (rint_test_downward): Likewise.
522         (rint_test_upward): Likewise.
523         (round_test): Likewise.
524         (scalb_test): Likewise.
525         (scalbn_test): Likewise.
526         (scalbln_test): Likewise.
527         (signbit_test): Likewise.
528         (sin_test): Likewise.
529         (sin_test_tonearest): Likewise.
530         (sin_test_towardzero): Likewise.
531         (sin_test_downward): Likewise.
532         (sin_test_upward): Likewise.
533         (sincos_test): Likewise.
534         (sinh_test): Likewise.
535         (sinh_test_tonearest): Likewise.
536         (sinh_test_towardzero): Likewise.
537         (sinh_test_downward): Likewise.
538         (sinh_test_upward): Likewise.
539         (sqrt_test): Likewise.
540         (tan_test): Likewise.
541         (tan_test_tonearest): Likewise.
542         (tan_test_towardzero): Likewise.
543         (tan_test_downward): Likewise.
544         (tan_test_upward): Likewise.
545         (tanh_test): Likewise.
546         (tgamma_test): Likewise.
547         (trunc_test): Likewise.
548         (y0_test): Likewise.
549         (y1_test): Likewise.
550         (yn_test): Likewise.
551         (significand_test): Likewise.
553 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
555         [BZ #15381]
556         * libio/genops.c (_IO_no_init): Initialize wide struct info.
558 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
560         [BZ #14894]
561         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
562         __ppc_mdoio and __ppc_mdoom.
563         * manual/platform.texi: Document new functions __ppc_yield,
564         __ppc_mdoio and __ppc_mdoom.
566 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
568         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
569         (main): Mention "tls" pseudo-hwcap is legacy.
570         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
572 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
574         * math/gen-libm-test.pl (parse_args): Output only string of
575         arguments as text for test name, not full call or descriptions of
576         tests for extra outputs.
577         (generate_testfile): Do not pass function name to parse_args.
578         Generate this_func variable from START.
579         * math/libm-test.inc (struct test_f_f_data): Rename test_name
580         field to arg_str.
581         (struct test_ff_f_data): Likewise.
582         (test_ff_f_data_nexttoward): Likewise.
583         (struct test_fi_f_data): Likewise.
584         (struct test_fl_f_data): Likewise.
585         (struct test_if_f_data): Likewise.
586         (struct test_fff_f_data): Likewise.
587         (struct test_c_f_data): Likewise.
588         (struct test_f_f1_data): Likewise.  Remove field extra_name.
589         (struct test_fF_f1_data): Likewise.
590         (struct test_ffI_f1_data): Likewise.
591         (struct test_c_c_data): Rename test_name field to arg_str.
592         (struct test_cc_c_data): Likewise.
593         (struct test_f_i_data): Likewise.
594         (struct test_ff_i_data): Likewise.
595         (struct test_f_l_data): Likewise.
596         (struct test_f_L_data): Likewise.
597         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
598         and extra2_name.
599         (COMMON_TEST_SETUP): New macro.
600         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
601         (COMMON_TEST_CLEANUP): Likewise.
602         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
603         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
604         macros.
605         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
606         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
607         macros.
608         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
609         (RUN_TEST_fff_f): Take argument string.  Call new setup and
610         cleanup macros.
611         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
612         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
613         macros.
614         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
615         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
616         macros.
617         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
618         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
619         cleanup macros.
620         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
621         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
622         cleanup macros.
623         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
624         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
625         cleanup macros.
626         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
627         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
628         macros.
629         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
630         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
631         macros.
632         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
633         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
634         macros.
635         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
636         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
637         cleanup macros.
638         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
639         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
640         cleanup macros.
641         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
642         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
643         macros.
644         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
645         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
646         cleanup macros.
647         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
648         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
649         macros.
650         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
651         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
652         macros.
653         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
654         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
655         cleanup macros.
656         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
658 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
660         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
661         to _sifields.sigfault.
662         (si_addr_lsb): Define new macro.
663         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
665         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
667 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
669         [BZ #15441]
670         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
671         returns -1.
672         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
673         null return -1.
674         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
675         loading the domain.
677 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
679         * math/gen-libm-test.pl (parse_args): Do not include expected
680         result in test name.
681         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
682         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
683         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
684         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
685         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
688 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
690         * benchtests/Makefile: Sort function entries.
692         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
693         tanh, asinh, acosh, atanh.
694         * benchtests/acos-inputs: New file.
695         * benchtests/acosh-inputs: New file.
696         * benchtests/asin-inputs: New file.
697         * benchtests/asinh-inputs: New file.
698         * benchtests/atanh-inputs: New file.
699         * benchtests/cosh-inputs: New file.
700         * benchtests/log-inputs: New file.
701         * benchtests/sinh-inputs: New file.
702         * benchtests/tanh-inputs: New file.
704 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
706         [BZ #15339]
707         * posix/tst-getaddrinfo4.c: New test.
708         * posix/Makefile (tests): Add it.
710 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
712         [BZ #15339]
713         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
714         when no services were used.
715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
716         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
718 2013-05-21  Andreas Schwab  <schwab@suse.de>
720         [BZ #15014]
721         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
722         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
723         successful.
724         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
725         redundant variable declarations and reallocation of buffer when
726         parsing as IPv6 address.  Always set NSS status when called from
727         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
728         buffer too small.  Correct computation of needed size.
729         * nss/Makefile (tests): Add test-digits-dots.
730         * nss/test-digits-dots.c: New test.
732 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
734         * benchtests/Makefile: Remove instructions for adding
735         benchmark tests.
736         * benchtests/README: New file to explain how to execute and
737         enhance the benchmark tests.
739 2013-05-21  Andreas Schwab  <schwab@suse.de>
741         [BZ #15493]
742         * setjmp/Makefile (tests): Add tst-sigsetjmp.
743         * setjmp/tst-sigsetjmp.c: New test.
745 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
747         * sysdeps/x86_64/memset.S (memset): New implementation.
748         (__bzero): Likewise.
749         (__memset_tail): New function.
751 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
753         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
754         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
755         __memcpy_sse2_unaligned ifunc selection.
756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
757         Add memcpy-sse2-unaligned.S.
758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
759         Add: __memcpy_sse2_unaligned.
761 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
763         [BZ #15490]
764         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
765         math_force_eval before restoring floating-point envrionment.
766         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
767         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
768         Likewise.
769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
770         <math_private.h>.
771         (__nearbyintl): Use math_force_eval before restoring
772         floating-point environment.
773         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
775         * math/gen-libm-test.pl (special_functions): Remove.
776         (parse_args): Don't handle TEST_extra.  Handle functions with no
777         return value.
778         * math/libm-test.inc (struct test_sincos_data): Replace with
779         struct test_fFF_11_data.
780         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
781         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
782         (sincos_test_data): Change element type to struct
783         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
784         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
785         RUN_TEST_LOOP_sincos.
786         * math/README.libm-test: Don't mention special handling of
787         individual functions.
788         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
789         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
790         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
791         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
792         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795         * math/gen-libm-test.pl (get_variable): Remove function.
796         (parse_args): Don't show pointer parameters to call in test
797         names.  Use "extra output N" in test names for extra outputs
798         rather than naming variables.
800 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
802         [BZ #15488]
803         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
804         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
805         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
806         double tests.
807         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
808         disable.
809         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
810         check_long_double.
812         * math/gen-libm-test.pl (@tests): Remove variable.
813         ($count): Likewise.
814         (new_test): Remove function.
815         (show_exceptions): New function.
816         (special_functions): Use show_exceptions instead of new_test.
817         (parse_args): Likewise.
818         (generate_testfile): Pass only function name in generated call to
819         print_max_error or print_complex_max_error.
820         (get_ulps): Do not handle complex tests specially.
821         (output_test): Rename to ...
822         (get_all_ulps_for_test): ... this.  Return a string rather than
823         printing to a file.  Require ulps to be present.
824         (output_ulps): Generate arrays rather than #defines.
825         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
826         (struct ulp_data): New type.
827         (BUILD_COMPLEX_ULP): Remove macro.
828         (compare_ulp_data): New function.
829         (find_ulps): Likewise.
830         (find_test_ulps): Likewise.
831         (find_function_ulps): Likewise.
832         (find_complex_function_ulps): Likewise.
833         (print_max_error): Determine allowed ulps using
834         find_function_ulps.
835         (print_complex_max_error): Determine allowed ulps using
836         find_complex_function_ulps.
837         (check_float_internal): Determine max ulps using find_test_ulps.
838         (check_float): Do not take max_ulp parameter.  Update call to
839         check_float_internal.
840         (check_complex): Likewise.
841         (check_int): Do not take max_ulp parameter.
842         (check_long): Likewise.
843         (check_bool): Likewise.
844         (check_longlong): Likewise.
845         (struct test_f_f_data): Remove max_ulp field.
846         (struct test_ff_f_data): Likewise.
847         (struct test_ff_f_data_nexttoward): Likewise.
848         (struct test_fi_f_data): Likewise.
849         (struct test_fl_f_data): Likewise.
850         (struct test_if_f_data): Likewise.
851         (struct test_fff_f_data): Likewise.
852         (struct test_c_f_data): Likewise.
853         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
854         (struct test_fF_f1_data): Likewise.
855         (struct test_ffI_f1_data): Likewise.
856         (struct test_c_c_data): Remove max_ulp field.
857         (struct test_cc_c_data): Likewise.
858         (struct test_f_i_data): Likewise.
859         (struct test_ff_i_data): Likewise.
860         (struct test_f_l_data): Likewise.
861         (struct test_f_L_data): Likewise.
862         (struct test_sincos_data): Likewise.
863         (RUN_TEST_f_f): Do not handle ulps.
864         (RUN_TEST_LOOP_f_f): Likewise.
865         (RUN_TEST_2_f): Likewise.
866         (RUN_TEST_LOOP_2_f): Likewise.
867         (RUN_TEST_fff_f): Likewise.
868         (RUN_TEST_LOOP_fff_f): Likewise.
869         (RUN_TEST_c_f): Likewise.
870         (RUN_TEST_LOOP_c_f): Likewise.
871         (RUN_TEST_f_f1): Likewise.
872         (RUN_TEST_LOOP_f_f1): Likewise.
873         (RUN_TEST_fF_f1): Likewise.
874         (RUN_TEST_LOOP_fF_f1): Likewise.
875         (RUN_TEST_fI_f1): Likewise.
876         (RUN_TEST_LOOP_fI_f1): Likewise.
877         (RUN_TEST_ffI_f1): Likewise.
878         (RUN_TEST_LOOP_ffI_f1): Likewise.
879         (RUN_TEST_c_c): Likewise.
880         (RUN_TEST_LOOP_c_c): Likewise.
881         (RUN_TEST_cc_c): Likewise.
882         (RUN_TEST_LOOP_cc_c): Likewise.
883         (RUN_TEST_f_i): Likewise.
884         (RUN_TEST_LOOP_f_i): Likewise.
885         (RUN_TEST_f_i_tg): Likewise.
886         (RUN_TEST_LOOP_f_i_tg): Likewise.
887         (RUN_TEST_ff_i_tg): Likewise.
888         (RUN_TEST_LOOP_ff_i_tg): Likewise.
889         (RUN_TEST_f_b): Likewise.
890         (RUN_TEST_LOOP_f_b): Likewise.
891         (RUN_TEST_f_b_tg): Likewise.
892         (RUN_TEST_LOOP_f_b_tg): Likewise.
893         (RUN_TEST_f_l): Likewise.
894         (RUN_TEST_LOOP_f_l): Likewise.
895         (RUN_TEST_f_L): Likewise.
896         (RUN_TEST_LOOP_f_L): Likewise.
897         (RUN_TEST_sincos): Likewise.
898         (RUN_TEST_LOOP_sincos): Likewise.
900 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
902         [BZ #15480]
903         [BZ #15485]
904         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
905         main case of finite arguments, set rounding mode to FE_TONEAREST
906         and discard exceptions.
907         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
908         exceptions.
909         (remainder_tonearest_test_data): New variable.
910         (remainder_test_tonearest): New function.
911         (remainder_towardzero_test_data): New variable.
912         (remainder_test_towardzero): New function.
913         (remainder_downward_test_data): New variable.
914         (remainder_test_downward): New function.
915         (remainder_upward_test_data): New variable.
916         (remainder_test_upward): New function.
917         (main): Call the new test functions.
919         * math/libm-test.inc (struct test_f_f1_data): Remove field
920         extra_init.
921         (struct test_fF_f1_data): Likewise.
922         (struct test_ffI_f1_data): Likewise.
923         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
924         based on value of EXTRA_EXPECTED.
925         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
926         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
927         EXTRA_VAR based on value of EXTRA_EXPECTED.
928         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
929         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
930         EXTRA_VAR based on value of EXTRA_EXPECTED.
931         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
932         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
933         EXTRA_VAR based on value of EXTRA_EXPECTED.
934         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
935         * math/gen-libm-test.pl (parse_args): Don't output initializers
936         for extra output values.
938         * math/libm-test.inc (check_int): Expect result to be exactly
939         equal to expected value and do not handle ulps.
940         (check_long): Likewise.
941         (check_longlong): Likewise.
943         * math/libm-test.inc (ceil_test_data): Test for "inexact"
944         exceptions.
945         (cimag_test_data): Likewise.
946         (conj_test_data): Likewise.
947         (copysign_test_data): Likewise.
948         (cproj_test_data): Likewise.
949         (creal_test_data): Likewise.
950         (fabs_test_data): Likewise.
951         (fdim_test_data): Likewise.
952         (finite_test_data): Likewise.
953         (floor_test_data): Likewise.
954         (fmax_test_data): Likewise.
955         (fmin_test_data): Likewise.
956         (fmod_test_data): Likewise.
957         (fpclassify_test_data): Likewise.
958         (frexp_test_data): Likewise.
959         (ilogb_test_data): Likewise.
960         (isfinite_test_data): Likewise.
961         (isgreater_test_data): Likewise.
962         (isgreaterequal_test_data): Likewise.
963         (isinf_test_data): Likewise.
964         (isless_test_data): Likewise.
965         (islessequal_test_data): Likewise.
966         (islessgreater_test_data): Likewise.
967         (isnan_test_data): Likewise.
968         (isnormal_test_data): Likewise.
969         (issignaling_test_data): Likewise.
970         (isunordered_test_data): Likewise.
971         (ldexp_test_data): Likewise.
972         (lrint_test_data): Likewise.
973         (lrint_test_data) [TEST_FLOAT]: Disable one test.
974         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
975         (lrint_tonearest_test_data): Test for "inexact" exceptions.
976         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
977         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
978         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
979         test input.
980         (lrint_towardzero_test_data): Test for "inexact" exceptions.
981         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
982         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
983         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
984         that test input.
985         (lrint_downward_test_data): Test for "inexact" exceptions.
986         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
987         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
988         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
989         test input.
990         (lrint_upward_test_data): Test for "inexact" exceptions.
991         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
992         test input.
993         (llrint_test_data): Test for "inexact" exceptions.
994         (llrint_test_data) [TEST_FLOAT]: Disable one test.
995         (llrint_tonearest_test_data): Test for "inexact" exceptions.
996         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
997         (llrint_towardzero_test_data): Test for "inexact" exceptions.
998         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
999         (llrint_downward_test_data): Test for "inexact" exceptions.
1000         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1001         (llrint_upward_test_data): Test for "inexact" exceptions.
1002         (logb_test_data): Likewise.
1003         (logb_downward_test_data): Likewise.
1004         (nextafter_test_data): Likewise.
1005         (nexttoward_test_data): Likewise.
1006         (remainder_test_data): Likewise.
1007         (remquo_test_data): Likewise.
1008         (scalbn_test_data): Likewise.
1009         (scalbln_test_data): Likewise.
1010         (signbit_test_data): Likewise.
1011         (sqrt_test_data): Likewise.
1012         (significand_test_data): Likewise.
1014 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1016         [BZ #15424]
1017         * benchtests/bench-modf.c (struct args): Mark arg0 as
1018         volatile.
1019         * scripts/bench.pl: Mark members of struct args as volatile.
1021 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1023         [BZ # 15497]
1024         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1025         negative infinity on POWER6 or lower.
1026         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1028 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1030         [BZ #15442]
1031         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1032         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1033         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1034         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1035         (_FP_SETQNAN): New macro.
1036         (_FP_SETQNAN_SEMIRAW): Likewise.
1037         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1038         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1039         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1040         (FP_EXTEND): Use _FP_FRAC_SNANP.
1041         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1042         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1043         into account.
1044         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1045         New macro.
1046         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1047         Likewise.
1049 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1051         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1052         with DIVIDE_BY_ZERO_EXCEPTION.
1053         (gamma_test_data): Likewise.
1054         (lgamma_test_data): Likewise.
1055         (log_test_data): Likewise.
1056         (log10_test_data): Likewise.
1057         (log2_test_data): Likewise.
1058         (tgamma_test_data): Likewise.
1060         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1061         (acos_test_tonearest): Likewise.
1062         (acos_test_towardzero): Likewise.
1063         (acos_test_downward): Likewise.
1064         (acos_test_upward): Likewise.
1065         (acosh_test): Likewise.
1066         (asin_test): Likewise.
1067         (asin_test_tonearest): Likewise.
1068         (asin_test_towardzero): Likewise.
1069         (asin_test_downward): Likewise.
1070         (asin_test_upward): Likewise.
1071         (asinh_test): Likewise.
1072         (atan_test): Likewise.
1073         (atanh_test): Likewise.
1074         (atan2_test): Likewise.
1075         (cabs_test): Likewise.
1076         (cacos_test): Likewise.
1077         (cacosh_test): Likewise.
1078         (casin_test): Likewise.
1079         (casinh_test): Likewise.
1080         (catan_test): Likewise.
1081         (catanh_test): Likewise.
1082         (cbrt_test): Likewise.
1083         (ccos_test): Likewise.
1084         (ccosh_test): Likewise.
1085         (cexp_test): Likewise.
1086         (clog_test): Likewise.
1087         (clog10_test): Likewise.
1088         (cos_test): Likewise.
1089         (cos_test_tonearest): Likewise.
1090         (cos_test_towardzero): Likewise.
1091         (cos_test_downward): Likewise.
1092         (cos_test_upward): Likewise.
1093         (cosh_test): Likewise.
1094         (cosh_test_tonearest): Likewise.
1095         (cosh_test_towardzero): Likewise.
1096         (cosh_test_downward): Likewise.
1097         (cosh_test_upward): Likewise.
1098         (cpow_test): Likewise.
1099         (csin_test): Likewise.
1100         (csinh_test): Likewise.
1101         (csqrt_test): Likewise.
1102         (ctan_test): Likewise.
1103         (ctan_test_tonearest): Likewise.
1104         (ctan_test_towardzero): Likewise.
1105         (ctan_test_downward): Likewise.
1106         (ctan_test_upward): Likewise.
1107         (ctanh_test): Likewise.
1108         (ctanh_test_tonearest): Likewise.
1109         (ctanh_test_towardzero): Likewise.
1110         (ctanh_test_downward): Likewise.
1111         (ctanh_test_upward): Likewise.
1112         (erf_test): Likewise.
1113         (erfc_test): Likewise.
1114         (exp_test): Likewise.
1115         (exp_test_tonearest): Likewise.
1116         (exp_test_towardzero): Likewise.
1117         (exp_test_downward): Likewise.
1118         (exp_test_upward): Likewise.
1119         (exp10_test): Likewise.
1120         (exp2_test): Likewise.
1121         (expm1_test): Likewise.
1122         (fmod_test): Likewise.
1123         (gamma_test): Likewise.
1124         (hypot_test): Likewise.
1125         (j0_test): Likewise.
1126         (j1_test): Likewise.
1127         (jn_test): Likewise.
1128         (lgamma_test): Likewise.
1129         (log_test): Likewise.
1130         (log10_test): Likewise.
1131         (log1p_test): Likewise.
1132         (log2_test): Likewise.
1133         (logb_test_downward): Likewise.
1134         (pow_test): Likewise.
1135         (pow_test_tonearest): Likewise.
1136         (pow_test_towardzero): Likewise.
1137         (pow_test_downward): Likewise.
1138         (pow_test_upward): Likewise.
1139         (remainder_test): Likewise.
1140         (remquo_test): Likewise.
1141         (sin_test): Likewise.
1142         (sin_test_tonearest): Likewise.
1143         (sin_test_towardzero): Likewise.
1144         (sin_test_downward): Likewise.
1145         (sin_test_upward): Likewise.
1146         (sincos_test): Likewise.
1147         (sinh_test): Likewise.
1148         (sinh_test_tonearest): Likewise.
1149         (sinh_test_towardzero): Likewise.
1150         (sinh_test_downward): Likewise.
1151         (sinh_test_upward): Likewise.
1152         (sqrt_test): Likewise.
1153         (tan_test): Likewise.
1154         (tan_test_tonearest): Likewise.
1155         (tan_test_towardzero): Likewise.
1156         (tan_test_downward): Likewise.
1157         (tan_test_upward): Likewise.
1158         (tanh_test): Likewise.
1159         (tgamma_test): Likewise.
1160         (y0_test): Likewise.
1161         (y1_test): Likewise.
1162         (yn_test): Likewise.
1164         * math/gen-libm-test.pl (adjust_arg): Remove function.
1165         (special_function): Remove argument $in_func.  Only handle
1166         generating output for tables of tests, not inside functions.
1167         (parse_args): Likewise.
1168         (generate_testfile): Remove variable $in_func.  Update call to
1169         parse_args.
1170         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1171         (MINUS_ZERO_INIT): Rename macro to minus_zero.
1172         (PLUS_INFTY_INIT): Rename macro to plus_infty.
1173         (MINUS_INFTY_INIT): Rename macro to minus_infty.
1174         (QNAN_VALUE_INIT): Rename macro to qnan_value.
1175         (MAX_VALUE_INIT): Rename macro to max_value.
1176         (MIN_VALUE_INIT): Rename macro to min_value.
1177         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1178         (plus_zero): Remove variable.
1179         (minus_zero): Likewise.
1180         (plus_infty): Likewise.
1181         (minus_infty): Likewise.
1182         (qnan_value): Likewise.
1183         (max_value): Likewise.
1184         (min_value): Likewise.
1185         (min_subnorm_value): Likewise.
1187 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1189         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1190         uint64_t or uint32_t usage.
1191         * crypt/sha256-block.c: Likewise.
1192         * crypt/sha256-crypt.c: Likewise.
1193         * crypt/sha256.c: Likewise.
1194         * crypt/sha512-block.c: Likewise.
1195         * crypt/sha512-crypt.c: Likewise.
1196         * crypt/sha512.c: Likewise.
1197         * debug/backtrace-tst.c: Likewise.
1198         * debug/pcprofiledump.c: Likewise.
1199         * elf/cache.c: Likewise.
1200         * elf/dl-cache.c: Likewise.
1201         * elf/dl-misc.c: Likewise.
1202         * elf/dl-profile.c: Likewise.
1203         * elf/dl-support.c: Likewise.
1204         * elf/ldconfig.c: Likewise.
1205         * elf/sprof.c: Likewise.
1206         * iconv/dummy-repertoire.c: Likewise.
1207         * iconv/iconv_charmap.c: Likewise.
1208         * iconv/skeleton.c: Likewise.
1209         * iconvdata/8bit-generic.c: Likewise.
1210         * iconvdata/cp737.h: Likewise.
1211         * iconvdata/cp775.h: Likewise.
1212         * iconvdata/ibm1008.h: Likewise.
1213         * iconvdata/ibm1025.h: Likewise.
1214         * iconvdata/ibm1046.h: Likewise.
1215         * iconvdata/ibm1097.h: Likewise.
1216         * iconvdata/ibm1112.h: Likewise.
1217         * iconvdata/ibm1122.h: Likewise.
1218         * iconvdata/ibm1123.h: Likewise.
1219         * iconvdata/ibm1124.h: Likewise.
1220         * iconvdata/ibm1129.h: Likewise.
1221         * iconvdata/ibm1130.h: Likewise.
1222         * iconvdata/ibm1132.h: Likewise.
1223         * iconvdata/ibm1133.h: Likewise.
1224         * iconvdata/ibm1137.h: Likewise.
1225         * iconvdata/ibm1140.h: Likewise.
1226         * iconvdata/ibm1141.h: Likewise.
1227         * iconvdata/ibm1142.h: Likewise.
1228         * iconvdata/ibm1143.h: Likewise.
1229         * iconvdata/ibm1144.h: Likewise.
1230         * iconvdata/ibm1145.h: Likewise.
1231         * iconvdata/ibm1146.h: Likewise.
1232         * iconvdata/ibm1147.h: Likewise.
1233         * iconvdata/ibm1148.h: Likewise.
1234         * iconvdata/ibm1149.h: Likewise.
1235         * iconvdata/ibm1153.h: Likewise.
1236         * iconvdata/ibm1154.h: Likewise.
1237         * iconvdata/ibm1155.h: Likewise.
1238         * iconvdata/ibm1156.h: Likewise.
1239         * iconvdata/ibm1157.h: Likewise.
1240         * iconvdata/ibm1158.h: Likewise.
1241         * iconvdata/ibm1160.h: Likewise.
1242         * iconvdata/ibm1161.h: Likewise.
1243         * iconvdata/ibm1162.h: Likewise.
1244         * iconvdata/ibm1163.h: Likewise.
1245         * iconvdata/ibm1164.h: Likewise.
1246         * iconvdata/ibm1166.h: Likewise.
1247         * iconvdata/ibm1167.h: Likewise.
1248         * iconvdata/ibm12712.h: Likewise.
1249         * iconvdata/ibm1390.h: Likewise.
1250         * iconvdata/ibm1399.h: Likewise.
1251         * iconvdata/ibm16804.h: Likewise.
1252         * iconvdata/ibm4517.h: Likewise.
1253         * iconvdata/ibm4899.h: Likewise.
1254         * iconvdata/ibm4909.h: Likewise.
1255         * iconvdata/ibm4971.h: Likewise.
1256         * iconvdata/ibm5347.h: Likewise.
1257         * iconvdata/ibm803.h: Likewise.
1258         * iconvdata/ibm856.h: Likewise.
1259         * iconvdata/ibm901.h: Likewise.
1260         * iconvdata/ibm902.h: Likewise.
1261         * iconvdata/ibm9030.h: Likewise.
1262         * iconvdata/ibm9066.h: Likewise.
1263         * iconvdata/ibm921.h: Likewise.
1264         * iconvdata/ibm922.h: Likewise.
1265         * iconvdata/ibm9448.h: Likewise.
1266         * iconvdata/isiri-3342.h: Likewise.
1267         * iconvdata/jis0201.h: Likewise.
1268         * include/link.h: Likewise.
1269         * include/netdb.h: Likewise.
1270         * inet/check_native.c: Likewise.
1271         * inet/check_pf.c: Likewise.
1272         * inet/getipv4sourcefilter.c: Likewise.
1273         * inet/getnameinfo.c: Likewise.
1274         * inet/getsourcefilter.c: Likewise.
1275         * inet/htonl.c: Likewise.
1276         * inet/setipv4sourcefilter.c: Likewise.
1277         * inet/setsourcefilter.c: Likewise.
1278         * inet/test-inet6_opt.c: Likewise.
1279         * inet/tst-network.c: Likewise.
1280         * locale/C-collate.c: Likewise.
1281         * locale/C-ctype.c: Likewise.
1282         * locale/C-time.c: Likewise.
1283         * locale/C-translit.h: Likewise.
1284         * locale/loadarchive.c: Likewise.
1285         * locale/programs/3level.h: Likewise.
1286         * locale/programs/charmap.c: Likewise.
1287         * locale/programs/charmap.h: Likewise.
1288         * locale/programs/ld-address.c: Likewise.
1289         * locale/programs/ld-collate.c: Likewise.
1290         * locale/programs/ld-ctype.c: Likewise.
1291         * locale/programs/ld-identification.c: Likewise.
1292         * locale/programs/ld-measurement.c: Likewise.
1293         * locale/programs/ld-messages.c: Likewise.
1294         * locale/programs/ld-monetary.c: Likewise.
1295         * locale/programs/ld-name.c: Likewise.
1296         * locale/programs/ld-numeric.c: Likewise.
1297         * locale/programs/ld-paper.c: Likewise.
1298         * locale/programs/ld-telephone.c: Likewise.
1299         * locale/programs/ld-time.c: Likewise.
1300         * locale/programs/linereader.c: Likewise.
1301         * locale/programs/locale.c: Likewise.
1302         * locale/programs/locarchive.c: Likewise.
1303         * locale/programs/locfile.h: Likewise.
1304         * locale/programs/repertoire.c: Likewise.
1305         * locale/programs/simple-hash.c: Likewise.
1306         * locale/programs/simple-hash.h: Likewise.
1307         * malloc/memusage.c: Likewise.
1308         * malloc/memusagestat.c: Likewise.
1309         * nis/nis_defaults.c: Likewise.
1310         * nis/nis_hash.c: Likewise.
1311         * nis/nis_print.c: Likewise.
1312         * nis/nis_xdr.c: Likewise.
1313         * nscd/connections.c: Likewise.
1314         * nscd/hstcache.c: Likewise.
1315         * nscd/nscd_gethst_r.c: Likewise.
1316         * nscd/nscd_getserv_r.c: Likewise.
1317         * nscd/nscd_helper.c: Likewise.
1318         * nscd/servicescache.c: Likewise.
1319         * nss/makedb.c: Likewise.
1320         * nss/nss_db/db-XXX.c: Likewise.
1321         * nss/nss_db/db-initgroups.c: Likewise.
1322         * nss/nss_db/db-netgrp.c: Likewise.
1323         * nss/nss_files/files-network.c: Likewise.
1324         * nss/nss_files/files-parse.c: Likewise.
1325         * posix/bug-regex5.c: Likewise.
1326         * posix/fnmatch_loop.c: Likewise.
1327         * posix/regcomp.c: Likewise.
1328         * posix/regexec.c: Likewise.
1329         * posix/tst-rfc3484-2.c: Likewise.
1330         * posix/tst-rfc3484-3.c: Likewise.
1331         * posix/tst-rfc3484.c: Likewise.
1332         * resolv/nss_dns/dns-canon.c: Likewise.
1333         * resolv/nss_dns/dns-network.c: Likewise.
1334         * resolv/res_init.c: Likewise.
1335         * resolv/res_mkquery.c: Likewise.
1336         * resolv/tst-aton.c: Likewise.
1337         * stdlib/cxa_atexit.c: Likewise.
1338         * stdlib/cxa_finalize.c: Likewise.
1339         * stdlib/gen-fpioconst.c: Likewise.
1340         * stdlib/strtol_l.c: Likewise.
1341         * string/tst-endian.c: Likewise.
1342         * sunrpc/auth_des.c: Likewise.
1343         * sunrpc/clnt_udp.c: Likewise.
1344         * sunrpc/rtime.c: Likewise.
1345         * sunrpc/svcauth_des.c: Likewise.
1346         * sunrpc/xdr.c: Likewise.
1347         * sunrpc/xdr_intXX_t.c: Likewise.
1348         * sunrpc/xdr_rec.c: Likewise.
1349         * sysdeps/generic/ldconfig.h: Likewise.
1350         * sysdeps/generic/ldsodefs.h: Likewise.
1351         * sysdeps/generic/memusage.h: Likewise.
1352         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1353         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1354         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1355         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1356         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1358         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1360         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1362         * sysdeps/posix/getaddrinfo.c: Likewise.
1363         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1364         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1365         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1366         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1367         * sysdeps/powerpc/test-gettimebase.c: Likewise.
1368         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1369         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1370         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1371         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1373         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1374         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1375         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1376         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1378         * sysdeps/x86_64/dl-tls.h: Likewise.
1379         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1380         * time/alt_digit.c: Likewise.
1381         * time/era.c: Likewise.
1382         * wcsmbs/tst-c16c32-1.c: Likewise.
1384 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1386         * math/libm-test.inc (struct test_sincos_data): New type.
1387         (RUN_TEST_LOOP_sincos): New macro.
1388         (sincos_test_data): New variable.
1389         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1391 2013-05-16  Richard Henderson  <rth@redhat.com>
1393         * math/atest-exp2.c (LIMB64): New macro.
1394         (CONSTSZ): New macro.
1395         (mp_exp1, mp_exp_m1, mp_log2): New variables.
1396         (hexdig): Move ...
1397         (print_mpn_fp): ... to function scope.
1398         (read_mpn_hex): Remove.
1399         (get_log2): Remove.
1400         (exp2_mpn): Use mp_log2.
1401         (main): Use mp_exp1.
1403 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1405         * math/libm-test.inc: Remove comment about not testing "inexact"
1406         exceptions.
1407         (INEXACT_EXCEPTION): New macro.
1408         (NO_INEXACT_EXCEPTION): Likewise.
1409         (INVALID_EXCEPTION_OK): Update value.
1410         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1411         (OVERFLOW_EXCEPTION_OK): Likewise.
1412         (UNDERFLOW_EXCEPTION_OK): Likewise.
1413         (IGNORE_ZERO_INF_SIGN): Likewise.
1414         (ERRNO_UNCHANGED): Likewise.
1415         (ERRNO_EDOM): Likewise.
1416         (ERRNO_ERANGE): Likewise.
1417         (test_exceptions): Handle testing "inexact" exceptions.
1418         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1419         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1420         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1421         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1422         INEXACT_EXCEPTION.
1423         (rint_towardzero_test_data): Likewise.
1424         (rint_downward_test_data): Likewise.
1425         (rint_upward_test_data): Likewise.
1427         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1428         with OVERFLOW_EXCEPTION.
1429         (exp10_test_data): Likewise.
1430         (exp2_test_data): Likewise.
1431         (expm1_test_data): Likewise.
1432         (lgamma_test_data): Likewise.
1433         (pow_test_data): Likewise.
1434         (tgamma_test_data): Likewise.
1435         (yn_test_data): Remove duplicate test of overflow.
1437         * math/libm-test.inc (struct test_cc_c_data): New type.
1438         (RUN_TEST_LOOP_cc_c): New macro.
1439         (cpow_test_data): New variable.
1440         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1442         * math/libm-test.inc (struct test_f_L_data): New type.
1443         (RUN_TEST_LOOP_f_L): New macro.
1444         (llrint_test_data): New variable.
1445         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1446         (llrint_tonearest_test_data): New variable.
1447         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1448         (llrint_towardzero_test_data): New variable.
1449         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1450         (llrint_downward_test_data): New variable.
1451         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1452         (llrint_upward_test_data): New variable.
1453         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1454         (llround_test_data): New variable.
1455         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1457 2013-05-13  Peter Collingbourne  <pcc@google.com>
1459         * math/atest-exp2.c (get_log2): Remove const attribute.
1461 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
1463         * math/libm-test.inc (struct test_f_l_data): New type.
1464         (RUN_TEST_LOOP_f_l): New macro.
1465         (lrint_test_data): New variable.
1466         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1467         (lrint_tonearest_test_data): New variable.
1468         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1469         (lrint_towardzero_test_data): New variable.
1470         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1471         (lrint_downward_test_data): New variable.
1472         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1473         (lrint_upward_test_data): New variable.
1474         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1475         (lround_test_data): New variable.
1476         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1478 2013-05-15  Peter Collingbourne  <pcc@google.com>
1480         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1481         (EXTRACT_WORDS64) Use where appropriate.
1482         (INSERT_WORDS64) Likewise.
1484         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1485         constraints with x constraints.
1486         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1488         * malloc/obstack.c (_obstack_compat): Add initializer.
1490 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1492         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1493         si_trapno and add si_addr_lsb to _sifields.sigfault.
1494         (si_trapno): Remove macro.
1495         (si_addr_lsb): Define new macro.
1496         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1498 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
1500         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1501         instead of TEST_f_l.
1502         (llrint_test_tonearest): Likewise.
1503         (llrint_test_towardzero): Likewise.
1504         (llrint_test_downward): Likewise.
1505         (llrint_test_upward): Likewise.
1506         (llround_test): Likewise.
1508         * math/libm-test.inc (struct test_f_i_data): Add comment.
1509         (RUN_TEST_LOOP_f_b): New macro.
1510         (RUN_TEST_LOOP_f_b_tg): Likewise.
1511         (finite_test_data): New variable.
1512         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1513         (isfinite_test_data): New variable.
1514         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1515         (isinf_test_data): New variable.
1516         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1517         (isnan_test_data): New variable.
1518         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1519         (isnormal_test_data): New variable.
1520         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1521         (issignaling_test_data): New variable.
1522         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1523         (signbit_test_data): New variable.
1524         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1526         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1527         with INVALID_EXCEPTION.
1528         (acosh_test_data): Likewise.
1529         (asin_test_data): Likewise.
1530         (atanh_test_data): Likewise.
1531         (fmod_test_data): Likewise.
1532         (log_test_data): Likewise.
1533         (log10_test_data): Likewise.
1534         (log2_test_data): Likewise.
1535         (pow_test_data): Likewise.
1536         (sqrt_test_data): Likewise.
1537         (y0_test_data): Likewise.
1538         (y1_test_data): Likewise.
1539         (yn_test_data): Likewise.
1541         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1542         function contents.
1544         * math/libm-test.inc (struct test_ff_i_data): New type.
1545         (RUN_TEST_LOOP_ff_i_tg): New macro.
1546         (isgreater_test_data): New variable.
1547         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1548         (isgreaterequal_test_data): New variable.
1549         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1550         (isless_test_data): New variable.
1551         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1552         (islessequal_test_data): New variable.
1553         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1554         (islessgreater_test_data): New variable.
1555         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1556         (isunordered_test_data): New variable.
1557         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1559 2013-05-14  David S. Miller  <davem@davemloft.net>
1561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1563 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
1565         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1567         * math/libm-test.inc (struct test_fF_f1_data): Change type of
1568         extra_test to int.
1569         (struct test_f_i_data): Change type of max_ulp to int.
1571         * math/libm-test.inc (test_ffI_f1_data): New type.
1572         (RUN_TEST_LOOP_ffI_f1): New macro.
1573         (remquo_test_data): New variable.
1574         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1576         * setjmp/tst-setjmp-fp.c: New file.
1577         * setjmp/Makefile (tests): Add tst-setjmp-fp.
1578         (link-libm): New variable.
1579         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1581         * math/libm-test.inc (struct test_f_i_data): New type.
1582         (RUN_TEST_LOOP_f_i): New macro.
1583         (RUN_TEST_LOOP_f_i_tg): Likewise.
1584         (fpclassify_test_data): New variable.
1585         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1586         (ilogb_test_data): New variable.
1587         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1589         * math/libm-test.inc (scalbln_test): Correct function name in END
1590         call.
1592         * math/libm-test.inc (struct test_f_f1_data): Add comment.
1593         (RUN_TEST_LOOP_fI_f1): New macro.
1594         (frexp_test_data): New variable.
1595         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1597         * math/libm-test.inc (struct test_fF_f1_data): New type.
1598         (RUN_TEST_LOOP_fF_f1): New macro.
1599         (modf_test_data): New variable.
1600         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1602         * math/libm-test.inc (struct test_f_f1_data): New type.
1603         (RUN_TEST_LOOP_f_f1): New macro.
1604         (gamma_test_data): New variable.
1605         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1606         (lgamma_test_data): New variable.
1607         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1609 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
1611         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1612         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1613         (main): Comment "tls" pseudo-hwcap.
1615 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
1617         * math/libm-test.inc (struct test_fl_f_data): New type.
1618         (RUN_TEST_LOOP_fl_f): New variable.
1619         (scalbln_test_data): New variable.
1620         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1622         * math/libm-test.inc (struct test_fi_f_data): New type.
1623         (RUN_TEST_LOOP_fi_f): New macro.
1624         (ldexp_test_data): New variable.
1625         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1626         (scalbn_test_data): New variable.
1627         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1629         * math/libm-test.inc (struct test_c_f_data): New type.
1630         (RUN_TEST_LOOP_c_f): New macro.
1631         (cabs_test_data): New variable.
1632         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1633         (carg_test_data): New variable.
1634         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1635         (cimag_test_data): New variable.
1636         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1637         (creal_test_data): New variable.
1638         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1640         * math/libm-test.inc (struct test_if_f_data): New type.
1641         (RUN_TEST_LOOP_if_f): New macro.
1642         (jn_test_data): New variable.
1643         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1644         (yn_test_data): New variable.
1645         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1647         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1649 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1651         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1652         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1654 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1656         * benchtests/Makefile (CPPFLAGS-nonlib): Add
1657         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1658         (bench-deps): Add bench-timing.h.
1659         * benchtests-bench-skeleton.c: Include bench-timing.h.
1660         (main): Use TIMING_* macros instead of clock_gettime.
1661         * benchtests/bench-timing.h: New file.
1663         [BZ #14582]
1664         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1665         Renamed from _LIB_VERSION.
1666         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1668 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
1670         * math/libm-test.inc (struct test_fff_f_data): New type.
1671         (RUN_TEST_LOOP_fff_f): New macro.
1672         (fma_test_data): New variable.
1673         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1674         (fma_towardzero_test_data): New variable.
1675         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1676         (fma_downward_test_data): New variable.
1677         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1678         (fma_upward_test_data): New variable.
1679         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1681         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1682         (struct test_c_c_data): New type.
1683         (RUN_TEST_LOOP_c_c): New macro.
1684         (cacos_test_data): New variable.
1685         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1686         (cacosh_test_data): New variable.
1687         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1688         (casin_test_data): New variable.
1689         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1690         (casinh_test_data): New variable.
1691         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1692         (catan_test_data): New variable.
1693         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1694         (catanh_test_data): New variable.
1695         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1696         (ccos_test_data): New variable.
1697         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1698         (ccosh_test_data): New variable.
1699         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1700         (cexp_test_data): New variable.
1701         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1702         (clog_test_data): New variable.
1703         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1704         (clog10_test_data): New variable.
1705         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1706         (conj_test_data): New variable.
1707         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1708         (cproj_test_data): New variable.
1709         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1710         (csin_test_data): New variable.
1711         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1712         (csinh_test_data): New variable.
1713         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1714         (csqrt_test_data): New variable.
1715         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1716         (ctan_test_data): New variable.
1717         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1718         (ctan_tonearest_test_data): New variable.
1719         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1720         (ctan_towardzero_test_data): New variable.
1721         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1722         (ctan_downward_test_data): New variable.
1723         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1724         (ctan_upward_test_data): New variable.
1725         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1726         (ctanh_test_data): New variable.
1727         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1728         (ctanh_tonearest_test_data): New variable.
1729         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1730         (ctanh_towardzero_test_data): New variable.
1731         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1732         (ctanh_downward_test_data): New variable.
1733         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1734         (ctanh_upward_test_data): New variable.
1735         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1736         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1737         of BUILD_COMPLEX.
1739         * math/libm-test.inc (struct test_ff_f_data): New type.
1740         (struct test_ff_f_data_nexttoward): Likewise.
1741         (RUN_TEST_LOOP_2_f): New macro.
1742         (RUN_TEST_LOOP_ff_f): Likewise.
1743         (atan2_test_data): New variable.
1744         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1745         (copysign_test_data): New variable.
1746         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1747         (fdim_test_data): New variable.
1748         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1749         (fmax_test_data): New variable.
1750         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1751         (fmin_test_data): New variable.
1752         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1753         (fmod_test_data): New variable.
1754         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1755         (hypot_test_data): New variable.
1756         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1757         (nextafter_test_data): New variable.
1758         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1759         (nexttoward_test_data): New variable.
1760         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1761         (pow_test_data): New variable.
1762         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1763         (pow_tonearest_test_data): New variable.
1764         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1765         (pow_towardzero_test_data): New variable.
1766         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1767         (pow_downward_test_data): New variable.
1768         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1769         (pow_upward_test_data): New variable.
1770         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1771         (remainder_test_data): New variable.
1772         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1773         (scalb_test_data): New variable.
1774         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1775         * sysdeps/i386/fpu/libm-test-ulps: Update.
1777 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
1779         * math/libm-test.inc (fma_test): Use max_value instead of local
1780         variable fltmax.
1781         (nextafter_test): Likewise.
1783         * math/libm-test.inc (acos_towardzero_test_data): New variable.
1784         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1785         (acos_downward_test_data): New variable.
1786         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1787         (acos_upward_test_data): New variable.
1788         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1789         (acosh_test_data): New variable.
1790         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1791         (asin_test_data): New variable.
1792         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1793         (asin_tonearest_test_data): New variable.
1794         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1795         (asin_towardzero_test_data): New variable.
1796         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1797         (asin_downward_test_data): New variable.
1798         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1799         (asin_upward_test_data): New variable.
1800         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1801         (asinh_test_data): New variable.
1802         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1803         (atan_test_data): New variable.
1804         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1805         (atanh_test_data): New variable.
1806         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1807         (cbrt_test_data): New variable.
1808         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1809         (ceil_test_data): New variable.
1810         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1811         (cos_test_data): New variable.
1812         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1813         (cos_tonearest_test_data): New variable.
1814         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1815         (cos_towardzero_test_data): New variable.
1816         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1817         (cos_downward_test_data): New variable.
1818         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1819         (cos_upward_test_data): New variable.
1820         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1821         (cosh_test_data): New variable.
1822         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1823         (cosh_tonearest_test_data): New variable.
1824         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1825         (cosh_towardzero_test_data): New variable.
1826         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1827         (cosh_downward_test_data): New variable.
1828         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1829         (cosh_upward_test_data): New variable.
1830         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1831         (erf_test_data): New variable.
1832         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1833         (erfc_test_data): New variable.
1834         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1835         (exp_test_data): New variable.
1836         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1837         (exp_tonearest_test_data): New variable.
1838         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1839         (exp_towardzero_test_data): New variable.
1840         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1841         (exp_downward_test_data): New variable.
1842         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1843         (exp_upward_test_data): New variable.
1844         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1845         (exp10_test_data): New variable.
1846         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1847         (exp2_test_data): New variable.
1848         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1849         (expm1_test_data): New variable.
1850         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1851         (fabs_test_data): New variable.
1852         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1853         (floor_test_data): New variable.
1854         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1855         (j0_test_data): New variable.
1856         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1857         (j1_test_data): New variable.
1858         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1859         (log_test_data): New variable.
1860         (log_test): Run tests with RUN_TEST_LOOP_f_f.
1861         (log10_test_data): New variable.
1862         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1863         (log1p_test_data): New variable.
1864         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1865         (log2_test_data): New variable.
1866         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1867         (logb_test_data): New variable.
1868         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1869         (logb_downward_test_data): New variable.
1870         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1871         (nearbyint_test_data): New variable.
1872         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1873         (rint_test_data): New variable.
1874         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1875         (rint_tonearest_test_data): New variable.
1876         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1877         (rint_towardzero_test_data): New variable.
1878         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1879         (rint_downward_test_data): New variable.
1880         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1881         (rint_upward_test_data): New variable.
1882         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1883         (round_test_data): New variable.
1884         (round_test): Run tests with RUN_TEST_LOOP_f_f.
1885         (sin_test_data): New variable.
1886         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1887         (sin_tonearest_test_data): New variable.
1888         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1889         (sin_towardzero_test_data): New variable.
1890         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1891         (sin_downward_test_data): New variable.
1892         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1893         (sin_upward_test_data): New variable.
1894         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1895         (sinh_test_data): New variable.
1896         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1897         (sinh_tonearest_test_data): New variable.
1898         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1899         (sinh_towardzero_test_data): New variable.
1900         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1901         (sinh_downward_test_data): New variable.
1902         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1903         (sinh_upward_test_data): New variable.
1904         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1905         (sqrt_test_data): New variable.
1906         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1907         (tan_test_data): New variable.
1908         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1909         (tan_tonearest_test_data): New variable.
1910         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1911         (tan_towardzero_test_data): New variable.
1912         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1913         (tan_downward_test_data): New variable.
1914         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1915         (tan_upward_test_data): New variable.
1916         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1917         (tanh_test_data): New variable.
1918         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1919         (tgamma_test_data): New variable.
1920         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1921         (trunc_test_data): New variable.
1922         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1923         (y0_test_data): New variable.
1924         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1925         (y1_test_data): New variable.
1926         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1927         (significand_test_data): New variable.
1928         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1930 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
1932         [BZ #12387]
1933         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1935 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1937         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1939 2013-05-10  Andreas Jaeger  <aj@suse.de>
1941         [BZ #15448]
1942         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1943         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1945 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1947         * math/gen-libm-test.pl (adjust_arg): New function.
1948         (special_functions): Handle generating output in both functions
1949         and arrays.
1950         (parse_args): Likewise.
1951         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
1952         $in_func argument to parse_args.
1953         * math/libm-test.inc (struct test_f_f_data): New type.
1954         (IF_ROUND_INIT_): New macro.
1955         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1956         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1957         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1958         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1959         (ROUND_RESTORE_): Likewise.
1960         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1961         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1962         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1963         (ROUND_RESTORE_FE_UPWARD): Likewise.
1964         (RUN_TEST_LOOP_f_f): New macro.
1965         (acos_test_data): New variable.
1966         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1967         (acos_tonearest_test_data): New variable.
1968         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1970 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1972         * benchtests/bench-skeleton.c (startup): Fix coding style.
1974 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1976         [BZ #6809]
1977         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1978         negative infinity argument.
1979         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1980         negative infinity argument.
1981         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1982         negative infinity argument.
1983         * math/libm-test.inc (tgamma_test): Expect errno to be set for
1984         domain errors.
1986 2013-05-10  Florian Weimer  <fweimer@redhat.com>
1988         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1989         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1990         * iconv/iconv_prog.c (main): Likewise.
1991         * locale/programs/charmap-dir.c (charmap_readdir)
1992         (fopen_uncompressed): Likewise.
1993         * locale/programs/locfile.c (siblings_uncached)
1994         (write_locale_data): Use lstat64 instead of lstat.
1995         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1996         stat.
1998 2013-05-10  Andreas Jaeger  <aj@suse.de>
2000         [BZ #15395]
2001         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2002         localization.
2003         Include <locale.h>.
2005 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2007         * elf/dl-close.c (_dl_close_worker): Add comments.
2009 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2011         [BZ #15359]
2012         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2013         high part of pi/2.
2014         (__ieee754_rem_pio2l): Update comments.
2016         [BZ #15429]
2017         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2018         high part of pi/2.
2019         (__ieee754_rem_pio2l): Update comments.
2021         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2022         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2024         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2025         M_PI_4l.
2027         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2028         (M_PI_34_LOG10El): Likewise.
2029         (M_PI2_LOG10El): Likewise.
2030         (M_PI4_LOG10El): Likewise.
2031         (M_PI_LOG10El): Likewise.
2033 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2037 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2039         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2040         (MINUS_ZERO_INIT): Likewise.
2041         (PLUS_INFTY_INIT): Likewise.
2042         (MINUS_INFTY_INIT): Likewise.
2043         (QNAN_VALUE_INIT): Likewise.
2044         (MAX_VALUE_INIT): Likewise.
2045         (MIN_VALUE_INIT): Likewise.
2046         (MIN_SUBNORM_VALUE_INIT): Likewise.
2047         (plus_zero): Initialize with PLUS_ZERO_INIT.
2048         (minus_zero): Initialize with MINUS_ZERO_INIT.
2049         (plus_infty): Initialize with PLUS_INFTY_INIT.
2050         (minus_infty): Initialize with MINUS_INFTY_INIT.
2051         (qnan_value): Initialize with QNAN_VALUE_INIT.
2052         (max_value): Initialize with MAX_VALUE_INIT.
2053         (min_value): Initialize with MIN_VALUE_INIT.
2054         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2056         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2057         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2058         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2059         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2061         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2062         (RUN_TEST_2_f): Likewise.
2063         (RUN_TEST_ff_f): Likewise.
2064         (RUN_TEST_fi_f): Likewise.
2065         (RUN_TEST_fl_f): Likewise.
2066         (RUN_TEST_fff_f): Likewise.
2067         (RUN_TEST_c_f): Likewise.
2068         (RUN_TEST_f_f1): Likewise.
2069         (RUN_TEST_fF_f1): Likewise.
2070         (RUN_TEST_fI_f1): Likewise.
2071         (RUN_TEST_ffI_f1): Likewise.
2072         (RUN_TEST_c_c): Likewise.
2073         (RUN_TEST_cc_c): Likewise.
2074         (RUN_TEST_f_i): Likewise.
2075         (RUN_TEST_f_i_tg): Likewise.
2076         (RUN_TEST_ff_i_tg): Likewise.
2077         (RUN_TEST_f_b): Likewise.
2078         (RUN_TEST_f_b_tg): Likewise.
2079         (RUN_TEST_f_l): Likewise.
2080         (RUN_TEST_f_L): Likewise.
2081         (RUN_TEST_sincos): Likewise.
2082         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2083         whether to show exceptions.  Do not include ");\n" in return
2084         value.
2085         (special_functions): Output call to RUN_TEST_sincos instead of
2086         check_float calls.  Update calls to new_test.
2087         (parse_args): Output call to single RUN_TEST_* macro instead of
2088         check_* calls and other assignments.  Update calls to new_test.
2090         [BZ #2546]
2091         [BZ #2560]
2092         [BZ #5159]
2093         [BZ #15426]
2094         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2095         input to result for tgamma overflow.
2096         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2097         (gamma_coeff): New variable.
2098         (NCOEFF): New macro.
2099         (gamma_positive): New function.
2100         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2101         underflow here.  Use gamma_positive instead of exp (lgamma) for
2102         other arguments.
2103         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2104         (gamma_coeff): New variable.
2105         (NCOEFF): New macro.
2106         (gammaf_positive): New function.
2107         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2108         underflow here.  Use gamma_positive instead of exp (lgamma) for
2109         other arguments.
2110         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2111         (gamma_coeff): New variable.
2112         (NCOEFF): New macro.
2113         (gammal_positive): New function.
2114         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2115         underflow here.  Use gamma_positive instead of exp (lgamma) for
2116         other arguments.
2117         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2118         (gamma_coeff): New variable.
2119         (NCOEFF): New macro.
2120         (gammal_positive): New function.
2121         (__ieee754_gammal_r): Handle positive infinity, overflow and
2122         underflow here.  Handle NaN the same as positive infinity.  Remove
2123         check x < 0xffffffff for negative integers.  Use gamma_positive
2124         instead of exp (lgamma) for other arguments.
2125         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2126         (gamma_coeff): New variable.
2127         (NCOEFF): New macro.
2128         (gammal_positive): New function.
2129         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2130         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2131         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2132         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2133         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2134         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2135         * sysdeps/generic/math_private.h (__gamma_productf): New
2136         prototype.
2137         (__gamma_product): Likewise.
2138         (__gamma_productl): Likewise.
2139         * math/Makefile (libm-calls): Add gamma_product.
2140         * math/libm-test.inc (tgamma_test): Add more tests.
2141         * sysdeps/i386/fpu/libm-test-ulps: Update.
2142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2144 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
2146         * benchtests/bench-skeleton.c (main): Preheat CPU.
2148 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
2150         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2152 2013-05-07  Roland McGrath  <roland@hack.frob.com>
2154         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2155         and _dl_skip_args_internal.
2157 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
2159         * manual/message.texi (Message Translation): Talk about users.
2160         Message to key mapping impacts design.
2162 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2164         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2166         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2168         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2169         * sysdeps/wordsize-64/glob64.c: ... here.
2171         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2172         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2173         New macros.
2175         * debug/getlogin_r_chk.c: Moved to ...
2176         * login/getlogin_r_chk.c: ... here.
2177         * debug/Makefile (routines): Move getlogin_r_chk to ...
2178         * login/Makefile (routines): ... here.
2179         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2180         * login/Versions (libc: GLIBC_2.4): ... here.
2182         * io/poll.c (__poll): Renamed from poll.
2183         Add libc_hidden_def.
2184         (poll): Define as weak alias.
2186         * debug/ptsname_r_chk.c: Moved to ...
2187         * login/ptsname_r_chk.c: ... here.
2188         * debug/Makefile (routines): Move ptsname_r_chk to ...
2189         * login/Makefile (routines): ... here.
2190         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2191         * login/Versions (libc: GLIBC_2.4): ... here.
2193         * posix/getlogin.c: Moved to ...
2194         * login/getlogin.c: ... here.
2195         * posix/getlogin_r.c: Moved to ...
2196         * login/getlogin_r.c: ... here.
2197         * posix/getlogin_r.c: Moved to ...
2198         * login/getlogin_r.c: ... here.
2199         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2200         * login/Makefile (routines): ... here.
2201         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2202         * login/Versions (libc: GLIBC_2.0): ... here.
2204         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2205         (setrlimit): Define as weak alias.
2207         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2208         Call __ names for open, ftruncate, and close.
2209         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2210         (truncate): Define as weak alias.
2212 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
2214         * math/gen-libm-test.pl (parse_args): Initialize x before each
2215         test of frexp, modf and remquo.
2217         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2218         test signgam value.
2220 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2222         [BZ #15418]
2223         [BZ #15419]
2224         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2225         internal tests.
2226         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2228 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2230         * elf/dl-writev.h: New file.
2231         * elf/dl-misc.c: Include it.
2232         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2233         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2235 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2237         * math/libm-test.inc (noXFails): Remove variable.
2238         (noXPasses): Likewise.
2239         (BUILD_COMPLEX_INT): Remove macro.
2240         (print_screen): Remove xfail argument.
2241         (print_screen_max_error): Likewise.
2242         (update_stats): Likewise.
2243         (print_max_error): Likewise.  Update calls to other affected
2244         functions.
2245         (print_complex_max_error): Likewise.
2246         (test_single_exception): Update calls to print_screen.
2247         (test_single_errno): Likewise.
2248         (check_float_internal): Remove xfail argument.  Update calls to
2249         other affected functions.
2250         (check_float): Likewise.
2251         (check_complex): Likewise.
2252         (check_int): Likewise.
2253         (check_long): Likewise.
2254         (check_bool): Likewise.
2255         (check_longlong): Likewise.
2256         (main): Don't print noXFails and noXPasses.
2257         * math/gen-libm-test.pl (top level): Don't mention expected
2258         failure handling in comment.
2259         (new_test): Don't handle expected failures.
2260         (parse_args): Don't mention expected failure handling in comment.
2261         (generate_testfile): Don't handle expected failures.
2262         (parse_ulps): Likewise.
2263         (print_ulps_file): Likewise.
2264         (get_failure): Remove function.
2265         (output_test): Don't handle expected failures.
2266         * make/README.libm-test: Don't mention expected failure handling.
2268         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
2269         (minus_zero): Likewise.
2270         (plus_infty): Likewise.
2271         (minus_infty): Likewise.
2272         (qnan_value): Likewise.
2273         (max_value): Likewise.
2274         (min_value): Likewise.
2275         (min_subnorm_value): Likewise.
2276         (initialize): Do not initialize those variables dynamically.
2278 2013-05-03  Roland McGrath  <roland@hack.frob.com>
2280         * io/open.c (__open_2): Moved to ...
2281         * io/open_2.c: ... this new file.
2282         * io/open64.c (__open64_2): Moved to ...
2283         * io/open64_2.c: ... this new file.
2284         * io/openat.c (__openat_2): Moved to ...
2285         * io/openat_2.c: ... this new file.
2286         * io/openat64.c (__openat64_2): Moved to ...
2287         * io/openat64_2.c: ... this new file.
2288         * io/Makefile (routines): Add them.
2289         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2290         * sysdeps/unix/sysv/linux/open_2.c: File removed.
2291         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2292         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2293         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2294         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2295         (__openat64): Add hidden_ver.
2296         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2297         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2299         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2300         Separately conditionalize setting of GLRO(dl_sysinfo) so
2301         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2302         as well, but the actual setting is only under [NEED_DL_SYSINFO].
2304 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2306         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2307         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2308         definition.
2309         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2310         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2311         (_libc_vdso_platform_setup): Add __vdso_time initialization.
2312         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2313         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2315 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
2317         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2318         test signgam value.
2320         * math/libm-test.inc (hypot_test): Do not use
2321         IGNORE_ZERO_INF_SIGN.
2323 2013-05-03  Andreas Jaeger  <aj@suse.de>
2325         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2326         Linux 3.9.
2327         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2328         (PF_MAX): Adjust for VSOCK change.
2330 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2334 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
2336         [BZ #15264]
2337         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2338         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2339         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2341 2013-05-02  David S. Miller  <davem@davemloft.net>
2343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2345 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
2347         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2349 2013-05-01  Roland McGrath  <roland@hack.frob.com>
2351         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2353 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
2355         [BZ #14952]
2356         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2357         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2358         Use __attribute__ ((__gnu_inline__)).
2359         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2360         Don't use __attribute__ ((__gnu_inline__)).
2362 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
2364         [BZ #15423]
2365         * math/s_catan.c (__catan): Handle small real or imaginary part of
2366         input specially to avoid spurious underflow.
2367         * math/s_catanf.c (__catanf): Likewise.
2368         * math/s_catanh.c (__catanh): Likewise.
2369         * math/s_catanhf.c (__catanhf): Likewise.
2370         * math/s_catanhl.c (__catanhl): Likewise.
2371         * math/s_catanl.c (__catanl): Likewise.
2372         * math/libm-test.inc (catan_test): Add more tests.
2373         (catanh_test): Likewise.
2374         * sysdeps/i386/fpu/libm-test-ulps: Update.
2375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2377 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2381 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #15416]
2384         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2385         accurately for denominator in atan2.
2386         * math/s_catanf.c (__catanf): Likewise.
2387         * math/s_catanh.c (__catanh): Likewise.
2388         * math/s_catanhf.c (__catanhf): Likewise.
2389         * math/s_catanhl.c (__catanhl): Likewise.
2390         * math/s_catanl.c (__catanl): Likewise.
2391         * math/libm-test.inc (catan_test): Add more tests.
2392         (catanh_test): Likewise.
2393         * sysdeps/i386/fpu/libm-test-ulps: Update.
2394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2396 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2398         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2400         * benchtests/Makefile (bench): Remove slow benchmarks.
2401         * benchtests/atan-inputs: Add slow benchmark inputs.
2402         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2403         (BENCH_FUNC): Accept variant offset.
2404         (VARIANT): Define.
2405         * benchtests/bench-skeleton.c (main): Run benchmark for each
2406         variant.
2407         * benchtests/cos-inputs: Add slow benchmark inputs.
2408         * benchtests/exp-inputs: Likewise.
2409         * benchtests/pow-inputs: Likewise.
2410         * benchtests/sin-inputs: Likewise.
2411         * benchtests/slowatan-inputs: Remove.
2412         * benchtests/slowatan.c: Remove.
2413         * benchtests/slowcos-inputs: Remove.
2414         * benchtests/slowcos.c: Remove.
2415         * benchtests/slowexp-inputs: Remove.
2416         * benchtests/slowexp.c: Remove.
2417         * benchtests/slowpow-inputs: Remove.
2418         * benchtests/slowpow.c: Remove.
2419         * benchtests/slowsin-inputs: Remove.
2420         * benchtests/slowsin.c: Remove.
2421         * benchtests/slowtan-inputs: Remove.
2422         * benchtests/slowtan.c: Remove.
2423         * benchtests/tan-inputs: Add slow benchmark inputs.
2424         * scripts/bench.pl: Parse comments and directives.
2426         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
2427         in CPPFLAGS.
2428         ($(objpfx)bench-%.c): Remove *-ITER.
2429         * benchtests/bench-modf.c: Remove definition of ITER.
2430         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2431         (main): Loop for DURATION seconds instead of fixed number of
2432         iterations.
2433         * scripts/bench.pl: Don't expect iterations in parameters.
2435 2013-04-29  Roland McGrath  <roland@hack.frob.com>
2437         * io/fchdir.c (__fchdir): Renamed from fchdir.
2438         (fchdir): Define as weak alias.
2440 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
2442         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2443         (ERRNO_EDOM): Likewise.
2444         (ERRNO_ERANGE): Likewise.
2445         (noErrnoTests): New variable.
2446         (init_max_error): Set errno to 0.
2447         (test_single_errno): New function.
2448         (test_errno): Likewise.
2449         (check_float_internal): Call test_errno.  Set errno to 0.
2450         (check_complex): Refer to errno tests in comment.
2451         (check_int): Call test_errno.  Set errno to 0.
2452         (check_long): Likewise.
2453         (check_bool): Likewise.
2454         (check_longlong): Likewise.
2455         (cos_test): Use ERRNO_* flags for errno tests instead of
2456         check_int.
2457         (expm1_test): Likewise.
2458         (fmod_test): Likewise.
2459         (ilogb_test): Likewise.
2460         (lgamma_test): Likewise.
2461         (pow_test): Likewise.
2462         (remainder_test): Likewise.
2463         (sin_test): Likewise.
2464         (tan_test): Likewise.
2465         (yn_test): Likewise.
2466         (initialize): Set errno to 0.
2467         (main): Print number of errno tests.
2468         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2470 2013-04-29  Andreas Jaeger  <aj@suse.de>
2472         [BZ #15084]
2473         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2474         and RES_USEVC.
2476         [BZ #15085]
2477         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2478         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2479         unimplemented.
2481         [BZ #15380]
2482         * stdlib/random.c (__initstate): Return NULL if
2483         __initstate fails.
2485         [BZ #15086]
2486         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2487         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2488         RES_SNGLKUPREOP.
2490 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2494 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
2496         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2497         of individual tests.
2498         (casin_test): Likewise.
2499         (casinh_test): Likewise.
2501 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
2503         [BZ #15409]
2504         * math/s_catan.c (__catan): Handle arguments with large real or
2505         imaginary part separately without squaring.
2506         * math/s_catanf.c (__catanf): Likewise.
2507         * math/s_catanh.c (__catanh): Likewise.
2508         * math/s_catanhf.c (__catanhf): Likewise.
2509         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2510         and redefine.
2511         (__catanhl): Handle arguments with large real or imaginary part
2512         separately without squaring.
2513         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2514         and redefine.
2515         (__catanl): Handle arguments with large real or imaginary part
2516         separately without squaring.
2517         * math/libm-test.inc (catan_test): Add more tests.
2518         (catanh_test): Likewise.
2519         * sysdeps/i386/fpu/libm-test-ulps: Update.
2520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2522 2013-04-27  Andreas Jaeger  <aj@suse.de>
2524         [BZ #15007]
2525         * stdlib/stdlib.h: Update guards for qecvt.
2526         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2527         <stdlib.h>.
2529 2013-04-27  Allan McRae  <allan@archlinux.org>
2531         * sysdeps/i386/fpu/libm-test-ulps: Update.
2533 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #15406]
2536         * math/s_catan.c: Include <float.h>.
2537         (__catan): Ensure underflow exception occurs for underflowed
2538         result.
2539         * math/s_catanf.c: Include <float.h>.
2540         (__catanf): Ensure underflow exception occurs for underflowed
2541         result.
2542         * math/s_catanh.c: Include <float.h>.
2543         (__catanh): Ensure underflow exception occurs for underflowed
2544         result.
2545         * math/s_catanhf.c: Include <float.h>.
2546         (__catanhf): Ensure underflow exception occurs for underflowed
2547         result.
2548         * math/s_catanhl.c: Include <float.h>.
2549         (__catanhl): Ensure underflow exception occurs for underflowed
2550         result.
2551         * math/s_catanl.c: Include <float.h>.
2552         (__catanl): Ensure underflow exception occurs for underflowed
2553         result.
2554         * math/libm-test.inc (catan_test): Add more tests.
2555         (catanh_test): Likewise.
2557         [BZ #15405]
2558         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2559         underflowed result.
2560         * math/s_ccoshf.c (__ccoshf): Likewise.
2561         * math/s_ccoshl.c (__ccoshl): Likewise.
2562         * math/s_csin.c (__csin): Likewise.
2563         * math/s_csinf.c (__csinf): Likewise.
2564         * math/s_csinh.c (__csinh): Likewise.
2565         * math/s_csinhf.c (__csinhf): Likewise.
2566         * math/s_csinhl.c (__csinhl): Likewise.
2567         * math/s_csinl.c (__csinl): Likewise.
2568         * math/libm-test.inc (ccos_test): Add more tests.
2569         (ccosh_test): Likewise.
2570         (csin_test): Likewise.
2571         (csinh_test): Likewise.
2573 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2575         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2576         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2577         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2578         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2579         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2580         powerpc/power5+/fpu folders.
2581         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2584 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2588 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
2590         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2591         additions to variable.
2592         [$(config-machine) = x86_64] (modules-names): Likewise.
2593         ($(objpfx)tst-audit3): Remove dependency.
2594         ($(objpfx)tst-audit3.out): Likewise.
2595         ($(objpfx)tst-audit4): Likewise.
2596         ($(objpfx)tst-audit4.out): Likewise.
2597         ($(objpfx)tst-audit5): Likewise.
2598         ($(objpfx)tst-audit5.out): Likewise.
2599         ($(objpfx)tst-audit6): Likewise.
2600         ($(objpfx)tst-audit6.out): Likewise.
2601         ($(objpfx)tst-audit7): Likewise.
2602         ($(objpfx)tst-audit7.out): Likewise.
2603         (tst-audit3-ENV): Remove variable.
2604         (tst-audit4-ENV): Likewise.
2605         (tst-audit5-ENV): Likewise.
2606         (tst-audit6-ENV): Likewise.
2607         (tst-audit7-ENV): Likewise.
2608         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2609         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2610         addition to variable.
2611         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2612         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2613         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2614         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2615         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2616         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2617         tst-audit3, tst-audit4 and tst-audit5.
2618         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2619         tst-audit6 and tst-audit7.
2620         [$(subdir) = elf] (modules-names): Add audit modules for those
2621         tests.
2622         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2623         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2624         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2625         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2626         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2627         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2628         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2629         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2630         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2631         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2632         [$(subdir) = elf] (tst-audit3-ENV): New variable.
2633         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2634         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2635         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2636         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2637         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2638         Likewise.
2639         [$(subdir) = elf && $(config-cflags-avx) = yes]
2640         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2641         [$(subdir) = elf && $(config-cflags-avx) = yes]
2642         (CFLAGS-tst-auditmod4a.c): Likewise.
2643         [$(subdir) = elf && $(config-cflags-avx) = yes]
2644         (CFLAGS-tst-auditmod4b.c): Likewise.
2645         [$(subdir) = elf && $(config-cflags-avx) = yes]
2646         (CFLAGS-tst-auditmod6b.c): Likewise.
2647         [$(subdir) = elf && $(config-cflags-avx) = yes]
2648         (CFLAGS-tst-auditmod6c.c): Likewise.
2649         [$(subdir) = elf && $(config-cflags-avx) = yes]
2650         (CFLAGS-tst-auditmod7b.c): Likewise.
2651         * elf/tst-audit3.c: Move to ...
2652         * sysdeps/x86_64/tst-audit3.c: ... here.
2653         * elf/tst-audit4.c: Move to ...
2654         * sysdeps/x86_64/tst-audit4.c: ... here.
2655         * elf/tst-audit5.c: Move to ...
2656         * sysdeps/x86_64/tst-audit5.c: ... here.
2657         * elf/tst-audit6.c: Move to ...
2658         * sysdeps/x86_64/tst-audit6.c: ... here.
2659         * elf/tst-audit7.c: Move to ...
2660         * sysdeps/x86_64/tst-audit7.c: ... here.
2661         * elf/tst-auditmod3a.c: Move to ...
2662         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2663         * elf/tst-auditmod3b.c: Move to ...
2664         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2665         * elf/tst-auditmod4a.c: Move to ...
2666         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2667         * elf/tst-auditmod4b.c: Move to ...
2668         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2669         * elf/tst-auditmod5a.c: Move to ...
2670         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2671         * elf/tst-auditmod5b.c: Move to ...
2672         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2673         * elf/tst-auditmod6a.c: Move to ...
2674         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2675         * elf/tst-auditmod6b.c: Move to ...
2676         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2677         * elf/tst-auditmod6c.c: Move to ...
2678         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2679         * elf/tst-auditmod7a.c: Move to ...
2680         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2681         * elf/tst-auditmod7b.c: Move to ...
2682         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2684 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
2686         [BZ #15366]
2687         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2688         define unconditionally.
2689         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2690         define unconditionally.
2691         (INT8_C, INT16_C, etc.): Likewise.
2693 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
2695         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2696         __ehdr_start with hidden visibility.
2698         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2700 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
2702         * math/libm-test.inc (cos_test): Use accurate hex constants.
2703         (sincost_test): Likewise.
2705 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
2707         * math/libm-test.inc (catan_test): Add more tests.
2708         (catanh_test): Likewise.
2710         * math/s_catanf.c (__catanf): Use suffixed floating-point
2711         constants.
2712         * math/s_catanhf.c (__catanhf): Likewise.
2713         * math/s_catanhl.c (__catanhl): Likewise.
2714         * math/s_catanl.c (__catanl): Likewise.
2716         [BZ #15394]
2717         * math/s_catan.c (__catan): Calculate imaginary part of result
2718         with log1p not log unless computing log of number close to 0.
2719         * math/s_catanf.c (__catanf): Likewise.
2720         * math/s_catanl.c (__catanl): Likewise.
2721         * math/s_catanh.c (__catanh): Calculate real part of result with
2722         log1p not log unless computing log of number close to 0.
2723         * math/s_catanhf.c (__catanhf): Likewise.
2724         * math/s_catanhl.c (__catanhl): Likewise.
2725         * math/libm-test.inc (catan_test): Add more tests.
2726         (catanh_test): Likewise.
2727         * sysdeps/i386/fpu/libm-test-ulps: Update.
2728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2730 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2732         * benchtests/Makefile: Mention files in which fast and slow
2733         paths of math functions are implemented.
2735 2013-04-23  Roland McGrath  <roland@hack.frob.com>
2737         * sysdeps/posix/timespec_get.c: New file.
2739 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2741         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2742         POWER.
2743         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2744         for POWER.
2745         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2746         powerpc/power5/fpu folders.
2747         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2748         * benchtests/Makefile: Add modf testcase.
2749         * benchtests/bench-modf.c: New file: Benchmark test for mo
2751 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753         [BZ #14888]
2754         * time/Makefile (tests): Add tst-strptime-whitespace.
2755         * time/strptime_l.c (get_number): Use ISSPACE.
2756         (__strptime_internal): Likewise.
2757         * time/tst-strptime-whitespace.c: New test case.
2759 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
2761         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2762         member.
2763         (_nss_files_init): Set it here.
2765 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
2767         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2768         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2769         unsigned.
2771 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
2773         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2775 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2778         size just once.
2780 2013-04-21  David S. Miller  <davem@davemloft.net>
2782         * po/ru.po: Update Russion translation from translation project.
2784 2013-04-17  Adam Conrad  <adconrad@0c3.net>
2786         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2787         and setfsgid.
2789 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
2791         * configure.in: Remove i386 configure warning. Remove i386 case.
2792         * configure: Regenerate.
2793         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2794         Add example to error message.
2795         * sysdeps/i386/configure: Regenerate.
2797 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799         * benchtests/Makefile (bench): Add cos, tan, slowcos and
2800         slowtan.
2801         * benchtests/cos-inputs: New file.
2802         * benchtests/slowcos-inputs: New file.
2803         * benchtests/slowcos.c: New file.
2804         * benchtests/slowtan-inputs: New file.
2805         * benchtests/slowtan.c: New file.
2806         * benchtests/tan-inputs: New file.
2808 2013-04-16  Roland McGrath  <roland@hack.frob.com>
2810         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2811         considered kosher.
2813 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2815         * benchtests/Makefile: Include cppflags-iterator.mk to add
2816         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2818         * Makefile.in (bench-clean): New target.
2819         * benchtests/Makefile (bench-clean): Likewise.
2821 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
2823         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2825 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
2827         * stdio-common/tstdiomisc.c: Fix coding-style violation.
2829 2013-04-15  Andreas Schwab  <schwab@suse.de>
2831         * nscd/grpcache.c (cache_addgr): Properly check for short write.
2832         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2833         * nscd/pwdcache.c (cache_addpw): Likewise.
2834         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
2835         more than recsize.
2837 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2839         * benchtests/Makefile (bench): Write all output to
2840         bench-out.tmp together.
2842 2013-04-15  Andreas Schwab  <schwab@suse.de>
2844         * nscd/nscd.c (main): Don't fork again after closing files.
2846 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2848         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2850         * benchtests/Rules (bench-deps): Collect dependencies into a
2851         single variable.  Add Makefile to dependencies.
2852         ($(objpfx)bench-%.c): Depend on bench-deps.
2854 2013-04-12  Roland McGrath  <roland@hack.frob.com>
2855             Xavier Roche  <roche+kml2@exalead.com>
2857         [BZ #15361]
2858         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2859         just that it's a file descriptor.
2860         * manual/llio.texi (Synchronizing AIO Operations): Update description
2861         for EBADF error from aio_fsync.
2863 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2865         * Rules (bench): Move target definition...
2866         * benchtests/Makefile: ... here.
2868 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
2870         * math/libm-test.inc (cos_test): Fix PI/2 test.
2871         (sincos_test): Likewise.
2872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2873         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2875 2013-04-11  Andreas Schwab  <schwab@suse.de>
2877         [BZ #13988]
2878         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2879         accept exponent character only when digits were seen.
2880         * stdio-common/Makefile (tests): Add bug26.
2881         * stdio-common/bug26.c: New file.
2883         [BZ #14293]
2884         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2885         non-freeable.
2887 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2889         * Makeconfig (rtld-prefix): Define built linker prefix.
2890         * Rules (run-bench): Use it.
2891         * math/Makefile (run-regen-ulps): Likewise.
2893         * Rules (bench): Remove eval.
2895 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2896             Roland McGrath  <roland@hack.frob.com>
2897             Ondrej Bilka  <neleai@seznam.cz>
2899         [BZ #15346]
2900         * time/getdate.c: Include ctype.h and alloca.h.
2901         (__getdate_r): Trim leading and trailing spaces of input.
2902         * time/tst-getdate.c (tests): Add tests with leading and
2903         trailing spaces.
2905 2013-04-08  Roland McGrath  <roland@hack.frob.com>
2907         [BZ #14280]
2908         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2909         when computing value.
2911 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2913         * math/README.libm-test (How can I generate "libm-test-ulps"?):
2914         Use testrun.sh to run libm tests.
2916         [BZ #15309]
2917         * elf/dl-open.c (dl_open_worker): memset all of seen array.
2919 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
2921         [BZ #15264]
2922         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2924 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2926         * Makefile.in (regen-ulps): New target.
2927         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2928         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2929         [ifneq (no,$(PERL)] (regen-ulps): New target.
2930         [ifeq (no,$(PERL)] (regen-ulps): New target.
2931         * math/libm-test.inc (ulps_file_name): Define.
2932         (output_dir): New variable.
2933         (options): Add "output-dir" option.
2934         (parse_opt): Handle 'o' case.
2935         (main): If output_dir is non-NULL use it as a prefix
2936         otherwise use "".
2937         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2939 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2941         [BZ #10060, #10062]
2942         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2943         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2944         fail configure if __sync_val_compare_and_swap is not inlined.
2945         * sysdeps/i386/configure: Regenerate.
2946         * configure.in: Build for i686 when configured for i386.
2947         * configure: Regenerate.
2948         * README: Remove i386 reference.
2950 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2952         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2953         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2955 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2957         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2958         (lmsnanval): New variables.
2959         (F): Add conversion tests.
2960         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2961         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2963         * stdio-common/tstdiomisc.c (F): Properly collect individual
2964         tests' results.
2966         [BZ #14686, #15336]
2967         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2968         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2969         Instead, use input NaN values or generate a qNaN by arithmetic
2970         operation.  Also fix bugs to comply with the standard.
2971         * math/libm-test.inc (remainder_test): Add more tests.
2973         [BZ #15335, #15342]
2974         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2976         input NaN values or generate a qNaN by arithmetic operation.
2978         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2979         unreachable code.
2981         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2982         definitions.
2984 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #14478]
2987         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2988         underflowed result.
2989         * math/s_cexpf.c (__cexpf): Likewise.
2990         * math/s_cexpl.c (__cexpl): Likewise.
2991         * math/libm-test.inc (cexp_test): Add more tests.
2993 2013-04-03  Andreas Schwab  <schwab@suse.de>
2995         [BZ #15330]
2996         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2997         order arrays from heap if bigger than alloca cutoff.
2999 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3001         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3002         (SNAN_TESTS_double): Refer to GCC PR56831.
3003         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3004         GCC PR56828.
3006 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3008         * Rules (bench): Move bench.out after the run is complete.
3010         * Rules (bench): Echo currently running benchmark.
3012         * benchtests/Makefile (bench): Add atan and slowatan.
3013         * benchtests/atan-inputs: New file.
3014         * benchtests/slowatan-inputs: New file.
3015         * benchtests/slowatan.c: New file.
3017         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3019         its value.
3021         [BZ #15305]
3022         * sysdeps/unix/sysv/linux/kernel-features.h
3023         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3024         __ASSUME_XFS_RESTRICTED_CHOWN.
3025         * sysdeps/unix/sysv/linux/pathconf.c
3026         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3027         Save and restore errno.
3029 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3031         [BZ #15327]
3032         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3033         arguments using __kernel_casinh.
3034         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3035         arguments using __kernel_casinhf.
3036         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3037         arguments using __kernel_casinhl.
3038         * math/libm-test.inc (cacosh_test): Add more tests.
3039         * sysdeps/i386/fpu/libm-test-ulps: Update.
3040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3042 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3044         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3047         * bench/Makefile (bench): Add sin and slowsin.
3048         * benchtests/sin-inputs: New file.
3049         * benchtests/slowsin-inputs: New file.
3050         * benchtests/slowsin.c: New file.
3052         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3053         (bench): Add slowexp and slowpow.
3054         (exp-ITER): Increase iterations.
3055         (pow-ITER): Likewise.
3056         * benchtests/exp-inputs: Change input.
3057         * benchtests/pow-inputs: Likewise.
3058         * benchtests/slowexp-inputs: New file.
3059         * benchtests/slowexp.c: New file.
3060         * benchtests/slowpow-inputs: New file.
3061         * benchtests/slowpow.c: New file.
3063 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3065         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3066         instructions.
3067         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3068         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3069         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3070         * benchtests/Makefile: Add rint benchtest.
3071         * benchtests/rint-inputs: Input for rint benchtest.
3073 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3075         * Versions.def (libm): Add GLIBC_2.18.
3076         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3077         hidden libm prototypes.
3078         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3079         * math/Makefile (libm-calls): Add s_issignaling.
3080         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3081         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3082         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3083         declaration.
3084         * math/math.h [__USE_GNU] (issignaling): New macro.
3085         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3086         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3087         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3088         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3089         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3090         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3091         * manual/arith.texi (issignaling): New section.
3092         * manual/libm-err-tab.pl (@all_functions): Update comment.
3093         * math/gen-libm-test.pl (parse_args): Apply special handling for
3094         issignaling.
3095         * math/libm-test.inc (print_float, issignaling_test): New
3096         functions.
3097         (check_float_internal): Add issignaling checks.
3098         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3099         default definition.
3100         * sysdeps/powerpc/math-tests.h: New file.
3101         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3102         tests.
3103         * math/test-snan.c (TEST_FUNC): Likewise.
3105 2013-03-30  David S. Miller  <davem@davemloft.net>
3107         * po/de.po: Update from translation team.
3109 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
3111         [BZ #10357]
3112         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3113         imaginary part less than 1.0 and real part less than 0.5
3114         specially.
3115         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3116         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3117         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3118         (cacos_test): Add more tests.
3119         (casin_test): Likewise.
3120         (casinh_test): Likewise.
3121         * sysdeps/i386/fpu/libm-test-ulps: Update.
3122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3126         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3127         ONE with its value.
3129         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3130         (__pow_mp): Replace ONE and MONE with their values.
3131         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3133         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3134         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3135         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3136         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3138         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3140         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3141         (__pow_mp): Replace ZERO and MZERO with their values.
3142         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3143         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3146         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3147         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3148         (__sqr): Likewise.
3150         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3152         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3154 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3156         * include/stdlib.h [!SHARED] (__call_tls_dtors):
3157         Declare with __attribute__ ((weak)).
3158         * stdlib/exit.c (__libc_atexit) [!SHARED]:
3159         Call __call_tls_dtors only if it's not NULL.
3161 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3163         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3164         didn't do it already, then set _dl_phdr and _dl_phnum based on the
3165         magic __ehdr_start linker symbol if it's defined.
3166         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3167         them up here if it was already done.
3169         * elf/dl-support.c (_dl_phdr): Make pointer to const.
3170         (_dl_aux_init): Use const in cast when setting it.
3171         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3172         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3173         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3175         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3176         Declare them here.
3177         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3178         * csu/libc-tls.c: Nor here.
3179         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3181         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3182         (__libc_message): Never call vsyslog.
3184 2013-03-28  Alan Modra  <amodra@gmail.com>
3186         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3187         Define as empty.
3188         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3189         Likewise.
3191 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193         [BZ #15214]
3194         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3195         underflow.
3196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3198 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3200         [BZ #15304]
3201         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3202         Don't add gid passed as argument.
3204         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3206 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #15307]
3209         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3210         imaginary part between 1.0 and 1.5 and real part less than 0.5
3211         specially.
3212         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3213         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3214         * math/libm-test.inc (cacos_test): Add more tests.
3215         (casin_test): Likewise.
3216         (casinh_test): Likewise.
3217         * sysdeps/i386/fpu/libm-test-ulps: Update.
3218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3222         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3223         constants.
3224         (norm): Likewise.
3225         (denorm): Likewise.
3226         (__dbl_mp): Likewise.
3227         (add_magnitudes): Likewise.
3228         (sub_magnitudes): Likewise.
3229         (__add): Likewise.
3230         (__sub): Likewise.
3231         (__mul): Likewise.
3232         (__sqr): Likewise.
3233         (__inv): Likewise.
3234         (__dvd): Likewise.
3236         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3237         commented code.
3238         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3239         (__dubcos): Likewise.
3240         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3241         (__ieee754_acos): Likewise.
3242         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3243         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3244         (__exp1): Likewise.
3245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3247         (log1): Likewise.
3248         (my_log2): Likewise.
3249         (checkint): Likewise.
3250         * sysdeps/ieee754/dbl-64/e_remainder.c
3251         (__ieee754_remainder): Likewise.
3252         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3254         (bsloww): Likewise.
3255         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3257         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3258         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3259         MANTISSA_STORE_T to store computations on mantissa.  Use
3260         macros for rounding and division.
3261         (denorm): Likewise.
3262         (__dbl_mp): Likewise.
3263         (add_magnitudes): Likewise.
3264         (sub_magnitudes): Likewise.
3265         (__mul): Likewise.
3266         (__sqr): Likewise.
3267         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3268         powers of two in terms of TWOPOW macro.
3269         (mp_no): Make type of mantissa as MANTISSA_T.
3270         [!RADIXI]: Define RADIXI.
3271         [!TWO52]: Define TWO52.
3272         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3274 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3276         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3277         llroundl symbol when building for PPC32.
3279 2013-03-24  Mark H Weaver  <mhw@netris.org>
3281         * manual/arith.texi (Normalization Functions): Fix prototypes for
3282         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3284 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3286         [BZ #13889]
3287         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3288         high value to check if expl overflow.
3289         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3290         to check for underflow and overflow.
3291         * math/libm-test.inc: Add exp test.
3293 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
3295         [BZ #11120]
3296         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3297         with NOT_IN_libc.
3299 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3301         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3302         symbol.
3304 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3306         * math/gen-libm-test.pl (parse_args, special_functions): Properly
3307         wrap blocks consisting of several statements.
3309         * sysdeps/generic/math-tests.h: New file.
3310         * sysdeps/i386/fpu/math-tests.h: Likewise.
3311         * math/test-snan.c: Include it.
3312         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3314 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3316         [BZ #15285]
3317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3318         (__ieee754_j0l): Do not improve calculations using cos of twice
3319         input for inputs above LDBL_MAX / 2.0L.
3320         (__ieee754_y0l): Likewise.
3321         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3322         (__ieee754_j1l): Do not improve calculations using cos of twice
3323         input for inputs above LDBL_MAX / 2.0L.
3324         (__ieee754_y1l): Likewise.
3325         * math/libm-test.inc (j0_test): Add another test.
3326         (j1_test): Likewise.
3327         (y0_test): Likewise.
3328         (y1_test): Likewise.
3329         * sysdeps/i386/fpu/libm-test-ulps: Update.
3331 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3333         * Rules ($(objpfx)bench-%.c): Include code from a C source
3334         file.
3336 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3338         [BZ #15287]
3339         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3340         imaginary part 1.0 and real part less than 0.5 specially.
3341         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3342         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3343         * math/libm-test.inc (cacos_test): Add more tests.
3344         (casin_test): Likewise.
3345         (casinh_test): Likewise.
3346         * sysdeps/i386/fpu/libm-test-ulps: Update.
3347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3349 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3352         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3354 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
3356         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3357         * config.make.in (config-cflags-sse4): Remove variable.
3358         (config-cflags-avx): Likewise.
3359         (config-cflags-sse2avx): Likewise.
3360         (config-cflags-novzeroupper): Likewise.
3361         (config-asflags-i686): Likewise.
3362         (have-mfma4): Likewise.
3363         (have-as-vis3): Likewise.
3364         (MIG): Likewise.
3365         * configure.in (MIG): Do not AC_SUBST.
3366         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3367         (libc_cv_cc_sse4): Do not AC_SUBST.
3368         (libc_cv_cc_avx): Likewise.
3369         (libc_cv_cc_sse2avx): Likewise.
3370         (libc_cv_cc_novzeroupper): Likewise.
3371         (libc_cv_cc_fma4): Likewise.
3372         (libc_cv_as_i686): Likewise.
3373         (libc_cv_sparc_as_vis3): Likewise.
3374         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3375         LIBC_CONFIG_VAR.
3376         (config-asflags-i686): Likewise.
3377         (config-cflags-avx): Likewise.
3378         (config-cflags-sse2avx): Likewise.
3379         (have-mfma4): Likewise.
3380         (config-cflags-novzeroupper): Likewise.
3381         * sysdeps/mach/configure.in (MIG): Likewise.
3382         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3383         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3384         LIBC_CONFIG_VAR.
3385         (config-cflags-avx): Likewise.
3386         (config-cflags-sse2avx): Likewise.
3387         (have-mfma4): Likewise.
3388         (config-cflags-novzeroupper): Likewise.
3389         * configure: Regenerated.
3390         * sysdeps/i386/configure: Likewise.
3391         * sysdeps/mach/configure: Likewise.
3392         * sysdeps/sparc/configure: Likewise.
3393         * sysdeps/x86_64/configure: Likewise.
3395 2013-03-20  Roland McGrath  <roland@hack.frob.com>
3397         [BZ #14812]
3398         * locale/programs/localedef.c (options): Put N_ translation marker
3399         on argument names, not just descriptions.
3401 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3403         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3405 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
3407         [BZ #14176]
3408         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3410 2013-03-19  Roland McGrath  <roland@hack.frob.com>
3412         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3413         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3414         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3415         [!BEFORE_ABORT] (before_abort): New function.
3416         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3417         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3418         (writev_for_fatal): New function.
3419         (WRITEV_FOR_FATAL): New macro; call that.
3420         (backtrace_and_maps): New function.
3421         (BEFORE_ABORT): New macro; call that.
3422         (struct str_list): Type removed.
3423         (__libc_message, __libc_fatal): Functions removed.
3424         Include <sysdeps/posix/libc_fatal.c> instead.
3426 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
3428         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3429         constants.
3430         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3431         double constants.
3433 2013-03-19  Andreas Schwab  <schwab@suse.de>
3435         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3436         * sysdeps/gnu/configure: Regenerate.
3438         * configure.in: Substitute libc_cv_rtlddir.
3439         * configure: Regenerate.
3440         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3441         * Makeconfig (rtlddir, inst_rtlddir): New variables.
3442         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3443         * elf/Makefile (install-others, CFLAGS-interp.c)
3444         (ldso_install, common-ldd-rewrite): Likewise.
3445         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3446         $(inst_slibdir)/$(rtld-installed-name).
3447         * scripts/rellns-sh: Add -p option.
3448         * Makerules (make-shlib-link): Use rellns-sh to get relative name
3449         for source.
3451 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3453         * manual/nptl.texi: Renamed to ...
3454         * manual/threads.texi: ... this.
3455         * manual/Makefile (chapters): Update.
3457 2013-03-18  Roland McGrath  <roland@hack.frob.com>
3459         [BZ #14812]
3460         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3461         on argument names, not just descriptions.
3462         * malloc/memusagestat.c (options): Likewise.
3463         * nss/getent.c (options): Likewise.
3465 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
3467         [BZ #14812]
3468         * iconv/iconv_prog.c (options): Put N_ translation marker
3469         on argument names, not just descriptions.
3470         * iconv/iconvconfig.c (options): Likewise.
3472 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
3474         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3475         implementation which is faster on all x86_64 architectures.
3476         Tested on AMD, Intel Nehalem, SNB, IVB.
3477         * sysdeps/x86_64/strnlen.S: Likewise.
3479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3480         Remove all multiarch strlen and strnlen versions.
3481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3482         Remove strlen and strnlen related parts.
3484         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3485         Inline strlen part.
3486         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3488         * sysdeps/x86_64/multiarch/strlen.S: Remove.
3489         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3490         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3491         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3492         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3493         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3495 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
3497         * manual/memory.texi (Malloc Tunable Parameters):
3498         Sort parameters alphabetically. Add comments for missing entries.
3500 2013-03-17  David S. Miller  <davem@davemloft.net>
3502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3504 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
3506         [BZ #15283]
3507         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3508         for arguments at most half maximum finite value.
3509         * math/libm-test.inc (j0_test): Add more tests.
3510         (j1_test): Likewise.
3511         (y0_test): Likewise.
3512         (y1_test): Likewise.
3513         * sysdeps/i386/fpu/libm-test-ulps: Update.
3514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3516         [BZ #14155]
3517         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3518         1 / x and functions P and Q for arguments above 0x1p256L.
3519         (__ieee754_y0l): Likewise.
3520         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3521         (__ieee754_y1l): Likewise.
3522         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3523         (j1_test): Likewise.
3524         (y0_test): Likewise.
3525         (y1_test): Likewise.
3527 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
3529         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3530         variable.
3532 2013-03-15  Roland McGrath  <roland@hack.frob.com>
3534         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3535         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3536         zero since it's initialized to EXEC_PAGESIZE.
3538         * sysdeps/unix/sysv/linux/ldsodefs.h
3539         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3540         * sysdeps/generic/ldsodefs.h: ... here.
3542 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
3544         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3546         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3547         math/test-snan.c.
3548         * math/test-snan.c: Renamed from
3549         sysdeps/powerpc/fpu/test-powerpc-snan.c.
3550         * math/Makefile (tests): Add test-snan.
3551         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3552         test-powerpc-snan.
3554         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3555         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
3556         functions.
3557         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
3558         __builtin_nan family of functions.
3559         * math/libm-test.inc (initialize): Initialize qnan_value with
3560         __builtin_nan family of functions.
3561         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3562         Remove variables.
3563         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3564         Remove functions.
3565         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
3566         storage class.  Initialize qNaN_var and sNaN_var with
3567         __builtin_nan and __builtin_nans families of functions,
3568         respectively.
3570         * math/libm-test.inc (acosh_test): Also test with qNaN input.
3571         (sqrt_test): Remove duplicate test with qNaN input.
3572         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3573         (round_test, signbit_test, significand_test): Note missing +/-Inf
3574         as well as qNaN tests.
3576         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3577         qNaN_var.  Fix a few strings, too.
3578         * math/libm-test.inc (nan_value): Rename to qnan_value.
3579         * math/gen-libm-test.pl (%beautify): Adjust to that.
3580         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3581         * math/test-misc.c (main): Likewise.
3582         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3583         to __qnan_bytes, and __qnan_union, respectively.
3584         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3585         Likewise.
3586         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3587         and lqnanval, respectively.
3588         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3589         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3590         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3591         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3593         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3594         * math/test-misc.c (main) [__x86_64__]: Enable test for long
3595         doubles.
3597         * math/test-misc.c (main): Fix copy'n'pastos.
3598         * misc/tst-efgcvt.c (special): Likewise.
3600         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3601         Remove declarations.
3603 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3605         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3606         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3607         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3608         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3610 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3613         macro to return vdso values correctly in IFUNC implementations.
3614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3615         Optimization by using IFUNC.
3617 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3618             Richard Henderson  <rth@redhat.com>
3619             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3621         * Makefile.in (bench): New target.
3622         * NEWS: Mention the benchmark framework.
3623         * Rules (bench): Likewise.
3624         (binaries-bench): Generate binaries for functions to
3625         benchmark.
3626         * benchtests/Makefile: New makefile for benchmark tests.
3627         * benchtests/bench-skeleton.c: New skeleton file for benchmark
3628         programs.
3629         * benchtests/exp-inputs: New input file for EXP function.
3630         * benchtests/pow-inputs: New input file for POW function.
3631         * scripts/bench.pl: New script to generate source files for
3632         benchmark programs.
3634 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3636         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3637         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3638         computations on mantissa.  Use macros for rounding and
3639         division.
3640         (denorm): Likewise.
3641         (__dbl_mp): Likewise.
3642         (add_magnitudes): Likewise.
3643         (sub_magnitudes): Likewise.
3644         (__mul): Likewise.
3645         (__sqr): Likewise.
3646         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3647         powers of two in terms of TWOPOW macro.
3648         (mp_no): Make type of mantissa as MANTISSA_T.
3649         [!RADIXI]: Define RADIXI.
3650         [!TWO52]: Define TWO52.
3651         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3653         * manual/nptl.texi (cindex): Modify threads to pthreads.
3655 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
3657         * sysdeps/x86_64/preconfigure: Regenerated.
3659 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
3661         [BZ #14155]
3662         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3663         0x1p28 and above.
3664         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3665         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3666         0x1p28 and above.
3667         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3668         * math/libm-test.inc (j0_test): Do not allow one spurious
3669         underflow exception.
3670         (y1_test): Likewise.
3672 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3674         * manual/Makefile (chapters): Add nptl.
3675         * manual/debug.texi (Debugging Support): Add link to Threads
3676         chapter.
3677         * manual/nptl.texi: New file.
3679         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3681 2013-03-14  Petr Baudis  <pasky@ucw.cz>
3683         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3684         for non-NULL pointer before the memory validity test. Pointed
3685         out by Holger Brunck <holger.brunck@keymile.com>.
3687 2013-03-13  Andreas Schwab  <schwab@suse.de>
3689         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3690         instead of .os.
3692 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
3694         * timezone/zic.c: Update from tzcode 2013b.
3696 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
3698         * manual/install.texi (Configuring and compiling):
3699         Mention i686 and i586.
3700         * INSTALL: Regenerate.
3702 2013-03-12  Roland McGrath  <roland@hack.frob.com>
3704         * sysdeps/init_array/elf-init.c: New file.
3705         * csu/elf-init.c
3706         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3707         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3709         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3710         __gmon_start__ as global, but as static with a .preinit_array pointer.
3711         * sysdeps/init_array/gmon-start.c: New file.  Use that.
3712         * sysdeps/init_array/crti.S: New file, empty except for comments.
3713         * sysdeps/init_array/crtn.S: Likewise.
3715 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
3717         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3718         definining bcopy.
3719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3720         Remove Prefer_SSE_for_memop.
3721         * sysdeps/x86_64/multiarch/init-arch.h: Remove
3722         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3723         HAS_PREFER_SSE_FOR_MEMOP.
3724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3725         memset-x86-64.
3726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3727         Remove bzero, memset ifunc support.
3728         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3729         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3730         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3731         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3733 2013-03-11  Andreas Schwab  <schwab@suse.de>
3735         [BZ #15234]
3736         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3737         by SHLIB_COMPAT.
3738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3739         (GLIBC_2.16): Remove pthread_atfork.
3741 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3743         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3744         (ptestcases.h): Likewise.
3746 2013-03-08  Roland McGrath  <roland@hack.frob.com>
3748         * Makeconfig ($(common-objpfx)config.status): Depend on
3749         sysdeps/*/preconfigure{,.in} too.
3751 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
3753         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3754         (__free_hook): Use void * instead of __malloc_ptr_t.
3755         (__malloc_hook): Likewise.
3756         (__realloc_hook): Likewise.
3757         (__memalign_hook): Likewise.
3758         (__after_morecore_hook): Likewise.
3759         * malloc/arena.c (save_malloc_hook): Likewise.
3760         (save_free_hook): Likewise.
3761         * malloc/hooks.c (malloc_hook_ini): Likewise.
3762         (realloc_hook_ini): Likewise.
3763         (memalign_hook_ini): Likewise.
3764         * malloc/malloc.c (malloc_hook_ini): Likewise.
3765         (realloc_hook_ini): Likewise.
3766         (memalign_hook_ini): Likewise.
3767         (__free_hook): Likewise.
3768         (__malloc_hook): Likewise.
3769         (__realloc_hook): Likewise.
3770         (__memalign_hook): Likewise.
3771         (__libc_malloc): Likewise.
3772         (__libc_free): Likewise.
3773         (__libc_realloc): Likewise.
3774         (__libc_memalign): Likewise.
3775         (__libc_valloc): Likewise.
3776         (__libc_pvalloc): Likewise.
3777         (__libc_calloc): Likewise.
3778         (__posix_memalign): Likewise.
3779         * malloc/morecore.c (__sbrk): Likewise.
3780         (__default_morecore): Likewise.
3782         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3784         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3785         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3786         __malloc_ptrdiff_t.
3788         * malloc/malloc.h (__malloc_size_t): Remove macro.
3789         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3790         __malloc_size_t.
3791         (old_memalign_hook): Likewise.
3792         (old_realloc_hook): Likewise.
3793         (struct hdr): Likewise.
3794         (flood): Likewise.
3795         (mallochook): Likewise.
3796         (memalignhook): Likewise.
3797         (reallochook): Likewise.
3798         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3799         (tr_old_realloc_hook): Likewise.
3800         (tr_old_memalign_hook): Likewise.
3801         (tr_mallochook): Likewise.
3802         (tr_reallochook): Likewise.
3803         (tr_memalignhook): Likewise.
3805 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3807         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3808         default_ldbl_pack and using as default implementation.
3809         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3810         implementation.
3811         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3812         redundant definition.
3813         (ldbl_insert_mantissa): Likewise.
3814         (ldbl_canonicalize): Likewise.
3815         (ldbl_nearbyint): Likewise.
3816         (ldbl_pack): Rename to ldbl_pack_ppc.
3817         (ldbl_unpack): Rename to ldbl_unpack_ppc.
3818         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3819         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3821 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3824         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3825         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3826         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3828         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3829         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3830         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3832 2013-03-07  Andreas Jaeger  <aj@suse.de>
3834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3835         bits/mman-linux.h.
3837 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3839         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3840         Include mpa.h and declare __MPEXP.
3841         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3842         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3843         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3844         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3845         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3846         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3849         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3850         (__slowpow): Use long double EXPL and LOGL functions to
3851         compute POW.
3852         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3853         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3854         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3855         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3856         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3857         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3860         intermediate variable to calculate exponent.
3861         (__sqr): Likewise.
3862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3863         Likewise.
3864         (__sqr): Likewise.
3866         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3867         [!NO__SQR]: Define __sqr.
3868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3869         and NO__SQR.  Remove all code except __mul and __sqr.  Include
3870         sysdeps/ieee754/dbl-64/mpa.c.
3871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3873         [BZ #12723]
3874         * posix/Makefile (tests): Add tst-pathconf.
3875         * posix/tst-pathconf.c: New test case.
3876         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3877         _PC_PIPE_BUF.
3878         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3880 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
3882         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3884 2013-03-06  Andreas Jaeger  <aj@suse.de>
3886         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3887         definition via __MAP_ANONYMOUS.
3889         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3890         it's not part of Linux headers.
3892         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3893         (MAP_HUGE_MASK): Define.
3895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3896         Define.
3897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3899         Define.
3900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3901         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3902         Define.
3903         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3904         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3905         Define.
3906         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3908         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3909         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3910         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3911         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3912         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3913         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3915         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3916         Handle f2fs.
3918         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3919         Handle f2fs and efivarfs.
3921         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3922         f2fs.
3924         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3925         (EFIVARFS_MAGIC): Add.
3926         (F2FS_LINK_MAX): Add.
3928 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3930         * stdio-common/vfprintf.c: Replace __builtin_expect with
3931         __glibc_unlikely.
3933 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
3935         [BZ #13550]
3936         * sysdeps/generic/bp-sym.h: Remove file.
3937         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3938         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3939         <bp-sym.h> and <bp-asm.h>.
3940         (__longjmp): Don't use BP_SYM.
3941         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3942         and <bp-asm.h>.
3943         (memcpy): Don't use BP_SYM.
3944         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3945         <bp-sym.h> and <bp-asm.h>.
3946         (memcpy): Don't use BP_SYM.
3947         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3948         <bp-asm.h>.
3949         (memcpy): Don't use BP_SYM.
3950         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3951         <bp-asm.h>.
3952         (memset): Don't use BP_SYM.
3953         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3954         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3955         (__bzero): Don't use BP_SYM.
3956         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3957         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3958         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3959         <bp-sym.h> and <bp-asm.h>.
3960         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3961         pointers.
3962         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3963         <bp-sym.h> and <bp-asm.h>.
3964         (memcpy): Don't use BP_SYM.
3965         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3966         <bp-sym.h> and <bp-asm.h>.
3967         (memset): Don't use BP_SYM.
3968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3970         (__bzero): Don't use BP_SYM.
3971         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3972         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3973         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3974         <bp-sym.h> and <bp-asm.h>.
3975         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3976         pointers.
3977         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3978         <bp-sym.h> and <bp-asm.h>.
3979         (memcpy): Don't use BP_SYM.
3980         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3981         <bp-sym.h> and <bp-asm.h>.
3982         (memset): Don't use BP_SYM.
3983         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3984         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3985         (__bzero): Don't use BP_SYM.
3986         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3987         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3989         <bp-sym.h> and <bp-asm.h>.
3990         (__memchr): Don't use BP_SYM.
3991         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3992         <bp-sym.h> and <bp-asm.h>.
3993         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3994         pointers.
3995         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3996         <bp-sym.h> and <bp-asm.h>.
3997         (memcpy): Don't use BP_SYM.
3998         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3999         <bp-sym.h> and <bp-asm.h>.
4000         (__mempcpy): Don't use BP_SYM.
4001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4002         <bp-sym.h> and <bp-asm.h>.
4003         (__memrchr): Don't use BP_SYM.
4004         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4005         <bp-sym.h> and <bp-asm.h>.
4006         (memset): Don't use BP_SYM.
4007         (__bzero): Likewise.
4008         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4009         <bp-sym.h> and <bp-asm.h>.
4010         (__rawmemchr): Don't use BP_SYM.
4011         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4012         <bp-sym.h> and <bp-asm.h>.
4013         (__STRCMP): Don't use BP_SYM.
4014         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4015         <bp-sym.h> and <bp-asm.h>.
4016         (strchr): Don't use BP_SYM.
4017         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4018         <bp-sym.h> and <bp-asm.h>.
4019         (__strchrnul): Don't use BP_SYM.
4020         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4021         <bp-sym.h> and <bp-asm.h>.
4022         (strlen): Don't use BP_SYM.
4023         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4024         <bp-sym.h> and <bp-asm.h>.
4025         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4026         pointers.
4027         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4028         <bp-sym.h> and <bp-asm.h>.
4029         (__strnlen): Don't use BP_SYM.
4030         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4031         <bp-sym.h> and <bp-asm.h>.
4032         (__GI__setjmp): Don't use BP_SYM.
4033         (_setjmp): Likewise.
4034         (__sigsetjmp): Likewise.
4035         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4036         (L(start_addresses)): Don't use BP_SYM.
4037         (_start): Likewise.
4038         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4039         <bp-asm.h>.
4040         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4041         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4042         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4043         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4044         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4045         <bp-asm.h>.
4046         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4047         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4048         about bounded pointers.
4049         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4050         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4051         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4052         <bp-asm.h>.
4053         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4054         about bounded pointers.  Remove GKM FIXME comments.
4055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4056         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4057         <bp-asm.h>.
4058         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4059         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4060         Remove GKM FIXME comments.
4061         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4062         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4063         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4064         <bp-asm.h>.
4065         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4066         about bounded pointers.  Remove GKM FIXME comment.
4067         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4068         and <bp-asm.h>.
4069         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4070         pointers.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4072         <bp-sym.h> and <bp-asm.h>.
4073         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4075         <bp-sym.h> and <bp-asm.h>.
4076         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4077         comment.
4079 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4081         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4082         call free(NULL).
4084 2013-03-05  David S. Miller  <davem@davemloft.net>
4086         * po/es.po: Update from translation team.
4088 2013-03-05  Andreas Jaeger  <aj@suse.de>
4090         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4091         <bits/mman-linux.h>.
4092         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4093         is fine.
4094         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4095         <bits/mman-linux.h> to end of file.
4096         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4097         is fine.
4098         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4099         <bits/mman-linux.h> to end of file.
4100         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4101         is fine.
4102         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4103         <bits/mman-linux.h> to end of file.
4105         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4106         (MCL_CURRENT, MCL_FUTURE): Define here.
4108 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4110         [BZ #15232]
4111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4112         attribute_hidden.
4113         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4115 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4117         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4118         fourth parameter needed for rt_sigprocmask syscall.
4119         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4120         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4121         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4122         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4124         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4126 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
4128         [BZ #13550]
4129         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4130         comment about bounded pointers.
4131         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4132         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4134 2013-03-04  Andreas Jaeger  <aj@suse.de>
4136         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4137         common definitions.
4139         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4140         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4142         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4143         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4144         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4146 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4148         [BZ #15055]
4149         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4150         __ieee754_sqrl instead of __sqrl.
4152 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
4154         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4155         * sysdeps/powerpc/fpu_control.h: ... here.
4156         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4157         * sysdeps/powerpc/bits/fenvinline.h: ... here.
4158         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4159         * sysdeps/powerpc/bits/mathinline.h: ... here.
4161 2013-03-01  Roland McGrath  <roland@hack.frob.com>
4163         * elf/dl-hwcaps.c (_dl_important_hwcaps):
4164         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4165         to just [NEED_DL_SYSINFO_DSO].
4166         * elf/dl-support.c: Likewise.
4167         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4168         * elf/rtld.c (dl_main): Likewise.
4169         * elf/setup-vdso.h (setup_vdso): Likewise.
4170         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4171         * sysdeps/unix/sysv/linux/dl-sysdep.c
4172         (_dl_discover_osversion): Likewise.
4174 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
4176         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4177         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4179 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4181         * NEWS: Mention libm performance improvements and non-x86 PI
4182         futex support.
4184         * csu/libc-start.c (__pthread_initialize_minimal): Change
4185         function arguments.
4186         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4188 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
4190         [BZ #13550]
4191         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4192         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4193         <bp-sym.h> and <bp-asm.h>.
4194         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4195         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4196         and <bp-asm.h>.
4197         (memcpy): Don't use BP_SYM.
4198         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4199         <bp-asm.h>.
4200         (__mpn_add_n): Don't use BP_SYM.
4201         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4202         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4203         and <bp-asm.h>.
4204         (__mpn_addmul_1): Don't use BP_SYM.
4205         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4206         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4207         <bp-sym.h>.
4208         (_setjmp): Don't use BP_SYM.
4209         (__novmx_setjmp): Likewise.
4210         (__GI__setjmp): Likewise.
4211         (__vmx_setjmp): Likewise.
4212         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4213         <bp-sym.h>.
4214         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4215         (__bzero): Don't use BP_SYM.
4216         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4217         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4218         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4219         <bp-sym.h> and <bp-asm.h>.
4220         (memcpy): Don't use BP_SYM.
4221         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4222         <bp-sym.h> and <bp-asm.h>.
4223         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4224         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4225         <bp-sym.h> and <bp-asm.h>.
4226         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4227         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4228         <bp-asm.h>.
4229         (__mpn_lshift): Don't use BP_SYM.
4230         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4231         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4232         <bp-asm.h>.
4233         (memset): Don't use BP_SYM.
4234         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4235         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4236         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4237         <bp-asm.h>.
4238         (__mpn_mul_1): Don't use BP_SYM.
4239         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4240         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4241         <bp-sym.h> and <bp-asm.h>.
4242         (memcmp): Don't use BP_SYM.
4243         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4244         <bp-sym.h> and <bp-asm.h>.
4245         (memcpy): Don't use BP_SYM.
4246         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4247         <bp-sym.h> and <bp-asm.h>.
4248         (memset): Don't use BP_SYM.
4249         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4250         <bp-sym.h> and <bp-asm.h>.
4251         (strncmp): Don't use BP_SYM.
4252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4253         <bp-sym.h> and <bp-asm.h>.
4254         (memcpy): Don't use BP_SYM.
4255         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4256         <bp-sym.h> and <bp-asm.h>.
4257         (memset): Don't use BP_SYM.
4258         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4259         <bp-sym.h> and <bp-asm.h>.
4260         (__memchr): Don't use BP_SYM.
4261         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4262         <bp-sym.h> and <bp-asm.h>.
4263         (memcmp): Don't use BP_SYM.
4264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4265         <bp-sym.h> and <bp-asm.h>.
4266         (memcpy): Don't use BP_SYM.
4267         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4268         <bp-sym.h> and <bp-asm.h>.
4269         (__mempcpy): Don't use BP_SYM.
4270         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4271         <bp-sym.h> and <bp-asm.h>.
4272         (__memrchr): Don't use BP_SYM.
4273         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4274         <bp-sym.h> and <bp-asm.h>.
4275         (memset): Don't use BP_SYM.
4276         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4277         <bp-sym.h> and <bp-asm.h>.
4278         (__rawmemchr): Don't use BP_SYM.
4279         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4280         <bp-sym.h> and <bp-asm.h>.
4281         (__STRCMP): Don't use BP_SYM.
4282         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4283         <bp-sym.h> and <bp-asm.h>.
4284         (strchr): Don't use BP_SYM.
4285         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4286         <bp-sym.h> and <bp-asm.h>.
4287         (__strchrnul): Don't use BP_SYM.
4288         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4289         <bp-sym.h> and <bp-asm.h>.
4290         (strlen): Don't use BP_SYM.
4291         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4292         <bp-sym.h> and <bp-asm.h>.
4293         (strncmp): Don't use BP_SYM.
4294         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4295         <bp-sym.h> and <bp-asm.h>.
4296         (__strnlen): Don't use BP_SYM.
4297         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4298         <bp-asm.h>.
4299         (__mpn_rshift): Don't use BP_SYM.
4300         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4301         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4302         <bp-sym.h> and <bp-asm.h>.
4303         (__sigsetjmp): Don't use BP_SYM.
4304         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4305         (L(start_addresses)): Don't use BP_SYM.
4306         (_start): Likewise.
4307         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4308         <bp-asm.h>.
4309         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4310         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4311         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4312         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4313         <bp-asm.h>.
4314         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4315         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4316         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4317         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4318         <bp-asm.h>.
4319         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4320         comments.
4321         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4322         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4323         <bp-asm.h>.
4324         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
4325         FIXME comments.
4326         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4327         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4328         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4329         <bp-asm.h>.
4330         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4331         comment.
4332         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4333         and <bp-asm.h>.
4334         (strncmp): Don't use BP_SYM,
4335         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4336         <bp-asm.h>.
4337         (__mpn_sub_n): Don't use BP_SYM.
4338         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4339         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4340         and <bp-asm.h>.
4341         (__mpn_submul_1): Don't use BP_SYM.
4342         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4344         <bp-sym.h> and <bp-asm.h>.
4345         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4347         <bp-sym.h> and <bp-asm.h>.
4348         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4349         comment.
4351 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4354         Use ZK to minimize writes to Z.
4355         (sub_magnitudes): Simplify code a bit.
4356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4357         Use ZK to minimize writes to Z.
4358         (sub_magnitudes): Simplify code a bit.
4360 2013-02-27  Roland McGrath  <roland@hack.frob.com>
4362         * csu/gmon-start.c: Add special exception to license text.
4364 2013-02-27  Richard Henderson  <rth@redhat.com>
4366         * scripts/config.guess: Update from config.git.
4367         * scripts/config.sub: Likewise.
4369 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4371         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4373         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4375         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4377         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4379         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4381 2013-02-26  Roland McGrath  <roland@hack.frob.com>
4383         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4384         [$(build-shared = yes].
4386 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4388         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4389         (__mul): Reduce iterations for calculating mantissa.
4391         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4392         MPTWO.
4393         (__mpranred): Likewise.
4395         [BZ #15160]
4396         * malloc/memusagestat.c (main): Draw graphs for heap and stack
4397         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4399 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
4401         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4402         Define __attribute__.
4404 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4406         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4407         unused.
4408         * posix/regex_internal.h (__attribute): Remove.
4409         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4410         (re_string_context_at): Likewise.
4411         (bitset_not): Use __attribute__ and mark function as possibly
4412         unused.
4413         (bitset_merge): Likewise.
4414         (bitset_mask): Likewise.
4415         (re_string_char_size_at): Likewise.
4416         (re_string_wchar_at): Likewise.
4417         (re_string_elem_size_at): Likewise.
4419 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4421         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4422         code.
4423         (cc32): Likewise.
4425         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4426         (__acr): Likewise.
4427         (__cpy): Likewise.
4428         (norm): Likewise.
4429         (denorm): Likewise.
4430         (__dbl_mp): Likewise.
4431         (add_magnitudes): Likewise.
4432         (sub_magnitudes): Likewise.
4433         (__mul): Likewise.
4434         (__inv): Likewise.
4436         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4437         style.
4439         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4440         style.
4442         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4443         code.
4445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4446         up changes with default code.
4447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4448         Likewise.
4450 2013-02-24  Allan McRae  <allan@archlinux.org>
4452         * manual/socket.texi (The Internet Namespace): Order menu items
4453         to match that in the file.
4455         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4456         node listing of the info page menu.
4458 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
4460         [BZ #13550]
4461         * sysdeps/i386/bp-asm.h: Remove file.
4462         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4463         (PARMS): Do not use macros from bp-asm.h.
4464         (S1): Likewise.
4465         (S2): Likewise.
4466         (SIZE): Likewise.
4467         (__mpn_add_n): Do not use BP_SYM
4468         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4469         "bp-asm.h".
4470         (PARMS): Do not use macros from bp-asm.h.
4471         (S1): Likewise.
4472         (SIZE): Likewise.
4473         (__mpn_addmul_1): Do not use BP_SYM
4474         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4475         "bp-asm.h".
4476         (PARMS): Do not use macros from bp-asm.h.
4477         (SIGMSK): Likewise.
4478         (_setjmp): Likewise.  Do not use BP_SYM.
4479         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4480         "bp-asm.h".
4481         (PARMS): Do not use macros from bp-asm.h.
4482         (SIGMSK): Likewise.
4483         (setjmp): Likewise.  Do not use BP_SYM.
4484         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4485         "bp-asm.h".
4486         (PARMS): Do not use macros from bp-asm.h.
4487         (__frexp): Do not use BP_SYM.
4488         (frexp): Likewise.
4489         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4490         "bp-asm.h".
4491         (PARMS): Do not use macros from bp-asm.h.
4492         (__frexpf): Do not use BP_SYM.
4493         (frexpf): Likewise.
4494         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4495         "bp-asm.h".
4496         (PARMS): Do not use macros from bp-asm.h.
4497         (__frexpl): Do not use BP_SYM.
4498         (frexpl): Likewise.
4499         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4500         "bp-asm.h".
4501         (PARMS): Do not use macros from bp-asm.h.
4502         (__remquo): Do not use BP_SYM.
4503         (remquo): Likewise.
4504         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4505         "bp-asm.h".
4506         (PARMS): Do not use macros from bp-asm.h.
4507         (__remquof): Do not use BP_SYM.
4508         (remquof): Likewise.
4509         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4510         "bp-asm.h".
4511         (PARMS): Do not use macros from bp-asm.h.
4512         (__remquol): Do not use BP_SYM.
4513         (remquol): Likewise.
4514         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4515         "bp-asm.h".
4516         (PARMS): Do not use macros from bp-asm.h.
4517         (DEST): Likewise.
4518         (SRC): Likewise.
4519         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
4520         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4521         "bp-asm.h".
4522         (PARMS): Do not use macros from bp-asm.h.
4523         (strlen): Do not use BP_SYM.
4524         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4525         "bp-asm.h".
4526         (PARMS): Do not use macros from bp-asm.h.
4527         (S1): Likewise.
4528         (S2): Likewise.
4529         (SIZE): Likewise.
4530         (__mpn_add_n): Do not use BP_SYM.
4531         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4532         "bp-asm.h".
4533         (PARMS): Do not use macros from bp-asm.h.
4534         (S1): Likewise.
4535         (SIZE): Likewise.
4536         (__mpn_addmul_1): Do not use BP_SYM.
4537         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4538         weak_alias.
4539         (bzero): Likewise.
4540         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4541         "bp-asm.h".
4542         (PARMS): Do not use macros from bp-asm.h.
4543         (S): Likewise.
4544         (SIZE): Likewise.
4545         (__mpn_lshift): Do not use BP_SYM.
4546         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4547         "bp-asm.h".
4548         (PARMS): Do not use macros from bp-asm.h.
4549         (DEST): Likewise.
4550         (SRC): Likewise.
4551         (LEN): Likewise.
4552         (memcpy): Likewise.  Do not use BP_SYM.
4553         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4554         libc_hidden_def and weak_alias.
4555         (mempcpy): Do not use BP_SYM in weak_alias.
4556         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4557         "bp-asm.h".
4558         (PARMS): Do not use macros from bp-asm.h.
4559         (DEST): Likewise.
4560         (LEN): Likewise.
4561         [!BZERO_P] (CHR): Likewise.
4562         (memset): Likewise.  Do not use BP_SYM.
4563         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4564         "bp-asm.h".
4565         (PARMS): Do not use macros from bp-asm.h.
4566         (S1): Likewise.
4567         (SIZE): Likewise.
4568         (__mpn_mul_1): Do not use BP_SYM.
4569         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4570         "bp-asm.h".
4571         (PARMS): Do not use macros from bp-asm.h.
4572         (S): Likewise.
4573         (SIZE): Likewise.
4574         (__mpn_rshift): Do not use BP_SYM.
4575         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4576         "bp-asm.h".
4577         (PARMS): Do not use macros from bp-asm.h.
4578         (STR): Likewise.
4579         (CHR): Likewise.
4580         (strchr): Likewise.  Do not use BP_SYM.
4581         (index): Do not use BP_SYM in weak_alias.
4582         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4583         "bp-asm.h".
4584         (PARMS): Do not use macros from bp-asm.h.
4585         (DEST): Likewise.
4586         (SRC): Likewise.
4587         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
4588         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4589         "bp-asm.h".
4590         (PARMS): Do not use macros from bp-asm.h.
4591         (strlen): Do not use BP_SYM.
4592         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4593         "bp-asm.h".
4594         (PARMS): Do not use macros from bp-asm.h.
4595         (S1): Likewise.
4596         (S2): Likewise.
4597         (SIZE): Likewise.
4598         (__mpn_sub_n): Do not use BP_SYM.
4599         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4600         "bp-asm.h".
4601         (PARMS): Do not use macros from bp-asm.h.
4602         (S1): Likewise.
4603         (SIZE): Likewise.
4604         (__mpn_submul_1): Do not use BP_SYM.
4605         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4606         "bp-asm.h".
4607         (PARMS): Do not use macros from bp-asm.h.
4608         (S1): Likewise.
4609         (S2): Likewise.
4610         (SIZE): Likewise.
4611         (__mpn_add_n): Do not use BP_SYM.
4612         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4613         weak_alias.
4614         (bzero): Likewise.
4615         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4616         "bp-asm.h".
4617         (PARMS): Do not use macros from bp-asm.h.
4618         (BLK2): Likewise.
4619         (LEN): Likewise.
4620         (memcmp): Do not use BP_SYM.
4621         (bcmp): Do not use BP_SYM in weak_alias.
4622         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4623         "bp-asm.h".
4624         (PARMS): Do not use macros from bp-asm.h.
4625         (DEST): Likewise.
4626         (SRC): Likewise.
4627         (LEN): Likewise.
4628         (memcpy): Likewise.  Do not use BP_SYM.
4629         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4630         "bp-asm.h".
4631         (PARMS): Do not use macros from bp-asm.h.
4632         (DEST): Likewise.
4633         (SRC): Likewise.
4634         (LEN): Likewise.
4635         (memmove): Likewise.  Do not use BP_SYM.
4636         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4637         "bp-asm.h".
4638         (PARMS): Do not use macros from bp-asm.h.
4639         (DEST): Likewise.
4640         (SRC): Likewise.
4641         (LEN): Likewise.
4642         (__mempcpy): Likewise.  Do not use BP_SYM.
4643         (mempcpy): Do not use BP_SYM in weak_alias.
4644         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4645         "bp-asm.h".
4646         (PARMS): Do not use macros from bp-asm.h.
4647         (DEST): Likewise.
4648         (LEN): Likewise.
4649         [!BZERO_P] (CHR): Likewise.
4650         (memset): Likewise.  Do not use BP_SYM.
4651         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4652         "bp-asm.h".
4653         (PARMS): Do not use macros from bp-asm.h.
4654         (STR2): Likewise.
4655         (strcmp): Do not use BP_SYM.
4656         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4657         "bp-asm.h".
4658         (PARMS): Do not use macros from bp-asm.h.
4659         (STR): Likewise.
4660         (DELIM): Likewise.
4661         [USE_AS_STRTOK_R] (SAVE): Likewise.
4662         (FUNCTION): Likewise.  Do not use BP_SYM.
4663         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4664         aliases.
4665         (strtok_r): Likewise.
4666         (__GI___strtok_r): Likewise.
4667         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4668         (PARMS): Do not use macros from bp-asm.h.
4669         (S): Likewise.
4670         (SIZE): Likewise.
4671         (__mpn_lshift): Do not use BP_SYM.
4672         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4673         (PARMS): Do not use macros from bp-asm.h.
4674         (STR): Likewise.
4675         (CHR): Likewise.
4676         (__memchr): Do not use BP_SYM.
4677         (memchr): Do not use BP_SYM in weak_alias.
4678         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4679         (PARMS): Do not use macros from bp-asm.h.
4680         (BLK2): Likewise.
4681         (LEN): Likewise.
4682         (memcmp): Do not use BP_SYM.
4683         (bcmp): Do not use BP_SYM in weak_alias.
4684         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4685         (PARMS): Do not use macros from bp-asm.h.
4686         (S1): Likewise.
4687         (SIZE): Likewise.
4688         (__mpn_mul_1): Do not use BP_SYM.
4689         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4690         "bp-asm.h".
4691         (PARMS): Do not use macros from bp-asm.h.
4692         (STR): Likewise.
4693         (CHR): Likewise.
4694         (__rawmemchr): Do not use BP_SYM.
4695         (rawmemchr): Do not use BP_SYM in weak_alias.
4696         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4697         (PARMS): Do not use macros from bp-asm.h.
4698         (S): Likewise.
4699         (SIZE): Likewise.
4700         (__mpn_rshift): Do not use BP_SYM.
4701         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4702         (PARMS): Do not use macros from bp-asm.h.
4703         (SIGMSK): Likewise.
4704         (__sigsetjmp): Likewise.  Do not use BP_SYM.
4705         * sysdeps/i386/start.S: Do not include "bp-sym.h".
4706         (_start): Do not use BP_SYM.
4707         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4708         (PARMS): Do not use macros from bp-asm.h.
4709         (DEST): Likewise.
4710         (SRC): Likewise.
4711         (__stpcpy): Likewise.  Do not use BP_SYM.
4712         (stpcpy): Do not use BP_SYM in weak_alias.
4713         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4714         "bp-asm.h".
4715         (PARMS): Do not use macros from bp-asm.h.
4716         (DEST): Likewise.
4717         (SRC): Likewise.
4718         (LEN): Likewise.
4719         (__stpncpy): Likewise.  Do not use BP_SYM.
4720         (stpncpy): Do not use BP_SYM in weak_alias.
4721         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4722         (PARMS): Do not use macros from bp-asm.h.
4723         (STR): Likewise.
4724         (CHR): Likewise.
4725         (strchr): Likewise.  Do not use BP_SYM.
4726         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4727         "bp-asm.h".
4728         (PARMS): Do not use macros from bp-asm.h.
4729         (STR): Likewise.
4730         (CHR): Likewise.
4731         (__strchrnul): Likewise.  Do not use BP_SYM.
4732         (strchrnul): Do not use BP_SYM in weak_alias.
4733         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4734         "bp-asm.h".
4735         (PARMS): Do not use macros from bp-asm.h.
4736         (STOP): Likewise.
4737         (strcspn): Do not use BP_SYM.
4738         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4739         "bp-asm.h".
4740         (PARMS): Do not use macros from bp-asm.h.
4741         (STR): Likewise.
4742         (STOP): Likewise.
4743         (strpbrk): Likewise.  Do not use BP_SYM.
4744         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4745         "bp-asm.h".
4746         (PARMS): Do not use macros from bp-asm.h.
4747         (STR): Likewise.
4748         (CHR): Likewise.
4749         (strrchr): Likewise.  Do not use BP_SYM.
4750         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4751         (PARMS): Do not use macros from bp-asm.h.
4752         (SKIP): Likewise.
4753         (strspn): Do not use BP_SYM.
4754         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4755         (PARMS): Do not use macros from bp-asm.h.
4756         (STR): Likewise.
4757         (DELIM): Likewise.
4758         (SAVE): Likewise.
4759         (FUNCTION): Likewise.  Do not use BP_SYM.
4760         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4761         aliases.
4762         (strtok_r): Likewise.
4763         (__GI___strtok_r): Likewise.
4764         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4765         (PARMS): Do not use macros from bp-asm.h.
4766         (S1): Likewise.
4767         (S2): Likewise.
4768         (SIZE): Likewise.
4769         (__mpn_sub_n): Do not use BP_SYM.
4770         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4771         "bp-asm.h".
4772         (PARMS): Do not use macros from bp-asm.h.
4773         (S1): Likewise.
4774         (SIZE): Likewise.
4775         (__mpn_submul_1): Do not use BP_SYM.
4776         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4777         <bp-sym.h>.
4778         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4779         and <bp-asm.h>.
4780         (PARMS): Do not use macros from bp-asm.h.
4781         (FLAGS): Likewise.
4782         (PTID): Likewise.
4783         (TLS): Likewise.
4784         (CTID): Likewise.
4785         (__clone): Do not use BP_SYM.
4786         (clone): Do not use BP_SYM in weak_alias.
4787         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4788         and <bp-asm.h>.
4789         (PARMS): Do not use macros from bp-asm.h.
4790         (LEN): Likewise.
4791         (__mmap64): Do not use BP_SYM.
4792         (mmap64): Do not use BP_SYM in weak_alias.
4793         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4794         <bp-sym.h> and <bp-asm.h>.
4795         (PARMS): Do not use macros from bp-asm.h.
4796         (__posix_fadvise64_l64): Do not use BP_SYM.
4797         * sysdeps/unix/sysv/linux/i386/semtimedop.S
4798         (PARMS): Do not use macros from bp-asm.h.
4799         (NSOPS): Likewise.
4800         (semtimedop): Do not use BP_SYM.
4801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4802         and <bp-asm.h>.
4804 2013-02-21  Allan McRae  <allan@archlinux.org>
4806         * manual/message.texi (Charset conversion in gettext):
4807         Move @end statement to beginning of line.
4809 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4812         static.
4813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4814         Likewise.
4816         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4817         (denorm): Likewise.
4818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4821 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4823         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4824         tail-call to the resolved function if pltexit isn't needed.
4826 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4829         or Y being zero as being unlikely.
4830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4831         Likewise.
4833 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
4835         * manual/nss.texi (System Databases and Name Service Switch):
4836         Remove frobnicate @pxref.
4838 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4840         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4841         __attribute__ ((unused)) to __attribute__ ((__unused__)).
4843 2013-02-20  Petr Machata  <pmachata@redhat.com>
4845         * elf/elf.h (R_ARM_TARGET1): New macro.
4846         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4847         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4848         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4849         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4850         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4851         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4852         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4853         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4854         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4855         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4856         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4857         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4858         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4859         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4860         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4861         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4862         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4863         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4864         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4865         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4866         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4867         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4868         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4869         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4870         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4871         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4872         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4873         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4874         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4875         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4876         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4877         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4878         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4879         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4880         (R_ARM_THM_GOT_BREL12): Likewise.
4881         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4882         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4883         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4884         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4885         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4886         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4887         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4888         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4889         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4891 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4893         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4894         __attribute_used__ to __attribute__ ((unused)).
4896 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4898         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4899         powerpc mpa.c.
4900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4901         comment formatting.
4902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4904 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
4906         [BZ #13550]
4907         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4908         Remove macro.
4909         (ENTER): Remove both macro definitions.
4910         (LEAVE): Likewise.
4911         (CHECK_BOUNDS_LOW): Likewise.
4912         (CHECK_BOUNDS_HIGH): Likewise.
4913         (CHECK_BOUNDS_BOTH): Likewise.
4914         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4915         (RETURN_BOUNDED_POINTER): Likewise.
4916         (RETURN_NULL_BOUNDED_POINTER): Likewise.
4917         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4918         (POP_ERRNO_LOCATION_RETURN): Likewise.
4919         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4920         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4921         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4922         macros.
4923         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4924         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4925         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4926         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4927         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4928         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4929         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4930         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4931         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4932         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4933         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4934         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4935         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4936         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4937         removed macros.
4938         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4939         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4940         macros.
4941         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4942         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4943         * sysdeps/i386/i586/memset.S (memset): Likewise.
4944         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4945         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4946         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4947         macros.
4948         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4949         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4950         Change uses of L(2) to L(out).
4951         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4952         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4953         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4954         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4955         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4956         removed macros.
4957         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4958         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4959         macros.
4960         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4961         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4962         (RETURN): Do not use macro LEAVE.
4963         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4964         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4965         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4966         * sysdeps/i386/i686/memset.S (memset): Likewise.
4967         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4968         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4969         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4970         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4971         Likewise.
4972         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4973         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
4974         L(1_2) and L(1_3) into L(1).
4975         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4976         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4977         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4978         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4979         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4980         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4981         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4982         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4983         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4984         macros.
4985         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4986         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4987         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4988         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4989         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4990         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4991         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4992         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4993         * sysdeps/i386/strcspn.S (strcspn): Likewise.
4994         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4995         * sysdeps/i386/strrchr.S (strrchr): Likewise.
4996         * sysdeps/i386/strspn.S (strspn): Likewise.
4997         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4998         conditional code.
4999         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5000         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5001         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5002         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5003         L(1_3) into L(1_1).
5004         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5005         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5006         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5007         macros.
5008         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5010 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5012         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5013         macro.
5015 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5017         * math/atest-exp.c (exp_mpn): Remove ROUND.
5018         * math/atest-exp2.c (exp_mpn): Likewise.
5019         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5021         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5022         * stdlib/tst-tls-atexit-lib.c: Likewise.
5023         * stdlib/tst-tls-atexit.c: Likewise.
5025 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5027         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5028         and __attribute_alloc_size__.
5030 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5032         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5033         __attribute_alloc_size__.
5034         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5035         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5037 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5039         * include/programs/xmalloc.h: New file.
5040         * catgets/gencat.c: Include it.
5041         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5042         * elf/pldd.c: Likewise.
5043         * iconv/iconv_charmap.c: Likewise.
5044         * iconv/iconvconfig.c: Likewise.
5045         * iconv/strtab.c: Likewise.
5046         * locale/programs/locale.c: Likewise.
5047         * locale/programs/localedef.h: Likewise.
5048         * locale/programs/simple-hash.c: Likewise.
5049         * nscd/nscd.h: Likewise.
5050         * nss/makedb.c: Likewise.
5051         * sysdeps/generic/ldconfig.h: Likewise.
5053 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5055         * Versions.def: Add GLIBC_2.18.
5056         * include/link.h (struct link_map): New member l_tls_dtor_count.
5057         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5058         (__call_tls_dtors): Likewise.
5059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5060         __cxa_thread_atexit_impl.
5061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5062         Likewise.
5063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5066         Likewise.
5067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5068         Likewise.
5069         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5071         Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5076         Likewise.
5077         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5078         (tests): Add test case tst-tls-atexit.
5079         (modules-names): Add shared library for tst-tls-atexit.
5080         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5081         (GLIBC_PRIVATE): Add __call_tls_dtors.
5082         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5083         for libstdc++.
5084         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5085         * stdlib/tst-tls-atexit.c: New test case.
5086         * stdlib/tst-tls-atexit-lib.c: New test case.
5088         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5090         * elf/Versions (ld): Add _dl_find_dso_for_object.
5091         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5092         * elf/dl-open.c (_dl_find_dso_for_object): New function.
5093         (dl_open_worker): Use _dl_find_dso_for_object.
5094         * elf/dl-sym.c (do_sym): Likewise.
5095         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5097 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5099         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5100         Syntactic changes only.
5101         (_dl_runtime_profile): Do a tail-call to the resolved function.
5103 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
5105         [BZ #13550]
5106         * sysdeps/x86_64/bp-asm.h: Remove file.
5107         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5108         <bp-sym.h> and <bp-asm.h>.
5109         (__clone): Do not use BP_SYM.
5110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5111         <bp-sym.h> and <bp-asm.h>.
5112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5113         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5114         "bp-asm.h".
5115         (_setjmp): Do not use BP_SYM.
5116         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5117         "bp-asm.h".
5118         (setjmp): Do not use BP_SYM.
5119         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5120         libc_hidden_def.
5121         (mempcpy): Do not use BP_SYM in weak_alias.
5122         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5123         "bp-asm.h".
5124         (strchr): Do not use BP_SYM.
5125         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5126         "bp-asm.h".
5127         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5128         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5129         (_start): Do not use BP_SYM.
5130         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5131         "bp-asm.h".
5132         (strcat): Do not use BP_SYM.
5133         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5134         "bp-asm.h".
5135         (STRCMP): Do not use BP_SYM.
5136         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5137         "bp-asm.h".
5138         (STRCPY): Do not use BP_SYM.
5139         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5140         "bp-asm.h".
5141         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5142         "bp-asm.h".
5143         (FUNCTION): Do not use BP_SYM.
5144         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5145         weak_alias.
5146         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5148 2013-02-17  Andreas Jaeger  <aj@suse.de>
5150         * time/Versions: Sort entries.
5151         * string/Versions: Likewise.
5152         * resolv/Versions: Likewise.
5153         * posix/Versions: Likewise.
5154         * iconv/Versions: Likewise.
5155         * elf/Versions: Likewise.
5156         * wcsmbs/Versions: Likewise.
5158 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5160         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5161         loop termination condition.
5163         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5164         variable to calculate EZ.
5165         (__sqr): Likewise.
5167         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5168         the lower precision input.
5170 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
5172         [BZ #13550]
5173         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5174         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5175         (run-via-rtld-prefix): Do not handle %-bp tests.
5176         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5177         (all-object-suffixes): Remove .ob.
5178         (bppfx): Remove variable.
5179         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5180         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5181         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5182         [$(build-bounded) = yes] (libtype.ob): Likewise.
5183         * Makerules (elide-routines.ob): Remove variable.
5184         (do-tests-clean): Do not handle *-bp.out.
5185         (common-mostlyclean): Do not handle *-bp and *-bp.out.
5186         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5187         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5188         (tests): Do not include $(tests-bp.out).
5189         (xtests): Do not include $(xtests-bp.out).
5190         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5191         [$(build-bounded) = yes] ($(addprefix
5192         $(objpfx),$(binaries-bounded))): Remove rule.
5193         ($(objpfx)%-bp.out): Remove rule.
5194         * config.make.in (build-bounded): Remove variable.
5195         * crypt/Makefile [$(build-bounded) = yes]
5196         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5197         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5198         append to variable.
5199         [$(build-bounded) = yes] (install-lib): Likewise.
5200         [$(build-bounded) = yes] (generated): Likewise.
5201         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5202         Remove rule.
5203         * intl/Makefile [$(build-bounded) = yes]
5204         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5205         * math/Makefile [$(build-bounded) = yes]
5206         ($(tests:%=$(objpfx)%-bp): Likewise.
5207         * misc/Makefile [$(build-bounded) = yes]
5208         ($(objpfx)tst-tsearch-bp): Likewise.
5209         * nptl/Makeconfig (bounded-thread-library): Remove variable.
5210         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5211         Remove dependency.
5212         * string/Makefile (o-objects.ob): Remove variable.
5213         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5214         (CFLAGS-.ob): Remove variable.
5215         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5216         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5217         both definitions of variable.
5218         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5219         (ASFLAGS-.ob): Remove variable.
5221 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
5223         [BZ #13550]
5224         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5225         Remove __BOUNDED_POINTERS__ from condition.
5226         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5227         * string/bits/string2.h [!__NO_STRING_INLINES &&
5228         !__BOUNDED_POINTERS__]: Likewise.
5229         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5232         Remove conditional code.
5233         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5234         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5235         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5236         condition.
5238         [BZ #13550]
5239         * csu/libc-start.c: Do not include <bp-sym.h>.
5240         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5241         * elf/dl-open.c: Do not include <bp-sym.h>.
5242         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5243         * math/fegetenv.c: Do not include <bp-sym.h>.
5244         (fegetenv): Do not use BP_SYM in versioned symbols.
5245         * nptl/sysdeps/pthread/bits/libc-lockP.h
5246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5247         <bp-sym.h>.
5248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5249         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5251         (__pthread_mutex_destroy): Likewise.
5252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5253         (__pthread_mutex_lock): Likewise.
5254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5255         (__pthread_mutex_trylock): Likewise.
5256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5257         (__pthread_mutex_unlock): Likewise.
5258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5259         (__pthread_mutexattr_init): Likewise.
5260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5261         (__pthread_mutexattr_destroy): Likewise.
5262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5263         (__pthread_mutexattr_settype): Likewise.
5264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5265         (__pthread_rwlock_init): Likewise.
5266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5267         (__pthread_rwlock_destroy): Likewise.
5268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5269         (__pthread_rwlock_rdlock): Likewise.
5270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5271         (__pthread_rwlock_tryrdlock): Likewise.
5272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5273         (__pthread_rwlock_wrlock): Likewise.
5274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5275         (__pthread_rwlock_trywrlock): Likewise.
5276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5277         (__pthread_rwlock_unlock): Likewise.
5278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5279         (__pthread_key_create): Likewise.
5280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5281         (__pthread_setspecific): Likewise.
5282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5283         (__pthread_getspecific): Likewise.
5284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5285         Likewise.
5286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5287         (_pthread_cleanup_push_defer): Likewise.
5288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5289         (_pthread_cleanup_pop_restore): Likewise.
5290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5291         (pthread_setcancelstate): Likewise.
5292         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5293         <bp-sym.h>.
5294         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5295         (memchr): Do not use BP_SYM in weak_alias.
5296         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5297         (fegetenv): Do not use BP_SYM in versioned symbols.
5298         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5299         (fesetenv): Do not use BP_SYM in versioned symbols.
5300         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5301         (feupdateenv): Do not use BP_SYM in versioned symbols.
5302         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5303         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5304         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5305         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5306         (open64): Do not use BP_SYM in weak_alias.
5307         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5308         (fegetenv): Do not use BP_SYM in versioned symbols.
5309         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5310         (fesetenv): Do not use BP_SYM in versioned symbols.
5311         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5312         (feupdateenv): Do not use BP_SYM in versioned symbols.
5313         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5314         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5315         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5316         (feraiseexcept): Do not use BP_SYM in versioned symbols.
5317         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5318         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5319         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5320         <bp-sym.h>.
5321         (__libc_start_main): Do not use BP_SYM.
5323 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5326         redundant return line.
5327         (norm): Likewise.
5328         (denorm): Likewise.
5329         (dbl_mp): Likewise.
5330         (sub_magnitudes): Likewise.
5331         (__add): Likewise.
5332         (__sub): Likewise.
5333         (__mul): Likewise.
5334         (__inv): Likewise.
5335         (__dvd): Likewise.
5336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5337         (norm): Likewise.
5338         (denorm): Likewise.
5339         (dbl_mp): Likewise.
5340         (sub_magnitudes): Likewise.
5341         (__add): Likewise.
5342         (__sub): Likewise.
5343         (__mul): Likewise.
5344         (__inv): Likewise.
5345         (__dvd): Likewise.
5347         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5348         instead of __mul.
5349         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5350         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5351         (cc32): Likewise.
5353         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5354         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5355         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5356         of __mul for squares.
5357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5358         function
5359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5360         Likewise.
5361         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5362         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5364 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
5366         [BZ #13550]
5367         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5368         code.
5369         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5370         prototype or function definition.  Rename ubp_* variables and
5371         parameters.  Remove argv definitions conditional on
5372         [__BOUNDED_POINTERS__].
5373         * debug/backtrace.c (__backtrace): Do not use __unbounded.
5374         * elf/dl-runtime.c (_dl_fixup): Likewise.
5375         * include/set-hooks.h (RUN_HOOK): Likewise.
5376         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5377         definition.
5378         * string/strcpy.c (strcpy): Do not use __unbounded.
5379         * sysdeps/generic/frame.h (struct layout): Likewise.
5380         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5381         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5382         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5383         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5384         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5385         (__backtrace): Likewise.
5386         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5387         use __ptrvalue.
5388         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5389         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5390         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5391         Likewise.
5392         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5393         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5394         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5395         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5396         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5397         Do not use __unbounded.
5398         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5399         Rename __unboundedrlimits parameter to rlimits in prototype.
5400         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5401         Do not use __unbounded.
5402         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5403         not use __ptrvalue.
5404         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5405         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5406         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5407         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5408         __ptrvalue or __unbounded.
5409         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5410         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5411         use __unbounded.
5412         (__new_msgctl): Do not use __ptrvalue.
5413         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5414         __unbounded.
5415         (__libc_msgrcv): Do not use __ptrvalue.
5416         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5417         startup_info): Do not use __unbounded.
5418         (__libc_start_main): Likewise.  Rename ubp_* variables and
5419         parameters.  Remove argv definitions conditional on
5420         [__BOUNDED_POINTERS__].
5421         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5422         __ptrvalue.
5423         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5424         use __unbounded.
5425         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5426         or __ptrvalue.
5427         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5428         use __unbounded.
5429         (__new_shmctl): Do not use __ptrvalue.
5430         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5431         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5434         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5435         (__libc_sigaction): Likewise.
5436         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5437         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5438         Likewise.
5439         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5441 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
5443         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5445         * string/mempcpy.c: Implement by calling memcpy.
5447 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5452         evaluation.
5454         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5455         values in the mantissa.
5457         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5458         minimize writes to Z.
5459         (sub_magnitudes): Simplify code a bit.
5461 2013-02-12  Roland McGrath  <roland@hack.frob.com>
5463         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5464         from the message.  The linker prefixes all warnings with that already.
5466 2013-02-12  Andreas Schwab  <schwab@suse.de>
5468         [BZ #15078]
5469         * posix/regexec.c (extend_buffers): Add parameter min_len.
5470         (check_matching): Pass minimum needed length.
5471         (clean_state_log_if_needed): Likewise.
5472         (get_subexp): Likewise.
5473         * posix/Makefile (tests): Add bug-regex34.
5474         (bug-regex34-ENV): Define.
5475         * posix/bug-regex34.c: New file.
5477         [BZ #11561]
5478         * posix/regcomp.c (parse_bracket_exp): When looking up collating
5479         elements compare against the byte sequence of it, not its name.
5480         * posix/Makefile (tests): Add bug-regex35.
5481         (bug-regex35-ENV): Define.
5482         * posix/bug-regex35.c: New file.
5484 2013-02-11  Tom de Vries  <tom@codesourcery.com>
5486         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
5487         comment.
5488         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5489         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5490         (CHECK_EOL): Add undef.
5492 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
5494         * bits/stdlib-bsearch.h: New file.
5495         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5496         * stdlib/stdlib.h: Likewise.
5498 2013-02-11  Roland McGrath  <roland@hack.frob.com>
5500         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5501         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5502         declaration.
5503         * manual/search.texi (Array Search Function): Add missing const in
5504         lfind prototype.
5505         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5506         declaration to use rlim_t.
5507         (Basic Scheduling Functions): Remove erroneous const from
5508         sched_getparam prototype.  Remove erroneous * from
5509         sched_get_priority_max and sched_get_priority_min prototypes.
5510         (Resource Usage): Fix summary @comment on vtimes to refer to
5511         sys/vtimes.h rather than vtimes.h.
5512         Add missing *s in vtimes prototype.
5513         (Limits on Resources): Fix ulimit prototype to return long int.
5514         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5515         prototypes to use long int rather than double.
5516         (BSD Random): Fix initstate and setstate to use char *, not void *.
5517         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5518         prototype to make second argument 'struct aiocb64 *const[]'.
5519         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5520         (Status of AIO Operations): Remove erroneous const in aio_return and
5521         aio_return64 prototypes.
5522         (Synchronizing I/O): Fix sync prototype to return void.
5523         * manual/startup.texi (Suboptions): Remove an erroneous const in
5524         getsubopt prototype.
5525         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5526         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5527         use size_t rather than int.
5528         (Scanning All Users): Likewise for getpwent_r.
5529         (Setting Groups): Add missing const to setgroups prototype.
5530         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5531         * manual/socket.texi (Host Names): Fix gethostbyaddr and
5532         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5533         'const void *' rather than 'const char *'.
5534         (Host Address Functions): Likewise for inet_ntop.
5535         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5536         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5537         ssize_t for return value.
5538         (Sending Data): Likewise for send, sendto, sendmsg.
5539         (Socket Option Functions): Add a missing const in setsockopt prototype.
5540         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5541         use wchar_t for the argument.
5542         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5543         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5544         take no arguments.
5545         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5546         double/float/long double for second argument.
5547         Fix return types of significand, significandf, significandl.
5548         * manual/filesys.texi (Setting Permissions): Use mode_t for second
5549         argument in fchmod prototype.
5550         (File Owner): Use uid_t and gid_t in fchown prototype.
5551         (File Times): Add const to utimes, futimes, and lutimes prototypes.
5552         (Making Special Files): Use mode_t and dev_t in mknod prototype.
5553         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5554         use 'const struct dirent **' as argument types to CMP function pointer
5555         argument.
5556         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5557         (File Times): Fix summary magic @comment for struct utimbuf and utime
5558         to refer to utime.h, not time.h.
5559         * manual/string.texi (Argz Functions): Add missing const in
5560         argz_extract and argz_next prototypes.
5561         (Finding Tokens in a String): Likewise for basename.
5562         (String/Array Comparison): Fix typo in wcscasecmp prototype.
5563         (Copying and Concatenation): Fix typo in wmemmove prototype.
5564         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5565         (Signal Stack): Remove erroneous const in sigstack prototype.
5566         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5567         prototype.
5568         (Simple Calendar Time): Likewise for stime.
5569         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5570         prototype.
5571         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5572         say sys/sysctl.h instead.
5573         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5574         and vsyslog prototypes.
5576 2013-02-11  Tom de Vries  <tom@codesourcery.com>
5578         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5579         Remove.
5581 2013-02-11  Roland McGrath  <roland@hack.frob.com>
5583         * misc/sys/mman.h: Fix typo in mremap comment.
5585 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5587         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5588         the '\0' terminator.
5590 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5592         [BZ #13550]
5593         * debug/segfault.c: Don't include <bp-checks.h>.
5594         * sysdeps/generic/bp-checks.h: Remove file.
5595         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5596         (__GETDENTS): Don't use CHECK_N.
5597         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5598         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5599         (__getgroups): Don't use CHECK_N.
5600         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5601         (setgroups): Don't use CHECK_N.
5602         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5603         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5604         (__libc_msgrcv): Don't use CHECK_N.
5605         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5606         (__libc_msgsnd): Don't use CHECK_N.
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5608         <bp-checks.h>.
5609         (__libc_pread): Don't use CHECK_N.
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5611         include <bp-checks.h>.
5612         (__libc_pread64): Don't use CHECK_N.
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5614         include <bp-checks.h>.
5615         (__libc_pwrite): Don't use CHECK_N.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5617         include <bp-checks.h>.
5618         (__libc_pwrite64): Don't use CHECK_N.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5620         <bp-checks.h>.
5621         (__libc_pread): Don't use CHECK_N.
5622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5623         include <bp-checks.h>.
5624         (__libc_pread64): Don't use CHECK_N.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5626         include <bp-checks.h>.
5627         (__libc_pwrite): Don't use CHECK_N.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5629         include <bp-checks.h>.
5630         (__libc_pwrite64): Don't use CHECK_N.
5631         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5632         (do_pread): Don't use CHECK_N.
5633         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5634         (do_pread64): Don't use CHECK_N.
5635         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5636         (do_pwrite): Don't use CHECK_N.
5637         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5638         (do_pwrite64): Don't use CHECK_N.
5639         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5640         (__libc_readv): Don't use CHECK_N.
5641         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5642         (semop): Don't use CHECK_N.
5643         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5644         <bp-checks.h>.
5645         (semtimedop): Don't use CHECK_N.
5646         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5647         (__libc_pread): Don't use CHECK_N.
5648         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5649         <bp-checks.h>.
5650         (__libc_pread64): Don't use CHECK_N.
5651         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5652         <bp-checks.h>.
5653         (__libc_pwrite): Don't use CHECK_N.
5654         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5655         <bp-checks.h>.
5656         (__libc_pwrite64): Don't use CHECK_N.
5657         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5658         <bp-checks.h>.
5659         (__libc_msgrcv): Don't use CHECK_N.
5660         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5661         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
5662         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5663         (__libc_writev): Don't use CHECK_N.
5665 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5667         * string/strcpy.c: Removed unused variable.
5669         * Makeconfig (+sysdep-includes): Define with := rather than =.
5670         Use an existing include/ subdir of each sysdeps dir before it.
5672 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5674         * nscd/connection.c (register_traced_file): Comment function.
5675         [HAVE_INOTIFY] (union __inev): Define.
5676         [HAVE_INOTIFY] (inotify_check_files): New function.
5677         [HAVE_INOTIFY] (clear_db_cache): Likewise.
5678         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5679         clear_db_cache.
5680         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5682 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5684         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5685         loaded if not already and that a failure is permanent.
5687 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5689         [BZ #15006]
5690         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5691         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5693 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #13550]
5696         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5697         (CHECK_1_NULL_OK): Likewise.
5698         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5699         (__fxstat): Do not use CHECK_1.
5700         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5701         <bp-checks.h>.
5702         (___fxstat64): Do not use CHECK_1.
5703         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5704         <bp-checks.h>.
5705         (__fxstatat): Do not use CHECK_1.
5706         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5707         <bp-checks.h>.
5708         (__fxstatat64): Do not use CHECK_1.
5709         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5710         <bp-checks.h>.
5711         (__fxstat): Do not use CHECK_1.
5712         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5713         <bp-checks.h>.
5714         (__fxstatat): Do not use CHECK_1.
5715         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5716         <bp-checks.h>.
5717         (__getresgid): Do not use CHECK_1.
5718         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5719         <bp-checks.h>.
5720         (__getresuid): Do not use CHECK_1.
5721         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5722         <bp-checks.h>.
5723         (__lxstat): Do not use CHECK_1.
5724         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5725         <bp-checks.h>.
5726         (__old_msgctl): Do not use CHECK_1.
5727         (__new_msgctl): Likewise.
5728         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5729         <bp-checks.h>.
5730         (__new_setrlimit): Do not use CHECK_1.
5731         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5732         <bp-checks.h>.
5733         (__old_shmctl): Do not use CHECK_1.
5734         (__new_shmctl): Likewise.
5735         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5736         <bp-checks.h>.
5737         (__xstat): Do not use CHECK_1.
5738         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5739         (__lxstat): Do not use CHECK_1.
5740         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5741         <bp-checks.h>.
5742         (___lxstat64): Do not use CHECK_1.
5743         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5744         (__old_msgctl): Do not use CHECK_1.
5745         (__new_msgctl): Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5747         <bp-checks.h>.
5748         (__gettimeofday): Do not use CHECK_1.
5749         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5750         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5751         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5752         <bp-checks.h>.
5753         (__gettimeofday): Do not use CHECK_1.
5754         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5755         (__old_shmctl): Do not use CHECK_1_NULL_OK.
5756         (__new_shmctl): Do not use CHECK_1.
5757         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5758         <bp-checks.h>.
5759         (do_sigtimedwait): Do not use CHECK_1.
5760         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5761         <bp-checks.h>.
5762         (do_sigwaitinfo): Do not use CHECK_1.
5763         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5764         <bp-checks.h>.
5765         (msgctl): Do not use CHECK_1.
5766         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5767         <bp-checks.h>.
5768         (shmctl): Do not use CHECK_1.
5769         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5770         (ustat): Do not use CHECK_1.
5771         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5772         <bp-checks.h>.
5773         (__fxstat): Do not use CHECK_1.
5774         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5775         <bp-checks.h>.
5776         (__fxstatat): Do not use CHECK_1.
5777         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5778         <bp-checks.h>.
5779         (__lxstat): Do not use CHECK_1.
5780         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5781         <bp-checks.h>.
5782         (__xstat): Do not use CHECK_1.
5783         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5784         (__xstat): Do not use CHECK_1.
5785         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5786         (___xstat64): Do not use CHECK_1.
5788         [BZ #13550]
5789         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5790         definitions.
5791         (CHECK_BOUNDS_HIGH): Likewise.
5792         * string/strcpy.c: Do not include <bp-checks.h>.
5793         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5795 2013-02-07  Roland McGrath  <roland@hack.frob.com>
5797         * nscd/nscd-client.h (__nscd_drop_map_ref):
5798         Add __attribute__ ((unused)).
5799         * nis/nss-nisplus.h (niserr2nss): Likewise.
5801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5802         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5804         * csu/libc-tls.c (init_static_tls, init_slotinfo):
5805         Remove inline keyword.
5806         * include/rounding-mode.h (round_away): Likewise.
5807         * libio/wfileops.c (adjust_wide_data): Likewise.
5808         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5809         (__m128i_strloadu_tolower): Likewise.
5810         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5811         (__m128i_strloadu_tolower): Likewise.
5812         * time/mktime.c (ydhms_diff): Likewise.
5813         * locale/elem-hash.h (elem_hash): Likewise.
5814         * locale/setlocale.c (setdata): Likewise.
5815         * posix/regex_internal.h (re_string_char_size_at): Likewise.
5816         (re_string_wchar_at): Likewise.
5817         (bitset_not, bitset_merge, bitset_mask): Likewise.
5818         [!(__GNUC__ > 3)] (inline): Remove macro.
5819         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5820         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5821         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5822         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5823         * string/memcmp.c (memcmp_bytes): Likewise.
5824         * locale/programs/locarchive.c (compute_hashval): Likewise.
5825         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5826         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5827         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5828         * nss/getent.c (print_rpc, print_protocols): Likewise.
5829         (print_passwd, print_group, print_aliases): Likewise.
5830         * nis/nss-nisplus.h (niserr2nss): Likewise.
5831         * nscd/connections.c (restart_p): Likewise.
5832         Change return type to bool.
5834 2013-02-05  Roland McGrath  <roland@hack.frob.com>
5836         * Makeconfig (all-Depend-files): Add existing
5837         $(sorted-subdirs:=/Depend) files.
5838         (all-subdirs): Remove nss.
5839         * sysdeps/unix/inet/Subdirs: Add it here instead.
5840         * hesiod/Depend: New file.
5842         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5843         instead of calling alloca.
5845         * io/lseek.c (__lseek): Rename to __libc_lseek.
5846         Define __lseek as an alias.
5848         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5850 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
5852         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5853         else clause and remove check for non-standard endianness.
5855 2013-02-04  David S. Miller  <davem@davemloft.net>
5857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5859 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
5861         [BZ #13550]
5862         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5863         (__ubp_memchr): Remove prototype.
5864         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5865         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5866         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5867         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5868         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5869         Remove alias.
5870         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5871         (__ubp_memchr): Likewise.
5872         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5873         (__ubp_memchr): Likewise.
5874         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5875         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5876         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5877         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5878         CHECK_STRING.
5879         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5880         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5881         (__getcwd): Do not use CHECK_STRING.
5882         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5883         <bp-checks.h>.
5884         (__real_chown): Do not use CHECK_STRING.
5885         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5886         <bp-checks.h>.
5887         (fchownat): Do not use CHECK_STRING.
5888         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5889         CHECK_STRING.
5890         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5891         <bp-checks.h>.
5892         (__lchown): Do not use CHECK_STRING.
5893         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5894         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5895         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5896         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5898         include <bp-checks.h>.
5899         (truncate64): Do not use CHECK_STRING.
5900         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5901         <bp-checks.h>.
5902         (__real_chown): Do not use CHECK_STRING.
5903         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5904         <bp-checks.h>.
5905         (__lchown): Do not use CHECK_STRING.
5906         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5907         <bp-checks.h>.
5908         (__chown): Do not use CHECK_STRING.
5909         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5910         <bp-checks.h>.
5911         (truncate64): Do not use CHECK_STRING.
5912         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5913         Likewise.
5914         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5915         (__xmknod): Do not use CHECK_STRING.
5916         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5917         <bp-checks.h>.
5918         (__xmknodat): Do not use CHECK_STRING.
5919         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5920         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5922 2013-02-04  Andreas Schwab  <schwab@suse.de>
5924         [BZ #14142]
5925         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5926         * include/netdb.h: Likewise for h_errno.
5927         * elf/tst-stackguard1.c: Include <tls.h>.
5929 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5931         * elf/link.h (struct link_map): Extend the l_addr comment.
5932         * include/link.h (struct link_map): Likewise.
5934 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #13550]
5937         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5938         (BOUNDED_1): Remove macro.
5939         * debug/backtrace.c: Don't include <bp-checks.h>.
5940         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5941         (__backtrace): Likewise.
5942         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5943         <bp-checks.h>.
5944         (__backtrace): Don't use BOUNDED_1.
5945         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5946         <bp-checks.h>.
5947         (__backtrace): Don't use BOUNDED_1.
5948         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5949         (__backtrace): Don't use BOUNDED_1.
5950         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5951         (shmat): Don't use BOUNDED_N.
5953 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
5955         [BZ #13550]
5956         * sysdeps/generic/bp-start.h: Remove file.
5957         * csu/libc-start.c: Don't include <bp-start.h>.
5958         (LIBC_START_MAIN): Set up __environ directly instead of using
5959         INIT_ARGV_and_ENVIRON.
5960         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5961         <bp-start.h>.
5963         [BZ #13550]
5964         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5965         definitions.
5966         (CHECK_FCNTL): Likewise.
5967         (CHECK_N_PAGES): Likewise.
5969         [BZ #13550]
5970         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5971         definitions.
5972         (CHECK_SIGSET_NULL_OK): Likewise.
5973         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5974         <bp-checks.h>.
5975         (sigpending): Don't use CHECK_SIGSET.
5976         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5977         <bp-checks.h>.
5978         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5979         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5980         <bp-checks.h>.
5981         (do_sigsuspend): Don't use CHECK_SIGSET.
5982         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5983         use CHECK_SIGSET.
5984         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5985         (do_sigwait): Don't use CHECK_SIGSET.
5986         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5987         use CHECK_SIGSET.
5988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5989         include <bp-checks.h>.
5990         (sigpending): Don't use CHECK_SIGSET.
5991         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5992         include <bp-checks.h>.
5993         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5994         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5995         <bp-checks.h>.
5996         (sigpending): Don't use CHECK_SIGSET.
5997         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5998         <bp-checks.h>.
5999         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6001         [BZ #13550]
6002         * sysdeps/generic/bp-semctl.h: Remove file.
6003         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6004         <bp-checks.h> and <bp-semctl.h>.
6005         (__old_semctl): Don't use CHECK_SEMCTL.
6006         (__new_semctl): Likewise.
6007         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6008         and <bp-semctl.h>.
6009         (__old_semctl): Don't use CHECK_SEMCTL.
6010         (__new_semctl): Likewise.
6011         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6012         <bp-checks.h> and <bp-semctl.h>.
6013         (__old_semctl): Don't use CHECK_SEMCTL.
6014         (__new_semctl): Likewise.
6015         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6016         <bp-checks.h> and <bp-semctl.h>.
6017         (semctl): Don't use CHECK_SEMCTL.
6019         [BZ #13550]
6020         * Makerules (elide-bp-thunks): Remove variable.
6021         (elide-routines.oS): Don't use $(elide-bp-thunks).
6022         (elide-routines.os): Likewise.
6023         (elide-routines.o): Likewise.
6024         (elide-routines.op): Likewise.
6025         (elide-routines.og): Likewise.
6026         (objects): Don't use $(bp-thunks).
6027         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6028         include.
6029         (common-generated): Do not add s-proto-bp.d.
6030         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6031         (int): Likewise.
6032         (typ): Likewise.
6033         Do not generate makefile rules for bounded-pointer thunks.
6034         * sysdeps/generic/bp-thunks.h: Remove file.
6035         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6036         * sysdeps/unix/s-proto-bp.S: Likewise.
6038         [BZ #15062]
6039         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6040         parts of result separately when argument is not close to line from
6041         -i to i and one part of argument is small.
6042         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6043         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6044         * math/libm-test.inc (cacos_test): Add more tests.
6045         (casin_test): Likewise.
6046         (casinh_test): Likewise.
6047         * sysdeps/i386/fpu/libm-test-ulps: Update.
6048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6050 2013-01-31  David S. Miller  <davem@davemloft.net>
6052         * po/de.po: Update from translation team.
6054 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6056         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6058 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6060         * configure.in (_AC_PROG_CC_C89): New definition.
6061         * configure: Regenerate.
6063         * configure.in (AC_PROG_CPP): New definition.
6064         * configure: Regenerate.
6066 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6068         * debug/tst-backtrace.h: New file.
6069         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6070         (ret): Remove variable.
6071         (x): Likewise.
6072         (FAIL): Remove macro.
6073         (NO_INLINE): Likewise.
6074         (fn1): Use match function instead of strstr.
6075         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6076         (ret): Remove variable.
6077         (x): Likewise.
6078         (FAIL): Remove macro.
6079         (NO_INLINE): Likewise.
6080         (fn): Use match function instead of strstr.
6081         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6082         (ret): Remove variable.
6083         (x): Likewise.
6084         (FAIL): Remove macro.
6085         (NO_INLINE): Likewise.
6086         (handle_signal): Use match function instead of strstr.
6087         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6088         (ret): Remove variable.
6089         (x): Likewise.
6090         (FAIL): Remove macro.
6091         (NO_INLINE): Likewise.
6092         (handle_signal): Use match function instead of strstr.
6094 2013-01-23  Roland McGrath  <roland@hack.frob.com>
6096         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6098 2013-01-23  David S. Miller  <davem@davemloft.net>
6100         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6101         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6102         argument of CAS if possible.
6103         * sysdeps/sparc/sparc64/bits/atomic.h
6104         (__arch_compare_and_exchange_val_32_acq): Likewise.
6105         (__arch_compare_and_exchange_val_64_acq): Likewise.
6107 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
6109         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6110         * sysdeps/posix/ulimit.c: ... this.
6111         Include <limits.h>.
6112         * sysdeps/unix/bsd/ulimit.c: Remove file.
6114 2013-01-23  Adam Conrad  <adconrad@0c3.net>
6116         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6117         (LDFLAGS-tst-array5): Likewise.
6119 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #15036]
6122         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6123         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6124         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6125         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6127 2013-01-21  David S. Miller  <davem@davemloft.net>
6129         * sysdeps/sparc/backtrace.c: New file.
6130         * sysdeps/sparc/sparc32/backtrace.h: New file.
6131         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6132         * sysdeps/sparc/sparc64/backtrace.h: New file.
6133         * sysdeps/sparc/sparc64/backtrace.c: Delete.
6134         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6135         -funwind-tables.
6137 2013-01-21  Andreas Schwab  <schwab@suse.de>
6139         [BZ #15020]
6140         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6141         closed its stdout.
6143 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
6145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6146         "mpa2.h".
6147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6149 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
6150             Mark Mitchell  <mark@codesourcery.com>
6151             Tom de Vries  <tom@codesourcery.com>
6152             Paul Pluzhnikov  <ppluzhnikov@google.com>
6154         * debug/tst-backtrace2.c: New file.
6155         * debug/tst-backtrace3.c: Likewise.
6156         * debug/tst-backtrace4.c: Likewise.
6157         * debug/tst-backtrace5.c: Likewise.
6158         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6159         (CFLAGS-tst-backtrace3.c): Likewise.
6160         (CFLAGS-tst-backtrace4.c): Likewise.
6161         (CFLAGS-tst-backtrace5.c): Likewise.
6162         (LDFLAGS-tst-backtrace2): Likewise.
6163         (LDFLAGS-tst-backtrace3): Likewise.
6164         (LDFLAGS-tst-backtrace4): Likewise.
6165         (LDFLAGS-tst-backtrace5): Likewise.
6166         (tests): Add new tests tst-backtrace2, tst-backtrace3,
6167         tst-backtrace4 and tst-backtrace5.
6169 2013-01-18  Anton Blanchard  <anton@samba.org>
6170             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6172         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6173         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6175         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6177         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6178         "+r" and remove output regs list as redundant.  Add explicit inline
6179         asm to specify register of return val to work around compiler codegen
6180         bug.  Remove (int) cast on return value.  Add return type parameter to
6181         use in macro so that this macro does not truncate return value for
6182         64-bit values.
6183         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6184         pass to INTERNAL_VSYSCALL_NCS.
6185         (INLINE_VSYSCALL): Add 'long int' as return type to
6186         INTERNAL_VSYSCALL_NCS macro invocation.
6187         (INTERNAL_VSYSCALL): Add 'long int' as return type to
6188         INTERNAL_VSYSCALL_NCS macro invocation.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6191 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6193         [BZ #14496]
6194         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6195         Fix application of SIMD FP exception mask.
6197         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6198         mp_no from a power of two.
6199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6200         __mpexp_twomm1.  Use __pow_mp.
6202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6203         multiplication.
6205 2013-01-17  David S. Miller  <davem@davemloft.net>
6207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6209 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6211         [BZ #15023]
6212         * include/complex.h: Condition contents on [!_COMPLEX_H].
6213         (__kernel_casinhf): New prototype.
6214         (__kernel_casinh): Likewise.
6215         (__kernel_casinhl): Likewise.
6216         * math/Makefile (libm_calls): Add k_casinh.
6217         * math/k_casinh.c: New file.
6218         * math/k_casinhf.c: Likewise.
6219         * math/k_casinhl.c: Likewise.
6220         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6221         finite nonzero arguments.
6222         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6223         finite nonzero arguments.
6224         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6225         finite nonzero arguments.
6226         * math/s_casinh.c: Do not include <float.h>.
6227         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6228         * math/s_casinhf.c: Do not include <float.h>.
6229         (__casinhf): Move code for finite nonzero arguments to
6230         k_casinhf.c.
6231         * math/s_casinhl.c: Do not include <float.h>.
6232         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6233         redefine.
6234         (__casinhl): Move code for finite nonzero arguments to
6235         k_casinhl.c.
6236         * math/libm-test.inc (cacos_test): Add more tests.
6237         * sysdeps/i386/fpu/libm-test-ulps: Update.
6238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
6242         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6243         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6244         [!HAVE_MREMAP]: Remove [defined linux] case.
6245         * malloc/arena.c: Do not include <malloc-sysdep.h>.
6247 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6249         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6251 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
6253         * elf/elf.h (R_386_SIZE32): New relocation.
6254         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6255         R_386_SIZE32.
6256         (elf_machine_rela): Likewise.
6257         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6258         R_X86_64_SIZE64 and R_X86_64_SIZE32.
6260 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6262         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6263         (FP_FAST_FMA): Do not define.
6264         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6265         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6266         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6267         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6268         !_SOFT_FLOAT]: Likewise.
6269         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6270         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6271         value.
6272         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6273         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6274         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6275         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6276         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6277         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6278         file.
6280 2013-01-16  Andreas Schwab  <schwab@suse.de>
6282         [BZ #14327]
6283         * include/stdlib.h (__mktemp): Add declaration.
6284         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6285         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6287 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6289         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6290         definitions.
6291         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6292         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6293         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6294         definitions here.
6295         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6296         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6297         definitions.
6298         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6299         and ONE.
6300         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6301         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6302         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6303         definitions.
6304         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6305         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6306         definitions.
6307         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6309         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6311 2013-01-15  David S. Miller  <davem@davemloft.net>
6313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6314         trunc{,f} to libm-sysdep_routes.
6315         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6317         file.
6318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6320         file.
6321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6322         file.
6323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6325         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6326         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6327         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6328         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6329         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6330         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6333         nearbyint{,f} to libm-sysdep_routes.
6334         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6336         New file.
6337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6338         file.
6339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6340         New file.
6341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6342         file.
6343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6345         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6346         file.
6347         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6348         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6349         file.
6350         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6351         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6352         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6354         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6355         libc_feholdexcept and libc_fesetenv.
6357 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
6359         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6361 2013-01-14  David S. Miller  <davem@davemloft.net>
6363         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6364         (SPARC_ASM_VIS2_IFUNC): Likewise.
6365         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6367         use of 'siam' instruction.
6368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6369         Likewise.
6370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6371         Likewise.
6372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6373         Likewise.
6374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6375         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6379         file.
6380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6381         file.
6382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6383         file.
6384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6385         file.
6386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6387         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6389         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6391         new VIS2 routines.
6392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6395         Likewise.
6396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6401         routines to libm-sysdep_routines.
6402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6405         fdim/fdimf to libm-sysdep_routines.
6406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6407         file.
6408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6410         file.
6411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6414         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6415         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6416         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6417         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6419 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6421         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6422         to optimize copies.
6424         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6429         local variable MPTWO.
6430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6431         Likewise.
6433 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6435         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6436         GLOB_NOESCAPE.
6438 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6440         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6442 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6444         * manual/pattern.texi (glob_t): Document gl_flags.
6445         (glob64_t): Likewise.
6447 2013-01-11  David S. Miller  <davem@davemloft.net>
6449         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6450         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6451         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
6452         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6453         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6454         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6455         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6456         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6457         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6458         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6459         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6460         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6461         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6463         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6464         sparc V9 rather than using V8 code.
6465         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6466         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6468         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6469         Move to...
6470         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6471         Here.
6473 2013-01-11  Roland McGrath  <roland@hack.frob.com>
6475         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6476         not in the main loop.
6477         * configure: Regenerated.
6479 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
6481         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6482         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6483         to just #else.
6484         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
6485         [!__GLIBC_HAVE_LONG_LONG] case.
6486         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6487         condition to just #else.
6488         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6489         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6490         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6491         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6492         unconditional.
6493         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6494         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6495         #elif condition to just #else.
6496         * sysdeps/unix/sysv/linux/sys/sysmacros.h
6497         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6498         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6499         #elif condition to just #else.
6501 2013-01-11  Steve Ellcey  <sellcey@mips.com>
6503         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6504         (EF_MIPS_ARCH_64): Fix value.
6505         (EF_MIPS_ARCH_32R2): New.
6506         (EF_MIPS_ARCH_64R2): New.
6508 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
6510         * Makeconfig (+link-pie-before-libc): New.
6511         (+link-pie-after-libc): Likewise.
6512         (+link-pie-tests): Likewise.
6513         (+link-pie): Rewritten.
6514         (link-before-libc): Remove $(config-LDFLAGS).
6515         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6516         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6517         (config-LDFLAGS): Renamed to ...
6518         (rtld-LDFLAGS): This.
6519         (rtld-tests-LDFLAGS): New macro.
6520         (link-libc-rpath-link): Likewise.
6521         (link-libc-tests-rpath-link): Likewise.
6522         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6523         (link-libc): Prepand $(link-libc-rpath-link).
6524         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6525         (test-program-prefix): New macro.
6526         (test-via-rtld-prefix): Likewise.
6527         (test-program-cmd): Likewise.
6528         (host-test-program-cmd): Likewise.
6529         * Makefile ($(common-objpfx)testrun.sh): Replace
6530         $(run-program-prefix) with $(test-program-prefix).
6531         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6532         $(rtld-LDFLAGS).
6533         ($(common-objpfx)shlib.lds): Likewise.
6534         (build-module-helper): Likewise.
6535         ($(common-objpfx)format.lds): Likewise.
6536         * Rules (binaries-pie-tests): New.
6537         (binaries-pie-notests): Likewise.
6538         (binaries-pie): Rewritten.
6539         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6540         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6541         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6542         (make-test-out): Replace $(host-built-program-cmd) with
6543         $(host-test-program-cmd).
6544         * config.make.in (build-hardcoded-path-in-tests): New variable.
6545         * configure.in (--enable-hardcoded-path-in-tests): New configure
6546         option.
6547         (hardcoded_path_in_tests): New AC_SUBST.
6548         * configure: Regenerated.
6549         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6550         $(built-program-cmd) with $(test-program-cmd).
6551         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6552         (test_program_cmd): This.
6553         * elf/Makefile ($(objpfx)order.out): Run test with
6554         $(test-program-prefix).
6555         ($(objpfx)order2.out): Likewise.
6556         ($(objpfx)tst-initorder.out): Likewise.
6557         ($(objpfx)tst-initorder2.out): Likewise.
6558         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6559         $(test-program-cmd).
6560         ($(objpfx)tst-array1-static.out): Likewise.
6561         ($(objpfx)tst-array2.out): Likewise.
6562         ($(objpfx)tst-array3.out): Likewise.
6563         ($(objpfx)tst-array4.out): Likewise.
6564         ($(objpfx)tst-array5.out): Likewise.
6565         ($(objpfx)tst-array5-static.out): Likewise.
6566         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6567         $(test-program-cmd).
6568         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6569         $(run-program-prefix) with $(test-program-prefix).
6570         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6571         (test_program_prefix): This.
6572         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6573         $(run-program-prefix) with $(test-program-prefix).
6574         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6575         (test_program_prefix): This.
6576         * iconvdata/tst-tables.sh: Likewise.
6577         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6578         $(run-program-prefix) with $(test-program-prefix).
6579         ($(objpfx)tst-translit.out): Likewise.
6580         ($(objpfx)tst-gettext2.out): Likewise.
6581         ($(objpfx)tst-gettext4.out): Likewise.
6582         ($(objpfx)tst-gettext6.out): Likewise.
6583         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6584         (test_program_prefix): This.
6585         * intl/tst-gettext2.sh: Likewise.
6586         * intl/tst-gettext4.sh  Likewise.
6587         * intl/tst-gettext6.sh: Likewise.
6588         * intl/tst-translit.sh: Likewise.
6589         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6590         with $(test-program-cmd).
6591         * libio/Makefile ($(objpfx)test-freopen.out): Replace
6592         $(run-program-prefix) with $(test-program-prefix).
6593         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6594         (test_program_prefix): This.
6595         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6596         $(run-program-prefix) with $(test-program-prefix).
6597         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6598         (test_program_prefix): This.
6599         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6600         * posix/Makefile ($(objpfx)globtest.out): Replace
6601         $(run-via-rtld-prefix) and $(test-wrapper) with
6602         $(test-program-prefix) and $(test-via-rtld-prefix).
6603         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6604         $(test-program-prefix).
6605         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6606         $(host-test-program-cmd).
6607         (tst-spawn-ARGS): Likewise.
6608         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6609         $(test-program-prefix).
6610         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6611         (test_via_rtld_prefix): This.
6612         (test_wrapper): Renamed to ...
6613         (test_program_prefix): This.
6614         (run_program_prefix): Replaced by test_program_prefix.
6615         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6616         (test_program_prefix): This.
6617         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6618         with $(host-test-program-cmd).
6619         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6620         $(run-program-prefix) with $(test-program-prefix).
6621         ($(objpfx)tst-printf.out): Likewise.
6622         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6623         $(test-program-cmd).
6624         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6625         (test_program_prefix): This.
6626         * stdio-common/tst-unbputc.sh: Likewise.
6627         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6628         $(run-program-prefix) with $(test-program-prefix).
6629         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6630         (test_program_prefix): This.
6631         * string/Makefile ($(objpfx)tst-svc.out):  Replace
6632         $(built-program-cmd) with $(test-program-cmd).
6634 2013-01-11  Andreas Jaeger  <aj@suse.de>
6636         [BZ #15003]
6637         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6638         value. Sync with Linux 3.7.
6640 2013-01-10  David S. Miller  <davem@davemloft.net>
6642         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6643         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6644         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6646 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6648         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6649         never set.
6650         * configure: Regenerated.
6652 2013-01-10  David S. Miller  <davem@davemloft.net>
6654         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6655         sparc V9 rather than using V8 code.
6656         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6657         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6659 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6661         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6662         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6663         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6664         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6665         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6666         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6667         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6668         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6669         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6670         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6671         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6672         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6673         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6674         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6675         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6676         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6677         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6678         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6679         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6680         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6681         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6682         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6683         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6684         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6685         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6686         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6687         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6689 2013-01-10  David S. Miller  <davem@davemloft.net>
6691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6693 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6695         * posix/Makefile (tests-static): New variable.
6696         (tests): Add $(tests-static).
6697         (tst-exec-static-ARGS): New variable.
6698         (tst-spawn-static-ARGS): Likewise.
6699         * posix/tst-exec-static.c: New file.
6700         * posix/tst-spawn-static.c: Likewise.
6701         * posix/tst-exec.c: Support run directly.
6702         * posix/tst-spawn.c: Likewise.
6704 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
6706         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6707         long.
6708         * math/bits/mathcalls.h (llrint): Likewise.
6709         (llround): Likewise.
6710         * stdlib/stdlib.h (struct drand48_data): Likewise.
6711         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6712         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6713         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6716         Likewise.
6717         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6718         (elf_greg_t): Likewise.
6719         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6720         (__jmp_buf): Likewise.
6721         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6722         definitions.
6723         (llrint): Likewise, for all definitions.
6724         (llrintl): Likewise.
6726         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6727         Remove [__GNUC__] condition.
6728         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6729         condition to just [__USE_ISOC99].
6730         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6732 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6734         [BZ #14200]
6735         * sysdeps/unix/sysv/linux/x86/bits/environments.h
6736         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6737         defined.
6738         (_POSIX_V6_ILP32_OFF32): Likewise.
6739         (_XBS5_ILP32_OFF32): Likewise.
6740         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6741         (__ILP32_OFFBIG_LDFLAGS): Likewise.
6743 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6745         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6748         doubles __mpexp_twomm1.  Adjust usage.
6749         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6750         Remove.
6752 2013-01-10  Andreas Schwab  <schwab@suse.de>
6754         [BZ #14964]
6755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6756         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6758 2013-01-09  David S. Miller  <davem@davemloft.net>
6760         [BZ #15003]
6761         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6762         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6763         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6764         TCP_FASTOPEN): Define.
6765         (tcp_repair_opt): New structure.
6766         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6767         enum values.
6768         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6769         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6770         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6771         (tcp_cookie_transactions): New structure.
6773 2013-01-09  Anton Blanchard  <anton@samba.org>
6775         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6776         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6780 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
6782         * include/features.h (__USE_ANSI): Remove.
6784 2013-01-09  Roland McGrath  <roland@hack.frob.com>
6786         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6788         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6790 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6792         * sysdeps/s390/fpu/libm-test-ulps: Update.
6794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6796         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6797         (__acr): Likewise.
6798         (__cpy): Likewise.
6799         (norm): Likewise.
6800         (denorm): Likewise.
6801         (__mp_dbl): Likewise.
6802         (__dbl_mp): Likewise.
6803         (add_magnitudes): Likewise.
6804         (sub_magnitudes): Likewise.
6805         (__add): Likewise.
6806         (__sub): Likewise.
6807         (__mul): Likewise.
6808         (__inv): Likewise.
6809         (__dvd): Likewise.
6810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6811         (__acr): Likewise.
6812         (__cpy): Likewise.
6813         (norm): Likewise.
6814         (denorm): Likewise.
6815         (__mp_dbl): Likewise.
6816         (__dbl_mp): Likewise.
6817         (add_magnitudes): Likewise.
6818         (sub_magnitudes): Likewise.
6819         (__add): Likewise.
6820         (__sub): Likewise.
6821         (__mul): Likewise.
6822         (__inv): Likewise.
6823         (__dvd): Likewise.
6824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6825         (__acr): Likewise.
6826         (__cpy): Likewise.
6827         (norm): Likewise.
6828         (denorm): Likewise.
6829         (__mp_dbl): Likewise.
6830         (__dbl_mp): Likewise.
6831         (add_magnitudes): Likewise.
6832         (sub_magnitudes): Likewise.
6833         (__add): Likewise.
6834         (__sub): Likewise.
6835         (__mul): Likewise.
6836         (__inv): Likewise.
6837         (__dvd): Likewise.
6839 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
6841         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6842         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6843         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6844         2 && __USE_EXTERN_INLINES]: Likewise.
6846 2013-01-08  Andreas Jaeger  <aj@suse.de>
6848         [BZ# 14985]
6849         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6850         Remove.
6851         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6852         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6854 2013-01-07  Anton Blanchard  <anton@samba.org>
6856         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6857         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6858         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6859         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6861         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6862         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6863         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6866         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6867         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6869         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6870         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6873         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6874         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6875         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6876         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6878         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6879         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6880         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6881         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6882         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6883         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6885         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6886         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6888         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6890         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6891         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6892         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6893         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6896         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6897         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6898         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6900 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
6902         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6903         (__MALLOC_PMT): Likewise.
6904         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6905         [__GNUC__], only on [_LIBC].
6906         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6907         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6908         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6909         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6910         forward declaration.
6911         (realloc_hook_ini): Likewise.
6912         (memalign_hook_ini): Likewise.
6913         (__libc_memalign): Do not use __MALLOC_PMT in variable
6914         declaration.
6915         (__libc_valloc): Likewise.
6916         (__libc_pvalloc): Likewise.
6917         (__libc_calloc): Likewise.
6918         (__posix_memalign): Likewise.
6920         [BZ #14996]
6921         * math/s_casinh.c: Include <float.h>.
6922         (__casinh): Do not do computation with squaring and square root
6923         for large arguments.
6924         * math/s_casinhf.c: Include <float.h>.
6925         (__casinhf): Do not do computation with squaring and square root
6926         for large arguments.
6927         * math/s_casinhl.c: Include <float.h>.
6928         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6929         (__casinhl): Do not do computation with squaring and square root
6930         for large arguments.
6931         * math/libm-test.inc (casin_test): Add more tests.
6932         (casinh_test): Likewise.
6933         * sysdeps/i386/fpu/libm-test-ulps: Update.
6934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
6938         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6939         (__x86_64_raw_data_cache_size): Likewise.
6940         (__x86_64_data_cache_size_half): Likewise.
6941         (__x86_64_raw_data_cache_size_half): Likewise.
6942         (__x86_64_shared_cache_size): Likewise.
6943         (__x86_64_raw_shared_cache_size): Likewise.
6944         (__x86_64_shared_cache_size_half): Likewise.
6945         (__x86_64_raw_shared_cache_size_half): Likewise.
6946         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6947         to ...
6948         (__x86_data_cache_size): This.
6949         (__x86_64_raw_data_cache_size): Renamed to ...
6950         (__x86_raw_data_cache_size): This.
6951         (__x86_64_data_cache_size_half): Renamed to ...
6952         (__x86_data_cache_size_half): This.
6953         (__x86_64_raw_data_cache_size_half): Renamed to ...
6954         (__x86_raw_data_cache_size_half): This.
6955         (__x86_64_shared_cache_size): Renamed to ...
6956         (__x86_shared_cache_size): This.
6957         (__x86_64_raw_shared_cache_size): Renamed to ...
6958         (__x86_raw_shared_cache_size): This.
6959         (__x86_64_shared_cache_size_half): Renamed to ...
6960         (__x86_shared_cache_size_half): This.
6961         (__x86_64_raw_shared_cache_size_half): Renamed to ...
6962         (__x86_raw_shared_cache_size_half): This.
6963         * sysdeps/x86_64/memcpy.S: Updated.
6964         * sysdeps/x86_64/memset.S: Likewise.
6965         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6966         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6967         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6969 2013-01-04  David S. Miller  <davem@davemloft.net>
6971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6973 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
6975         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6976         1 to avoid redefinition warning.
6977         (__USE_GNU): Don't define.
6978         (init_signaling_nan): Protoize.
6980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6984         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6986         (__cpymn): Likewise.
6987         (norm): Remove commented code.
6988         (denorm): Likewise.
6989         (__mp_dbl): Likewise.
6990         (__inv): Likewise.
6991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6992         (__cpymn): Likewise.
6993         (norm): Remove commented code.
6994         (denorm): Likewise.
6995         (__mp_dbl): Likewise.
6996         (__inv): Likewise.
6998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6999         mp_no value for 1.0 and 2.0.
7000         (norm): Use RADIXI instead of radixi.d.
7001         (denorm): Likewise.
7002         (__mul): Use 0.0 instead of zero.d.
7003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7004         mp_no value for 1.0 and 2.0.
7005         (norm): Use RADIXI instead of radixi.d.
7006         (denorm): Likewise.
7007         (__mul): Use 0.0 instead of zero.d.
7009 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7011         [BZ #14994]
7012         * math/s_casinh.c (__casinh): Reduce finite argument to first
7013         quadrant then set signs of results at the end.
7014         * math/s_casinhf.c (__casinhf): Likewise.
7015         * math/s_casinhl.c (__casinhl): Likewise.
7016         * math/libm-test.inc (casin_test): Add more tests.
7017         (casinh_test): Likewise.
7018         * sysdeps/i386/fpu/libm-test-ulps: Update.
7019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7023         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7025         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7027         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7028         declarations.
7029         (denorm): Likewise.
7030         (__mp_dbl): Likewise.
7031         (__inv): Likewise.
7033         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7034         and adjust the header comment.
7036         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7037         variable name from declaration.
7039 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7042         Initialize COMMON_CPUID_INDEX_7 element.
7043         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7044         (CPUID_RTM): Likewise.
7045         (HAS_RTM): Likewise.
7046         (COMMON_CPUID_INDEX_7): New enum.
7048 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7050         [BZ #14981]
7051         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7052         size is zero, record memory as freed.
7054 2013-01-03  Andreas Jaeger  <aj@suse.de>
7056         * po/ia.po: Add new Interlingua translation.
7058 2012-01-03  Allan McRae  <allan@archlinux.org>
7060         * locale/programs/localedef.c: Fix description of '--posix' flag.
7062 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7064         * NEWS: Update dates in second copyright notice.
7065         * README: Update copyright dates in example.
7066         * manual/libc.texinfo: Update copyright dates.
7067         * scripts/test-installation.pl: Update copyright date in --version
7068         output.
7070         * hurd/ctty-input.c: Fix copyright notice formatting.
7071         * hurd/ctty-output.c: Likewise.
7072         * hurd/dtable.c: Likewise.
7073         * hurd/hurd-raise.c: Likewise.
7074         * hurd/hurdprio.c: Likewise.
7075         * hurd/msgportdemux.c: Likewise.
7076         * misc/sys/file.h: Likewise.
7077         * misc/sys/ioctl.h: Likewise.
7078         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7079         * sysdeps/mach/hurd/chdir.c: Likewise.
7080         * sysdeps/mach/hurd/fchdir.c: Likewise.
7081         * sysdeps/mach/hurd/rename.c: Likewise.
7082         * sysdeps/mach/hurd/rmdir.c: Likewise.
7083         * sysdeps/mach/hurd/seekdir.c: Likewise.
7084         * sysdeps/mach/hurd/setsid.c: Likewise.
7085         * sysdeps/posix/wait3.c: Likewise.
7087         * All files with FSF copyright notices: Update copyright dates
7088         using scripts/update-copyrights.
7089         * intl/plural.c: Regenerated.
7090         * locale/programs/charmap-kw.h: Likewise.
7091         * locale/programs/locfile-kw.h: Likewise.
7093 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7095         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7096         four values.
7098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7099         calculation loop and add branch prediction.
7101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7102         check access beyond bounds of m1np.
7104         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7105         MPTWO.
7106         (__inv): Remove local variable MPTWO to use the global
7107         constant.
7108         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7110         variable MPTWO.
7111         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7112         MP3HALFS static const.
7114 2013-01-01  David S. Miller  <davem@davemloft.net>
7116         * po/ca.po: Update from translation team.
7118 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
7120         * scripts/update-copyrights: New file.
7121         * Makeconfig: Reformat copyright notice.
7122         * ctype/ctype.h: Likewise.
7123         * debug/swprintf_chk.c: Likewise.
7124         * elf/dl-cache.c: Likewise.
7125         * elf/dl-debug.c: Likewise.
7126         * elf/dl-object.c: Likewise.
7127         * grp/initgroups.c: Likewise.
7128         * hurd/Makefile: Likewise.
7129         * hurd/hurd/signal.h: Likewise.
7130         * hurd/hurdfault.c: Likewise.
7131         * hurd/hurdioctl.c: Likewise.
7132         * hurd/hurdlookup.c: Likewise.
7133         * hurd/intr-msg.c: Likewise.
7134         * iconv/gconv_open.c: Likewise.
7135         * libio/swprintf.c: Likewise.
7136         * locale/lc-ctype.c: Likewise.
7137         * locale/nl_langinfo.c: Likewise.
7138         * mach/Machrules: Likewise.
7139         * mach/Makefile: Likewise.
7140         * malloc/obstack.h: Likewise.
7141         * manual/Makefile: Likewise.
7142         * manual/tsort.awk: Likewise.
7143         * misc/bits/stab.def: Likewise.
7144         * nis/nis_print_group_entry.c: Likewise.
7145         * nis/nis_table.c: Likewise.
7146         * nis/nss_compat/compat-pwd.c: Likewise.
7147         * nis/nss_compat/compat-spwd.c: Likewise.
7148         * po/Makefile: Likewise.
7149         * posix/fnmatch.c: Likewise.
7150         * posix/regex.h: Likewise.
7151         * resolv/Makefile: Likewise.
7152         * resolv/nss_dns/dns-network.c: Likewise.
7153         * resolv/res_hconf.c: Likewise.
7154         * scripts/gen-sorted.awk: Likewise.
7155         * soft-fp/soft-fp.h: Likewise.
7156         * stdio-common/printf.h: Likewise.
7157         * stdlib/monetary.h: Likewise.
7158         * stdlib/random.c: Likewise.
7159         * stdlib/random_r.c: Likewise.
7160         * sysdeps/generic/Makefile: Likewise.
7161         * sysdeps/gnu/Makefile: Likewise.
7162         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7163         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7164         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7169         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7170         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7172         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7173         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7174         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7175         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7176         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7177         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7178         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7180         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7181         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7182         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7183         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7184         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7185         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7186         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7187         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7188         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7189         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7190         * sysdeps/mach/hurd/errnos.awk: Likewise.
7191         * sysdeps/mach/hurd/fork.c: Likewise.
7192         * sysdeps/mach/hurd/getcwd.c: Likewise.
7193         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7194         * sysdeps/mach/hurd/mmap.c: Likewise.
7195         * sysdeps/mach/hurd/utimes.c: Likewise.
7196         * sysdeps/mach/hurd/xmknod.c: Likewise.
7197         * sysdeps/posix/profil.c: Likewise.
7198         * sysdeps/posix/readdir_r.c: Likewise.
7199         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7200         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7201         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7202         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7204         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7205         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7206         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7208         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7209         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7210         * sysdeps/pthread/lio_listio.c: Likewise.
7211         * sysdeps/sparc/dl-procinfo.h: Likewise.
7212         * sysdeps/unix/i386/sysdep.S: Likewise.
7213         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7214         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7215         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7216         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7218         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7219         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7220         * sysdeps/unix/sysv/linux/speed.c: Likewise.
7221         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7222         * sysdeps/wordsize-32/divdi3.c: Likewise.
7223         * time/sys/time.h: Likewise.
7224         * wcsmbs/Makefile: Likewise.
7226 2013-01-01  David S. Miller  <davem@davemloft.net>
7228         * po/fr.po: Update from translation team.
7230         * catgets/gencat.c: Update copyright year.
7231         * csu/version.c: Likewise.
7232         * debug/catchsegv.sh: Likewise.
7233         * debug/pcprofiledump.c: Likewise.
7234         * debug/xtrace.sh: Likewise.
7235         * elf/ldconfig.c: Likewise.
7236         * elf/ldd.bash.in: Likewise.
7237         * elf/pldd.c: Likewise.
7238         * elf/sotruss.ksh: Likewise.
7239         * elf/sprof.c: Likewise.
7240         * iconv/iconv_prog.c: Likewise.
7241         * iconv/iconvconfig.c: Likewise.
7242         * locale/programs/locale.c: Likewise.
7243         * locale/programs/localedef.c: Likewise.
7244         * login/programs/pt_chown.c: Likewise.
7245         * malloc/memusage.sh: Likewise.
7246         * malloc/memusagestat.c: Likewise.
7247         * malloc/mtrace.pl: Likewise.
7248         * nscd/nscd.c: Likewise.
7249         * nss/getent.c: Likewise.
7250         * nss/makedb.c: Likewise.
7251         * posix/getconf.c: Likewise.
7253 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7255         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7256         numbers.
7258 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
7260         * math/bits/mathcalls.h (modf): Use __nonnull.
7262 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7264         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7265         (split): Use macro CN instead of the bare value.
7266         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7267         could be used.
7268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7269         instead of the bare value.
7270         (power1): Likewise.
7272 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7275         __ATAN_TWOM.
7276         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7278         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7279         their values.
7280         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7281         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7282         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7283         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7285 2012-12-28  Andreas Jaeger  <aj@suse.de>
7287         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
7288         values are from Linux 3.7.
7290         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7291         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
7293 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7295         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7296         TRUE case.
7298         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7299         (norm): Likewise.
7300         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7301         variables with preprocessor constants.
7302         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7303         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7304         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7306 2012-12-27  Bruno Haible  <bruno@clisp.org>
7308         [BZ #14317]
7309         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7310         only if needed.
7312 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7315         and use variable directly.
7316         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7318         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7319         MPONE.
7320         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7321         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7322         variable MPONE.
7323         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7325         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7326         include directive.  Remove local variable MPONE.
7327         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7328         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7329         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7331 2012-12-25  David S. Miller  <davem@davemloft.net>
7333         * version.h (RELEASE): Set to "development".
7334         (VERSION): Set to "2.17.90".
7335         * NEWS: Add 2.18 section.
7337 2012-12-21  David S. Miller  <davem@davemloft.net>
7339         * po/hr.po: Update from translation team.
7341 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7343         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7345 2012-12-19  Steve Ellcey  <sellcey@mips.com>
7347         * NEWS:  Mention new memcpy for MIPS.
7349 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7351         * manual/contrib.texi (Contributors): Spelling correction.
7353 2012-12-15  David S. Miller  <davem@davemloft.net>
7355         * po/ru.po: Update from translation team.
7357 2012-12-13  David S. Miller  <davem@davemloft.net>
7359         * NEWS: Mention IFUNC testsuite enhancements.
7361         * po/pl.po: Update from translation team.
7362         * po/bg.po: Likewise.
7364         * manual/contrib.texi (Contributors): Update entries for Hongjiu
7365         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
7367 2012-12-11  David S. Miller  <davem@davemloft.net>
7369         * po/sv.po: Update from translation team.
7371         * po/vi.po: Update from translation team.
7373         * po/cs.po: Update from translation team.
7375         * po/de.po: Update from translation team.
7376         * po/eo.po: Likewise.
7377         * po/nl.po: Likewise.
7379 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7381         [BZ #14246]
7382         * manual/argp.texi (Argp Helper Functions): Move node to follow
7383         Argp Parsing State.
7385         [BZ #14872]
7386         * manual/conf.texi (Limits on File System Capacity): Mention if
7387         terminating null is included in the max size.
7389 2012-12-10  Andreas Jaeger  <aj@suse.de>
7391         * po/cs.po: Update from translation team.
7393 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7395         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7396         void pointer and cast to uintptr_t.
7397         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7398         path.
7399         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7400         * sysdeps/s390/s390-64/memset.S: Likewise.
7402 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
7404         [BZ #14833]
7405         * menual/message.texi (Message Translation): Fix typos.
7406         (Helper programs for gettext): Likewise.
7408 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
7410         [BZ #14898]
7411         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7412         Change to -1.
7414 2012-12-07  David S. Miller  <davem@davemloft.net>
7416         * po/libc.pot: Update.
7418 2012-12-07  Richard Henderson  <rth@redhat.com>
7420         [BZ #10114]
7421         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7422         normal/normal case to before the switch.
7423         (_FP_DIV): Likewise.
7425 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
7426             Mike Frysinger  <vapier@gentoo.org>
7428         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7429         check for __NR_fadvise64_64.
7431 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
7433         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7434         0, not just to plain "0" as a statement.
7435         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7436         with cw.
7438 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
7440         * NEWS: Use sourceware.org in Bugzilla URL.
7442 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7445         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7447         * stdio-common/tst-put-error.c (do_test): Add newline to the
7448         padded test to ensure flush.
7450 2012-12-05  Jeff Law  <law@redhat.com>
7452         * sunrpc/etc.rpc (fedfs_admin): Add entry.
7454 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
7456         * README: Don't refer to ports add-on as distributed separately.
7457         Mention AArch64 in list of systems supported in the ports add-on.
7459         * LICENSES: Add more non-FSF copyright and license notices.
7461         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7462         ((unused)).
7464         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7466         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7467         10000 as width of padded output.
7469 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
7471         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7473         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7474         variable LX with __attribute__ ((unused)).
7475         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7476         Likewise.
7477         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7480         with __attribute__ ((unused)).
7482 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
7484         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7486 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
7488         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7489         (CFLAGS-nldbl-acos.c): New variable.
7490         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7491         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7492         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7493         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7494         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7495         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7496         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7497         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7498         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7499         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7500         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7501         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7502         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7503         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7504         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7505         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7506         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7507         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7508         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7509         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7510         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7511         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7512         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7513         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7514         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7515         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7516         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7517         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7518         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7519         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7520         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7521         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7522         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7523         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7524         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7525         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7526         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7527         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7528         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7529         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7530         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7531         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7532         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7533         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7534         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7535         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7536         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7537         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7538         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7539         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7540         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7541         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7542         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7543         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7544         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7545         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7546         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7547         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7548         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7549         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7550         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7551         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7552         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7553         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7554         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7555         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7556         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7557         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7558         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7559         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7560         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7561         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7562         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7563         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7564         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7565         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7566         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7567         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7568         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7569         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7570         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7571         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7572         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7573         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7574         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7575         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7576         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7577         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7578         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7579         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7580         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7581         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7582         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7583         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7584         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7585         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7586         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7589         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7591         [BZ #14914]
7592         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7593         whole low double instead of just low 47 bits when splitting values
7594         into two parts.
7596 2012-12-03  Allan McRae  <allan@archlinux.org>
7598         * manual/stdio.texi (Predefined Printf Handlers): Remove
7599         @hsep and @vsep usage.
7601 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
7603         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7604         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7606 2012-12-03  Jeff Law  <law@redhat.com>
7608         * time/sys/time.h (settimeofday): Do not mark TV argument
7609         as __nonnull.
7611 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
7613         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7614         when currently writing and seek to current position when not.
7615         * libio/Makefile (tests): Remove bug-fclose1.
7616         * libio/bug-fclose1.c: Delete.
7618 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
7620         * manual/arith.texi (feenableexcept): Fix typo.
7621         (fedisableexcept): Likewise.
7623 2012-11-30  Roland McGrath  <roland@hack.frob.com>
7625         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7626         second, differently-typed declaration, rather than a cast.
7628 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7630         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7631         * include/rpc/svc.h: ... here.
7633 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
7635         [BZ #13013]
7636         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7637         depending n and resplen2 to catch cases where answer
7638         equals answerp2.
7640 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
7642         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7643         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7645 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
7647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7649 2012-11-29  Roland McGrath  <roland@hack.frob.com>
7651         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7653 2012-11-28  Jeff Law  <law@redhat.com>
7655         [BZ #13761]
7656         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7657         dataset_temporary.  Track alloca usage into alloca_used.
7658         If dataset is large allocate and release it via malloc/free.
7660 2012-06-04  Florian Weimer  <fweimer@redhat.com>
7662         [BZ #14197]
7663         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7665 2012-11-28  David S. Miller  <davem@davemloft.net>
7667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7669 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7671         [BZ #14803]
7672         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7673         of pi/2 rounded to nearest to 64 bits.
7674         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7675         nearest to 64 bits.
7676         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7677         bits.
7679 2012-11-28  Jeff Law <law@redhat.com>
7680             Martin Osvald <mosvald@redhat.com>
7682         [BZ #14889]
7683         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7684         * sunrpc/svc.c: Include time.h.
7685         (__svc_accept_failed): New function.
7686         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7687         any reason other than EINTR, call __svc_accept_failed.
7688         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7689         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7691 2012-11-28  Andreas Schwab  <schwab@suse.de>
7693         * scripts/abilist.awk: Also handle indirect functions in .opd
7694         section.
7696 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7698         [BZ #13881]
7699         * sysdeps/x86/fpu/powl_helper.c: New file.
7700         * sysdeps/x86/fpu/Makefile: Likewise.
7701         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7702         (p3): New object.
7703         (__ieee754_powl): Use __powl_helper for finite arguments except
7704         integer exponents below 8.
7705         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7706         (p3): New object.
7707         (__ieee754_powl): Use __powl_helper for finite arguments except
7708         integer exponents below 8.
7709         * math/libm-test.inc (pow_test): Add more tests and enable some
7710         previously disabled tests.
7711         * sysdeps/i386/fpu/libm-test-ulps: Update.
7712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7714 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7715             Carlos O'Donell  <carlos_odonell@mentor.com>
7717         * nss/makedb.c (is_prime): Assert that input is odd and greater
7718         than 4.  Note that fact in a comment too.
7719         (next_prime): Add 4 to input.
7721 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7723         [BZ #11741]
7724         * libio/Makefile (tests): Add test case tst-fwrite-error.
7725         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7726         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7727         * libio/tst-fwrite-error.c: New test case.
7729 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
7731         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7732         before casting to void *.
7733         * include/libc-internal.h (__pointer_type): New macro.
7734         (__integer_if_pointer_type_sub): Likewise.
7735         (__integer_if_pointer_type): Likewise.
7736         (cast_to_integer): Likewise.
7737         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7738         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7739         before casting to atomic64_t.
7740         (atomic_exchange_acq): Likewise.
7741         (__arch_exchange_and_add_body): Likewise.
7742         (__arch_add_body): Likewise.
7743         (atomic_add_negative): Likewise.
7744         (atomic_add_zero): Likewise.
7746 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
7748         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7749         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7750         (add_fdes): Likewise.
7751         (linear_search_fdes): Likewise.
7752         (binary_search_unencoded_fdes): Likewise.
7754 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
7756         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7758 2012-11-24  Adam Conrad  <adconrad@0c3.net>
7760         * configure.in: Autodetect C++ header directories.
7761         * configure: Regenerated.
7763 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
7765         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7767 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
7769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7771 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
7773         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7774         LDBL_MANT_DIG == 106]: Disable some tests.
7775         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7776         Likewise.
7777         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7778         Likewise.
7780         [BZ #14871]
7781         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7782         input for small inputs.  Return +/- pi/2 for large inputs.
7783         * math/libm-test.inc (atan_test): Add more tests.
7785         * sysdeps/generic/unwind-dw2-fde-glibc.c
7786         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7787         __attribute__ ((unused)).
7789         [BZ #14645]
7790         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7791         x * y if x and y are nonzero and z is zero.
7793         [BZ #14811]
7794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7795         nonzero exponents with absolute value below 0x1p-117 to +/-
7796         0x1p-117.
7798         [BZ #14869]
7799         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7800         up arguments below 2**-450, not just those below 2**-500.
7801         * math/libm-test.inc (hypot_test): Add another test.
7803         [BZ #14868]
7804         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7805         Return a+b for ratio over 2**120, not 2**60.
7806         * math/libm-test.inc (hypot_test): Add another test.
7808         * math/libm-test.inc (clog_test): Use
7809         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7810         (clog10_test): Likewise.
7812         [BZ #6778]
7813         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7815 2012-11-22  Andreas Schwab  <schwab@suse.de>
7817         * sysdeps/i386/fpu/libm-test-ulps: Update.
7819 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
7821         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7822         printf output with newline.
7824 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
7826         [BZ #14865]
7827         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7828         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7829         -z nodlopen, -z initfirst and -z execstack support.
7830         * configure: Regenerated.
7832         * elf/elf.h (DF_1_NODIRECT): New macro.
7833         (DF_1_IGNMULDEF): Likewise.
7834         (DF_1_NOKSYMS): Likewise.
7835         (DF_1_NOHDR): Likewise.
7836         (DF_1_EDITED): Likewise.
7837         (DF_1_NORELOC): Likewise.
7838         (DF_1_SYMINTPOSE): Likewise.
7839         (DF_1_GLOBAUDIT): Likewise.
7840         (DF_1_SINGLETON): Likewise.
7841         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7842         DT_1_SUPPORTED_MASK bits.
7843         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7845 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
7847         * sysdeps/unix/make-syscalls.sh: Document prefixes.
7849 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
7851         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7852         macro.
7854         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7855         (sendmmsg): Move declarations...
7856         * socket/sys/socket.h: ... here.
7857         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7858         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7859         include it from...
7860         * socket/recvmmsg.c: ... this new file.
7861         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7862         (sendmmsg): Rename to __sendmmsg, create weak alias and make
7863         definition of __sendmmsg hidden.
7864         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7865         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7866         Move ENOSYS stub into and include it from...
7867         * socket/sendmmsg.c: ... this new file.
7868         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7869         (sysdep_routines): Move recvmmsg and sendmmsg...
7870         * socket/Makefile (routines): ... here.
7871         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7872         (GLIBC_PRIVATE): Add __sendmmsg.
7873         * include/sys/socket.h (__sendmmsg): Add declarations.
7874         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7875         sendmmsg.
7877 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
7879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7880         variable I1 with __attribute__ ((unused)).
7881         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7883 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7885         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7886         DUMMY variables with __attribute__ ((unused)).
7888         * bits/byteswap.h: Include <bits/types.h>.
7889         (__bswap_64): Use __uint64_t instead of unsigned long long int.
7891 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
7893         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7894         string_t.  Do not manually set errno.
7895         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7896         length with __strnlen.  Make sure to both set errno and return it on
7897         failure.
7899 2012-11-19  David S. Miller  <davem@davemloft.net>
7901         With help from Joseph Myers.
7902         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7903         very large arguments properly.
7904         * math/libm-test.inc (atan_test): New tests.
7905         (atan2_test): New tests.
7906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7909 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7911         [BZ #14856]
7912         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7913         Define to 3.
7915         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7916         [POSIX] (EADDRNOTAVAIL): Likewise.
7917         [POSIX] (EAFNOSUPPORT): Likewise.
7918         [POSIX] (EALREADY): Likewise.
7919         [POSIX] (ECONNABORTED): Likewise.
7920         [POSIX] (ECONNREFUSED): Likewise.
7921         [POSIX] (ECONNRESET): Likewise.
7922         [POSIX] (EDESTADDRREQ): Likewise.
7923         [POSIX] (EDQUOT): Likewise.
7924         [POSIX] (EHOSTUNREACH): Likewise.
7925         [POSIX] (EIDRM): Likewise.
7926         [POSIX] (EISCONN): Likewise.
7927         [POSIX] (ELOOP): Likewise.
7928         [POSIX] (EMULTIHOP): Likewise.
7929         [POSIX] (ENETDOWN): Likewise.
7930         [POSIX] (ENETUNREACH): Likewise.
7931         [POSIX] (ENOBUFS): Likewise.
7932         [POSIX] (ENODATA): Likewise.
7933         [POSIX] (ENOLINK): Likewise.
7934         [POSIX] (ENOMSG): Likewise.
7935         [POSIX] (ENOPROTOOPT): Likewise.
7936         [POSIX] (ENOSR): Likewise.
7937         [POSIX] (ENOSTR): Likewise.
7938         [POSIX] (ENOTCONN): Likewise.
7939         [POSIX] (ENOTSOCK): Likewise.
7940         [POSIX] (EOPNOTSUPP): Likewise.
7941         [POSIX] (EOVERFLOW): Likewise.
7942         [POSIX] (EPROTO): Likewise.
7943         [POSIX] (EPROTONOSUPPORT): Likewise.
7944         [POSIX] (EPROTOTYPE): Likewise.
7945         [POSIX] (ESTALE): Likewise.
7946         [POSIX] (ETIME): Likewise.
7947         [POSIX] (ETXTBSY): Likewise.
7948         [POSIX] (EWOULDBLOCK): Likewise.
7949         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7950         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7951         [POSIX] (SEEK_CUR): Likewise.
7952         [POSIX] (SEEK_END): Likewise.
7953         [POSIX || UNIX98] (mode_t): Do not require.
7954         [POSIX] (off_t): Likewise.
7955         [POSIX] (pid_t): Likewise.
7956         [POSIX] (sys/stat.h): Do not allow header.
7957         [POSIX] (unistd.h): Likewise.
7958         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7959         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7960         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7961         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7962         require.
7963         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7964         sigevent): Specify elements.
7965         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7966         entry.
7967         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7968         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7970         * conform/data/cpio.h-data [POSIX]: Disable whole file.
7971         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7972         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7973         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7974         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7975         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7976         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7977         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7978         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7979         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7980         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7981         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7982         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7984         Likewise.
7985         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7986         Likewise.
7987         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7988         Likewise.
7989         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7990         Likewise.
7991         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7992         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7993         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7994         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7995         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7996         Specify lower bound on value.
7997         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7998         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7999         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8000         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8001         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8002         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8003         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8004         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8005         value.
8006         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8007         as optional.
8008         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8009         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8010         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8011         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8012         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8013         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8014         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8015         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8016         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8017         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8018         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8019         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8020         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8021         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8022         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8023         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8024         entry.
8025         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8026         optional.
8027         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8028         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8029         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8030         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8031         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8032         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8033         Likewise.
8034         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8035         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8036         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8037         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8038         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8039         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8040         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8041         as optional.
8042         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8043         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8044         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8045         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8046         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8047         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8048         specify as optional.
8049         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8050         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8051         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8052         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8053         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8054         [XPG3] (NL_LANGMAX): Likewise.
8055         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8056         [POSIX || XPG3] (NL_NMAX): Likewise.
8057         [POSIX || XPG3] (NL_SETMAX): Likewise.
8058         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8059         [XPG3] (NZERO): Likewise.
8060         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8061         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8062         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8063         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8064         (REG_ERANGE): Expect.
8065         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8066         optional-constant.
8067         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8068         Use (void) in prototype.
8069         [POSIX] (*_t): Allow.
8070         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8071         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8072         (WRDE_BADVAL): Expect.
8074         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8075         expect.
8076         [XPG3 || XPG4] (O_RSYNC): Likewise.
8077         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8078         Likewise.
8079         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8080         [XPG3 || XPG4] (sigqueue): Likewise.
8081         [XPG3 || XPG4] (sigtimedwait): Likewise.
8082         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8083         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8084         [XPG3 || XPG4] (vsnprintf): Likewise.
8085         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8086         Likewise.
8087         [XPG3 || XPG4] (blksize_t): Likewise.
8088         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8089         Likewise.
8090         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8091         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8092         [XPG3 || XPG4] (struct itimerspec): Likewise.
8093         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8094         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8095         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8096         [XPG3 || XPG4] (clockid_t): Likewise.
8097         [XPG3 || XPG4] (timer_t): Likewise.
8098         [XPG3 || XPG4] (clock_getres): Likewise.
8099         [XPG3 || XPG4] (clock_gettime): Likewise.
8100         [XPG3 || XPG4] (clock_settime): Likewise.
8101         [XPG3 || XPG4] (nanosleep): Likewise.
8102         [XPG3 || XPG4] (timer_create): Likewise.
8103         [XPG3 || XPG4] (timer_delete): Likewise.
8104         [XPG3 || XPG4] (timer_gettime): Likewise.
8105         [XPG3 || XPG4] (timer_getoverrun): Likewise.
8106         [XPG3 || XPG4] (timer_settime): Likewise.
8107         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8108         [XPG3 || XPG4] (getlogin_r): Likewise.
8109         [XPG3 || XPG4] (pread): Likewise.
8110         [XPG3 || XPG4] (pthread_atfork): Likewise.
8111         [XPG3 || XPG4] (pwrite): Likewise.
8113         [BZ #14835]
8114         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8115         <bits/siginfo.h>.
8117 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8119         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8120         finalizing MALLSTREAM.
8122         * sysdeps/mach/hurd/syncfs.c: New file.
8124 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8126         [BZ #14719]
8127         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8128         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8129         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8130         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8131         (_nss_dns_gethostbyname4_r): Likewise.
8132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8133         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8135 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
8137         [BZ #13763]
8138         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8140 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
8142         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8143         * elf/cache.c (print_entry): Print ",AArch64" for
8144         FLAG_AARCH64_LIB64
8146         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8147         * elf/cache.c (print_entry): Print ",hard-float" for
8148         FLAG_ARM_LIBHF.
8150 2012-11-18  David S. Miller  <davem@davemloft.net>
8152         With help from Joseph Myers.
8153         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8154         cutoff to 2**-13.
8155         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8156         cutoff to 2**-25.
8157         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8158         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8159         small.
8160         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8161         * math/libm-test.inc (y0_test): New tests.
8162         (y1_test): New tests.
8163         * sysdeps/i386/fpu/libm-test-ulps: Update.
8164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8167 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
8169         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8170         64-bit targets.
8171         * configure: Regenerated.
8173 2012-11-17  David S. Miller  <davem@davemloft.net>
8175         [BZ #14811]
8176         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8177         nonzero exponents with absolute value below 0x1p-128 to +/-
8178         0x1p-128.
8180 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
8182         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8184         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8186         * posix/getconf-speclist.c: New file.
8187         * posix/posix-envs.def: Likewise.
8188         * posix/confstr.c (START_ENV_GROUP): New macro.
8189         (END_ENV_GROUP): Likewise.
8190         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8191         (KNOWN_PRESENT_ENV_STRING): Likewise.
8192         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8193         (UNKNOWN_ENVIRONMENT): Likewise.
8194         (confstr): Include posix-envs.def instead of handling
8195         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8196         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8197         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8198         (END_ENV_GROUP): Likewise.
8199         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8200         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8201         (UNKNOWN_ENVIRONMENT): Likewise.
8202         (__sysconf): Include posix-envs.def instead of handling associated
8203         cases directly here.
8204         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8205         preprocessing getconf-speclist.c rather than running getconf or
8206         generating empty file.
8208 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
8210         * scripts/check-local-headers.sh: Ignore 'mach' headers.
8212 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
8214         [BZ #14672]
8215         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8217 2012-11-16  David S. Miller  <davem@davemloft.net>
8219         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8220         smaller than LDBL_EPSILON/2.0L, just return xm1.
8222 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
8224         * elf/tst-array1.c (init): Set constructor priority to 1000.
8225         (fini): Set destructor priority to 1000.
8226         * elf/tst-array2dep.c: Likewise.
8228 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8230         [BZ #11741]
8231         * libio/fileops.c (_IO_new_file_write): Correctly return error.
8232         (_IO_new_file_xsputn): Also return EOF if none of the input
8233         data was written when overflow failed.
8234         * libio/iopadn.c (_IO_padn): Likewise.
8235         * libio/iowpadn.c (_IO_wpadn): Likewise.
8236         * stdio-common/tst-put-error.c: Add copyright notice.
8237         (do_test): Add case for printing padded string.
8238         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8239         _IO_padn returned error.
8240         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8241         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8242         return EOF.
8244 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8246         * libio/libioP.h: Add comment note that the references to C++
8247         bits are now obsolete.
8249 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8251         * math/libm-test.inc (check_complex): Use asprintf.
8253 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
8255         * debug/pcprofiledump.c (print_version): Update copyright year.
8256         * malloc/memusagestat.c (print_version): Likewise.
8258 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8260         [BZ #14831]
8261         * elf/Makefile (tests): Add tst-audit8.
8262         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8263         ($(objpfx)tst-audit8.out): New target.
8264         (tst-audit8-ENV): New variable.
8265         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8266         audit if l_reloc_result is NULL.
8267         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8268         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8269         * elf/tst-audit8.c: New file.
8271 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8273         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8274         * misc/Makefile (CFLAGS-select.c): Define.
8275         * posix/Makefile (CFLAGS-pause.c): Define.
8277 2012-11-13  David S. Miller  <davem@davemloft.net>
8279         * crypt/Makefile: Move test targets after toplevel Rules
8280         inclusion.  Grab any necessary sysdep routines when linking.
8281         * crypt/md5.c (md5_process_block): Remove define, we will always
8282         name it __md5_process_block.
8283         (md5_finish_ctx): Update md5_process_block call.
8284         (md5_stream): Likewise.
8285         (md5_process_bytes): Likewise.
8286         (md5_process_block): Rename to __md5_process_block and move to ...
8287         * crypt/md5-block.c: ... here.
8288         * crypt/sha256.c (sha256_process_block): Move to ...
8289         * crypt/sha256-block.c: ... here.
8290         * crypt/sha512.c (sha512_process_block): Move to ...
8291         * crypt/sha512-block.c: ... here.
8292         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8293         path.
8294         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8295         * sysdeps/sparc/sparc64/multiarch/Makefile
8296         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8297         crypt subdir.
8298         (localedef-aux): Add md5 crypto assembler when in locale subdir.
8299         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8300         multiarch changes.
8301         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8302         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8303         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8304         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8305         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8306         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8307         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8308         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8310         file.
8311         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8312         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8313         file.
8314         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8316 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
8318         * timezone/tzselect.ksh: Update from tzcode git revision
8319         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8320         * timezone/zdump.c: Likewise.
8321         * timezone/zic.c: Likewise.
8322         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8323         in TZVERSION setting, not $(PKGVERSION).
8324         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
8325         REPORT_BUGS_TO settings.
8327         [BZ #14838]
8328         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8329         macro.
8331 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8333         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8334         detection to immediately after _FP_ROUND().
8335         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8336         bits are 0.
8338 2012-11-11  David S. Miller  <davem@davemloft.net>
8340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8341         inttypes.h
8342         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8343         __close rather than their public counterparts.
8345 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
8347         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8348         file.
8349         [UNIX98] (sem_timedwait): Do not expect.
8350         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8351         [XPG4 || UNIX98] (sockatmark): Do not expect.
8352         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8353         (clock_getcpuclockid): Do not expect.
8354         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8355         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8356         Do not expect.
8357         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8358         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8359         [UNIX98] (vwscanf): Likewise.
8360         [UNIX98] (vswscanf): Likewise.
8362 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
8364         * timezone/version.h: Remove file.
8365         * timezone/README: Do not refer to version.h.
8366         * timezone/Makefile ($(objpfx)zic.o): New dependency on
8367         $(objpfx)version.h.
8368         ($(objpfx)zdump.o): Likewise.
8369         ($(objpfx)version.h): New target.
8371         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8372         2012i.
8373         * timezone/README: Don't mention modification to tzselect.ksh.
8374         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8375         work on unmodified tzselect.ksh.  Substitute version numbers in
8376         tzselect.ksh.
8378         * Makefile (format-me): Remove.
8379         (INSTALL): Adjust indentation.  Use commands directly instead of
8380         using $(format-me).
8382         * aclocal.m4 (ACX_PKGVERSION): New macro.
8383         (ACX_BUGURL): Likewise.
8384         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8385         (PKGVERSION): New AC_DEFINE_UNQUOTED.
8386         (REPORT_BUGS_TO): Likewise.
8387         * configure: Regenerated.
8388         * config.h.in (PKGVERSION): New macro.
8389         (REPORT_BUGS_TO): Likewise.
8390         * config.make.in (PKGVERSION): New variable.
8391         (PKGVERSION_TEXI): Likewise.
8392         (REPORT_BUGS_TO): Likewise.
8393         (REPORT_BUGS_TEXI): Likewise.
8394         * Makefile (format-me): Use -I$(common-objpfx)manual.
8395         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8396         ($(common-objpfx)manual/%): New target.
8397         (manual/%): Remove target.
8398         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8399         (print_version): Use PKGVERSION.
8400         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8401         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8402         and REPORT_BUGS_TO.
8403         ($(objpfx)xtrace): Likewise.
8404         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8405         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8406         (print_version): Use PKGVERSION.
8407         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8408         (do_version): Use PKGVERSION.
8409         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8410         REPORT_BUGS_TO.
8411         (common-ldd-rewrite): Likewise.
8412         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8413         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8414         (print_version): Use PKGVERSION.
8415         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8416         * elf/pldd.c (argp_program_bug_address): Remove variable.
8417         (more_help): New function.
8418         (argp): Use more_help.
8419         (print_version): Use PKGVERSION.
8420         * elf/sln.c (main): Use PKGVERSION.
8421         (usage): Use REPORT_BUGS_TO.
8422         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8423         (top level): Use PKGVERSION.
8424         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8425         (print_version): Use PKGVERSION.
8426         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8427         (print_version): Use PKGVERSION.
8428         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8429         (print_version): Use PKGVERSION.
8430         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8431         (print_version): Use PKGVERSION.
8432         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8433         (print_version): Use PKGVERSION.
8434         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8435         (print_version): Use PKGVERSION.
8436         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8437         and BUGURL.
8438         ($(objpfx)memusage): Likewise.
8439         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8440         (do_version): Use PKGVERSION.
8441         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8442         (print_version): Use PKGVERSION.
8443         * malloc/mtrace.pl ($PACKAGE): Remove variable.
8444         ($PKGVERSION): New variable.
8445         ($REPORT_BUGS_TO): Likewise.
8446         (usage): Use $REPORT_BUGS_TO.
8447         (top level): Use $PKGVERSION.
8448         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8449         ($(objpfx)pkgvers.texi): New rule.
8450         ($(objpfx)stamp-pkgvers): Likewise.
8451         * manual/install.texi: Include pkgvers.texi.
8452         (--with-pkgversion): Document new configure option.
8453         (--with-bugurl): Likewise.
8454         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8455         than necessarily for this particular distribution.  Use
8456         REPORT_BUGS_TO for where to report bugs.
8457         * INSTALL: Regenerated.
8458         * manual/libc.texinfo: Include pkgvers.texi.
8459         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8460         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8461         (print_version): Use PKGVERSION.
8462         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8463         (print_version): Use PKGVERSION.
8464         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8465         (print_version): Use PKGVERSION.
8466         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8467         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8468         macro.
8469         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8470         (print_version): Use PKGVERSION.
8471         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8472         (print_version): Use PKGVERSION.
8473         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8474         and PKGVERSION.
8476         * timezone/checktab.awk: Update from tzcode 2012i.
8477         * timezone/ialloc.c: Likewise.
8478         * timezone/private.h: Likewise.
8479         * timezone/scheck.c: Likewise.
8480         * timezone/tzfile.h: Likewise.
8481         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8482         (TZVERSION): Hardcode tzcode version number.
8483         * timezone/zdump.c: Update from tzcode 2012i.
8484         * timezone/zic.c: Likewise.
8485         * timezone/version.h: New file.
8486         * timezone/README: Describe version.h.  Update upstream location.
8488         [BZ #14824]
8489         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8490         (mktemp): Enable declaration.
8491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8493         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8495         Likewise.
8496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8497         Likewise.
8498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8499         Likewise.
8500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8501         Likewise.
8502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8503         Likewise.
8504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8505         Likewise.
8507         [BZ #14821]
8508         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8509         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
8510         for copies of such integer values.
8511         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8512         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8514 2012-11-09  Andreas Jaeger  <aj@suse.de>
8516         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8517         definitions and declarations that are provided by
8518         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8520 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8522         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8523         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8524         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8525         definition.
8527 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8529         * elf/elf.h: Update comment before AArch64 relocations.
8531 2012-11-07  David S. Miller  <davem@davemloft.net>
8533         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8534         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8535         (__start_context): Declare.
8536         (__makecontext_ret): Delete.
8537         (__makecontext): Hook up __start_context instead of
8538         __makecontext_ret.
8539         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8540         (sysdep_routines): Add __start_context when in stdlib.
8542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8544         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8545         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8546         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
8547         hardcoded "nm".
8548         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
8549         (READELF): New variable.  Use it instead of hardcoded "readelf".
8551 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8553         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8554         * sysdeps/x86/Makefile: Here.
8555         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8556         * sysdeps/x86/tst-xmmymm.sh: This.
8558 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8560         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8561         expectations.
8562         [UNIX98] (pthread_barrier_t): Do not expect.
8563         [UNIX98] (pthread_barrierattr_t): Likewise.
8564         [UNIX98] (pthread_spinlock_t): Likewise.
8565         [UNIX98] (pthread_barrier_destroy): Likewise.
8566         [UNIX98] (pthread_barrier_init): Likewise.
8567         [UNIX98] (pthread_barrier_wait): Likewise.
8568         [UNIX98] (pthread_barrierattr_destroy): Likewise.
8569         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8570         [UNIX98] (pthread_barrierattr_init): Likewise.
8571         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8572         [UNIX98] (pthread_getcpuclockid): Likewise.
8573         [UNIX98] (pthread_mutex_timedlock): Likewise.
8574         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8575         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8576         [UNIX98] (pthread_sigmask): Likewise.
8577         [UNIX98] (pthread_spin_destroy): Likewise.
8578         [UNIX98] (pthread_spin_init): Likewise.
8579         [UNIX98] (pthread_spin_lock): Likewise.
8580         [UNIX98] (pthread_spin_trylock): Likewise.
8581         [UNIX98] (pthread_spin_unlock): Likewise.
8582         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8583         Do not expect.
8584         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8585         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8586         [XPG3 || XPG4] (pthread_cond_t): Likewise.
8587         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8588         [XPG3 || XPG4] (pthread_key_t): Likewise.
8589         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8590         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8591         [XPG3 || XPG4] (pthread_once_t): Likewise.
8592         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8593         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8594         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8595         [XPG3 || XPG4] (pthread_t): Likewise.
8597         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8598         not expect.
8599         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8601         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8602         Change function return type to int.
8604         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8605         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8606         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8607         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8608         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8609         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8610         [!POSIX] (posix_madvise): Likewise.
8611         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8612         && !UNIX98].
8613         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8614         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8615         (mode_t): Likewise.
8616         (posix_mem_offset): Likewise.
8617         (posix_typed_mem_get_info): Likewise.
8618         (posix_typed_mem_open): Likewise.
8620         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8621         Change condition to [XOPEN2K8].
8623         * conform/conformtest.pl: Preprocess allow-header data with -x c
8624         instead of from stdin.
8625         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8626         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8627         [C99-based standards] (cerfc): Likewise.
8628         [C99-based standards] (cexp2): Likewise.
8629         [C99-based standards] (cexpm1): Likewise.
8630         [C99-based standards] (clog10): Likewise.
8631         [C99-based standards] (clog1p): Likewise.
8632         [C99-based standards] (clog2): Likewise.
8633         [C99-based standards] (clgamma): Likewise.
8634         [C99-based standards] (ctgamma): Likewise.
8635         [C99-based standards] (cerff): Likewise.
8636         [C99-based standards] (cerfcf): Likewise.
8637         [C99-based standards] (cexp2f): Likewise.
8638         [C99-based standards] (cexpm1f): Likewise.
8639         [C99-based standards] (clog10f): Likewise.
8640         [C99-based standards] (clog1pf): Likewise.
8641         [C99-based standards] (clog2f): Likewise.
8642         [C99-based standards] (clgammaf): Likewise.
8643         [C99-based standards] (ctgammaf): Likewise.
8644         [C99-based standards] (cerfl): Likewise.
8645         [C99-based standards] (cerfcl): Likewise.
8646         [C99-based standards] (cexp2l): Likewise.
8647         [C99-based standards] (cexpm1l): Likewise.
8648         [C99-based standards] (clog10l): Likewise.
8649         [C99-based standards] (clog1pl): Likewise.
8650         [C99-based standards] (clog2l): Likewise.
8651         [C99-based standards] (clgammal): Likewise.
8652         [C99-based standards] (ctgammal): Likewise.
8653         * conform/data/inttypes.h-data [C99-based standards]: Include
8654         stdint.h-data.  Remove all expectations for stdint.h contents.
8655         [C99-based standards] (PRI*): Do not allow.
8656         [C99-based standards] (SCN*): Likewise.
8657         [C99-based standards] (*_t): Likewise.
8658         [C99-based-standards] (PRId8): Expect macro.
8659         [C99-based-standards] (PRIi8): Likewise.
8660         [C99-based-standards] (PRIo8): Likewise.
8661         [C99-based-standards] (PRIu8): Likewise.
8662         [C99-based-standards] (PRIx8): Likewise.
8663         [C99-based-standards] (PRIX8): Likewise.
8664         [C99-based-standards] (SCNd8): Likewise.
8665         [C99-based-standards] (SCNi8): Likewise.
8666         [C99-based-standards] (SCNo8): Likewise.
8667         [C99-based-standards] (SCNu8): Likewise.
8668         [C99-based-standards] (SCNx8): Likewise.
8669         [C99-based-standards] (PRIdLEAST8): Likewise.
8670         [C99-based-standards] (PRIiLEAST8): Likewise.
8671         [C99-based-standards] (PRIoLEAST8): Likewise.
8672         [C99-based-standards] (PRIuLEAST8): Likewise.
8673         [C99-based-standards] (PRIxLEAST8): Likewise.
8674         [C99-based-standards] (PRIXLEAST8): Likewise.
8675         [C99-based-standards] (SCNdLEAST8): Likewise.
8676         [C99-based-standards] (SCNiLEAST8): Likewise.
8677         [C99-based-standards] (SCNoLEAST8): Likewise.
8678         [C99-based-standards] (SCNuLEAST8): Likewise.
8679         [C99-based-standards] (SCNxLEAST8): Likewise.
8680         [C99-based-standards] (PRIdFAST8): Likewise.
8681         [C99-based-standards] (PRIiFAST8): Likewise.
8682         [C99-based-standards] (PRIoFAST8): Likewise.
8683         [C99-based-standards] (PRIuFAST8): Likewise.
8684         [C99-based-standards] (PRIxFAST8): Likewise.
8685         [C99-based-standards] (PRIXFAST8): Likewise.
8686         [C99-based-standards] (SCNdFAST8): Likewise.
8687         [C99-based-standards] (SCNiFAST8): Likewise.
8688         [C99-based-standards] (SCNoFAST8): Likewise.
8689         [C99-based-standards] (SCNuFAST8): Likewise.
8690         [C99-based-standards] (SCNxFAST8): Likewise.
8691         [C99-based-standards] (PRId16): Likewise.
8692         [C99-based-standards] (PRIi16): Likewise.
8693         [C99-based-standards] (PRIo16): Likewise.
8694         [C99-based-standards] (PRIu16): Likewise.
8695         [C99-based-standards] (PRIx16): Likewise.
8696         [C99-based-standards] (PRIX16): Likewise.
8697         [C99-based-standards] (SCNd16): Likewise.
8698         [C99-based-standards] (SCNi16): Likewise.
8699         [C99-based-standards] (SCNo16): Likewise.
8700         [C99-based-standards] (SCNu16): Likewise.
8701         [C99-based-standards] (SCNx16): Likewise.
8702         [C99-based-standards] (PRIdLEAST16): Likewise.
8703         [C99-based-standards] (PRIiLEAST16): Likewise.
8704         [C99-based-standards] (PRIoLEAST16): Likewise.
8705         [C99-based-standards] (PRIuLEAST16): Likewise.
8706         [C99-based-standards] (PRIxLEAST16): Likewise.
8707         [C99-based-standards] (PRIXLEAST16): Likewise.
8708         [C99-based-standards] (SCNdLEAST16): Likewise.
8709         [C99-based-standards] (SCNiLEAST16): Likewise.
8710         [C99-based-standards] (SCNoLEAST16): Likewise.
8711         [C99-based-standards] (SCNuLEAST16): Likewise.
8712         [C99-based-standards] (SCNxLEAST16): Likewise.
8713         [C99-based-standards] (PRIdFAST16): Likewise.
8714         [C99-based-standards] (PRIiFAST16): Likewise.
8715         [C99-based-standards] (PRIoFAST16): Likewise.
8716         [C99-based-standards] (PRIuFAST16): Likewise.
8717         [C99-based-standards] (PRIxFAST16): Likewise.
8718         [C99-based-standards] (PRIXFAST16): Likewise.
8719         [C99-based-standards] (SCNdFAST16): Likewise.
8720         [C99-based-standards] (SCNiFAST16): Likewise.
8721         [C99-based-standards] (SCNoFAST16): Likewise.
8722         [C99-based-standards] (SCNuFAST16): Likewise.
8723         [C99-based-standards] (SCNxFAST16): Likewise.
8724         [C99-based-standards] (PRId32): Likewise.
8725         [C99-based-standards] (PRIi32): Likewise.
8726         [C99-based-standards] (PRIo32): Likewise.
8727         [C99-based-standards] (PRIu32): Likewise.
8728         [C99-based-standards] (PRIx32): Likewise.
8729         [C99-based-standards] (PRIX32): Likewise.
8730         [C99-based-standards] (SCNd32): Likewise.
8731         [C99-based-standards] (SCNi32): Likewise.
8732         [C99-based-standards] (SCNo32): Likewise.
8733         [C99-based-standards] (SCNu32): Likewise.
8734         [C99-based-standards] (SCNx32): Likewise.
8735         [C99-based-standards] (PRIdLEAST32): Likewise.
8736         [C99-based-standards] (PRIiLEAST32): Likewise.
8737         [C99-based-standards] (PRIoLEAST32): Likewise.
8738         [C99-based-standards] (PRIuLEAST32): Likewise.
8739         [C99-based-standards] (PRIxLEAST32): Likewise.
8740         [C99-based-standards] (PRIXLEAST32): Likewise.
8741         [C99-based-standards] (SCNdLEAST32): Likewise.
8742         [C99-based-standards] (SCNiLEAST32): Likewise.
8743         [C99-based-standards] (SCNoLEAST32): Likewise.
8744         [C99-based-standards] (SCNuLEAST32): Likewise.
8745         [C99-based-standards] (SCNxLEAST32): Likewise.
8746         [C99-based-standards] (PRIdFAST32): Likewise.
8747         [C99-based-standards] (PRIiFAST32): Likewise.
8748         [C99-based-standards] (PRIoFAST32): Likewise.
8749         [C99-based-standards] (PRIuFAST32): Likewise.
8750         [C99-based-standards] (PRIxFAST32): Likewise.
8751         [C99-based-standards] (PRIXFAST32): Likewise.
8752         [C99-based-standards] (SCNdFAST32): Likewise.
8753         [C99-based-standards] (SCNiFAST32): Likewise.
8754         [C99-based-standards] (SCNoFAST32): Likewise.
8755         [C99-based-standards] (SCNuFAST32): Likewise.
8756         [C99-based-standards] (SCNxFAST32): Likewise.
8757         [C99-based-standards] (PRId64): Likewise.
8758         [C99-based-standards] (PRIi64): Likewise.
8759         [C99-based-standards] (PRIo64): Likewise.
8760         [C99-based-standards] (PRIu64): Likewise.
8761         [C99-based-standards] (PRIx64): Likewise.
8762         [C99-based-standards] (PRIX64): Likewise.
8763         [C99-based-standards] (SCNd64): Likewise.
8764         [C99-based-standards] (SCNi64): Likewise.
8765         [C99-based-standards] (SCNo64): Likewise.
8766         [C99-based-standards] (SCNu64): Likewise.
8767         [C99-based-standards] (SCNx64): Likewise.
8768         [C99-based-standards] (PRIdLEAST64): Likewise.
8769         [C99-based-standards] (PRIiLEAST64): Likewise.
8770         [C99-based-standards] (PRIoLEAST64): Likewise.
8771         [C99-based-standards] (PRIuLEAST64): Likewise.
8772         [C99-based-standards] (PRIxLEAST64): Likewise.
8773         [C99-based-standards] (PRIXLEAST64): Likewise.
8774         [C99-based-standards] (SCNdLEAST64): Likewise.
8775         [C99-based-standards] (SCNiLEAST64): Likewise.
8776         [C99-based-standards] (SCNoLEAST64): Likewise.
8777         [C99-based-standards] (SCNuLEAST64): Likewise.
8778         [C99-based-standards] (SCNxLEAST64): Likewise.
8779         [C99-based-standards] (PRIdFAST64): Likewise.
8780         [C99-based-standards] (PRIiFAST64): Likewise.
8781         [C99-based-standards] (PRIoFAST64): Likewise.
8782         [C99-based-standards] (PRIuFAST64): Likewise.
8783         [C99-based-standards] (PRIxFAST64): Likewise.
8784         [C99-based-standards] (PRIXFAST64): Likewise.
8785         [C99-based-standards] (SCNdFAST64): Likewise.
8786         [C99-based-standards] (SCNiFAST64): Likewise.
8787         [C99-based-standards] (SCNoFAST64): Likewise.
8788         [C99-based-standards] (SCNuFAST64): Likewise.
8789         [C99-based-standards] (SCNxFAST64): Likewise.
8790         [C99-based-standards] (PRIdMAX): Likewise.
8791         [C99-based-standards] (PRIiMAX): Likewise.
8792         [C99-based-standards] (PRIoMAX): Likewise.
8793         [C99-based-standards] (PRIuMAX): Likewise.
8794         [C99-based-standards] (PRIxMAX): Likewise.
8795         [C99-based-standards] (PRIXMAX): Likewise.
8796         [C99-based-standards] (SCNdMAX): Likewise.
8797         [C99-based-standards] (SCNiMAX): Likewise.
8798         [C99-based-standards] (SCNoMAX): Likewise.
8799         [C99-based-standards] (SCNuMAX): Likewise.
8800         [C99-based-standards] (SCNxMAX): Likewise.
8801         [C99-based-standards] (PRIdPTR): Likewise.
8802         [C99-based-standards] (PRIiPTR): Likewise.
8803         [C99-based-standards] (PRIoPTR): Likewise.
8804         [C99-based-standards] (PRIuPTR): Likewise.
8805         [C99-based-standards] (PRIxPTR): Likewise.
8806         [C99-based-standards] (PRIXPTR): Likewise.
8807         [C99-based-standards] (SCNdPTR): Likewise.
8808         [C99-based-standards] (SCNiPTR): Likewise.
8809         [C99-based-standards] (SCNoPTR): Likewise.
8810         [C99-based-standards] (SCNuPTR): Likewise.
8811         [C99-based-standards] (SCNxPTR): Likewise.
8812         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8813         allow.
8814         * conform/data/stdint.h-data: Update comments to clarify
8815         requirements.
8816         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
8817         type.
8818         [C99-based standards] (INT8_MAX): Likewise.
8819         [C99-based standards] (INT16_MIN): Likewise.
8820         [C99-based standards] (INT16_MAX): Likewise.
8821         [C99-based standards] (INT32_MIN): Likewise.
8822         [C99-based standards] (INT32_MAX): Likewise.
8823         [C99-based standards] (INT64_MIN): Likewise.
8824         [C99-based standards] (INT64_MAX): Likewise.
8825         [C99-based standards] (UINT8_MAX): Likewise.
8826         [C99-based standards] (UINT16_MAX): Likewise.
8827         [C99-based standards] (UINT32_MAX): Likewise.
8828         [C99-based standards] (UINT64_MAX): Likewise.
8829         [C99-based standards] (INT_LEAST8_MIN): Likewise.
8830         [C99-based standards] (INT_LEAST8_MAX): Likewise.
8831         [C99-based standards] (INT_LEAST16_MIN): Likewise.
8832         [C99-based standards] (INT_LEAST16_MAX): Likewise.
8833         [C99-based standards] (INT_LEAST32_MIN): Likewise.
8834         [C99-based standards] (INT_LEAST32_MAX): Likewise.
8835         [C99-based standards] (INT_LEAST64_MIN): Likewise.
8836         [C99-based standards] (INT_LEAST64_MAX): Likewise.
8837         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8838         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8839         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8840         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8841         [C99-based standards] (INT_FAST8_MIN): Likewise.
8842         [C99-based standards] (INT_FAST8_MAX): Likewise.
8843         [C99-based standards] (INT_FAST16_MIN): Likewise.
8844         [C99-based standards] (INT_FAST16_MAX): Likewise.
8845         [C99-based standards] (INT_FAST32_MIN): Likewise.
8846         [C99-based standards] (INT_FAST32_MAX): Likewise.
8847         [C99-based standards] (INT_FAST64_MIN): Likewise.
8848         [C99-based standards] (INT_FAST64_MAX): Likewise.
8849         [C99-based standards] (UINT_FAST8_MAX): Likewise.
8850         [C99-based standards] (UINT_FAST16_MAX): Likewise.
8851         [C99-based standards] (UINT_FAST32_MAX): Likewise.
8852         [C99-based standards] (UINT_FAST64_MAX): Likewise.
8853         [C99-based standards] (INTPTR_MIN): Likewise.
8854         [C99-based standards] (INTPTR_MAX): Likewise.
8855         [C99-based standards] (UINTPTR_MAX): Likewise.
8856         [C99-based standards] (INTMAX_MIN): Likewise.
8857         [C99-based standards] (INTMAX_MAX): Likewise.
8858         [C99-based standards] (UINTMAX_MAX): Likewise.
8859         [C99-based standards] (PTRDIFF_MIN): Likewise.
8860         [C99-based standards] (PTRDIFF_MAX): Likewise.
8861         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8862         [C99-based standards] (SIZE_MAX): Likewise.
8863         [C99-based standards] (WCHAR_MAX): Likewise.
8864         [C99-based standards] (WINT_MAX): Likewise.
8865         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
8866         constraint on value.
8867         [C99-based standards] (WCHAR_MIN): Likewise.
8868         [C99-based standards] (WINT_MIN): Likewise.
8869         [C99-based standards] (*_t): Allow.
8870         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8871         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8872         Include math.h-data and complex.h-data.  Remove all expectations
8873         of math.h and complex.h contents.
8874         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8875         at end of line.
8876         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8877         (struct tm): Expect tag.
8878         [C99-based-standards] (wcstof): Expect function.
8879         [C99-based-standards] (wcstold): Likewise.
8880         [C99-based-standards] (wcstoll): Likewise.
8881         [C99-based-standards] (wcstoull): Likewise.
8882         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8883         macro-int-constant.  Specify type.
8884         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
8885         constraint on value.
8886         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8887         Specify type.
8888         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8889         Specify value.
8890         [ISO C standards]: Do not allow headers.
8891         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8892         wcs[abcdefghijklmnopqrstuvwxyz]*.
8893         [ISO C standards] (*_t): Do not allow.
8894         * conform/data/wctype.h-data [C99-based standards] (iswblank):
8895         Expect function.
8896         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8897         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8898         Specify type.
8899         [ISO C standards]: Do not allow headers.
8900         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8901         is[abcdefghijklmnopqrstuvwxyz]*.
8902         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8903         to[abcdefghijklmnopqrstuvwxyz]*.
8904         [ISO C standards] (*_t): Do not allow.
8905         * conform/data/stdalign.h-data: New file.
8906         * conform/data/stdbool.h-data: Likewise.
8907         * conform/data/stdnoreturn.h-data: Likewise.
8909 2012-11-07  Roland McGrath  <roland@hack.frob.com>
8911         [BZ #14815]
8912         * manual/filesys.texi (Directory Entries): Typo fix.
8913         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8915 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8917         * elf/elf.h (EM_AARCH64): New macro.
8918         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8919         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8920         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8921         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8922         (R_AARCH64_TLSDESC): Likewise.
8923         (NT_ARM_TLS): Likewise.
8924         (NT_ARM_HW_BREAK): Likewise.
8925         (NT_ARM_HW_WATCH): Likewise.
8927 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8929         [BZ #14811]
8930         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8931         (__ieee754_powl): Saturate nonzero exponents with absolute value
8932         below 0x1p-79 to +/- 0x1p-79.
8933         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8934         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8935         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8936         nonzero exponents with absolute value below 0x1p-32 to +/-
8937         0x1p-32.
8938         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8939         (__ieee754_powl): Saturate nonzero exponents with absolute value
8940         below 0x1p-79 to +/- 0x1p-79.
8941         * math/libm-test.inc (pow_test): Add more tests.
8943 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8945         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8946         _dl_s390_cap_flags with kernel. Increase string length.
8947         (_dl_s390_platforms): Add z196 and zEC12.
8949 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8951         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8952         Change XOPEN21K to XOPEN2K.
8954 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
8956         * string/memmove.c: Use memcpy when possible.
8958 2012-11-06  Andreas Jaeger  <aj@suse.de>
8960         * po/eo.po: Update from translation team.
8962 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
8964         [BZ #14793]
8965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8966         exponent and small x and y exponents, scale x or y up.  Increase
8967         by 2 the exponent used in scaling up.
8968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8970         * math/libm-test.inc (fma_test): Add more tests.
8971         (fma_test_towardzero): Likewise.
8972         (fma_test_downward): Likewise.
8973         (fma_test_upward): Likewise.
8975 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
8977         [BZ #14805]
8978         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8979         fenv_t *.
8981         [BZ #14801]
8982         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8983         namespace for names of struct fields.
8984         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8985         fenv_t fields.
8986         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8987         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8989 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8991         [BZ #3665]
8992         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8994 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8996         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8997         PTR_DEMANGLE.
8999         [BZ #5246]
9000         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9001         PTR_DEMANGLE.
9003 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9005         [BZ #14797]
9006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9007         definitely overflow as x * y not x * y + z.
9008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9010         * math/libm-test.inc (fma_test): Add more tests.
9011         (fma_test_towardzero): Likewise.
9012         (fma_test_downward): Likewise.
9013         (fma_test_upward): Likewise.
9015 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9017         [BZ #157]
9019         * include/stub-tag.h: Remove file.
9020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9021         '#include' of it.
9022         * manual/maint.texi (Porting): Don't reference it.
9023         * Makerules ($(objpfx)stubs): Likewise.
9024         * dirent/closedir.c: Don't include <stub-tag.h>.
9025         * dirent/dirfd.c: Likewise.
9026         * dirent/fdopendir.c: Likewise.
9027         * dirent/getdents.c: Likewise.
9028         * dirent/getdents64.c: Likewise.
9029         * dirent/opendir.c: Likewise.
9030         * dirent/readdir.c: Likewise.
9031         * dirent/readdir64.c: Likewise.
9032         * dirent/readdir64_r.c: Likewise.
9033         * dirent/readdir_r.c: Likewise.
9034         * dirent/rewinddir.c: Likewise.
9035         * dirent/seekdir.c: Likewise.
9036         * dirent/telldir.c: Likewise.
9037         * gmon/profil.c: Likewise.
9038         * grp/setgroups.c: Likewise.
9039         * inet/if_index.c: Likewise.
9040         * io/access.c: Likewise.
9041         * io/chdir.c: Likewise.
9042         * io/chmod.c: Likewise.
9043         * io/chown.c: Likewise.
9044         * io/close.c: Likewise.
9045         * io/dup.c: Likewise.
9046         * io/dup2.c: Likewise.
9047         * io/dup3.c: Likewise.
9048         * io/euidaccess.c: Likewise.
9049         * io/faccessat.c: Likewise.
9050         * io/fchdir.c: Likewise.
9051         * io/fchmod.c: Likewise.
9052         * io/fchmodat.c: Likewise.
9053         * io/fchown.c: Likewise.
9054         * io/fchownat.c: Likewise.
9055         * io/fcntl.c: Likewise.
9056         * io/flock.c: Likewise.
9057         * io/fstatfs.c: Likewise.
9058         * io/fstatfs64.c: Likewise.
9059         * io/fstatvfs.c: Likewise.
9060         * io/fstatvfs64.c: Likewise.
9061         * io/futimens.c: Likewise.
9062         * io/fxstat.c: Likewise.
9063         * io/fxstat64.c: Likewise.
9064         * io/fxstatat.c: Likewise.
9065         * io/fxstatat64.c: Likewise.
9066         * io/getcwd.c: Likewise.
9067         * io/isatty.c: Likewise.
9068         * io/lchmod.c: Likewise.
9069         * io/lchown.c: Likewise.
9070         * io/link.c: Likewise.
9071         * io/linkat.c: Likewise.
9072         * io/lseek.c: Likewise.
9073         * io/lseek64.c: Likewise.
9074         * io/lxstat64.c: Likewise.
9075         * io/mkdir.c: Likewise.
9076         * io/mkdirat.c: Likewise.
9077         * io/mkfifo.c: Likewise.
9078         * io/mkfifoat.c: Likewise.
9079         * io/open.c: Likewise.
9080         * io/open64.c: Likewise.
9081         * io/openat.c: Likewise.
9082         * io/openat64.c: Likewise.
9083         * io/pipe.c: Likewise.
9084         * io/pipe2.c: Likewise.
9085         * io/poll.c: Likewise.
9086         * io/posix_fadvise.c: Likewise.
9087         * io/posix_fadvise64.c: Likewise.
9088         * io/posix_fallocate.c: Likewise.
9089         * io/posix_fallocate64.c: Likewise.
9090         * io/read.c: Likewise.
9091         * io/readlink.c: Likewise.
9092         * io/readlinkat.c: Likewise.
9093         * io/rmdir.c: Likewise.
9094         * io/sendfile.c: Likewise.
9095         * io/sendfile64.c: Likewise.
9096         * io/statfs.c: Likewise.
9097         * io/statfs64.c: Likewise.
9098         * io/statvfs.c: Likewise.
9099         * io/statvfs64.c: Likewise.
9100         * io/symlink.c: Likewise.
9101         * io/symlinkat.c: Likewise.
9102         * io/ttyname.c: Likewise.
9103         * io/ttyname_r.c: Likewise.
9104         * io/umask.c: Likewise.
9105         * io/unlink.c: Likewise.
9106         * io/unlinkat.c: Likewise.
9107         * io/utime.c: Likewise.
9108         * io/utimensat.c: Likewise.
9109         * io/write.c: Likewise.
9110         * io/xmknod.c: Likewise.
9111         * io/xmknodat.c: Likewise.
9112         * io/xstat.c: Likewise.
9113         * io/xstat64.c: Likewise.
9114         * login/getpt.c: Likewise.
9115         * login/grantpt.c: Likewise.
9116         * login/unlockpt.c: Likewise.
9117         * math/e_acoshl.c: Likewise.
9118         * math/e_acosl.c: Likewise.
9119         * math/e_asinl.c: Likewise.
9120         * math/e_atan2l.c: Likewise.
9121         * math/e_atanhl.c: Likewise.
9122         * math/e_coshl.c: Likewise.
9123         * math/e_expl.c: Likewise.
9124         * math/e_fmodl.c: Likewise.
9125         * math/e_gammal_r.c: Likewise.
9126         * math/e_hypotl.c: Likewise.
9127         * math/e_j0l.c: Likewise.
9128         * math/e_j1l.c: Likewise.
9129         * math/e_jnl.c: Likewise.
9130         * math/e_lgammal_r.c: Likewise.
9131         * math/e_log10l.c: Likewise.
9132         * math/e_log2l.c: Likewise.
9133         * math/e_logl.c: Likewise.
9134         * math/e_powl.c: Likewise.
9135         * math/e_rem_pio2l.c: Likewise.
9136         * math/e_sinhl.c: Likewise.
9137         * math/e_sqrtl.c: Likewise.
9138         * math/fclrexcpt.c: Likewise.
9139         * math/fedisblxcpt.c: Likewise.
9140         * math/feenablxcpt.c: Likewise.
9141         * math/fegetenv.c: Likewise.
9142         * math/fegetexcept.c: Likewise.
9143         * math/fegetround.c: Likewise.
9144         * math/feholdexcpt.c: Likewise.
9145         * math/fesetenv.c: Likewise.
9146         * math/fesetround.c: Likewise.
9147         * math/feupdateenv.c: Likewise.
9148         * math/fgetexcptflg.c: Likewise.
9149         * math/fraiseexcpt.c: Likewise.
9150         * math/fsetexcptflg.c: Likewise.
9151         * math/ftestexcept.c: Likewise.
9152         * math/k_cosl.c: Likewise.
9153         * math/k_rem_pio2l.c: Likewise.
9154         * math/k_sinl.c: Likewise.
9155         * math/k_tanl.c: Likewise.
9156         * math/s_asinhl.c: Likewise.
9157         * math/s_atanl.c: Likewise.
9158         * math/s_cbrtl.c: Likewise.
9159         * math/s_erfl.c: Likewise.
9160         * math/s_expm1l.c: Likewise.
9161         * math/s_log1pl.c: Likewise.
9162         * math/s_tanhl.c: Likewise.
9163         * misc/acct.c: Likewise.
9164         * misc/brk.c: Likewise.
9165         * misc/chflags.c: Likewise.
9166         * misc/chroot.c: Likewise.
9167         * misc/fchflags.c: Likewise.
9168         * misc/fgetxattr.c: Likewise.
9169         * misc/flistxattr.c: Likewise.
9170         * misc/fremovexattr.c: Likewise.
9171         * misc/fsetxattr.c: Likewise.
9172         * misc/fsync.c: Likewise.
9173         * misc/ftruncate.c: Likewise.
9174         * misc/futimes.c: Likewise.
9175         * misc/futimesat.c: Likewise.
9176         * misc/getdomain.c: Likewise.
9177         * misc/getdtsz.c: Likewise.
9178         * misc/gethostid.c: Likewise.
9179         * misc/gethostname.c: Likewise.
9180         * misc/getloadavg.c: Likewise.
9181         * misc/getpagesize.c: Likewise.
9182         * misc/getsysstats.c: Likewise.
9183         * misc/getxattr.c: Likewise.
9184         * misc/gtty.c: Likewise.
9185         * misc/ioctl.c: Likewise.
9186         * misc/lgetxattr.c: Likewise.
9187         * misc/listxattr.c: Likewise.
9188         * misc/llistxattr.c: Likewise.
9189         * misc/lremovexattr.c: Likewise.
9190         * misc/lsetxattr.c: Likewise.
9191         * misc/lutimes.c: Likewise.
9192         * misc/madvise.c: Likewise.
9193         * misc/mincore.c: Likewise.
9194         * misc/mlock.c: Likewise.
9195         * misc/mlockall.c: Likewise.
9196         * misc/mmap.c: Likewise.
9197         * misc/mprotect.c: Likewise.
9198         * misc/msync.c: Likewise.
9199         * misc/munlock.c: Likewise.
9200         * misc/munlockall.c: Likewise.
9201         * misc/munmap.c: Likewise.
9202         * misc/preadv.c: Likewise.
9203         * misc/preadv64.c: Likewise.
9204         * misc/ptrace.c: Likewise.
9205         * misc/pwritev.c: Likewise.
9206         * misc/pwritev64.c: Likewise.
9207         * misc/readv.c: Likewise.
9208         * misc/reboot.c: Likewise.
9209         * misc/remap_file_pages.c: Likewise.
9210         * misc/removexattr.c: Likewise.
9211         * misc/revoke.c: Likewise.
9212         * misc/select.c: Likewise.
9213         * misc/setdomain.c: Likewise.
9214         * misc/setegid.c: Likewise.
9215         * misc/seteuid.c: Likewise.
9216         * misc/sethostid.c: Likewise.
9217         * misc/sethostname.c: Likewise.
9218         * misc/setregid.c: Likewise.
9219         * misc/setreuid.c: Likewise.
9220         * misc/setxattr.c: Likewise.
9221         * misc/sstk.c: Likewise.
9222         * misc/stty.c: Likewise.
9223         * misc/swapoff.c: Likewise.
9224         * misc/swapon.c: Likewise.
9225         * misc/sync.c: Likewise.
9226         * misc/syncfs.c: Likewise.
9227         * misc/syscall.c: Likewise.
9228         * misc/truncate.c: Likewise.
9229         * misc/ualarm.c: Likewise.
9230         * misc/usleep.c: Likewise.
9231         * misc/ustat.c: Likewise.
9232         * misc/utimes.c: Likewise.
9233         * misc/vhangup.c: Likewise.
9234         * misc/writev.c: Likewise.
9235         * posix/_exit.c: Likewise.
9236         * posix/alarm.c: Likewise.
9237         * posix/execve.c: Likewise.
9238         * posix/fexecve.c: Likewise.
9239         * posix/fork.c: Likewise.
9240         * posix/fpathconf.c: Likewise.
9241         * posix/getaddrinfo.c: Likewise.
9242         * posix/getegid.c: Likewise.
9243         * posix/geteuid.c: Likewise.
9244         * posix/getgid.c: Likewise.
9245         * posix/getgroups.c: Likewise.
9246         * posix/getlogin.c: Likewise.
9247         * posix/getlogin_r.c: Likewise.
9248         * posix/getpgid.c: Likewise.
9249         * posix/getpid.c: Likewise.
9250         * posix/getppid.c: Likewise.
9251         * posix/getresgid.c: Likewise.
9252         * posix/getresuid.c: Likewise.
9253         * posix/getsid.c: Likewise.
9254         * posix/getuid.c: Likewise.
9255         * posix/glob64.c: Likewise.
9256         * posix/nanosleep.c: Likewise.
9257         * posix/pathconf.c: Likewise.
9258         * posix/pause.c: Likewise.
9259         * posix/posix_madvise.c: Likewise.
9260         * posix/pread.c: Likewise.
9261         * posix/pread64.c: Likewise.
9262         * posix/pwrite.c: Likewise.
9263         * posix/pwrite64.c: Likewise.
9264         * posix/sched_getaffinity.c: Likewise.
9265         * posix/sched_getp.c: Likewise.
9266         * posix/sched_gets.c: Likewise.
9267         * posix/sched_primax.c: Likewise.
9268         * posix/sched_primin.c: Likewise.
9269         * posix/sched_rr_gi.c: Likewise.
9270         * posix/sched_setaffinity.c: Likewise.
9271         * posix/sched_setp.c: Likewise.
9272         * posix/sched_sets.c: Likewise.
9273         * posix/sched_yield.c: Likewise.
9274         * posix/setgid.c: Likewise.
9275         * posix/setlogin.c: Likewise.
9276         * posix/setpgid.c: Likewise.
9277         * posix/setresgid.c: Likewise.
9278         * posix/setresuid.c: Likewise.
9279         * posix/setsid.c: Likewise.
9280         * posix/setuid.c: Likewise.
9281         * posix/sleep.c: Likewise.
9282         * posix/spawni.c: Likewise.
9283         * posix/sysconf.c: Likewise.
9284         * posix/times.c: Likewise.
9285         * posix/wait.c: Likewise.
9286         * posix/wait3.c: Likewise.
9287         * posix/wait4.c: Likewise.
9288         * posix/waitpid.c: Likewise.
9289         * resolv/gai_sigqueue.c: Likewise.
9290         * resource/getpriority.c: Likewise.
9291         * resource/getrlimit.c: Likewise.
9292         * resource/getrusage.c: Likewise.
9293         * resource/nice.c: Likewise.
9294         * resource/setpriority.c: Likewise.
9295         * resource/setrlimit.c: Likewise.
9296         * resource/ulimit.c: Likewise.
9297         * rt/aio_cancel.c: Likewise.
9298         * rt/aio_fsync.c: Likewise.
9299         * rt/aio_read.c: Likewise.
9300         * rt/aio_sigqueue.c: Likewise.
9301         * rt/aio_suspend.c: Likewise.
9302         * rt/aio_write.c: Likewise.
9303         * rt/clock_getres.c: Likewise.
9304         * rt/clock_gettime.c: Likewise.
9305         * rt/clock_nanosleep.c: Likewise.
9306         * rt/clock_settime.c: Likewise.
9307         * rt/lio_listio.c: Likewise.
9308         * rt/mq_close.c: Likewise.
9309         * rt/mq_getattr.c: Likewise.
9310         * rt/mq_notify.c: Likewise.
9311         * rt/mq_open.c: Likewise.
9312         * rt/mq_receive.c: Likewise.
9313         * rt/mq_send.c: Likewise.
9314         * rt/mq_setattr.c: Likewise.
9315         * rt/mq_timedreceive.c: Likewise.
9316         * rt/mq_timedsend.c: Likewise.
9317         * rt/mq_unlink.c: Likewise.
9318         * rt/shm_open.c: Likewise.
9319         * rt/shm_unlink.c: Likewise.
9320         * rt/timer_create.c: Likewise.
9321         * rt/timer_delete.c: Likewise.
9322         * rt/timer_getoverr.c: Likewise.
9323         * rt/timer_gettime.c: Likewise.
9324         * rt/timer_settime.c: Likewise.
9325         * setjmp/__longjmp.c: Likewise.
9326         * setjmp/setjmp.c: Likewise.
9327         * signal/kill.c: Likewise.
9328         * signal/killpg.c: Likewise.
9329         * signal/raise.c: Likewise.
9330         * signal/sigaction.c: Likewise.
9331         * signal/sigaltstack.c: Likewise.
9332         * signal/sigblock.c: Likewise.
9333         * signal/sigignore.c: Likewise.
9334         * signal/sigintr.c: Likewise.
9335         * signal/signal.c: Likewise.
9336         * signal/sigpause.c: Likewise.
9337         * signal/sigpending.c: Likewise.
9338         * signal/sigqueue.c: Likewise.
9339         * signal/sigreturn.c: Likewise.
9340         * signal/sigset.c: Likewise.
9341         * signal/sigsetmask.c: Likewise.
9342         * signal/sigstack.c: Likewise.
9343         * signal/sigsuspend.c: Likewise.
9344         * signal/sigtimedwait.c: Likewise.
9345         * signal/sigvec.c: Likewise.
9346         * signal/sigwait.c: Likewise.
9347         * signal/sigwaitinfo.c: Likewise.
9348         * signal/sysv_signal.c: Likewise.
9349         * socket/accept.c: Likewise.
9350         * socket/accept4.c: Likewise.
9351         * socket/bind.c: Likewise.
9352         * socket/connect.c: Likewise.
9353         * socket/getpeername.c: Likewise.
9354         * socket/getsockname.c: Likewise.
9355         * socket/getsockopt.c: Likewise.
9356         * socket/isfdtype.c: Likewise.
9357         * socket/listen.c: Likewise.
9358         * socket/recv.c: Likewise.
9359         * socket/recvfrom.c: Likewise.
9360         * socket/recvmsg.c: Likewise.
9361         * socket/send.c: Likewise.
9362         * socket/sendmsg.c: Likewise.
9363         * socket/sendto.c: Likewise.
9364         * socket/setsockopt.c: Likewise.
9365         * socket/shutdown.c: Likewise.
9366         * socket/sockatmark.c: Likewise.
9367         * socket/socket.c: Likewise.
9368         * socket/socketpair.c: Likewise.
9369         * stdio-common/ctermid.c: Likewise.
9370         * stdio-common/cuserid.c: Likewise.
9371         * stdio-common/remove.c: Likewise.
9372         * stdio-common/rename.c: Likewise.
9373         * stdio-common/renameat.c: Likewise.
9374         * stdio-common/tempname.c: Likewise.
9375         * stdlib/getcontext.c: Likewise.
9376         * stdlib/makecontext.c: Likewise.
9377         * stdlib/setcontext.c: Likewise.
9378         * stdlib/swapcontext.c: Likewise.
9379         * stdlib/system.c: Likewise.
9380         * streams/fattach.c: Likewise.
9381         * streams/fdetach.c: Likewise.
9382         * streams/getmsg.c: Likewise.
9383         * streams/getpmsg.c: Likewise.
9384         * streams/putmsg.c: Likewise.
9385         * streams/putpmsg.c: Likewise.
9386         * sysdeps/unix/bsd/getpt.c: Likewise.
9387         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9388         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9389         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9391         Likewise.
9392         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9393         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9394         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9395         * sysvipc/msgctl.c: Likewise.
9396         * sysvipc/msgget.c: Likewise.
9397         * sysvipc/msgrcv.c: Likewise.
9398         * sysvipc/msgsnd.c: Likewise.
9399         * sysvipc/semctl.c: Likewise.
9400         * sysvipc/semget.c: Likewise.
9401         * sysvipc/semop.c: Likewise.
9402         * sysvipc/semtimedop.c: Likewise.
9403         * sysvipc/shmat.c: Likewise.
9404         * sysvipc/shmctl.c: Likewise.
9405         * sysvipc/shmdt.c: Likewise.
9406         * sysvipc/shmget.c: Likewise.
9407         * termios/tcdrain.c: Likewise.
9408         * termios/tcflow.c: Likewise.
9409         * termios/tcflush.c: Likewise.
9410         * termios/tcgetattr.c: Likewise.
9411         * termios/tcgetpgrp.c: Likewise.
9412         * termios/tcsendbrk.c: Likewise.
9413         * termios/tcsetattr.c: Likewise.
9414         * termios/tcsetpgrp.c: Likewise.
9415         * time/adjtime.c: Likewise.
9416         * time/clock.c: Likewise.
9417         * time/getitimer.c: Likewise.
9418         * time/gettimeofday.c: Likewise.
9419         * time/setitimer.c: Likewise.
9420         * time/settimeofday.c: Likewise.
9421         * time/stime.c: Likewise.
9422         * time/time.c: Likewise.
9424 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
9426         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9427         /usr/old/bin.
9429         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9430         instead of spaces.
9431         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9433 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
9435         [BZ #14796]
9436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9437         FE_TONEAREST before applying Dekker multiplication and Knuth
9438         addition.  Clear inexact exceptions and check for exact zero
9439         results afterwards.
9440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9441         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9443         * math/libm-test.inc (fma_test): Add more tests.
9444         (fma_test_towardzero): Likewise.
9445         (fma_test_downward): Likewise.
9446         (fma_test_upward): Likewise.
9447         * sysdeps/generic/math_private.h (default_libc_fesetround): New
9448         function.
9449         (libc_fesetround): New macro.
9450         (libc_fesetroundf): Likewise.
9451         (libc_fesetroundl): Likewise.
9452         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9453         function.
9454         (libc_fesetround_387): Likewise.
9455         (libc_fesetroundf): New macro.
9456         (libc_fesetround): Likewise.
9457         (libc_fesetroundl): Likewise.
9458         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9459         function.
9460         (libc_fesetroundf): New macro.
9461         (libc_fesetround): Likewise.
9462         (libc_fesetroundl): Likewise.
9463         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9464         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9465         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9466         libm_hidden_ver.
9467         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9468         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9469         libm_hidden_def.
9470         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9471         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9472         libm_hidden_ver.
9473         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9474         libm_hidden_def.
9476         [BZ #3439]
9477         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9478         integer constant usable in #if and use that to give value to enum
9479         constant.
9480         (FE_DIVBYZERO): Likewise.
9481         (FE_UNDERFLOW): Likewise.
9482         (FE_OVERFLOW): Likewise.
9483         (FE_INVALID): Likewise.
9484         (FE_INVALID_SNAN): Likewise.
9485         (FE_INVALID_ISI): Likewise.
9486         (FE_INVALID_IDI): Likewise.
9487         (FE_INVALID_ZDZ): Likewise.
9488         (FE_INVALID_IMZ): Likewise.
9489         (FE_INVALID_COMPARE): Likewise.
9490         (FE_INVALID_SOFTWARE): Likewise.
9491         (FE_INVALID_SQRT): Likewise.
9492         (FE_INVALID_INTEGER_CONVERSION): Likewise.
9493         (FE_TONEAREST): Likewise.
9494         (FE_TOWARDZERO): Likewise.
9495         (FE_UPWARD): Likewise.
9496         (FE_DOWNWARD): Likewise.
9497         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9498         (FE_DIVBYZERO): Likewise.
9499         (FE_OVERFLOW): Likewise.
9500         (FE_UNDERFLOW): Likewise.
9501         (FE_INEXACT): Likewise.
9502         (FE_TONEAREST): Likewise.
9503         (FE_DOWNWARD): Likewise.
9504         (FE_UPWARD): Likewise.
9505         (FE_TOWARDZERO): Likewise.
9506         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9507         (FE_UNDERFLOW): Likewise.
9508         (FE_OVERFLOW): Likewise.
9509         (FE_DIVBYZERO): Likewise.
9510         (FE_INVALID): Likewise.
9511         (FE_TONEAREST): Likewise.
9512         (FE_TOWARDZERO): Likewise.
9513         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9514         (FE_OVERFLOW): Likewise.
9515         (FE_UNDERFLOW): Likewise.
9516         (FE_DIVBYZERO): Likewise.
9517         (FE_INEXACT): Likewise.
9518         (FE_TONEAREST): Likewise.
9519         (FE_TOWARDZERO): Likewise.
9520         (FE_UPWARD): Likewise.
9521         (FE_DOWNWARD): Likewise.
9522         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9523         (FE_DIVBYZERO): Likewise.
9524         (FE_OVERFLOW): Likewise.
9525         (FE_UNDERFLOW): Likewise.
9526         (FE_INEXACT): Likewise.
9527         (FE_TONEAREST): Likewise.
9528         (FE_DOWNWARD): Likewise.
9529         (FE_UPWARD): Likewise.
9530         (FE_TOWARDZERO): Likewise.
9532 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
9534         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9536 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
9538         * scripts/cross-test-ssh.sh (command): Use newlines to separate
9539         commands.  Quote $PWD.
9540         (blacklist_exports): Don't use remove_newlines.  Replace "declare
9541         -x" by "export".
9542         (remove_newlines): Remove.
9544 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
9546         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9547         * stdlib/stdlib.h (atof): Moved to ...
9548         * include/bits/stdlib-float.h: Here.  New file.
9549         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9550         * stdlib/bits/stdlib-float.h: New file.
9551         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9552         -mno-sse -mno-mmx.
9553         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9554         <xmmintrin.h>.
9556 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9558         * conform/conformtest.pl (@headers): Add fenv.h.
9559         * conform/data/fenv.h-data: New file.
9560         * include/fenv.h [_ISOMAC]: Disable all contents of file except
9561         include of <math/fenv.h>.
9563         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9564         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9565         && !UNIX98].  Enables tests for XOPEN2K8.
9566         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9567         POSIX2008]: Likewise.
9569         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9570         (struct rusage): Do not expect type or its members.
9572         [BZ #3439]
9573         * math/math.h (FP_NAN): Define macro to integer constant usable in
9574         #if and use that to give value to enum constant.
9575         (FP_INFINITE): Likewise.
9576         (FP_ZERO): Likewise.
9577         (FP_SUBNORMAL): Likewise.
9578         (FP_NORMAL): Likewise.
9580 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
9582         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9583         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9584         arguments.
9586 2012-11-02  Roland McGrath  <roland@hack.frob.com>
9588         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9589         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9590         autoconf-time if not.
9591         * configure.in: Remove AC_PREREQ.
9593 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9595         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9596         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9597         of the internal implementation.
9599 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9601         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9602         except include of <misc/sys/syslog.h>.
9604 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9607         function returns with a NULL context exit with zero.
9609 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9611         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9613 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
9615         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9616         (run_program_cmd): This.
9617         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9618         (tst_langinfo): New variable.  Use it.
9620 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
9622         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9623         floating point opcodes.
9625 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9627         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9628         variable.
9630         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9632         * sysdeps/mach/hurd/powerpc: Remove directory.
9633         * sysdeps/mach/powerpc: Likewise.
9635 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9637         * scripts/check-local-headers.sh: Ignore c++ headers.
9639 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9641         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9642         __libc_cleanup_region_start argument.
9644 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
9646         [BZ #14784]
9647         [BZ #14785]
9648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9649         x * y using scaling, not as x * y + z.
9650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9652         * math/libm-test.inc (fma_test): Add more tests.
9653         (fma_test_towardzero): Likewise.
9654         (fma_test_downward): Likewise.
9655         (fma_test_upward): Likewise.
9657 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9659         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9661 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9663         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9664         New variable.
9666 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
9668         * rt/tst-shm.c (worker): Correct checking for mmap failure.
9670 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9673         Fix sort order.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9675         Likewise.
9677 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9680         Fix the order of the list for glibc 2.17.
9681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9682         Likewise.
9684 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9688 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #14610]
9691         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9692         for low part of x being zero before using __atanl (y).
9693         * math/libm-test.inc (atan2_test): Add another test.
9695         * manual/install.texi (Configuring and compiling): Document
9696         general use of test-wrapper and test-wrapper-env.
9697         * INSTALL: Regenerated.
9699         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9700         (__fma): Do not extract and scale down low bits on after-rounding
9701         systems when result rounded to normal precision would have normal
9702         exponent.
9703         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9704         (__fmal): Do not extract and scale down low bits on after-rounding
9705         systems when result rounded to normal precision would have normal
9706         exponent.
9707         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9708         (__fmal): Do not extract and scale down low bits on after-rounding
9709         systems when result rounded to normal precision would have normal
9710         exponent.
9711         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9712         macro.
9713         (fma_test): Add more tests.
9714         (fma_test_towardzero): Likewise.
9715         (fma_test_downward): Likewise.
9716         (fma_test_upward): Likewise.
9718 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
9720         * sysdeps/i386/tininess.h: Renamed to ...
9721         * sysdeps/x86/tininess.h: This.
9722         * sysdeps/x86_64/tininess.h: Removed.
9724 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9726         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9727         input.  Use $(build-program-cmd).
9728         ($(objpfx)tst-array1-static.out): Likewise.
9729         ($(objpfx)tst-array2.out): Likewise.
9730         ($(objpfx)tst-array3.out): Likewise.
9731         ($(objpfx)tst-array4.out): Likewise.
9732         ($(objpfx)tst-array5.out): Likewise.
9733         ($(objpfx)tst-array5-static.out): Likewise.
9735 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
9737         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9738         if defined.
9740         * nss/nsswitch.h (nss_interface_function): Provide new
9741         macro for use with NSS functions.
9742         * grp/initgroups.c: Use new macro.
9743         * nss/getXXbyYY.c: Likewise.
9744         * nss/getXXbyYY_r.c: Likewise.
9745         * nss/getXXent.c: Likewise.
9746         * nss/getXXent_r.c: Likewise.
9747         * sysdeps/posix/getaddrinfo.c: Likewise.
9749 2012-10-30  Andreas Jaeger  <aj@suse.de>
9751         * po/ru.po: Update Russion translation from translation project.
9753 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #14152]
9756         [BZ #14783]
9757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9758         result and shift together with sticky bit instead of replicating
9759         round-to-nearest rounding.
9760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9761         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9762         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
9763         missing underflow exceptions.
9764         (fma_test_towardzero): Add more tests.
9765         (fma_test_downward): Likewise.
9766         (fma_test_upward): Likewise.
9768         [BZ #14047]
9769         * sysdeps/generic/tininess.h: New file.
9770         * sysdeps/i386/tininess.h: Likewise.
9771         * sysdeps/sh/tininess.h: Likewise.
9772         * sysdeps/x86_64/tininess.h: Likewise.
9773         * stdlib/tst-strtod-underflow.c: Likewise.
9774         * stdlib/tst-tininess.c: Likewise.
9775         * stdlib/strtod_l.c: Include <tininess.h>.
9776         (round_and_return): Do not set errno for exact underflow cases.
9777         Force an underflow exception when setting errno for underflow.
9778         Determine underflow based on rounding to normal precision if
9779         TININESS_AFTER_ROUNDING.
9780         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9781         ERANGE for exact underflow cases.
9782         * stdlib/Makefile (tests): Add tst-tininess and
9783         tst-strtod-underflow.
9784         ($(objpfx)tst-tininess): Use $(link-libm).
9785         ($(objpfx)tst-strtod-underflow): Likewise.
9787 2012-10-30  Andreas Jaeger  <aj@suse.de>
9789         [BZ#14767]
9790         * elf/Makefile (tests): Remove conditional for have-initfini-array
9791         since this is now always required and the variable does not exist
9792         anymore.
9793         (tests-static): Likewise.
9794         (modules-names): Likewise.
9796         * po/eo.po: Add Esperanto translation from translation project.
9798         * elf/tst-array1.c (fini_array): Make writeable so that it can be
9799         merged with constructor/destructor.
9800         (init_array): Likewise.
9801         * elf/tst-array2dep.c (fini_array): Likewise.
9802         (init_array): Likewise.
9804 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
9806         * manual/message.texi: Delete @cartouche tags.
9808 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
9810         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9811         EOPNOTSUPP.
9812         * sysdeps/mach/hurd/fsync.c: Likewise.
9814         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9815         [_POSIX_REALTIME_SIGNALS]: Change condition to
9816         [_POSIX_REALTIME_SIGNALS > 0].
9818 2012-10-27  Andreas Jaeger  <aj@suse.de>
9820         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9821         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9823         [__WORDSIZE != 64]: Likewise.
9825 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
9827         *  iconvdata/tst-table.sh: Remove ${SHELL}.
9828         *  iconvdata/tst-tables.sh: Likewise.
9830 2012-10-25  David S. Miller  <davem@davemloft.net>
9832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9833         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9834         of strtoull.
9836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9837         ifunc-impl-list.c
9838         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9839         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9840         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9841         file.
9843 2012-10-25  Roland McGrath  <roland@hack.frob.com>
9845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9846         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9847         __getdirentries.
9849 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9850             Jim Blandy  <jimb@codesourcery.com>
9852         * scripts/cross-test-ssh.sh: New file.
9853         * manual/install.texi (Configuring and compiling): Document use of
9854         cross-test-ssh.sh.
9855         * INSTALL: Regenerated.
9857 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
9859         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9860         EOPNOTSUPP.
9862 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9864         * Makeconfig (run-program-prefix): Fix comment.
9866 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9867             Jim Blandy  <jimb@codesourcery.com>
9869         * Makeconfig (test-wrapper): New variable,
9870         (test-wrapper-env): Likewise.
9871         [$(cross-compiling) = yes && $(test-wrapper) != ""]
9872         (run-built-tests): Define to yes.
9873         (run-program-prefix): Use $(test-wrapper).
9874         (built-program-cmd): Likewise.
9875         * Rules (make-test-out): Use $(test-wrapper-env) and
9876         $(host-built-program-cmd).
9877         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9878         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9879         tst-pathopt.sh.
9880         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9881         $(test-wrapper-env) to tst-rtld-load-self.sh.
9882         ($(objpfx)order2.out): Use $(test-wrapper).
9883         ($(objpfx)tst-initorder.out): Likewise.
9884         ($(objpfx)tst-initorder2.out): Likewise.
9885         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9886         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9887         (test_wrapper_env): New variable.  Use it to run ld.so.
9888         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9889         Use it to run ld.so.
9890         (test_wrapper_env): Likewise.
9891         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9892         $(test-wrapper) to run-iconv-test.sh.
9893         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9894         (ICONV): Use $test_wrapper.
9895         * posix/Makefile ($(objpfx)globtest.out): Pass
9896         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9897         globtest.sh, not $(run-program-prefix).
9898         * posix/globtest.sh (run_via_rtld_prefix): New variable.
9899         (test_wrapper): Likewise.
9900         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
9901         set together with run_via_rtld_prefix.
9902         (run_program_prefix): Define in terms of test_wrapper and
9903         run_via_rtld_prefix.
9905 2012-10-24  Roland McGrath  <roland@hack.frob.com>
9907         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9908         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9909         Targets removed.
9911         [BZ #14743]
9912         * include/time.h: Remove librt_hidden_proto (clock_gettime).
9913         Declare __clock_getres, __clock_gettime, __clock_settime,
9914         __clock_nanosleep, and __clock_getcpuclockid.
9915         * rt/clock_gettime.c: Define __clock_gettime as an alias.
9916         Remove librt_hidden_def (clock_gettime).
9917         * sysdeps/unix/clock_gettime.c: Likewise.
9918         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9919         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9920         * rt/clock_getres.c: Define __clock_getres as an alias.
9921         * sysdeps/posix/clock_getres.c: Likewise.
9922         * rt/clock_settime.c: Define __clock_settime as an alias.
9923         * sysdeps/unix/clock_settime.c: Likewise.
9924         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9925         * sysdeps/unix/clock_nanosleep.c: Likewise.
9926         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9927         * rt/clock-compat.c: New file.
9928         * rt/Makefile (librt-routines): Add clock-compat and move
9929         $(clock-routines) to ...
9930         (routines): ... here, new variable.
9931         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9932         Don't add get_clockfreq here.
9933         * rt/Versions (libc: GLIBC_2.17): New version set.
9934         Add clock_* symbols here.
9935         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
9936         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9937         (GLIBC_2.17): Add clock_* symbols.
9938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9942         Likewise.
9943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9944         Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9949         * NEWS: Mention the move.
9951         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9952         Use __open, __read, __close rather than their public counterparts.
9953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9954         (__get_clockfreq_via_cpuinfo): Likewise.
9955         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9956         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9958         * config.h.in (HAVE_IFUNC): New #undef.
9959         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9960         was successful.
9961         * configure: Regenerated.
9963 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9965         * configure.in: Move READELF check to start of file.
9966         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9967         libc_cv_asm_gnu_indirect_function in the process.
9968         * configure: Regenerated.
9970 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9972         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9973         send the output to /dev/null.
9974         (libc_cv_cc_with_libunwind): Likewise.
9975         (libc_cv_as_noexecstack): Likewise.
9976         * configure: Regenerate.
9978 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9980         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9982         * posix/globtest.sh (TMPDIR): Do not set.
9983         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9984         (testout): Likewise.
9986 2012-10-24  Andreas Jaeger  <aj@suse.de>
9988         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9989         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9990         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9991         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9992         posix_fadvise64, posix_fallocate64.
9994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9995         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9996         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9997         Likewise.
9998         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9999         Likewise.
10000         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10003         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10004         <bits/fcntl-linux.h>.
10005         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10008         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10009         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10010         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10011         [__WORDSIZE != 64]: Likewise.
10013 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10015         * Makeconfig (run-built-tests): New variable.
10016         * Rules [$(cross-compiling) = yes]: Change condition to
10017         [$(run-built-tests) = no].
10018         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10019         to [$(run-built-tests) = yes].
10020         * elf/Makefile [$(cross-compiling) = no]: Likewise
10021         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10022         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10023         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10024         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10025         * io/Makefile [$(cross-compiling) = no]: Likewise.
10026         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10027         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10028         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10029         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10030         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10031         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10032         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10033         * string/Makefile [$(cross-compiling) = no]: Likewise.
10035         * posix/Makefile ($(objpfx)globtest.out): Pass
10036         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10037         $(rtld-installed-name).
10038         * posix/globtest.sh (elf_objpfx): Remove variable.
10039         (rtld_installed_name): Likewise.
10040         (library_path): Likewise.
10041         (run_program_prefix): New variable.  Use for running globtest
10042         binary.
10044 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10045             Joseph Myers  <joseph@codesourcery.com>
10047         * Makeconfig (host-built-program-cmd): New variable.
10048         * elf/Makefile (tst-stackguard1-ARGS): Use
10049         $(host-built-program-cmd).
10050         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10051         (tst-spawn-ARGS): Likewise.
10052         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10054 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10055             Jim Blandy  <jimb@codesourcery.com>
10057         * Makeconfig (run-via-rtld-prefix): New variable.
10058         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10059         (built-program-cmd): Likewise.
10061 2012-10-22  Andreas Jaeger  <aj@suse.de>
10063         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10064         __O_RSYNC if it exists, otherwise to O_SYNC.
10066 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10067             Joseph Myers  <joseph@codesourcery.com>
10069         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10070         /dev/null.
10071         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10072         from /dev/null
10073         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10074         /dev/null.
10076 2012-10-22  Andreas Jaeger  <aj@suse.de>
10078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10079         Define always.
10080         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10083         bits/fcntl-linux.h.
10085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10086         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10089         to __O_LARGEFILE.
10090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10091         to __O_LARGEFILE.
10093 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
10094             Joseph Myers  <joseph@codesourcery.com>
10096         * config.make.in (NM): New variable.
10098 2012-10-21  Andreas Jaeger  <aj@suse.de>
10100         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10101         definitions and declarations that are provided by
10102         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10104 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10106         [BZ #14683]
10107         * elf/Makefile (tests-static): Add tst-leaks1-static.
10108         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10109         ($(objpfx)tst-leaks1-static): New rule.
10110         ($(objpfx)tst-leaks1-static-mem): Likewise.
10111         (tst-leaks1-static-ENV): New macro.
10112         * elf/dl-open.c (dl_open_worker): Check the main application
10113         only if SHARED is defined.
10114         * elf/tst-leaks1-static.c: New file.
10116 2012-10-20  Andreas Jaeger  <aj@suse.de>
10118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10119         generic values for Linux.
10120         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10121         and declarations that are provided by <bits/fcntl-linux.h> and
10122         include <bits/fcntl-linux.h>.
10123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10126 2012-10-20  Roland McGrath  <roland@hack.frob.com>
10128         * io/fcntl.h: Move include of <bits/types.h> to the top and
10129         include it unconditionally.
10131 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10133         * wcsmbs/Makefile (tests-ifunc): New variable.
10134         (tests): Add $(tests-ifunc).
10135         * wcsmbs/test-wcschr-ifunc.c: New file.
10136         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10137         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10138         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10139         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10140         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10142         * string/Makefile (tests-ifunc): New variable.
10143         (tests): Add $(tests-ifunc).
10144         * string/test-memccpy.c (TEST_NAME): New macro.
10145         * string/test-memchr.c (TEST_NAME): Likewise.
10146         * string/test-memcmp.c (TEST_NAME): Likewise.
10147         * string/test-memcpy.c (TEST_NAME): Likewise.
10148         * string/test-memmem.c (TEST_NAME): Likewise.
10149         * string/test-memmove.c (TEST_NAME): Likewise.
10150         * string/test-memset.c (TEST_NAME): Likewise.
10151         * string/test-rawmemchr.c (TEST_NAME): Likewise.
10152         * string/test-stpcpy.c (TEST_NAME): Likewise.
10153         * string/test-stpncpy.c (TEST_NAME): Likewise.
10154         * string/test-strcasecmp.c (TEST_NAME): Likewise.
10155         * string/test-strcasestr.c (TEST_NAME): Likewise.
10156         * string/test-strcat.c (TEST_NAME): Likewise.
10157         * string/test-strchr.c (TEST_NAME): Likewise.
10158         * string/test-strcmp.c(TEST_NAME): Likewise.
10159         * string/test-strcpy.c (TEST_NAME): Likewise.
10160         * string/test-strcspn.c (TEST_NAME): Likewise.
10161         * string/test-strlen.c (TEST_NAME): Likewise.
10162         * string/test-strncasecmp.c (TEST_NAME): Likewise.
10163         * string/test-strncmp.c (TEST_NAME): Likewise.
10164         * string/test-strncpy.c (TEST_NAME): Likewise.
10165         * string/test-strnlen.c (TEST_NAME): Likewise.
10166         * string/test-strpbrk.c (TEST_NAME): Likewise.
10167         * string/test-strrchr.c (TEST_NAME): Likewise.
10168         * string/test-strspn.c (TEST_NAME): Likewise.
10169         * string/test-strstr.c (TEST_NAME): Likewise.
10170         * string/test-bcopy-ifunc.c: New file.
10171         * string/test-bzero-ifunc.c: Likewise.
10172         * string/test-memccpy-ifunc.c: Likewise.
10173         * string/test-memchr-ifunc.c: Likewise.
10174         * string/test-memcmp-ifunc.c: Likewise.
10175         * string/test-memcpy-ifunc.c: Likewise.
10176         * string/test-memmem-ifunc.c: Likewise.
10177         * string/test-memmove-ifunc.c: Likewise.
10178         * string/test-mempcpy-ifunc.c: Likewise.
10179         * string/test-memset-ifunc.c: Likewise.
10180         * string/test-rawmemchr-ifunc.c: Likewise.
10181         * string/test-stpcpy-ifunc.c: Likewise.
10182         * string/test-stpncpy-ifunc.c: Likewise.
10183         * string/test-strcasecmp-ifunc.c: Likewise.
10184         * string/test-strcasestr-ifunc.c: Likewise.
10185         * string/test-strcat-ifunc.c: Likewise.
10186         * string/test-strchr-ifunc.c: Likewise.
10187         * string/test-strchrnul-ifunc.c: Likewise.
10188         * string/test-strcmp-ifunc.c: Likewise.
10189         * string/test-strcpy-ifunc.c: Likewise.
10190         * string/test-strcspn-ifunc.c: Likewise.
10191         * string/test-strlen-ifunc.c: Likewise.
10192         * string/test-strncasecmp-ifunc.c: Likewise.
10193         * string/test-strncat-ifunc.c: Likewise.
10194         * string/test-strncmp-ifunc.c: Likewise.
10195         * string/test-strncpy-ifunc.c: Likewise.
10196         * string/test-strnlen-ifunc.c: Likewise.
10197         * string/test-strpbrk-ifunc.c: Likewise.
10198         * string/test-strrchr-ifunc.c: Likewise.
10199         * string/test-strspn-ifunc.c: Likewise.
10200         * string/test-strstr-ifunc.c: Likewise.
10202         * debug/Makefile (tests-ifunc): New variable.
10203         (tests): Add $(tests-ifunc).
10204         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10205         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10206         * debug/test-stpcpy_chk-ifunc.c: New file.
10207         * debug/test-strcpy_chk-ifunc.c: Likewise.
10209 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10211         [BZ #13601]
10212         * elf/dl-load.c (open_verify): Retry read if the entire ELF
10213         header is not read in.
10215 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
10217         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
10218         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
10219         directly.  Pass built executable to script as
10220         $(built-program-cmd).
10221         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
10222         $testprogram without using LD_LIBRARY_PATH and $ldso.
10224         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10225         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10226         $(rtld-installed-name).
10227         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10228         (rtld_installed_name): Likewise.
10229         (library_path): Likewise.
10230         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
10231         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10232         $(run-program-prefix) to tst-tables.sh.
10233         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
10234         it to run tst-table-from and tst-table-to.
10235         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10236         Pass it to tst-table.sh.
10237         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10238         $(run-program-prefix) to tst-gettext.sh.
10239         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10240         tst-translit.sh.
10241         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10242         tst-gettext2.sh.
10243         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
10244         to run tst-gettext.
10245         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
10246         to run tst-gettext2.
10247         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
10248         to run tst-translit.
10249         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10250         $(run-program-prefix) to tst-mtrace.sh.
10251         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
10252         to run tst-mtrace.
10253         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10254         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10255         $(rtld-installed-name).
10256         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10257         (rtld_installed_name): Likewise.
10258         (run_program_prefix): New variable.  Use it to run wordexp-test.
10260         * Makeconfig (ARCH): Remove all definitions.
10261         (machine): Likewise.
10262         [ARCH]: Remove conditional code.
10263         [!objdir]: Give error.
10264         [!objdir] (objpfx): Remove.
10265         [!objdir] (common-objpfx): Likewise.
10266         [!objdir] (common-objdir): Likewise.
10267         * configure.in (config_makefile): Remove.  Hardcode Makefile in
10268         AC_CONFIG_FILES call.
10269         * configure: Regenerated.
10271         [BZ #13888]
10272         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10273         or TMPDIR.
10274         (testout): Likewise.
10276         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10277         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10278         $(rtld-installed-name).
10279         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10280         (rtld_installed_name): Likwise.
10281         (runit): Remove function.
10282         (run_getconf): New variable,  Use it for running getconf binary.
10284 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
10286         [BZ #14716]
10287         * string/test-memmem.c (check_result): New function.
10288         (do_one_test): Use it.
10289         (check1): New function.
10290         (test_main): Use it.
10292 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
10294         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10296 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
10298         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10299         (_G_LSEEK64): Likewise.
10300         (_G_MMAP64): Likewise.
10301         (_G_FSTAT64): Likewise.
10302         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10303         (_G_LSEEK64): Likewise.
10304         (_G_MMAP64): Likewise.
10305         (_G_FSTAT64): Likewise.
10306         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10307         unconditional.  Call __mmap64 directly.
10308         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10309         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
10310         __lseek64 directly.
10311         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10312         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
10313         __mmap64 directly.
10314         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10315         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10316         __lseek64 directly.
10317         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10318         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10319         __lseek64 directly.
10320         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10321         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
10322         __lseek64 directly.
10323         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10324         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
10325         __fxstat64 directly.
10326         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10327         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10328         unconditional.
10329         (freopen64) [!_G_OPEN64]: Remove conditional code.
10330         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10331         unconditional.
10332         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10333         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10334         unconditional.
10335         (ftello64) [!_G_LSEEK64]: Remove conditional code.
10336         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10337         unconditional.
10338         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10339         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10340         unconditional.
10341         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10342         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10343         unconditional.
10344         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10345         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10346         unconditional.
10347         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10348         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10349         unconditional.
10350         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10352 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10354         [BZ #12140]
10355         * manual/memory.texi (Malloc Tunable Parameters): Add note
10356         about free list pointers overwriting some perturb bytes.
10357         Wording suggested by Roland McGrath.
10359 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
10361         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10362         (lgamma_test): Likewise.
10363         (tgamma_test): Likewise.
10365 2012-10-16  Florian Weimer  <fweimer@redhat.com>
10367         [BZ #14700]
10368         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10369         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10371 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
10373         * NEWS: Mention BZ #14716.
10374         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10375         when removing AVAILABLE1_USES_J macro.
10377 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10379         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10380         (__bswap_64): __uint64_t for unsigned 64-bit int.
10382 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
10384         * include/string.h (memmem): Declare libc hidden alias.
10385         * string/memmem.c (memmem): Define libc hidden alias.
10386         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10387         __read, __close instead of open, read, close.
10389 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
10391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10392         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10393         global and hidden.
10394         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10395         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10396         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10397         Likewise.
10398         (__rawmemchr_sse2): Likewise.
10399         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10400         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10401         (__strchr_sse2): Likewise.
10402         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10403         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10404         (__strcasecmp_sse2): Likewise.
10405         (__strncasecmp_sse2): Likewise.
10406         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10407         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10408         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10409         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10410         (__strrchr_sse2): Likewise.
10411         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10412         ifunc-impl-list.c.
10413         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10417         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10421         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10422         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10423         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10424         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10425         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10426         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10427         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10428         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10429         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10430         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10431         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10432         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10433         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10434         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10435         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10436         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10437         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10438         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10439         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10440         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10441         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10442         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10444         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10445         global and hidden.
10446         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10447         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10448         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10449         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10450         Likewise.
10451         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10452         Likewise.
10453         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10454         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10455         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10456         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10457         ifunc-impl-list.c.
10458         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10459         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10460         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10461         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10462         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10463         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10464         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10465         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10466         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10467         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10468         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10469         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10470         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10471         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10472         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10473         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10474         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10475         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10476         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10477         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10478         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10479         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10480         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10481         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10483         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10484         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10485         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10486         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10487         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10488         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10489         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10490         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10491         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10492         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10493         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10494         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10495         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10498         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10500         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10501         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10502         * include/ifunc-impl-list.h: New file.
10503         * misc/ifunc-impl-list.c: Likewise.
10504         * misc/Makefile (routines): Add ifunc-impl-list.
10505         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10506         * string/test-string.h: Include <ifunc-impl-list.h>.
10507         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10508         impl_array): New variables.
10509         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10510         are defined.
10511         (test_init): Call __libc_ifunc_impl_list to initialize
10512         func_list if TEST_IFUNC and TEST_NAME are defined.
10514         * string/Makefile (strop-tests): Add bcopy and bzero.
10515         * string/test-bcopy.c: New file.
10516         * string/test-bzero.c: Likewise.
10517         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10518         defined.
10519         * string/test-memset.c: Support bzero test if TEST_BZERO is
10520         defined.
10521         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10522         __libc_memmove.
10523         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10524         __libc_memset.
10525         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10526         of memset.
10528 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
10530         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10531         * configure: Regenerated.
10533         * Makeconfig (+link-static-before-libc): Don't include
10534         $(link-static-libc).
10536         * libio/libio.h (_IO_pos_t): Remove.
10538 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10540         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
10541         McGrath.
10543 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10545         * crypt/crypt-entry.c: Include fips-private.h.
10546         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10547         * crypt/md5c-test.c (main): Tolerate disabled MD5.
10548         * sysdeps/unix/sysv/linux/fips-private.h: New file.
10549         * sysdeps/generic/fips-private.h: New file, dummy fallback.
10551 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10553         * crypt/crypt-private.h: Include stdbool.h.
10554         (_ufc_setup_salt_r): Return bool.
10555         * crypt/crypt-entry.c: Include errno.h.
10556         (__crypt_r): Return NULL with EINVAL for bad salt.
10557         * crypt/crypt_util.c (bad_for_salt): New.
10558         (_ufc_setup_salt_r): Check that salt is long enough and within
10559         the specified alphabet.
10560         * crypt/badsalttest.c: New file.
10561         * crypt/Makefile (tests): Add it.
10562         ($(objpfx)badsalttest): New.
10564 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
10566         * NEWS: Add entry for BZ #14602.
10568 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10570         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10571         type-generic.
10572         * math/libm-test.inc: Update comment listing what functions and
10573         macros are tested.
10574         (isgreater_test): New function.
10575         (isgreaterequal_test): Likewise.
10576         (isless_test): Likewise.
10577         (islessequal_test): Likewise.
10578         (islessgreater_test): Likewise.
10579         (isunordered_test): Likewise.
10580         (main): Call the new functions.
10582 2012-10-09  Roland McGrath  <roland@hack.frob.com>
10584         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10585         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10586         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10587         * sysdeps/i386/configure: Regenerated.
10588         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10589         * sysdeps/mach/configure: Regenerated.
10590         * sysdeps/mach/hurd/configure: Regenerated.
10591         * sysdeps/powerpc/configure: Regenerated.
10592         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10593         * sysdeps/powerpc/powerpc64/configure: Regenerated.
10594         * sysdeps/s390/s390-32/configure: Regenerated.
10595         * sysdeps/s390/s390-64/configure: Regenerated.
10596         * sysdeps/sh/configure: Regenerated.
10597         * sysdeps/sparc/configure: Regenerated.
10598         * sysdeps/unix/sysv/linux/configure: Regenerated.
10599         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10600         * sysdeps/x86_64/configure: Regenerated.
10602         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10603         defined.  Don't check if MAP is NULL.
10605 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10607         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10608         (_G_stat64): Likewise.
10609         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10610         (_G_stat64): Likewise.
10611         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10612         instead of struct _G_stat64.
10613         * libio/fileops.c (mmap_remap_check): Likewise.
10614         (decide_maybe_mmap): Likewise.
10615         (_IO_new_file_seekoff): Likewise.
10616         (_IO_file_stat): Likewise.
10617         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10618         _G_off64_t.
10619         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10620         instead of struct _G_stat64.
10621         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10623 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
10625         [BZ #14602]
10626         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10627         Replace with ...
10628         (CHECK_EOL): New macro.
10629         (two_way_short_needle): Check beginning of haystack for EOL.  Use
10630         CHECK_EOL.
10631         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10632         Replace with CHECK_EOL.
10633         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10634         Replace with CHECK_EOL.
10636 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
10638         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10639         type-generic.
10640         * math/libm-test.inc: Update comment listing what functions and
10641         macros are tested.
10642         (finite_test): New function.
10643         (isinf_test): Likewise.
10644         (isnan_test): Likewise.
10645         (fpclassify_test): Test subnormal input.
10646         (isfinite_test): Likewise.
10647         (isnormal_test): Likewise.
10648         (main): Call the new functions.
10650 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
10652         [BZ #14660]
10653         * Makerules (%.dynsym): Force C locale when running
10654         $(OBJDUMP) --dynamic-syms.
10656 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
10658         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10659         <stdint.h>.
10661 2012-10-06  David S. Miller  <davem@davemloft.net>
10663         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10664         upper 32-bits of the length value in %o2 since we use branch-on-register
10665         tests which consider the entire 64-bit register.
10667 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
10669         * string/test-strstr.c (check2): Add a test for page boundary.
10671 2012-10-05  David S. Miller  <davem@davemloft.net>
10673         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10674         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10675         file.
10676         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10677         sysdep_routines.
10678         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10679         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10680         and bzero when HWCAP_SPARC_CRYPTO is present.
10682 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
10684         [BZ #14602]
10685         * string/test-strstr.c (check2): New function.
10686         (test_main): Call check2.
10688         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10689         and bug-strchr1.
10690         * string/bug-strcasestr1.c (do_test): Moved to ...
10691         * string/test-strcasestr.c (check1): Here.  New function.
10692         (do_one_test): Break out result checking code into ...
10693         (check_result): This.  New function.
10694         (do_one_test): Call check_result.
10695         (test_main): Call check1.
10696         * string/bug-strchr1.c (do_test): Moved to ...
10697         * string/test-strchr.c (check1): Here.  New function.
10698         (do_one_test): Break out result checking code into ...
10699         (check_result): This.  New function.
10700         (do_one_test): Call check_result.
10701         (test_main): Call check1.
10702         * string/bug-strstr1.c (main): Moved to ...
10703         * string/test-strstr.c (check1): Here.  New function.
10704         (do_one_test): Break out result checking code into ...
10705         (check_result): This.  New function.
10706         (do_one_test): Call check_result.
10707         (test_main): Call check1.
10708         * string/bug-strcasestr1.c: Removed.
10709         * string/bug-strchr1.c: Likewise.
10710         * string/bug-strstr1.c: Likewise.
10712         * elf/Makefile (dl-routines): Add hwcaps.
10713         * elf/dl-support.c (_dl_important_hwcaps): Removed.
10714         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10715         (_dl_important_hwcaps): Moved to ...
10716         * elf/dl-hwcaps.c: Here.  New file.
10717         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10719         [BZ #14557]
10720         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10721         if IS_IN_rtld isn't defined.
10723         * elf/dl-support.c (_dl_sysinfo_map): New.
10724         Include "get-dynamic-info.h" and "setup-vdso.h".
10725         (_dl_non_dynamic_init): Call setup_vdso.
10726         * elf/dynamic-link.h: Don't include <assert.h>.
10727         (elf_get_dynamic_info): Moved to ...
10728         * elf/get-dynamic-info.h: Here.  New file.
10729         * elf/dynamic-link.h: Include "get-dynamic-info.h".
10730         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10731         * elf/setup-vdso.h: Here.  New file.
10732         * elf/rtld.c: Include "setup-vdso.h".
10733         (dl_main): Call setup_vdso.
10735 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
10737         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10738         creal in comment listing functions tested.  List finite, isinf,
10739         isnan, isless, islessequal, isgreater, isgreaterequal,
10740         islessgreater, isunordered, lgamma_r and pow10 as functions and
10741         macros not tested.  Mention which functions not tested are aliases
10742         for other functions.  Fix typo.  Note that signs of NaNs are not
10743         tested.
10745         * scripts/config.guess: Update from config.git.
10746         * scripts/config.sub: Likewise.
10748 2012-10-04  Roland McGrath  <roland@hack.frob.com>
10750         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10751         * misc/madvise.c (madvise): Renamed to __madvise.
10752         Make madvise a weak alias.
10753         * include/sys/mman.h: Declare __madvise.
10754         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10755         * sysdeps/unix/syscalls.list
10756         (madvise): Make __madvise the strong name, and madvise a weak alias.
10757         * sysdeps/unix/sysv/linux/syscalls.list
10758         (madvise, mmap): Remove redundant entries.
10759         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10760         * malloc/malloc.c (mtrim): Likewise.
10761         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10763 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10765         * sysdeps/mach/hurd/dl-cache.c: File removed.
10766         * config.h.in (USE_LDCONFIG): New #undef.
10767         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10768         * configure: Regenerated.
10769         * elf/Makefile (dl-routines): Add dl-cache only under
10770         [$(use-ldconfig) = yes].
10771         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10772         cache on [USE_LDCONFIG].
10773         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10774         [USE_LDCONFIG].
10775         * elf/rtld.c (dl_main): Likewise.
10777 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
10779         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10780         _SC_LEVEL4_CACHE_LINESIZE.
10782 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10784         * sysdeps/unix/bsd/confstr.h: File removed.
10786 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
10788         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10789         sys/sdt-config.h.
10791 2012-10-02  Roland McGrath  <roland@hack.frob.com>
10793         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10794         Make 'mapoff' field ElfW(Off) rather than off_t.
10796 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
10798         * nscd/Makefile: Remove nscd-cflags and all its users.
10799         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10800         (CFLAGS-nonlib): Add compiler flags for nscd modules.
10802         [BZ #10631]
10803         * malloc.c (malloc_printerr): Clarify error message.
10805 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
10807         [BZ #14648]
10808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10809         Set bit_FMA_Usable if FMA is supported.
10810         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10811         macro.
10812         (bit_FMA4_Usable): Updated.
10813         (index_FMA_Usable): New macro.
10814         (CPUID_FMA): Likewise
10815         (HAS_FMA): Defined with bit_FMA_Usable.
10817 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10819         * bits/types.h (__swblk_t): Type removed.
10820         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10821         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10823         (__SWBLK_T_TYPE): Likewise.
10824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10825         (__SWBLK_T_TYPE): Likewise.
10826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10827         (__SWBLK_T_TYPE): Likewise.
10828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10829         (__SWBLK_T_TYPE): Likewise.
10831 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
10832             Honza Horak <hhorak@redhat.com>
10834         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10835         (xdr_mapname): Use YPMAXMAP as maxsize.
10836         (xdr_peername): Use YPMAXPEER as maxsize.
10837         (xdr_keydat): Use YPAXRECORD as maxsize.
10838         (xdr_valdat): Use YPMAXRECORD as maxsize.
10840 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10842         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10844         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10845         * csu/init-first.c: ... here.
10846         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10847         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10848         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10849         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10850         * sysdeps/i386/init-first.c: File removed.
10851         * sysdeps/sh/init-first.c: File removed.
10853 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
10855         [BZ #14645]
10856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10857         if x * y might underflow to zero and z is zero.
10858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10860         * math/libm-test.inc (min_subnorm_value): New variable.
10861         (fma_test): Add more tests.
10862         (fma_test_towardzero): Likewise.
10863         (fma_test_downward): Likewise
10864         (fma_test_upward): Likewise.
10865         (initialize): Set min_subnorm_value.
10867 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
10869         [BZ #14638]
10870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10871         0 + 0.
10872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10873         mode for addition resulting in exact zero.
10874         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10876         exact 0 + 0.
10877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10879         * math/libm-test.inc (fma_test): Add more tests.
10880         (fma_test_towardzero): New function.
10881         (fma_test_downward): Likewise.
10882         (fma_test_upward): Likewise.
10883         (main): Call the new functions.
10885 2012-09-28  David S. Miller  <davem@davemloft.net>
10887         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10889 2012-09-28  Roland McGrath  <roland@hack.frob.com>
10891         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10892         instead of SIGALRM.
10894         * sysdeps/gnu/_G_config.h: Moved to ...
10895         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10896         * sysdeps/mach/hurd/_G_config.h: Moved to ...
10897         * sysdeps/generic/_G_config.h: ... here.
10899         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
10901         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10903         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10904         Conditionalize target on [libnss_test1.so-version].
10906         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10908         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10909         (elfobjdir): Move out of conditionals.
10911         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10912         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10913         (__nss_lookup_function): Conditionalize label remove_from_tree on
10914         [!DO_STATIC_NSS || SHARED], matching its only use.
10916 2012-09-28  David S. Miller  <davem@davemloft.net>
10918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10919         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10920         file.
10921         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10922         sysdep_routines.
10923         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10925         when HWCAP_SPARC_CRYPTO is present.
10927 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10929         * io/tst-mknodat.c: Create a FIFO instead of a socket.
10931 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
10933         [BZ #6530]
10934         * stdio-common/vfprintf.c (process_string_arg): Revert
10935         2000-07-22 change.
10937 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
10939         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10940         for testcase.
10941         * stdio-common/tst-sprintf.c: Include <locale.h>
10942         (main): Test sprintf's handling of incomplete multibyte
10943         characters.
10945 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
10947         * elf/dl-runtime.c (VERSYMIDX): Removed.
10948         * elf/dl-version.c (VERSYMIDX): Likewise.
10949         * elf/do-rel.h (VERSYMIDX): Likewise.
10950         (VALIDX): Likewise.
10951         * elf/dynamic-link.h (VERSYMIDX): Likewise.
10952         * elf/rtld.c (VALIDX): Likewise.
10953         (ADDRIDX): Likewise.
10954         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10955         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10956         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10957         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10958         (VALIDX): Likewise.
10959         (ADDRIDX): Likewise.
10961 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10963         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10965 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
10967         [BZ #11438]
10968         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10969         to global scope.
10970         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10971         addresses are in the same scope as 192.0.2/24.
10972         * posix/gai.conf: Document new scope table defaults.
10974 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10976         [BZ #5298]
10977         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10978         for ftell.  Compute offsets from write pointers instead.
10979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10981 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10983         [BZ #14543]
10984         * libio/Makefile (tests): New test case tst-fseek.
10985         * libio/tst-fseek.c: New test case to verify that fseek/ftell
10986         combination works in wide mode.
10987         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10988         state when the external buffer state changes.
10990 2012-09-27  David S. Miller  <davem@davemloft.net>
10992         [BZ #14376]
10993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10994         pass reloc->r_addend in as the 'high' argument to
10995         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10999 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11001         * rt/tst-aio2.c: Include <pthread.h>.
11002         * rt/tst-aio3.c: Likewise.
11004 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11006         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11008 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11010         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11011         contents on [SHARED].
11013 2012-09-26  Marek Polacek  <polacek@redhat.com>
11015         [BZ #14530]
11016         [BZ #13741]
11017         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11018         for C++ and GCC <4.3 as well as for non GCC compilers.
11020 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11024 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11026         * Makefile.in (all, install): Declare with .PHONY.
11027         Reported by Michael Hope <michael.hope@linaro.org>.
11029 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11031         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11032         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11033         system header.
11034         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11035         Likewise.
11036         (sydep_routines): Add the new and the internal functions.
11037         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11038         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11040         (GLIBC_2.17): Add the new function.
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11042         (GLIBC_2.17): Likewise.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11044         (GLIBC_2.17): Likewise.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11046         (GLIBC_2.17): Likewise.
11047         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11049 2012-09-25  Alan Modra  <amodra@gmail.com>
11051         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11052         Add release barrier before setting once_control to say
11053         initialisation is done.  Add hints on lwarx.  Use macro in
11054         place of isync.
11055         (clear_once_control): Add release barrier.
11057 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11059         [BZ #13629]
11060         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11061         specially.
11062         * math/s_clog10.c (__clog10): Likewise.
11063         * math/s_clog10f.c (__clog10f): Likewise.
11064         * math/s_clog10l.c (__clog10l): Likewise.
11065         * math/s_clogf.c (__clogf): Likewise.
11066         * math/s_clogl.c (__clogl): Likewise.
11067         * math/Makefile (libm-calls): Add x2y2m1.
11068         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11069         (__x2y2m1): Likewise.
11070         (__x2y2m1l): Likewise.
11071         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11072         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11074         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11075         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11076         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11077         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11078         * sysdeps/i386/fpu/libm-test-ulps: Update.
11079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081         [BZ #14621]
11082         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11083         int as type of variable DEPTH.
11084         (glob): Use size_t instead of int as type of variables NEWCOUNT
11085         and OLD_PATHC.
11087 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11089         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11090         Add s_sincosf-sse2.
11091         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11092         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11093         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11094         macros for using routine as __sincosf_ia32.
11095         Use macro for function declaration and weak_alias.
11096         * sysdeps/i386/fpu/libm-test-ulps: Update.
11098         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11101         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11102         subnormal argument.
11103         * math/s_cexpf.c (__cexpf): Likewise.
11104         * math/s_csinf.c (__csinf): Likewise.
11105         * math/s_csinhf.c (__csinhf): Likewise.
11106         * math/s_ctanf.c (__ctanf): Likewise.
11107         * math/s_ctanhf.c (__ctanhf): Likewise.
11108         * math/s_ccosh.c (__ccoshf): Likewise.
11109         * math/s_cexp.c (__cexpl): Likewise.
11110         * math/s_csin.c (__csin): Likewise.
11111         * math/s_csinh.c (__csinh): Likewise.
11112         * math/s_ctan.c (__ctan): Likewise.
11113         * math/s_ctanh.c (ctanh): Likewise.
11114         * math/s_ccoshl.c (__ccoshl): Likewise.
11115         * math/s_cexpl.c (__cexpl): Likewise.
11116         * math/s_csinl.c (__csinl): Likewise.
11117         * math/s_csinhl.c (__csinhl): Likewise.
11118         * math/s_ctanl.c (__ctanl): Likewise.
11119         * math/s_ctanhl.c (__ctanhl): Likewise.
11121 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11123         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11124         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11125         (_IO_off_t): Define to __off_t, not _G_off_t.
11126         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11127         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11128         (_IO_wint_t): Define to wint_t, not _G_wint_t.
11129         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11130         type of __dummy and __dummy2 fields.
11131         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11132         (_G_ssize_t): Likewise.
11133         (_G_off_t): Likewise.
11134         (_G_pid_t): Likewise.
11135         (_G_uid_t): Likewise.
11136         (_G_wchar_t): Likewise.
11137         (_G_wint_t): Likewise.
11138         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11139         (_G_ssize_t): Likewise.
11140         (_G_off_t): Likewise.
11141         (_G_pid_t): Likewise.
11142         (_G_uid_t): Likewise.
11143         (_G_wchar_t): Likewise.
11144         (_G_wint_t): Likewise.
11145         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11146         (_G_ssize_t): Likewise.
11147         (_G_off_t): Likewise.
11148         (_G_pid_t): Likewise.
11149         (_G_uid_t): Likewise.
11150         (_G_wchar_t): Likewise.
11151         (_G_wint_t): Likewise.
11153 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11155         * malloc/arena.c: Include malloc-sysdep.h.
11156         (shrink_heap): Use check_may_shrink_heap to decide if madvise
11157         is sufficient to shrink the heap or an unmap is needed.
11158         * sysdeps/generic/malloc-sysdep.h: New file.  Define
11159         new function check_may_shrink_heap.
11160         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
11161         new function check_may_shrink_heap.
11163 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11165         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11166         comments.
11168 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
11170         * catgets/test-gencat.sh: Add "set -e".
11171         * elf/tst-pathopt.sh: Likewise.
11172         * grp/tst_fgetgrent.sh: Likewise.
11173         * iconvdata/run-iconv-test.sh: Likewise.
11174         * intl/tst-gettext.sh: Likewise.
11175         * intl/tst-gettext2.sh: Likewise.
11176         * intl/tst-gettext4.sh: Likewise.
11177         * intl/tst-gettext6.sh: Likewise.
11178         * intl/tst-translit.sh: Likewise.
11179         * io/ftwtest-sh: Likewise.
11180         * libio/test-freopen.sh: Likewise.
11181         * malloc/tst-mtrace.sh: Likewise.
11182         * posix/globtest.sh: Likewise.
11183         * posix/tst-getconf.sh: Likewise.
11184         * posix/wordexp-tst.sh: Likewise.
11185         * stdio-common/tst-printf.sh: Likewise.
11186         * stdio-common/tst-unbputc.sh: Likewise.
11187         * stdlib/tst-fmtmsg.sh: Likewise.
11188         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11189         * catgets/Makefile: Do not specify -e option when running
11190         testsuite shell scripts.
11191         * elf/Makefile: Likewise.
11192         * grp/Makefile: Likewise.
11193         * iconvdata/Makefile: Likewise.
11194         * intl/Makefile: Likewise.
11195         * io/Makefile: Likewise.
11196         * libio/Makefile: Likewise.
11197         * malloc/Makefile: Likewise.
11198         * posix/Makefile: Likewise.
11199         * stdio-common/Makefile: Likewise.
11200         * stdlib/Makefile: Likewise.
11201         * sysdeps/x86_64/Makefile: Likewise.
11203         * io/ftwtest-sh: Add copyright header.
11204         * posix/globtest.sh: Likewise.
11205         * posix/tst-getconf.sh: Likewise.
11206         * posix/wordexp-tst.sh: Likewise.
11207         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11209 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
11211         [BZ #13679]
11212         * Makeconfig (+link): Defined as $(+link-static) if
11213         $(build-shared) isn't yes.
11214         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11215         isn't yes.
11216         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11218         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11220         [BZ #14562]
11221         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11222         new chunk size with MALLOC_ALIGN_MASK.
11224 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
11226         [BZ #5044]
11227         * stdio-common/printf_fphex.c: Include <stdbool.h> and
11228         <rounding-mode.h>.
11229         (__printf_fphex): Determine rounding using get_rounding_mode and
11230         round_away.
11231         * stdio-common/tst-printf-round.c (struct hex_test): New
11232         structure.
11233         (hex_tests): New variable.
11234         (test_hex_in_one_mode): New function.
11235         (do_test): Also run tests for hex float output.
11237 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
11239         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11240         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11241         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11242         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11243         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11244         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11245         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11246         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11248 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
11250         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11251         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11252         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11253         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11255 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
11257         [BZ #14579]
11258         * elf/rtld.c (dl_main): Limit the check for self loading to normal
11259         mode only.
11260         * elf/tst-rtld-load-self.sh: New test.
11261         * elf/Makefile: Run it.
11263 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
11265         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11266         (tst-writev-ENV): Remove.
11267         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11269 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
11271         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11273 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
11275         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11276         unconditional.
11277         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11278         Likewise.
11279         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11280         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11281         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11282         Likewise.
11284 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11286         [BZ #14587]
11287         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11288         * config.make.in (have-cpp-asm-debuginfo): Removed.
11289         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11290         * configure: Regenerated.
11292 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
11294         [BZ #5044]
11295         * stdio-common/printf_fp.c: Include <stdbool.h> and
11296         <rounding-mode.h>.
11297         (___printf_fp): Determine rounding using get_rounding_mode and
11298         round_away.
11299         * stdio-common/tst-printf-round.c: New file.
11300         * stdio-common/Makefile (tests): Add tst-printf-round.
11301         (link-libm): New variable.
11302         ($(objpfx)tst-printf-round): Depend in $(link-libm).
11304 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
11306         [BZ #14576]
11307         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11308         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11309         Likewise.
11310         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11311         Likewise.
11313 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
11315         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11316         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11317         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11318         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11320 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
11322         [BZ #14518]
11323         * include/rounding-mode.h: New file.
11324         * sysdeps/generic/get-rounding-mode.h: Likewise.
11325         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11326         * stdlib/strtod_l.c: Include <rounding-mode.h>.
11327         (MAX_VALUE): New macro.
11328         (MIN_VALUE): Likewise.
11329         (overflow_value): New function.
11330         (underflow_value): Likewise.
11331         (round_and_return): Use overflow_value and underflow_value to
11332         determine return values in overflow and underflow cases.  Use
11333         round_away to determine rounding depending on rounding mode.
11334         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11335         determine return values in overflow and underflow cases.
11336         * stdlib/tst-strtod-round.c: Include <fenv.h>.
11337         (struct test_results): New structure.
11338         (struct test): Use struct test_results to store expected results
11339         for all rounding modes.
11340         (TEST): Include expected results for all rounding modes.
11341         (test_in_one_mode): New function.
11342         (do_test): Use test_in_one_mode to compute and check results.
11343         Check results for all rounding modes.
11344         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11345         $(link-libm).
11347 2012-12-09  Allan McRae  <allan@archlinux.org>
11349         * sysdeps/i386/fpu/libm-test-ulps: Update
11351 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
11353         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11354         (_G_int32_t): Likewise.
11355         (_G_uint16_t): Likewise.
11356         (_G_uint32_t): Likewise.
11357         (_G_HAVE_BOOL): Likewise.
11358         (_G_HAVE_ATEXIT): Likewise.
11359         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11360         (_G_HAVE_IO_FILE_OPEN): Likewise.
11361         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11362         (_G_int32_t): Likewise.
11363         (_G_uint16_t): Likewise.
11364         (_G_uint32_t): Likewise.
11365         (_G_HAVE_BOOL): Likewise.
11366         (_G_HAVE_ATEXIT): Likewise.
11367         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11368         (_G_HAVE_IO_FILE_OPEN): Likewise.
11369         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11370         (_G_int32_t): Likewise.
11371         (_G_uint16_t): Likewise.
11372         (_G_uint32_t): Likewise.
11373         (_G_HAVE_BOOL): Likewise.
11374         (_G_HAVE_ATEXIT): Likewise.
11375         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11376         (_G_HAVE_IO_FILE_OPEN): Likewise.
11378 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11380         * csu/libc-tls.c: Update copyright years.
11382 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
11384         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11385         [!_G_USING_THUNKS]: Remove conditional code.
11386         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11387         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11389         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11390         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11391         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11392         (_G_VTABLE_LABEL_PREFIX): Likewise.
11393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11394         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11395         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11396         (_G_VTABLE_LABEL_PREFIX): Likewise.
11397         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11398         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11399         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11400         (_G_VTABLE_LABEL_PREFIX): Likewise.
11401         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11403 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
11405         * libio/Makefile: Include ../Makeconfig before tests.
11406         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11407         only if $(build-shared) is yes.
11409         * iconv/gconv_db.c: Update copyright years.
11411 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11413         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11414         unwind info if defined PIC. Fix special cases description.
11415         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11417         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11418         DP_HI_MASK entry.
11419         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11421 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
11423         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11425         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11426         is NULL.
11428         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11429         (LDLIBS-tst-chk4): This.
11430         (LDFLAGS-tst-chk5): Renamed to ...
11431         (LDLIBS-tst-chk5): This.
11432         (LDFLAGS-tst-chk6): Renamed to ...
11433         (LDLIBS-tst-chk6): This.
11434         (LDFLAGS-tst-lfschk4): Renamed to ...
11435         (LDLIBS-tst-lfschk4): This.
11436         (LDFLAGS-tst-lfschk5): Renamed to ...
11437         (LDLIBS-tst-lfschk5): This.
11438         (LDFLAGS-tst-lfschk6): Renamed to ...
11439         (LDLIBS-tst-lfschk6): This.
11441         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11442         on $(common-objpfx)soversions.mk.
11444 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
11446         [BZ #10014]
11447         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11448         example host name.
11450 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452         * malloc/arena.c (arena_get_retry): New function that gets
11453         another arena for the caller to try its request on.
11454         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11455         current arena cannot fulfill the request.
11456         (__libc_memalign): Likewise.
11457         (__libc_memalign): Likewise.
11458         (__libc_pvalloc): Likewise.
11459         (__libc_calloc): Likewise.
11461 2012-09-05  John Tobey  <john.tobey@gmail.com>
11463         [BZ #13542]
11464         * manual/arith.texi (Operations on Complex): Fix description
11465         of carg branch cut.
11467 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
11469         [BZ #10014]
11470         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11471         host name.
11473         [BZ #10038]
11474         * manual/memory.texi (Memory): Make order of menu items match
11475         order of sections.
11477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11479         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11480         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
11481         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11485         * csu/libc-tls.c (static_dtv): Renamed to ...
11486         (_dl_static_dtv): This.  Make it global.
11487         (_dl_initial_dtv): Removed.
11488         (__libc_setup_tls): Updated.
11489         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11490         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11491         DL_INITIAL_DTV.
11493 2012-09-06  Petr Machata  <pmachata@redhat.com>
11495         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11496         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11497         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11498         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11502         [BZ #14545]
11503         * csu/libc-tls.c (_dl_initial_dtv): New variable.
11504         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11505         freeing dtv[-1].
11507 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11509         [BZ #14544]
11510         * Makeconfig (link-static-before-libc): Replace $(+prector)
11511         with $(+prectorT).
11512         (link-static-after-libc): Replace $(+postctor) with
11513         $(+postctorT).
11514         (link-bounded): Replace $(+prector)/$(+postctor) with
11515         $(+prectorT)/$(+postctorT).
11516         (+prectorT): New macro.
11517         (+postctorT): Likewise.
11519 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
11521         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11522         (round_str): Handle values above the maximum for IBM long double
11523         as inexact.
11524         * stdlib/tst-strtod-round.c (tests): Regenerated.
11526 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11528         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11529         assembler flag.
11530         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11531         zarch_nohighgprs around the zarch optimized routines.
11532         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11533         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11534         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11535         for zarch.
11537 2012-09-05  David S. Miller  <davem@davemloft.net>
11539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11541         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11542         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11543         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11544         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11545         entries.
11547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11549         * malloc/arena.c: Fold copyright years.
11550         * malloc/mcheck.c, malloc/memusage.c: Likewise.
11552 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11554         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11556 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11558         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
11560 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11562         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11563         change internal state upon failure.
11565 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11567         * malloc/mcheck.c (mcheck_check_all): Fix typo.
11568         * malloc/memusage.c (mmap): Likewise.
11569         (mmap64, mremap): Likewise.  Adjust name in comment.
11571 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11573         * libio/fileops.c: Fix typos in comments.
11574         * libio/oldfileops.c: Likewise.
11575         * libio/wfileops.c: Likewise.
11577 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11579         [BZ #1349]
11580         * malloc/Makefile (tests): Add tst-malloc-usable test case.
11581         (tst-malloc-usable-ENV): Set environment for test case.
11582         * malloc/hooks.c (malloc_check_get_size): New function to get
11583         requested size.
11584         * malloc/malloc.c (musable): Use malloc_check_get_size.
11585         * malloc/tst-malloc-usable.c: New test case.
11587 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11589         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11591 2012-09-05  Allan McRae  <allan@archlinux.org>
11593         [BZ #13966]
11594         * configure.in (CXX_SYSINCLUDES): Use compiler output to
11595         determine header location.
11596         * configure: Regenerated.
11598 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11600         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11601         float format.
11602         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11603         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11604         format.
11605         (test): Regenerate.
11607 2012-09-04  David S. Miller  <davem@davemloft.net>
11609         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11610         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11611         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11613 2012-09-04  Florian Weimer  <fweimer@redhat.com>
11615         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11616         failures.
11618         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11620 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
11622         [BZ #9914]
11623         * libio/iogetdelim.c: Include <limits.h>.
11624         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11625         + len + 1 would overflow.
11627 2012-09-03  Andreas Jaeger  <aj@suse.de>
11629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11630         * sysdeps/i386/fpu/libm-test-ulps: Update.
11632 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11634         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11635         Add s_sinf-sse2, s_conf-sse2.
11637         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11638         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11639         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11640         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11642         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11643         for using routine as __sinf_ia32.
11644         Use macro for function declaration and weak_alias.
11645         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11646         for using routine as __cosf_ia32.
11647         Use macro for function declaration and weak_alias.
11649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11650         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11652         * sysdeps/x86_64/fpu/s_sinf.S: New file.
11653         * sysdeps/x86_64/fpu/s_cosf.S: New file.
11654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11656         * math/libm-test.inc (cos_test): Add more test cases.
11657         (sin_test): Likewise.
11658         (sincos_test): Likewise.
11660 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11662         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11663         (IFUNC_RESOLVE): Make pointers to the specialized implementations
11664         hidden.
11665         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11667 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
11669         [BZ #14538]
11670         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11671         first element of the GOT.
11672         (elf_machine_load_address): Return the difference between
11673         the runtime address of _DYNAMIC and elf_machine_dynamic ().
11675 2012-09-01  Allan McRae  <allan@archlinux.org>
11677         [BZ #13412]
11678         * configure.in (AWK): Require gawk version 3.0 or later.
11679         * configure: Regenerated.
11681 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
11683         * sysdeps/unix/sysv/linux/kernel-features.h
11684         (__ASSUME_POSIX_CPU_TIMERS): Remove.
11685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11686         [__NR_clock_getres]: Make code unconditional.
11687         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11688         (clock_getcpuclockid): Remove code left unreachable by removal of
11689         conditionals.
11690         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11691         code unconditional.
11692         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11693         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11694         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11695         Make code unconditional.
11696         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11697         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11698         * sysdeps/unix/sysv/linux/clock_settime.c
11699         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11700         conditional code.
11701         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11702         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11704 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
11706         [BZ #14476]
11707         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11708         scripts/test-installation.pl.
11710         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11711         and $ld_so_version if it is set.
11713 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11715         [BZ #14516]
11716         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11717         failure if reading from procfs failed.
11718         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11720 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11722         * sysdeps/unix/sysv/linux/kernel-features.h
11723         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11724         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11725         Remove conditional code.
11726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11727         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11728         Remove conditional code.
11729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11730         * sysdeps/unix/sysv/linux/i386/fxstat.c
11731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11733         * sysdeps/unix/sysv/linux/i386/fxstatat.c
11734         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11736         * sysdeps/unix/sysv/linux/i386/lxstat.c
11737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11739         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11740         Remove conditional code.
11741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11742         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11743         Remove conditional code.
11744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11745         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11746         <kernel-features.h>.
11747         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11748         Remove.
11749         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11750         Remove conditional code.
11751         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11752         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11753         Remove conditional.
11755 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
11757         [BZ #5400]
11758         * NEWS: Add fixed bug number.
11760 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11762         [BZ #14519]
11763         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11764         underflowing exponent in case of negative sign.
11765         * stdlib/tst-strtod-round-data: Add more tests.
11766         * stdlib/tst-strtod-round.c (tests): Regenerated.
11768         [BZ #3479]
11769         * stdlib/strtod_l.c (NDIG): Remove.
11770         (HEXNDIG): Likewise.
11771         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11772         smallest representable value.
11773         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11774         lie within an exact representation of 1/2 ulp of the result.
11775         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11776         unconditionally.
11777         (TENS_P9_IDX): Define unconditionally.
11778         (TENS_P9_SIZE): Likewise.
11779         (TENS_P10_IDX): Likewise.
11780         (TENS_P10_SIZE): Likewise.
11781         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11782         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11783         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11784         entries for 10^2^13 and 10^2^14.
11785         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11786         (TENS_P13_IDX): Define.
11787         (TENS_P13_SIZE): Likewise.
11788         (TENS_P14_IDX): Likewise.
11789         (TENS_P14_SIZE): Likewise.
11790         (_fpioconst_pow10): Change array size to
11791         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
11792         unconditional.
11793         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11794         1024]: Add entries for 10^2^13 and 10^2^14.
11795         [LAST_POW10 > _LAST_POW10]: Remove #error.
11796         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11797         (_fpioconst_pow10): Change array size to
11798         FPIOCONST_POW10_ARRAY_SIZE.
11799         * stdlib/gen-fpioconst.c: New file.
11800         * stdlib/gen-tst-strtod-round.c: Likewise.
11801         * stdlib/tst-strtod-round-data: Likewise.
11802         * stdlib/tst-strtod-round.c: Likewise.
11803         * stdlib/Makefile (tests): Add tst-strtod-round.
11805         [BZ #14459]
11806         * stdlib/strtod_l.c: Include <stdint.h>.
11807         (NDEBUG): Do not define.
11808         (round_and_return): Change EXPONENT parameter to type intmax_t.
11809         Rearrange calculations to avoid internal overflow possibilities.
11810         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11811         Rearrange calculations to avoid internal overflow possibilities.
11812         Assert that number fits inside MPNSIZE limbs.
11813         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11814         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
11815         calculations and add assertions to avoid internal overflow
11816         possibilities.  Add casts to avoid signed/unsigned operations.
11817         * stdlib/tst-strtod-overflow.c: New file.
11818         * stdlib/Makefile (tests): Add tst-strtod-overflow.
11820 2012-08-25  Marek Polacek  <polacek@redhat.com>
11822         * time/time.h: Fix some typos in comments.
11824 2012-08-23  Roland McGrath  <roland@hack.frob.com>
11826         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11827         * posix/tst-rfc3484-2.c: Likewise.
11828         * posix/tst-rfc3484-3.c: Likewise.
11830 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
11832         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11833         (EF_ARM_ABI_FLOAT_HARD): Likewise.
11835 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
11837         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11838         #include of fxstatat64.c.
11840 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11842         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11843         * shadow/getspent_r.c: Likewise.
11844         * shadow/getspnam.c: Likewise.
11845         * shadow/getspnam_r.c: Likewise.
11846         * gshadow/getsgent.c: Likewise.
11847         * gshadow/getsgent_r.c: Likewise.
11848         * gshadow/getsgnam.c: Likewise.
11849         * gshadow/getsgnam_r.c: Likewise.
11850         * inet/getnetbyad.c: Likewise.
11851         * inet/getnetbyad_r.c: Likewise.
11852         * inet/getnetbynm.c: Likewise.
11853         * inet/getnetbynm_r.c: Likewise.
11854         * inet/getnetent.c: Likewise.
11855         * inet/getnetent_r.c: Likewise.
11856         * inet/getproto.c: Likewise.
11857         * inet/getproto_r.c: Likewise.
11858         * inet/getprtent.c: Likewise.
11859         * inet/getprtent_r.c: Likewise.
11860         * inet/getprtname.c: Likewise.
11861         * inet/getprtname_r.c: Likewise.
11862         * inet/getrpcbyname.c: Likewise.
11863         * inet/getrpcbyname_r.c: Likewise.
11864         * inet/getrpcbynumber.c: Likewise.
11865         * inet/getrpcbynumber_r.c: Likewise.
11866         * inet/getrpcent.c: Likewise.
11867         * inet/getrpcent_r.c: Likewise.
11868         * inet/getaliasent.c: Likewise.
11869         * inet/getaliasent_r.c: Likewise.
11870         * inet/getaliasname.c: Likewise.
11871         * inet/getaliasname_r.c: Likewise.
11872         * nscd/getgrgid_r.c: Likewise.
11873         * nscd/getgrnam_r.c: Likewise.
11874         * nscd/gethstbyad_r.c: Likewise.
11875         * nscd/gethstbynm3_r.c: Likewise.
11876         * nscd/getpwnam_r.c: Likewise.
11877         * nscd/getpwuid_r.c: Likewise.
11878         * nscd/getsrvbynm_r.c: Likewise.
11879         * nscd/getsrvbypt_r.c: Likewise.
11880         * nscd/gai.c: Likewise.
11882         * configure.in (build_nscd): New substituted variable, set
11883         by --disable-build-nscd and defaults to $use_nscd.
11884         * configure: Regenerated.
11885         * config.make.in (build-nscd): New substituted variable.
11886         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11887         Change conditional to require [$(build-nscd) = yes] as well.
11888         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11890         [BZ# 13696]
11891         * configure.in (use_nscd): New substituted variable, set by
11892         --disable-nscd.  If enabled, define USE_NSCD.
11893         * configure: Regenerated.
11894         * config.h.in: Add USE_NSCD.
11895         * config.make.in (use-nscd): New substituted variable.
11896         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11897         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11898         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11899         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11900         (CFLAGS-getgrnam_r.c): Likewise.
11901         (CFLAGS-initgroups.c): Likewise.
11902         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11903         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11904         Variables removed.
11905         * inet/getnetgrent_r.c
11906         (nscd_setnetgrent): New function, broken out of ...
11907         (setnetgrent): ... here.  Call it.
11908         (innetgr): Conditionalize nscd bits on [USE_NSCD].
11909         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11910         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11911         * nscd/Makefile (routines, aux): Move definitions after include of
11912         Makeconfig.  Conditionalize on [$(use-nscd) != no].
11913         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11914         Conditionalize on [USE_NSCD].
11915         (is_nscd, nscd_init_cb): Likewise.
11916         (nss_load_library): Conditionalize init callback on [USE_NSCD].
11917         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11918         * nss/nss_db/db-init.c: Likewise.
11919         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11920         [USE_NSCD].
11921         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11922         (make_request): Use it.
11923         (cache_valid_p): New function.
11924         (__check_pf): Use it.
11925         * NEWS: Add item for --disable-nscd.
11927 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
11929         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11930         to support sed >= 4.2.1-20-ga9bf076.
11931         * configure: Regenerated.
11933 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11935         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11936         Conditionalize whole body on [IREL].
11938 2012-08-22  Jeff Law <law@redhat.com>
11940         [BZ #14505]
11941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11942         if the family is PF_UNSPEC.
11944 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
11946         * Makerules (lib-version): Rename from V.
11947         (install-lib-nosubdir): Change V to lib-version.
11949 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
11951         [BZ #14252]
11952         * powerpc32/power6/wcschr.c: New file.
11953         * powerpc32/power6/wcscpy.c: New file.
11954         * powerpc32/power6/wcsrchr.c: New file.
11955         * powerpc64/power6/wcschr.c: New file.
11956         * powerpc64/power6/wcscpy.c: New file.
11957         * powerpc64/power6/wcsrchr.c: New file.
11959 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11961         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11962         (two_way_short_needle): Use it.
11963         * string/strstr.c (AVAILABLE1_USES_J): Define.
11964         * string/strcasestr.c: Likewise.
11966         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11967         array references.
11968         * string/strcasestr.c (TOLOWER): Make side-effect safe.
11970         [BZ #11607]
11971         * NEWS: Add an entry.
11972         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11973         define their defaults.
11974         (two_way_short_needle): Detect end-of-string on-the-fly.
11975         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11976         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11977         * string/bug-strcasestr1.c: New test.
11978         * string/Makefile: Run it.
11980 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11982         [BZ #11607]
11983         * string/str-two-way.h (two_way_short_needle): Optimize matching of
11984         the first character.
11986 2012-08-21  Roland McGrath  <roland@hack.frob.com>
11988         * csu/elf-init.c (__libc_csu_irel): Function removed.
11989         * csu/libc-start.c (apply_irel): New function.
11990         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11992 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
11994         * sysdeps/unix/sysv/linux/kernel-features.h
11995         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11996         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11997         <kernel-features.h>.
11998         [__NR_fadvise64_64]: Make code unconditional.
11999         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12000         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12001         !__NR_fadvise64_64)]: Likewise.
12002         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12003         !__NR_fadvise64_64))]: Likewise.
12004         [__NR_fadvise64]: Make code unconditional.
12005         [!__NR_fadvise64]: Remove conditional code.
12006         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12007         <kernel-features.h>.
12008         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12009         unconditional.
12010         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12011         conditional code.
12012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12013         not include <kernel-features.h>.
12014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12015         unconditional.
12016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12017         conditional code.
12018         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12019         include <kernel-features.h>.
12020         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12021         unconditional.
12022         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12023         conditional code.
12025 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12027         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12028         slight instruction rearrangements per scrollpipe analysis.
12029         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12031 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12033         * manual/syslog.texi (syslog; vsyslog, closelog):
12034         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12035         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12037         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12038         DSOCAPS to match condition on defining it.
12040 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12042         * sysdeps/unix/sysv/linux/kernel-features.h
12043         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12048         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12049         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12054         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12055         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12057         * sysdeps/unix/sysv/linux/kernel-features.h
12058         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12059         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12060         unconditional.
12061         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12062         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12063         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12064         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12065         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12066         Make code unconditional.
12067         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12068         (__mmap64) [!__NR_mmap2]: Likewise.
12069         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12070         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12071         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12072         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12073         [__NR_mmap2]: Make code unconditional.
12074         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12075         (__mmap64) [!__NR_mmap2]: Likewise.
12077 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12079         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12081 2012-08-18  Andreas Jaeger  <aj@suse.de>
12083         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12085 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12087         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12088         * include/unistd.h (__have_sock_cloexec): Likewise.
12089         (__have_pipe2): Likewise.
12090         (__have_dup3): Likewise.
12092 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12094         [BZ #9685]
12095         * include/unistd.h (__have_pipe2): Change define into an extern int.
12096         (__have_dup3): Likewise.
12097         * socket/have_sock_cloexec.c: Include fcntl.h.
12098         (__have_pipe2): New variable.
12099         (__have_dup3): Likewise.
12101 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
12103         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12105 2012-08-17  Marek Polacek  <polacek@redhat.com>
12107         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12108         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12110 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12112         * configure.in: Add AC_SUBST for sysheaders.
12113         * configure: Regenerated.
12114         * config.make.in (sysheaders): New substituted variable.
12116         * sysdeps/unix/mkfifo.c: Moved ...
12117         * sysdeps/posix/mkfifo.c: ... here.
12118         * sysdeps/unix/mkfifoat.c: Moved ...
12119         * sysdeps/posix/mkfifoat.c: ... here.
12121         * sysdeps/unix/utime.c: Moved ...
12122         * sysdeps/posix/utime.c: ... here.
12124         * sysdeps/unix/time.c: Moved ...
12125         * sysdeps/posix/time.c: ... here.
12126         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12127         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12129         * sysdeps/unix/nice.c: Moved ...
12130         * sysdeps/posix/nice.c: ... here.
12132         * sysdeps/unix/alarm.c: Moved ...
12133         * sysdeps/posix/alarm.c: ... here.
12135         * intl/Makefile ($(codeset_mo)): Depend on the input file.
12137 2012-08-17  Jeff Law <law@redhat.com>
12139         * intl/Makefile (codeset_mo): New variable.
12140         ($(codeset_mo)): New target.
12141         (tst-codeset.out): Depend on that.  Remove explicit rule.
12142         (tst-gettext3.out, tst-gettext5.out): Likewise.
12143         (LOCPATH-ENV, tst-codeset-ENV): New variables.
12144         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12145         * intl/tst-codeset.sh: Remove.
12146         * intl/tst-gettext3.sh: Likewise.
12147         * intl/tst-gettext5.sh: Likewise.
12149 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12151         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
12152         * sysdeps/unix/syscalls.list: ... here.
12154         * sysdeps/posix/getaddrinfo.c
12155         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12156         (gaiconf_init, gaiconf_reload): Use them.
12157         [!_STATBUF_ST_NSEC]
12158         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12159         Define using time_t rather than struct timespec.
12161         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12162         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12163         Macros removed.
12164         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12165         [!NO_THREADS].
12166         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12167         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12168         Likewise.
12170         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12171         __libc_cleanup_push argument.
12173         * bits/param.h: New file.
12174         * misc/sys/param.h: New file.
12175         * include/sys/param.h: New file.
12176         * misc/Makefile (headers): Add bits/param.h.
12177         * sysdeps/generic/sys/param.h: File removed.
12178         * sysdeps/unix/sysv/linux/bits/param.h: New file.
12179         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12180         * sysdeps/mach/hurd/bits/param.h: New file.
12181         * sysdeps/mach/hurd/sys/param.h: File removed.
12183         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12184         last change.
12186         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12187         [_IO_MTSAFE_IO].
12188         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12189         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12190         New macros.
12192         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12193         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12194         rather than -D_IO_MTSAFE_IO conditionally.
12195         * stdio-common/Makefile (CPPFLAGS): Likewise.
12196         * wcsmbs/Makefile (CPPFLAGS): Likewise.
12197         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12198         Use $(libio-mtsafe).
12199         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12200         of -D_IO_MTSAFE_IO.
12201         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12202         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12203         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12204         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12205         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12206         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12207         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12208         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12209         (CFLAGS-fread_u_chk.c): Likewise.
12210         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12211         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12212         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12213         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12214         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12215         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12216         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12217         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12218         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12220         * libio/Makefile: Test [$(libc-reentrant) = yes]
12221         instead of [$(filter %REENTRANT, $(defines)) nonempty].
12223         * Makeconfig
12224         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12225         * sysdeps/pthread/configure: File removed.
12226         * sysdeps/pthread/Makeconfig: New file.
12227         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12228         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12230 2012-08-16  Gary Benson  <gbenson@redhat.com>
12232         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12233         unmapping the first object in a namespace.
12235 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12237         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12238         (__internal_setnetgrent): ... this.  Add internal_function to
12239         definition.  Add libc_hidden_def.
12240         (setnetgrent): Update caller.
12241         (internal_endnetgrent): Renamed to ...
12242         (__internal_endnetgrent): ... this.  Add internal_function to
12243         definition.  Add libc_hidden_def.
12244         (endnetgrent): Update caller.
12245         (internal_getnetgrent_r): Renamed to ...
12246         (__internal_getnetgrent_r): ... this.  Add internal_function to
12247         definition.  Add libc_hidden_def.
12248         (__getnetgrent_r): Update caller.
12249         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
12251 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12253         * stdlib/longlong.h: Update from GCC.
12255 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12257         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12258         on _QL, which is set by umul_ppmm but never used.
12259         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12260         variables, which are set by GMP macros but never used.
12261         * stdio-common/_itowa.c (_itowa): Likewise.
12262         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12263         * stdlib/mod_1.c (mpn_mod_1): Likewise.
12265 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
12267         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12268         struct La_sh_regs is not constant.
12269         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12270         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12271         and struct La_sparc64_regs are not constant.
12273 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12275         * sysdeps/unix/sysv/linux/kernel-features.h
12276         (__ASSUME_POSIX_TIMERS): Remove.
12277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12279         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12280         Make code unconditional.
12281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12282         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12283         Make code unconditional.
12284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12285         * sysdeps/unix/sysv/linux/clock_nanosleep.c
12286         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12288         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12289         Make code unconditional.
12290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12291         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12292         (__libc_missing_posix_timers): Remove.
12294 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12296         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12297         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12299         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12301         * elf/dl-sym.c: Include <stdlib.h>.
12303         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12304         constants, which avoids warnings in 32-bit builds.
12306         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12307         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12309         * misc/lseek.c: File moved to ...
12310         * io/lseek.c: ... here.
12312         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12314         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12315         shifting LEN more than 31 bits at once.
12317 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12319         [BZ #14195]
12320         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12321         segmentation fault for a case of two empty input strings.
12322         * string/test-strncasecmp.c (check1): Renamed to...
12323         (bz12205): ...this.
12324         (bz14195): Add new testcase for two empty input strings and N > 0.
12325         (test_main): Call new testcase, adapt for renamed function.
12327 2012-08-15  Andreas Jaeger  <aj@suse.de>
12329         [BZ #14090]
12330         * crypt/md5test2.c: New test, based on test supplied by Serge
12331         Belyshev <belyshev@depni.sinp.msu.ru>.
12332         * crypt/Makefile (xtests): Add md5test-giant..
12333         * crypt/Makefile ($(objpfx)md5test-giant): Add.
12335 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
12337         [BZ #14090]
12338         * crypt/md5.c (md5_process_block): Don't assume the buffer
12339         length is less than 2**32.
12340         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12341         length is less than 2**64.
12343 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12345         * string/str-two-way.h: Include <sys/param.h>.
12346         (MAX): Macro removed.
12348         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12349         Move #define and #undef of memmove to just before and after
12350         including <string.h>.
12352         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12353         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12354         and after including <string.h>.  Move declarations of
12355         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12356         to before #include "string/memmove.c".
12358         * include/dirent.h: Declare __getdirentries.
12360         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12361         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12363 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
12365         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12366         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12367         * sysdeps/i386/configure: Regenerated.
12368         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12369         STABS_CURRENT_FILE, and STABS_FUN.
12370         (END): Remove call to STABS_FUN_END.
12371         (STABS_CURRENT_FILE1): Delete.
12372         (STABS_CURRENT_FILE): Likewise.
12373         (STABS_FUN): Likewise.
12374         (STABS_FUN_END): Likewise.
12375         (STABS_FUN2): Likewise.
12376         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12377         * sysdeps/x86_64/configure: Regenerated.
12379 2012-08-14  Roland McGrath  <roland@hack.frob.com>
12381         * elf/dl-open.c: Include <atomic.h>.
12382         * elf/dl-lookup.c: Likewise.
12384 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
12386         * sysdeps/unix/sysv/linux/kernel-features.h
12387         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12388         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12389         unconditionally.
12390         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12391         unconditionally.
12392         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12393         condition on __ASSUME_CLONE_THREAD_FLAGS.
12395 2012-08-14  Andreas Jaeger  <aj@suse.de>
12397         * sysdeps/i386/fpu/libm-test-ulps: Update.
12399 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
12401         * include/atomic.h (atomic_exchange_and_add): Split into ...
12402         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12403         New atomic macros.
12405 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
12407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12409 2012-08-13  Jeff Law <law@redhat.com>
12411         * manual/stdio.texi (snprintf): Clarify handling of the trailing
12412         null byte in the output string.
12414 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
12416         * sysdeps/unix/sysv/linux/kernel-features.h
12417         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12418         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12419         (__ASSUME_ARG_MAX_STACK_BASED): Define.
12420         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12421         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12422         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
12423         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12425 2012-08-09  Jeff Law <law@redhat.com>
12427         [BZ #13939]
12428         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12429         When avoid_arena is set, don't retry in the that arena.  Pick the
12430         next one, whatever it might be.
12431         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12432         (arena_lock): Pass in new parameter to arena_get2.
12433         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12434         arena_get2.
12435         (__libc_malloc): Unify retrying after main arena failure with
12436         __libc_memalign version.
12437         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12439 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12441         [BZ #14166]
12442         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12443         to __redirect_strstr.
12444         (__strstr_sse42): Use typeof __redirect_strstr.
12445         (__strstr_ia32): Likewise.
12446         (__libc_strstr): New prototype.
12447         (strstr): Renamed to ...
12448         (__libc_strstr): This.
12449         (strstr): New strong alias of __libc_strstr.
12450         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12451         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12452         __redirect_time.
12453         Include <time.h>.
12454         (__libc_time): New prototype.
12455         (time_ifunc): Replace time with __libc_time.
12456         (time): New strong alias and hidden definition of __libc_time.
12457         (__GI_time): Remove strong alias.
12458         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12459         Include <stddef.h>.
12460         (memmove): Redefined to __redirect_memmove.
12461         (__memmove_sse2): Use typeof __redirect_memmove.
12462         (__memmove_ssse3): Likewise.
12463         (__memmove_ssse3_back): Likewise.
12464         (__libc_memmove): New prototype.
12465         (memmove): Renamed to ...
12466         (__libc_memmove): This.
12467         (memmove): New strong alias of __libc_memmove.
12469 2012-08-08  Mark Salter  <msalter@redhat.com>
12471         * elf/elf.h
12472         (R_MN10300_TLS_GD): Define.
12473         (R_MN10300_TLS_LD): Likewise.
12474         (R_MN10300_TLS_LDO): Likewise.
12475         (R_MN10300_TLS_GOTIE): Likewise.
12476         (R_MN10300_TLS_IE): Likewise.
12477         (R_MN10300_TLS_LE): Likewise.
12478         (R_MN10300_TLS_DTPMOD): Likewise.
12479         (R_MN10300_TLS_DTPOFF): Likewise.
12480         (R_MN10300_TLS_TPOFF): Likewise.
12481         (R_MN10300_SYM_DIFF): Likewise.
12482         (R_MN10300_ALIGN): Likewise.
12483         (R_MN10300_NUM): Update.
12485 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
12487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12488         Remove.
12490 2012-08-08  Roland McGrath  <roland@hack.frob.com>
12492         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12494         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12495         sysdeps/unix -> sysdeps/posix move.
12496         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12498 2012-08-07      Allan McRae     <allan@archlinux.org>
12500         [BZ #14303]
12501         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12502         (SUNOS_CPP): Likewise.
12503         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12504         not found.
12505         (open_input): Call CPP using execvp.
12507 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
12509         * sysdeps/unix/sysv/linux/kernel-features.h
12510         (__ASSUME_PROT_GROWSUPDOWN): Remove.
12511         (__ASSUME_NO_CLONE_DETACHED): Likewise.
12512         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12513         (__ASSUME_WAITID_SYSCALL): Likewise.
12514         * sysdeps/unix/sysv/linux/dl-execstack.c
12515         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12516         code unconditional.
12517         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12518         conditional code.
12519         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12520         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12521         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12522         code.
12523         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12524         unconditional.
12525         [__ASSUME_WAITID_SYSCALL]: Likewise.
12526         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12528 2012-08-07  Roland McGrath  <roland@hack.frob.com>
12530         * sysdeps/unix/closedir.c: Renamed to ...
12531         * sysdeps/posix/closedir.c: ... here.
12532         * sysdeps/unix/dirfd.c: Renamed to ...
12533         * sysdeps/posix/dirfd.c: ... here.
12534         * sysdeps/unix/dirstream.h: Renamed to ...
12535         * sysdeps/posix/dirstream.h: ... here.
12536         * sysdeps/unix/fdopendir.c: Renamed to ...
12537         * sysdeps/posix/fdopendir.c: ... here.
12538         * sysdeps/unix/opendir.c: Renamed to ...
12539         * sysdeps/posix/opendir.c: ... here.
12540         * sysdeps/unix/readdir.c: Renamed to ...
12541         * sysdeps/posix/readdir.c: ... here.
12542         * sysdeps/unix/readdir_r.c: Renamed to ...
12543         * sysdeps/posix/readdir_r.c: ... here.
12544         * sysdeps/unix/rewinddir.c: Renamed to ...
12545         * sysdeps/posix/rewinddir.c: ... here.
12546         * sysdeps/unix/seekdir.c: Renamed to ...
12547         * sysdeps/posix/seekdir.c: ... here.
12548         * sysdeps/unix/telldir.c: Renamed to ...
12549         * sysdeps/posix/telldir.c: ... here.
12550         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12551         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12552         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12553         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12555         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12556         * bits/fcntl.h: ... here.
12558         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12559         not 0.
12560         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12561         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12562         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12563         (struct flock): Move l_start, l_len to the beginning.
12564         Use __pid_t for l_pid.
12565         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12566         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12567         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12568         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12569         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12570         [__USE_LARGEFILE64] (struct flock64): New type.
12571         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12573         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12574         * bits/dirent.h: ... here.
12576         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12577         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12579 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
12581         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12582         Change from 2.6.0 to 2.6.16.
12583         * sysdeps/unix/sysv/linux/configure: Regenerated.
12584         * sysdeps/unix/sysv/linux/kernel-features.h
12585         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12586         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12587         version.
12588         (__ASSUME_UTIMES): Likewise.
12589         (__ASSUME_CLONE_STOPPED): Remove.
12590         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12591         architectures, not kernel version.
12592         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12593         (__ASSUME_NO_CLONE_DETACHED): Likewise.
12594         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12595         (__ASSUME_WAITID_SYSCALL): Likewise.
12596         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12597         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12598         * README: State 2.6.16 as minimum Linux kernel version.  Do not
12599         refer to older versions.
12601 2012-08-06  Roland McGrath  <roland@hack.frob.com>
12603         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12604         Define alphasort64 as an alias.
12605         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12606         Define versionsort64 as an alias.
12607         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12608         Define scandir64 as an alias.
12609         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12610         Define scandirat64 as an alias.
12611         * dirent/alphasort64.c (alphasort64):
12612         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12613         * dirent/versionsort64.c: Likewise.
12614         * dirent/scandir64.c: Likewise.
12615         * dirent/scandirat64.c: Likewise.
12616         * sysdeps/wordsize-64/alphasort.c: File removed.
12617         * sysdeps/wordsize-64/alphasort64.c: File removed.
12618         * sysdeps/wordsize-64/scandir.c: File removed.
12619         * sysdeps/wordsize-64/scandir64.c: File removed.
12620         * sysdeps/wordsize-64/scandirat.c: File removed.
12621         * sysdeps/wordsize-64/scandirat64.c: File removed.
12622         * sysdeps/wordsize-64/versionsort.c: File removed.
12623         * sysdeps/wordsize-64/versionsort64.c: File removed.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12625         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12627         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12628         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12629         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12630         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12631         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12633         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12635         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12637         [defined __arch64__ || defined __sparcv9]
12638         (__INO_T_MATCHES_INO64_T): New macro.
12639         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12640         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12641         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12642         * sysdeps/unix/sysv/linux/bits/dirent.h
12643         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12644         (_DIRENT_MATCHES_DIRENT64): New macro.
12646         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12647         Define lockf64 as an alias.
12648         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12649         Define fseeko64 as an alias.
12650         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12651         Define ftello64 as an alias.
12652         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12653         Define _IO_fgetpos64 and fgetpos64 as aliases.
12654         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12655         Define _IO_fsetpos64 and fsetpos64 as aliases.
12656         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12657         Conditionalize body on this.
12658         * libio/fseeko64.c: Likewise.
12659         * libio/ftello64.c: Likewise.
12660         * libio/iofgetpos64.c: Likewise.
12661         * libio/iofsetpos64.c: Likewise.
12662         * sysdeps/wordsize-64/lockf.c: File removed.
12663         * sysdeps/wordsize-64/lockf64.c: File removed.
12664         * sysdeps/wordsize-64/fseeko.c: File removed.
12665         * sysdeps/wordsize-64/fseeko64.c: File removed.
12666         * sysdeps/wordsize-64/ftello.c: File removed.
12667         * sysdeps/wordsize-64/ftello64.c: File removed.
12668         * sysdeps/wordsize-64/iofgetpos.c: File removed.
12669         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12670         * sysdeps/wordsize-64/iofsetpos.c: File removed.
12671         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12672         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12673         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12674         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12675         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12676         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12677         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12678         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12679         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12680         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12681         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12683         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12685         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12687         [defined __arch64__ || defined __sparcv9]
12688         (__OFF_T_MATCHES_OFF64_T): New macro.
12689         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12690         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12692         (__OFF_T_MATCHES_OFF64_T): New macro.
12694 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12696         * stdlib/secure-getenv.c (__secure_getenv): Replace
12697         GLIBC_2_16 with GLIBC_2_17.
12699 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12701         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12702         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12704 2012-08-03  David S. Miller  <davem@davemloft.net>
12706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12708 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12711         Remove.
12712         (__ASSUME_CORRECT_SI_PID): Likewise.
12713         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12714         (__ASSUME_TMPFS_NAME): Likewise.
12715         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12716         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12717         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12718         (HAVE_AUX_SECURE): Make definition unconditional.
12719         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12720         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12722 2012-08-03  Roland McGrath  <roland@hack.frob.com>
12724         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12725         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12726         * sysdeps/mach/hurd/eloop-threshold.h: New file.
12727         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12728         __eloop_threshold instead of SYMLOOP_MAX.
12730         * sysdeps/generic/eloop-threshold.h: New file.
12731         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12732         of MAXSYMLINKS.
12733         * elf/chroot_canon.c (chroot_canon): Likewise.
12735 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #13717]
12738         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12739         Change to 2.6.0 everywhere.
12740         * sysdeps/unix/sysv/linux/configure: Regenerated.
12741         * sysdeps/unix/sysv/linux/kernel-features.h
12742         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12743         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12744         kernel versions.
12745         (__ASSUME_POSIX_TIMERS): Define unconditionally.
12746         (__ASSUME_FUTEX_REQUEUE): Remove.
12747         (__ASSUME_STATFS64): Define unconditionally.
12748         (__ASSUME_AT_SECURE): Likewise.
12749         (__ASSUME_CORRECT_SI_PID): Likewise.
12750         (__ASSUME_TGKILL): Define without depending on kernel version for
12751         i386.
12752         (__ASSUME_UTIMES): Likewise.
12753         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12754         kernel version.
12755         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12756         (__ASSUME_TMPFS_NAME): Likewise.
12757         * README: Update reference to Linux kernel versions.
12759 2012-08-02  Marek Polacek  <polacek@redhat.com>
12761         [BZ# 14150]
12762         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
12763         libc_cv_asm_type_prefix with %.
12764         * configure: Regenerated.
12765         * include/libc-symbols.h: Remove comment about
12766         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12767         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12768         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12769         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12770         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12771         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12772         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12773         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12774         * elf/tst-unique2mod1.c: Likewise.
12775         * elf/tst-unique1mod2.c: Likewise.
12776         * elf/tst-unique1mod1.c: Likewise.
12777         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12778         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12779         Replace ASM_TYPE_DIRECTIVE with .type.
12780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12781         * sysdeps/i386/sysdep.h: Likewise.
12782         * sysdeps/x86_64/sysdep.h: Likewise.
12783         * sysdeps/sh/sysdep.h: Likewise.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12785         Do not define ASM_TYPE_DIRECTIVE.
12786         * sysdeps/powerpc/sysdep.h: Likewise.
12787         * sysdeps/powerpc/powerpc32/sysdep.h:
12788         Replace ASM_TYPE_DIRECTIVE with .type.
12789         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12790         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12791         * sysdeps/i386/fpu/e_powf.S: Likewise.
12792         * sysdeps/i386/fpu/e_expl.S: Likewise.
12793         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12794         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12795         * sysdeps/i386/fpu/e_pow.S: Likewise.
12796         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12797         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12798         * sysdeps/i386/fpu/s_expm1.S: Likewise.
12799         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12800         * sysdeps/i386/fpu/e_log2.S: Likewise.
12801         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12802         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12803         * sysdeps/i386/fpu/e_powl.S: Likewise.
12804         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12805         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12806         * sysdeps/i386/fpu/e_logl.S: Likewise.
12807         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12808         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12809         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12810         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12811         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12812         * sysdeps/i386/fpu/e_log.S: Likewise.
12813         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12814         * sysdeps/i386/fpu/e_logf.S: Likewise.
12815         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12816         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12817         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12818         * sysdeps/i386/fpu/e_log10.S: Likewise.
12819         * sysdeps/i386/fpu/s_frexp.S: Likewise.
12820         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12821         * sysdeps/i386/fpu/s_asinh.S: Likewise.
12822         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12823         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12824         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12825         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12826         * sysdeps/i386/i686/strtok.S: Likewise.
12827         * sysdeps/i386/i386-mcount.S: Likewise.
12828         * sysdeps/i386/strtok.S: Likewise.
12829         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12830         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12831         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12832         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12833         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12834         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12835         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12836         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12837         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12838         * sysdeps/x86_64/_mcount.S: Likewise.
12839         * sysdeps/x86_64/strtok.S: Likewise.
12840         * sysdeps/sh/_mcount.S: Likewise.
12842 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12844         * libio/iofopen.c: Include <fcntl.h>.
12845         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12846         (_IO_fopen64, fopen64): Define as aliases.
12847         * libio/iofopen64.c: Include <fcntl.h>.
12848         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12849         Conditionalize body on this.
12850         * sysdeps/wordsize-64/iofopen.c: File removed.
12851         * sysdeps/wordsize-64/iofopen64.c: File removed.
12853 2012-08-01  Marek Polacek  <polacek@redhat.com>
12855         * libc/Makeconfig: Use elf in place of binfmt-subdir.
12856         Use dlfcn directly instead of a variable.
12857         (binfmt-subdir): Do not define.
12858         (dlfcn): Likewise.
12860 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
12862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12863         Remove all definitions.
12864         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12865         <kernel-features.h>.
12866         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12867         (miss_F_GETOWN_EX): Remove all definitions.
12868         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12869         macro definition.
12870         [!__ASSUME_FCNTL64]: Remove conditional code.
12871         [__ASSUME_FCNTL64]: Make code unconditional.
12872         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12873         <kernel-features.h>.
12874         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12875         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12876         (lockf64) [__NR_fcntl64]: Make code unconditional.
12877         (lockf64) [__ASSUME_FCNTL64]: Likewise.
12879         * sysdeps/unix/sysv/linux/kernel-features.h
12880         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12881         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12882         Make code unconditional.
12883         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12884         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12886         [__NR_vfork]: Make code unconditional.
12887         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12888         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12890         [__NR_vfork]: Make code unconditional.
12891         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12892         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12894 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12896         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12897         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12899         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12900         Define mkstemp64 as an alias.
12901         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12902         Define mkstemps64 as an alias.
12903         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12904         Define mkostemp64 as an alias.
12905         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12906         Define mkostemps64 as an alias.
12907         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12908         Conditionalize body on this.
12909         * misc/mkostemp64.c: Likewise.
12910         * misc/mkostemps64.c: Likewise.
12911         * misc/mkstemps64.c: Likewise.
12912         * sysdeps/wordsize-64/mkstemp64.c: File removed.
12913         * sysdeps/wordsize-64/mkostemp64.c: File removed.
12914         * sysdeps/wordsize-64/mkostemp.c: File removed.
12915         * sysdeps/wordsize-64/mkstemp.c: File removed.
12916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12917         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12918         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12919         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12921         [BZ #14138]
12922         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12923         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12924         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12925         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12927         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12928         compat_symbol macros from <shlib-compat.h> rather than the underlying
12929         default_symbol_version and symbol_version macros, so that DEFAULT
12930         lines in shlib-versions are respected.
12931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12933 2012-08-01  Florian Weimer  <fweimer@redhat.com>
12935         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12936         Declare with warn_unused_result.
12937         (setgid, setregid, setegid, setresgid): Likewise.
12938         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12939         Likewise.
12940         * WUR-REPORT: Remove set*id functions.
12942 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
12944         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12946 2012-07-31  Roland McGrath  <roland@hack.frob.com>
12948         [BZ #10191]
12949         * include/sys/socket.h (__libc_accept, __libc_accept4):
12950         Add attribute_hidden.
12951         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12953         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12954         use of PTR_MANGLE.
12955         * inet/getnetgrent_r.c (setup): Likewise.
12957         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12959 2012-07-31  David S. Miller  <davem@davemloft.net>
12961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12963 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
12965         [BZ #13629]
12966         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12967         value between 1.0 and 2.0 and smaller part has absolute value less
12968         than 1.0.
12969         * math/s_clog10.c (__clog10): Likewise.
12970         * math/s_clog10f.c (__clog10f): Likewise.
12971         * math/s_clog10l.c (__clog10l): Likewise.
12972         * math/s_clogf.c (__clogf): Likewise.
12973         * math/s_clogl.c (__clogl): Likewise.
12974         * math/libm-test.inc (clog_test): Add more tests.
12975         (clog10_test): Likewise.
12976         * sysdeps/i386/fpu/libm-test-ulps: Update.
12977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12979 2012-07-31  Florian Weimer  <fweimer@redhat.com>
12981         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12982         Exit with zero in case no suitable GID is found, and write a
12983         message to standard error.
12985 2012-07-30  Roland McGrath  <roland@hack.frob.com>
12987         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12988         rather than to 1.
12989         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12990         (MAXPATHLEN): Removed.
12991         (NOGROUP, NODEV): New macros.
12992         (setbit, clrbit, isset, isclr): New macros.
12993         (howmany, roundup, powerof2): New macros.
12994         (DEV_BSIZE): New macro.
12996         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12997         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12999         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13000         definition on [!__NO_LONG_DOUBLE_MATH].
13002         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13003         PTR_MANGLE and PTR_DEMANGLE.
13005         * socket/accept4.c (accept4): Rename to __libc_accept4.
13006         Define accept4 as a weak alias.
13008         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13009         on [_DIRENT_HAVE_D_TYPE].
13010         * io/ftw.c (ftw_dir): Likewise.
13012         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13014         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13016         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13017         Use the BSD numbers rather than the arbitrary ones we had.
13018         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13019         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13020         (SIGXCPU, SIGXFSZ): New macros.
13021         (_NSIG): Now 32.
13023         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13024         initializer on [_LIBC_REENTRANT].
13026         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13027         definitions inside [_POSIX_MAPPED_FILES].
13029         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13031         * dirent/opendir.c: Include <fcntl.h>.
13033         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13034         (__libc_getspecific): Likewise.
13035         (__libc_key_create): Likewise.
13037         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13038         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13039         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13040         (tmpfile64): Define as alias.
13041         * sysdeps/wordsize-64/tmpfile.c: File removed.
13042         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13043         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13044         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13046         * stdio-common/vfscanf.c: Include <stdbool.h>.
13047         * nss/makedb.c: Likewise.
13048         * stdio-common/_i18n_number.h: Likewise.
13049         * argp/argp-help.c: Likewise.
13050         * posix/wordexp.c: Likewise.
13051         * sysdeps/posix/spawni.c: Likewise.
13052         * nss/nss_files/files-initgroups.c: Likewise.
13053         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13054         * nss/nss_files/files-initgroups.c: Likewise.
13055         * nss/nss_db/db-netgrp.c: Likewise.
13056         * nss/nss_db/db-initgroups.c: Likewise.
13057         * io/fchmodat.c: Include <sys/stat.h>.
13059         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13060         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13062         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13063         [HAVE_MMAP].
13065         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13066         Add multiple inclusion protection.
13068 2012-07-27  David S. Miller  <davem@davemloft.net>
13070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13072 2012-07-27  Gary Benson  <gbenson@redhat.com>
13074         [BZ #14298]
13075         * elf/rtld.c: Include <stap-probe.h>.
13076         (dl_main): Added static probes "init_start" and "init_complete".
13077         * elf/dl-load.c: Include <stap-probe.h>.
13078         (lose): Take new parameter "nsid".
13079         Added static probe "map_failed".
13080         (_dl_map_object_from_fd): Pass namespace id to lose.
13081         Added static probe "map_start".
13082         (open_verify): Pass namespace id to lose.
13083         * elf/dl-open.c: Include <stap-probe.h>.
13084         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13085         and "reloc_complete".
13086         * elf/dl-close.c: Include <stap-probe.h>.
13087         (_dl_close_worker): Added static probes "unmap_start" and
13088         "unmap_complete".
13089         * elf/rtld-debugger-interface.txt: New file documenting the above.
13091 2012-07-26  Roland McGrath  <roland@hack.frob.com>
13093         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13094         rather than a string variable.
13095         * sunrpc/rpc_main.c (h_output): Likewise.
13096         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13098 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
13100         * inet/check_native.c: New file.
13102 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
13104         [BZ #13629]
13105         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13106         if larger part has absolute value 1.0.
13107         * math/s_clog10.c (__clog10): Likewise.
13108         * math/s_clog10f.c (__clog10f): Likewise.
13109         * math/s_clog10l.c (__clog10l): Likewise.
13110         * math/s_clogf.c (__clogf): Likewise.
13111         * math/s_clogl.c (__clogl): Likewise.
13112         * math/libm-test.inc (clog_test): Add more tests.
13113         (clog10_test): Likewise.
13114         * sysdeps/i386/fpu/libm-test-ulps: Update.
13115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13117         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13118         (pltexit): Likewise.
13119         (La_regs): Likewise.
13120         (La_retval): Likewise.
13121         (int_retval): Likewise.
13122         Update #error for removed macros to refer only to definitions in
13123         tst-audit.h.
13124         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13125         macro.
13126         (pltexit): Likewise.
13127         (La_regs): Likewise.
13128         (La_retval): Likewise.
13129         (int_retval): Likewise.
13130         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13131         macro.
13132         (pltexit): Likewise.
13133         (La_regs): Likewise.
13134         (La_retval): Likewise.
13135         (int_retval): Likewise.
13136         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13137         macro.
13138         (pltexit): Likewise.
13139         (La_regs): Likewise.
13140         (La_retval): Likewise.
13141         (int_retval): Likewise.
13142         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13143         macro.
13144         (pltexit): Likewise.
13145         (La_regs): Likewise.
13146         (La_retval): Likewise.
13147         (int_retval): Likewise.
13148         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13149         macro.
13150         (pltexit): Likewise.
13151         (La_regs): Likewise.
13152         (La_retval): Likewise.
13153         (int_retval): Likewise.
13154         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13155         macro.
13156         (pltexit): Likewise.
13157         (La_regs): Likewise.
13158         (La_retval): Likewise.
13159         (int_retval): Likewise.
13160         * sysdeps/generic/tst-audit.h: Update comment to refer only to
13161         macro definitions in tst-audit.h.
13162         * sysdeps/i386/tst-audit.h: New file.
13163         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13164         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13165         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13166         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13167         * sysdeps/sh/tst-audit.h: Likewise.
13168         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13169         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13170         * sysdeps/x86_64/tst-audit.h: Likewise.
13172 2012-07-26  Andreas Jaeger  <aj@suse.de>
13174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13175         ptrace.
13177         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13178         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13179         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13180         PTRACE_O_MASK.
13181         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13182         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13183         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13185         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13186         value.
13188         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13189         _sigsys.
13190         (si_call_addr, si_syscall, si_arch): Define new macro.
13191         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13192         _sigsys.
13193         (si_call_addr, si_syscall, si_arch): Define new marcro.
13194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13195         _sigsys.
13196         (si_call_addr, si_syscall, si_arch): Define new macro.
13197         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13198         _sigsys.
13199         (si_call_addr, si_syscall, si_arch): Define new macro.
13201 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13203         [BZ #13717]
13204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13205         Change to 2.4.21 where previously 2.4.1.
13206         * sysdeps/unix/sysv/linux/configure: Regenerated.
13207         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13208         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13209         Linux kernel version.
13210         (__ASSUME_STD_AUXV): Remove.
13211         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13212         kernel version.
13213         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13214         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13215         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13216         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13217         (__ASSUME_NETLINK_SUPPORT): Likewise.
13218         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13219         (__no_netlink_support): Remove conditional definition.
13220         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13221         Remove.
13222         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13223         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13224         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13225         (if_nameindex_ioctl): Remove.
13226         (if_nameindex_netlink): Do not handle __no_netlink_support.
13227         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13228         code.
13229         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13230         Remove conditional code.
13231         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13232         code.
13233         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13234         unconditional.
13235         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13236         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13237         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13238         Remove.
13239         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13240         [!__ASSUME_STD_AUXV]: Remove conditional code.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13242         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13243         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13245         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13246         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13247         code.
13248         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13250         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13251         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13252         conditional code.
13253         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13255         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13256         code.
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13258         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13259         conditional code.
13260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13261         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13262         code unconditional.
13263         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13264         conditional code.
13265         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13266         unconditional.
13267         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13268         conditional code.
13269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13270         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13271         unconditional.
13272         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13273         conditional code.
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13275         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13276         code unconditional.
13277         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13278         conditional code.
13279         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13280         unconditional.
13281         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13282         conditional code.
13283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13284         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13285         code unconditional.
13286         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13287         conditional code.
13288         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13289         unconditional.
13290         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13291         conditional code.
13293 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
13295         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13296         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13297         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13298         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13299         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13300         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13301         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13302         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13303         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13304         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13305         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13306         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13307         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13308         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13309         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13310         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13311         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13312         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13313         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13315         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13316         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13319 2012-07-25  Florian Weimer  <fweimer@redhat.com>
13321         * Versions.def: Add GLIBC_2.17.
13322         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13323         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13324         Introduce __libc_secure_getenv.
13325         * stdlib/Versions (2.17): Add secure_getenv
13326         (GLIBC_PRIVATE): Add __libc_secure_getenv.
13327         * stdlib/secure-getenv.c: Rename __secure_getenv to
13328         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
13329         symbol __secure_getenv for GLIBC_2.0.
13330         * stdlib/tst-secure-getenv.c: New.
13331         * stdlib/Makefile (tests): Add testcase.
13332         * manual/startup.texi (Environment Access): Document
13333         secure_getenv.
13334         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13335         __libc_secure_getenv.
13336         * inet/ruserpass.c (ruserpass): Likewise.
13337         * malloc/mtrace.c (mtrace): Likewise.
13338         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13339         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13340         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13341         * sysdeps/posix/tempname.c: Likewise.  Evaluate
13342         HAVE_SECURE_GETENV.
13343         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13344         __secure_getenv to __libc_secure_getenv.
13345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13347         Likewise.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13349         Likewise.
13350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13352         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13358 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13360         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13361         (struct La_i86_retval): Likewise.
13362         (struct La_x86_64_regs): Likewise.
13363         (struct La_x86_64_retval): Likewise.
13364         (struct La_x32_regs): Likewise.
13365         (struct La_x32_retval): Likewise.
13366         (struct La_ppc32_regs): Likewise.
13367         (struct La_ppc32_retval): Likewise.
13368         (struct La_ppc64_regs): Likewise.
13369         (struct La_ppc64_retval): Likewise.
13370         (struct La_sh_regs): Likewise.
13371         (struct La_sh_retval): Likewise.
13372         (struct La_s390_32_regs): Likewise.
13373         (struct La_s390_32_retval): Likewise.
13374         (struct La_s390_64_regs): Likewise.
13375         (struct La_s390_64_retval): Likewise.
13376         (struct La_sparc32_regs): Likewise.
13377         (struct La_sparc32_retval): Likewise.
13378         (struct La_sparc64_regs): Likewise.
13379         (struct La_sparc64_retval): Likewise.
13380         (struct audit_ifaces): Remove architecture-specific pltenter and
13381         pltexit members.
13382         * sysdeps/i386/ldsodefs.h: New file.
13383         * sysdeps/powerpc/ldsodefs.h: Likewise.
13384         * sysdeps/s390/ldsodefs.h: Likewise.
13385         * sysdeps/sh/ldsodefs.h: Likewise.
13386         * sysdeps/sparc/ldsodefs.h: Likewise.
13387         * sysdeps/x86_64/ldsodefs.h: Likewise.
13389 2012-07-25  Marek Polacek  <polacek@redhat.com>
13391         [BZ #6808]
13392         * math/libm-test.inc (yn_test): Add another test.
13393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13394         to ERANGE when the result is +-Inf.
13395         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13396         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13397         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13398         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13400 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
13402         * conform/data/time.h-data (NULL): Use macro-constant.  Require
13403         equal to 0.
13404         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
13405         clock_t.
13406         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
13408 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
13410         * configure.in <sysdeps resolving>: Correct printing
13411         Implies_before.
13412         * configure: Regenerate.
13414 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
13416         * math/w_ilogb.c: Include <limits.h>.
13417         * math/w_ilogbl.c: Likewise.
13419 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13421         * manual/lang.texi (__va_copy): Document primarily as ISO C99
13422         va_copy.  Document allowing for unavailable va_copy only as
13423         pre-C99 compatibility.
13424         * manual/string.texi (Copying and Concatenation): Use va_copy
13425         instead of __va_copy in concat example.
13427 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
13429         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13430         (__sendto): Use create_address_port.  Initialize APORT and deallocate
13431         it if not null.
13433         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13434         with O_NOLINK passed to __file_name_lookup.
13436         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13437         with O_NOLINK passed to __file_name_lookup.
13439         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13440         negative N or less than NGIDS.
13442         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13443         type to string_t.  Set ERANGE as errno and return it if NAME is not big
13444         enough.  Use memcpy instead of strncpy.
13446 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13448         * elf/Makefile (check-data): Remove.
13449         (localplt.data): New vpath directive.
13450         ($(objpfx)check-localplt.out): Use localplt.data from vpath
13451         instead of $(check-data).
13452         * scripts/data/localplt-generic.data: Move to ...
13453         * sysdeps/generic/localplt.data: ... here.
13454         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13455         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13456         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13458         ... here.
13459         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13461         ... here.
13462         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13464         ... here.
13465         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13467         ... here.
13468         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13470         ... here.
13471         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13473         ... here.
13475 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13477         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13478         PPC32 and PPC64 files.
13479         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13480         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13482 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13484         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13485         __makecontext_ret to ...
13486         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13487         ... here and call exit if uc_link is NULL.  New file.
13488         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13489         __makecontext_ret.S.
13490         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13491         __makecontext_ret to ...
13492         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13493         ... here and call exit if uc_link is NULL.  New file.
13494         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13495         __makecontext_ret.S.
13497 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13499         * elf/elf.h (R_390_IRELATIVE): New definition.
13500         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13501         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
13502         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13504         (elf_machine_lazy_rel): Likewise.
13505         * sysdeps/s390/dl-irel.h: New file.
13506         * sysdeps/s390/s390-64/memcpy.S: New asm code.
13507         * sysdeps/s390/s390-64/memset.S: New asm code.
13508         * sysdeps/s390/s390-64/memcmp.S: New asm code.
13509         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13510         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13511         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13512         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13513         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13515         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13516         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13517         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13518         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13519         * sysdeps/s390/s390-32/memcpy.S: New asm code.
13520         * sysdeps/s390/s390-32/memset.S: New asm code.
13521         * sysdeps/s390/s390-32/memcmp.S: New asm code.
13523 2012-07-17  Marek Polacek  <polacek@redhat.com>
13525         [BZ #14349]
13526         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13527         * sysdeps/s390/s390-64/configure.in: Likewise.
13528         * sysdeps/sparc/configure.in: Likewise.
13529         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13530         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13531         * sysdeps/i386/configure.in: Likewise.
13532         * sysdeps/x86_64/configure.in: Likewise.
13533         * sysdeps/sh/configure.in: Likewise.
13534         * sysdeps/s390/s390-32/configure: Regenerated.
13535         * sysdeps/s390/s390-64/configure: Likewise.
13536         * sysdeps/x86_64/configure: Likewise.
13537         * sysdeps/sh/configure: Likewise.
13538         * sysdeps/powerpc/powerpc64/configure: Likewise.
13539         * sysdeps/powerpc/powerpc32/configure: Likewise.
13540         * sysdeps/sparc/configure: Likwise.
13541         * sysdeps/i386/configure: Likewise.
13543         * elf/dl-open.c: Comment fixes.
13545 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
13547         * Makefile [CXX] (check-data): Remove.
13548         [CXX] (c++-types.data): New vpath directive.
13549         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13550         vpath.  Do not allow for C++ type data being missing.
13551         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13552         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13553         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13554         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13555         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13556         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13557         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13559         ... here.
13560         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13562         ... here.
13563         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13565         ... here.
13566         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13568         ... here.
13569         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13571         ... here.
13572         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13574         ... here.
13575         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13577         ... here.
13578         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13581         * elf/tls-macros.h (TLS_LE): Move architecture-specific
13582         definitions to architecture-specific files.
13583         (TLS_IE): Likewise.
13584         (TLS_LD): Likewise.
13585         (TLS_GD): Likewise.
13586         * sysdeps/i386/tls-macros.h: New file.
13587         * sysdeps/powerpc/tls-macros.h: Likewise.
13588         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13589         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13590         * sysdeps/sh/tls-macros.h: Likewise.
13591         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13592         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13593         * sysdeps/x86_64/tls-macros.h: Likewise.
13595 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13597         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13598         zero value for regular exit case.
13600         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13601         (__start_context): Preserve zero value for regular exit case.
13603 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13604             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13606         * manual/setjmp.texi (setcontext): Clarify normal process
13607         termination when uc_link is the null pointer.
13608         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13609         exit call.
13611 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
13613         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13614         preprocessor.  Test for each exception mask separately.
13616 2012-07-16  Andreas Jaeger  <aj@suse.de>
13618         * po/ru.po: Update from translation team.
13620 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
13622         * conform/data/string.h-data (NULL): Use macro-constant.  Require
13623         equal to 0.
13624         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13625         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13626         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13627         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13628         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13630 2012-07-13  Andreas Jaeger  <aj@suse.de>
13632         * po/fr.po: Update from translation team.
13634 2012-07-12  Marek Polacek  <polacek@redhat.com>
13636         [BZ #14173]
13637         * math/libm-test.inc (yn_test): Add test for BZ #14173.
13638         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13639         loop condition.
13641 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
13643         [BZ #13717]
13644         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13645         Change to 2.4.1 where previously 2.4.0.
13646         * sysdeps/unix/sysv/linux/configure: Regenerated.
13647         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13648         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13649         version.
13650         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13651         (__ASSUME_AT_CLKTCK): Remove.
13652         (__ASSUME_AT_PAGESIZE): Likewise.
13653         (__ASSUME_AT_XID): Likewise.
13654         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13655         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13656         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13657         unconditionally.
13658         (HAVE_AUX_PAGESIZE): Likewise.
13659         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13660         [__ASSUME_AT_CLKTCK]: Make code unconditional.
13661         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13663 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
13665         [BZ #14307]
13666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13667         the temporary buffer used to invoke __gethostbyname2_r,
13668         __gethostbyaddr_r and gethostbyname4_r to make room for struct
13669         host_data / struct gaih_addrtuple.
13670         * resolv/nss_dns/dns-host.c (global scope): Move definition of
13671         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13672         header file nss/nsswitch.h.
13673         * nss/nsswitch.h (global scope): Add definition of implementation
13674         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13675         resolv/nss_dns/dns-host.c).
13677 2012-07-11  Andreas Jaeger  <aj@suse.de>
13679         * po/fr.po: Update from translation team.
13681         * po/sv.po: Update from translation team
13682         * po/fr.po: Another update from translation team.
13684 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13687         for subnormals or multiply small sinh result by itself.
13688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13691 2012-07-11  David S. Miller  <davem@davemloft.net>
13693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13695 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
13697         [BZ #14347]
13698         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13699         (INTERNAL_MARK): Shift it here.
13701 2012-07-10  Marek Polacek  <polacek@redhat.com>
13703         [BZ #14151]
13704         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
13705         libc_cv_asm_global_directive with .globl.
13706         * configure: Regenerated.
13707         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13708         with .globl.
13709         * sysdeps/i386/configure: Regenerated.
13710         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13711         with .globl.
13712         * sysdeps/x86_64/configure: Regenerated.
13713         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13714         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13715         * elf/tst-unique2mod2.c: Likewise.
13716         * elf/tst-unique2mod1.c: Likewise.
13717         * elf/tst-unique1mod2.c: Likewise.
13718         * elf/tst-unique1mod1.c: Likewise.
13719         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13720         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13721         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13722         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13723         * sysdeps/mach/sysdep.h: Likewise.
13724         * sysdeps/i386/sysdep.h: Likewise.
13725         * sysdeps/i386/i386-mcount.S: Likewise.
13726         * sysdeps/x86_64/_mcount.S: Likewise.
13727         * sysdeps/x86_64/sysdep.h: Likewise.
13728         * sysdeps/sh/_mcount.S: Likewise.
13729         * sysdeps/sh/sysdep.h: Likewise.
13730         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13731         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13732         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13733         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13734         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13735         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13736         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13737         * locale/localeinfo.h: Likewise.
13738         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13739         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13741 2012-07-09  Roland McGrath  <roland@hack.frob.com>
13743         [BZ #14336]
13744         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13745         system".
13746         * manual/message.texi (The Uniforum approach): Likewise.
13747         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13748         (glibc iconv Implementation): Likewise.
13750 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
13752         [BZ #14337]
13753         * math/s_clog.c (__clog): Avoid scaling a value down where that
13754         could result in underflow.
13755         * math/s_clog10.c (__clog10): Likewise.
13756         * math/s_clog10f.c (__clog10f): Likewise.
13757         * math/s_clog10l.c (__clog10l): Likewise.
13758         * math/s_clogf.c (__clogf): Likewise.
13759         * math/s_clogl.c (__clogl): Likewise.
13760         * math/libm-test.inc (clog_test): Add more tests.
13761         (clog10_test): Likewise.
13762         * sysdeps/i386/fpu/libm-test-ulps: Update.
13763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13765 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
13767         [BZ #14283]
13768         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13769         by 7 not 8 to examine high bit of fractional part.
13771         [BZ #14042]
13772         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13773         for call to __mcount_internal.
13774         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13775         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13776         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13778 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
13780         [BZ #14154]
13781         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13782         approximation for values within 0x1p-13f of an odd multiple of
13783         pi/4.
13784         * math/libm-test.inc (tan_test): Do not allow spurious underflow
13785         exception.  Add more tests.
13786         * sysdeps/i386/fpu/libm-test-ulps: Update.
13788         [BZ #6778]
13789         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13790         inputs and return -1 for them.  Do not check for +Inf in case not
13791         reachable for +Inf.
13792         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13793         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13794         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13795         and return -1 for them.  Do not check for +Inf in case not
13796         reachable for +Inf.
13797         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13798         define.
13799         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13800         and return -1 for them.  Do not check for +Inf in case not
13801         reachable for +Inf.
13802         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
13803         spurious underflow.
13804         * sysdeps/i386/fpu/libm-test-ulps: Update.
13805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
13809         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13811 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #14157]
13814         [BZ #14331]
13815         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13816         could result in spurious underflow.  Scale down values above
13817         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13818         * math/s_csqrtf.c (__csqrtf): Likewise.
13819         * math/s_csqrtl.c (__csqrtl): Likewise.
13820         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
13821         spurious underflow.
13822         * sysdeps/i386/fpu/libm-test-ulps: Update.
13823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13827         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13828         xopen-msg.sed.
13829         * catgets/xopen-msg.awk: New file.
13830         * catgets/xopen-msg.sed: Removed.
13832         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13833         po2text.sed.
13834         * intl/po2test.awk: New file.
13835         * intl/po2test.sed: Removed.
13837 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #14328]
13840         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13841         or multiply small sinh result by itself.
13842         * math/s_ctanf.c (__ctanf): Likewise.
13843         * math/s_ctanh.c (__ctanh): Likewise.
13844         * math/s_ctanhf.c (__ctanhf): Likewise.
13845         * math/s_ctanhl.c (__ctanhl): Likewise.
13846         * math/s_ctanl.c (__ctanl): Likewise.
13847         * math/libm-test.inc (ctan_test_tonearest): New function.
13848         (ctan_test_towardzero): Likewise.
13849         (ctan_test_downward): Likewise.
13850         (ctan_test_upward): Likewise.
13851         (ctanh_test_tonearest): Likewise.
13852         (ctanh_test_towardzero): Likewise.
13853         (ctanh_test_downward): Likewise.
13854         (ctanh_test_upward): Likewise.
13855         (main): Call these new functions.
13856         * sysdeps/i386/fpu/libm-test-ulps: Update.
13857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13859 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
13861         * .gitignore: Delete /ports entry.
13863 2012-07-03  Andreas Jaeger  <aj@suse.de>
13865         * po/bg.po: Update from translation team.
13866         * po/cs.po: Likewise.
13867         * po/de.po: Likewise.
13868         * po/hr.po: Likewise.
13869         * po/nl.pl: Likewise.
13870         * po/pl.po: Likewise.
13871         * po/vi.po: Likewise.
13873 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
13875         * Makeconfig [!+link] (+link-before-libc): New variable.
13876         [!+link] (+link-after-libc): Likewise.
13877         [!+link] (+link-tests): Likewise.
13878         [!+link] (+link): Define in terms of $(+link-before-libc) and
13879         $(+link-after-libc).
13880         [!+link-static] (+link-static-before-libc): New variable.
13881         [!+link-static] (+link-static-after-libc): Likewise.
13882         [!+link-static] (+link-static-tests): Likewise.
13883         [!+link-static] (+link-static): Define in terms of
13884         $(+link-static-before-libc) and $(+link-static-after-libc).
13885         [build-shared] (link-libc-before-gnulib): New variable.
13886         [build-shared] (link-libc-tests): Likewise.
13887         [build-shared] (link-libc): Define in terms of
13888         $(link-libc-before-gnulib).
13889         [!build-shared] (link-libc-tests): New variable.
13890         (link-libc-static-tests): New variable.
13891         [!gnulib] (gnulib-arch): New variable.
13892         [!gnulib] (gnulib-tests): Likewise.
13893         [!gnulib] (static-gnulib-arch): Likewise.
13894         [!gnulib] (static-gnulib-tests): Likewise.
13895         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
13896         Define with "=" instead of ":=".
13897         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
13898         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
13899         * Rules (binaries-all-notests): New variable.
13900         (binaries-all-tests): Likewise.
13901         (binaries-static-notests): Likewise.
13902         (binaries-static-tests): Likewise.
13903         (binaries-all): Define using $(binaries-all-notests) and
13904         $(binaries-all-tests).
13905         (binaries-static): Define using $(binaries-static-notests) and
13906         $(binaries-static-tests).
13907         (binaries-shared-tests): New variable.
13908         (binaries-shared-notests): Likewise.
13909         (binaries-shared): Remove variable.
13910         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13911         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13912         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13913         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13914         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13915         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13916         * elf/Makefile (sln-modules): New variable.
13917         (extra-objs): Add $(sln-modules:=.o).
13918         (ldconfig-modules): Add static-stubs.
13919         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13920         * elf/static-stubs.c: New file.
13922         [BZ #14283]
13923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13924         by 7 not 8 to examine high bit of fractional part.  Use volatile
13925         variables when splitting into final array of floats if
13926         __FLT_EVAL_METHOD__ != 0.
13927         * math/libm-test.inc (cos_test): Add another test.
13928         (sin_test): Likewise.
13929         * sysdeps/i386/fpu/libm-test-ulps: Update.
13931         [BZ #14273]
13932         * math/libm-test.inc (cosh_test): Add more tests.
13934         * version.h (RELEASE): Set to "development".
13935         (VERSION): Set to "2.16.90".
13937 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
13939         * NEWS: Update copyright. Remove last-updated date.
13940         Mention math library bug fixes and timezone data changes.
13941         * README: Mention GNU/Hurd, x32, and HPPA support status.
13943 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
13945         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13947 2012-06-27  Andreas Jaeger  <aj@suse.de>
13949         * manual/contrib.texi (Contributors): Add Samuel Thibault.
13951 2012-06-25  Andreas Jaeger  <aj@suse.de>
13953         * sysdeps/s390/fpu/libm-test-ulps: Update.
13955 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
13956             Thomas Schwinge  <thomas@codesourcery.com>
13958         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13959         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13960         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13961         fanotify_mark.
13963 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
13965         * sysdeps/mach/start.c: Remove file.
13966         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13967         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13968         * sysdeps/sh/init-first.c: Likewise.
13970         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13971         registers for frame unwinding purposes, add CFI directives.
13972         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13973         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13974         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13975         Likewise.
13977         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13978         __fortify_fail returning.
13979         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13981         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13982         sysdeps/sh/____longjmp_chk.S.
13983         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13984         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13985         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13986         (gen-as-const-headers): Append sigaltstack-offsets.sym.
13988         * sysdeps/sh/abort-instr.h: New file.
13989         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13990         process in case exit returns.
13992         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13993         initialize the GOT register before use.
13995         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13996         calculation of ARGC > 4.
13998         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13999         meaningful names to some local labels.
14001 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14002             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14004         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14005         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14006         (__arch_compare_and_exchange_val_16_acq): Likewise.
14007         (__arch_compare_and_exchange_val_32_acq): Likewise.
14008         (atomic_exchange_and_add): Fix gUSA sequence.
14009         (atomic_add): Likewise.
14010         (atomic_add_negative): Likewise.
14011         (atomic_add_zero): Likewise.
14012         (atomic_bit_test_set): Likewise.
14014 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14016         [BZ #13579]
14017         * include/link.h (struct link_map): Add l_free_initfini.
14018         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14019         l_initfini.
14020         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14021         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14022         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14023         set.
14025 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14027         * configure.in: Use AC_LANG_SOURCE.
14028         * configure: Regenerate.
14030 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14032         * configure.in (libc_cv_localstatedir): New substituted variable.
14033         * configure: Regenerated.
14034         * config.make.in (localstatedir): New variable, substituted from
14035         libc_cv_localstatedir.
14036         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14037         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14038         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14039         * sysdeps/gnu/configure: Regenerated.
14041 2012-06-21  Jeff Law  <law@redhat.com>
14043         [BZ #14277]
14044         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14045         free.  Simplify list management for _LIBC case.
14047 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14049         [BZ #14273]
14050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14051         Clear sign bit of 64-bit integer value before comparing against
14052         overflow value.
14054         * sysdeps/mach/configure: Regenerated.
14056 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14058         [BZ #14278]
14059         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14061 2012-06-21  Jeff Law  <law@redhat.com>
14063         [BZ #13882]
14064         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14065         uint16_t for elements in the "seen" array to avoid char overflows.
14066         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14067         * elf/dl-open.c (dl_open_worker): Likewise.
14069 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14071         * scripts/list-sources.sh: Scan PORTS for translations.
14072         * po/libc.pot: Regenerated.
14074 2012-06-21  Andreas Jaeger  <aj@suse.de>
14076         [BZ #12194]
14077         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14078         warning.
14079         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14080         * bits/byteswap-16.h (__bswap_16): Likewise.
14081         * bits/byteswap.h (__bswap_constant_16): Likewise.
14083 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14085         [BZ #14117]
14086         * sysdeps/i386/fpu_control.h: Removed.
14087         * sysdeps/x86_64/fpu_control.h: Moved to ...
14088         * sysdeps/x86/fpu_control.h: Here.
14090         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14091         (_FPU_SETCW): Likewise.
14093 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
14095         [BZ #14117]
14096         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14097         * sysdeps/x86/fpu/bits/mathinline.h: This.
14098         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14100         [BZ #14050]
14101         [BZ #14117]
14102         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14103         functions if __x86_64__ is defined.
14105 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
14107         * string/endian.h: Add !__ASSEMBLER__ condition for including
14108         conversion interfaces.
14110 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
14112         [BZ #14241]
14113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14114         of ABS(x) in calculating zero to negative powers other than odd
14115         integers.
14116         * math/libm-test.inc (pow_test): Add more tests.
14118 2012-06-15  Andreas Jaeger  <aj@suse.de>
14120         * manual/contrib.texi (Contributors): Update entry of Liubov
14121         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14122         Machado Filho.
14124 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
14126         * string/string.h: Add __wur to GNU version of strerror_r.
14128 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
14130         [BZ #14229]
14131         * string/Makefile (tests): Add tst-strtok_r.
14132         * string/tst-strtok_r.c: New file.
14133         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14134         RAX_LP/RDX_LP on SAVE_PTR.
14136 2012-06-14  Roland McGrath  <roland@hack.frob.com>
14138         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14140 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
14142         * libm_test.inc (csqrt_test): Allow more spurious underflow
14143         exceptions.
14144         (j0_test): Likewise.
14145         (j1_test): Likewise.
14146         (y0_test): Likewise.
14147         (y1_test): Likewise.
14149 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
14151         * po/Makefile (libc.pot): Use UTF-8 charset.
14153 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
14155         [BZ #14210]
14156         Suppress sign-conversion warning from FD_SET.
14157         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14158         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14159         not unsigned long int.
14160         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14162 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
14164         [BZ #14050]
14165         [BZ #14117]
14166         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14167         __extern_always_inline instead of __extern_inline.
14168         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14169         (__signbit): Likewise.
14170         (__signbitl): Support C++ namespace.
14171         (lrintf): New inline function.
14172         (lrint): Likewise.
14173         (llrintf): Likewise.
14174         (llrint): Likewise.
14175         (fmaxf): Likewise.
14176         (fmax): Likewise.
14177         (fminf): Likewise.
14178         (fmin): Likewise.
14179         (rint): Likewise.
14180         (rintf): Likewise.
14181         (ceil): Likewise.
14182         (ceilf): Likewise.
14183         (floor): Likewise.
14184         (floorf): Likewise.
14185         (nearbyint): Likewise.
14186         (nearbyintf): Likewise.
14188 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
14190         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14191         non-default versions.
14193 2012-06-11  Roland McGrath  <roland@hack.frob.com>
14195         [BZ #14218]
14196         * manual/argp.texi (Argp): Reword argp_parse description slightly.
14198 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
14200         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14201         (FE_UPWARD, FE_DOWNWARD): Don't define.
14202         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14203         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14205         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14206         reading it.
14207         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14208         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14210 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14212         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14214         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14215         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14217 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14219         [BZ #14117]
14220         * sysdeps/i386/fpu/bits/fenv.h: Removed.
14221         * sysdeps/i386/fpu/Implies: New file.
14222         * sysdeps/x86_64/fpu/Implies: Likewise.
14223         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14224         * sysdeps/x86/fpu/bits/fenv.h: This.
14226         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14227         __SSE_MATH__.
14229 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14231         [BZ #14134]
14232         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14233         character 0xffff that matches the last element of the
14234         conversion table.
14236 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14238         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14239         fmodl commit.
14241 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14243         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14244         values higher than 25.6283.
14246 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14248         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14249         subnormal exponent extraction and add some __builtin_expect.
14250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14251         Fix for subnormal mantissa calculation.
14253 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
14255         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14256         cpu2 is -1 and errno is not ENOSYS.
14258 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
14260         [BZ #14117]
14261         * sysdeps/i386/i486/bits/string.h: Renamed to ...
14262         * sysdeps/x86/bits/string.h: This.
14263         * sysdeps/x86_64/bits/string.h: Removed.
14265         * sysdeps/i386/i486/bits/string.h: Define inline functions only
14266         if not compiling for x86-64, but compiling for >= i486.
14268         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14269         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14271         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14272         New macro from Linux kernel 3.4.0.
14273         (FP_XSTATE_MAGIC2): Likewise.
14274         (FP_XSTATE_MAGIC2_SIZE): Likewise.
14275         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14276         (struct _fpx_sw_bytes): New struct.
14277         (struct _xsave_hdr): Likewise.
14278         (struct _ymmh_state): Likewise.
14279         (struct _xstate): Likewise.
14281         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14282         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14283         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14284         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14285         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14286         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14288         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14289         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14290         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14291         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14292         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14293         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14295 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14297         [BZ #13743]
14298         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14299         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14300         (sysdep_headers): Include sys/platform/ppc.h.
14301         * sysdeps/powerpc/test-gettimebase.c: Test for
14302         __ppc_get_timebase() to catch future ISA opcode/insn changes.
14303         * manual/Makefile (appendices): Include platform.texi.
14304         * manual/contrib.texi (Contributors): Update @node pointers.
14305         * manual/maint.texi (Maintenance): Likewise.
14306         (Platform): New node.
14307         * manual/platform.texi: New file.  Document the new features.
14309 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14310             Jakub Jelinek  <jakub@redhat.com>
14312         [BZ #14188]
14313         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14314         where __builtin_expect is unavailable.
14316 2012-06-03  David S. Miller  <davem@davemloft.net>
14318         * stdlib/longlong.h: Updated from GCC.
14320 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
14322         [BZ #14042]
14323         * sysdeps/powerpc/powerpc32/mcount.c: New file.
14324         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14325         __mcount_internal.
14326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14327         (GLIBC_2.16): Likewise.
14329 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14333 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14336         (default-abi): New variable.
14337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14338         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14339         variable.
14340         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14341         Likewise.
14342         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14343         Likewise.
14344         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14345         Likewise.
14347         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14348         definition.  Document in comment.
14350 2012-06-01  David S. Miller  <davem@davemloft.net>
14352         * stdlib/longlong.h: Updated from GCC.
14354 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14356         [BZ #14117]
14357         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14358         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14359         sys/debugreg.h sys/io.h here.
14360         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14361         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14362         sys/io.h.
14363         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14364         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14365         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14366         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14367         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14368         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14370         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14371         Define only if __x86_64__ is defined.
14373 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14375         [BZ #14048]
14376         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14377         Use int64_t for variable i.
14378         * math/libm-test.inc (fmod_test): Add more tests.
14380         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14381         z computation is not scheduled after fetestexcept.
14382         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14383         Use math_force_eval instead of asm to ensure calculation scheduled
14384         before exception test.
14385         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14386         Ensure a1 + u.d computation is not scheduled after fetestexcept.
14388 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
14390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14391         computation is not scheduled after fetestexcept.
14393 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14395         [BZ #14117]
14396         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14397         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14399 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14401         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14402         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14404 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14406         [BZ #14117]
14407         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14408         <bits/wordsize.h>.
14409         (__WCHAR_MIN): Support __WORDSIZE == 64.
14410         (__WCHAR_MAX): Likewise.
14412         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14415         [BZ #14183]
14416         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14417         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14419         [BZ #14117]
14420         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14421         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14423         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14424         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14426         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14427         Defined to 1 if __x86_64__ isn't defined.
14428         (_STAT_VER_LINUX_OLD): New.
14429         (st_atime): Remove duplicate.
14430         (st_mtime): Likewise.
14431         (st_ctime): Likewise.
14433 2012-05-31  David S. Miller  <davem@davemloft.net>
14435         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14436         entries.
14438 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
14440         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14441         gen-libm-test.pl.
14443         [BZ #14132]
14444         * elf/dl-reloc.c: Include <_itoa.h>.
14445         (_dl_reloc_bad_type): Remove use of INTUSE.
14446         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14447         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14448         * stdio-common/psiginfo.c (psiginfo): Likewise.
14449         * stdio-common/psignal.c (psignal): Likewise.
14450         * string/strsignal.c (strsignal): Likewise.
14451         * include/signal.h (_sys_siglist): Declare hidden proto.
14452         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
14453         INTVARDEF with libc_hidden_data_def.
14454         * stdio-common/itoa-udigits.c: Likewise.
14455         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14456         (_itoa_lower_digits_internal): Remove declaration.
14457         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14458         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14459         (_sys_sigabbrev_internal): Remove aliases.
14460         (_sys_siglist): Define hidden alias.
14462 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
14464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14465         bits/sysctl.h.
14467 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14469         [BZ #14117]
14470         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14471         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14473         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14474         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14475         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14476         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14478         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14480         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14481         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14482         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14484         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14485         with __addr.
14486         (insw): Likewise.
14487         (insl): Likewise.
14488         (outsb): Likewise.
14489         (outsw): Likewise.
14490         (outsl): Likewise.
14492         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14493         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14494         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14496         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14497         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14498         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14499         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14500         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14501         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14503         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14504         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14506         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14507         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14509         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14511         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14513         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14514         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14515         to ...
14516         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14518         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14519         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14520         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14522         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14523         for x86-64.
14524         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14526 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
14528         * math/math.h (M_El): Use two more decimal places.
14529         (M_LOG2El): Likewise.
14530         (M_LOG10El): Likewise.
14531         (M_LN2l): Likewise.
14532         (M_LN10l): Likewise.
14533         (M_PIl): Likewise.
14534         (M_PI_2l): Likewise.
14535         (M_PI_4l): Likewise.
14536         (M_1_PIl): Likewise.
14537         (M_2_PIl): Likewise.
14538         (M_2_SQRTPIl): Likewise.
14539         (M_SQRT2l): Likewise.
14540         (M_SQRT1_2l): Likewise.
14542 2012-05-31  David S. Miller  <davem@davemloft.net>
14544         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14545         values between float registers.
14546         * sysdeps/sparc/sparc64/memset.S: Likewise.
14547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14549 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
14551         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14552         -D_FORTIFY_SOURCE=1.
14553         (CPPFLAGS-tst-longjmp_chk.c): Define.
14554         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14555         (CPPFLAGS-tst-longjmp_chk2.c): Define.
14556         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14557         CFLAGS-tst-wchar-h.c.
14559 2012-05-31  Marek Polacek  <polacek@redhat.com>
14561         [BZ #14132]
14562         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14563         __endmntent_internal): Remove declaration.
14564         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14565         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14566         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14568 2012-05-30  David S. Miller  <davem@davemloft.net>
14570         * sysdeps/sparc/sparc32/soft-fp/q_util.c
14571         (___Q_simulate_exceptions): Use real FP ops rather than writing
14572         into the %fsr.
14573         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14574         Likewise.
14576 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14578         [BZ #14117]
14579         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14580         * sysdeps/x86/bits/xtitypes.h: This.
14582         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14583         * sysdeps/x86/bits/wordsize.h: This.
14585         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14586         * sysdeps/x86/bits/huge_vall.h: This.
14588         * sysdeps/i386/bits/select.h: Removed.
14589         * sysdeps/x86_64/bits/select.h: Renamed to ...
14590         * sysdeps/x86/bits/select.h: This.
14592         * sysdeps/i386/bits/setjmp.h: Removed.
14593         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14594         * sysdeps/x86/bits/setjmp.h: This.
14596         * sysdeps/i386/bits/mathdef.h: Removed.
14597         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14598         * sysdeps/x86/bits/mathdef.h: This.
14600 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
14602         [BZ #14132]
14603         * include/sys/socket.h (__connect_internal)
14604         (__libc_sa_len_internal): Remove declaration.
14605         (__connect, __libc_sa_len): Declare hidden_proto.
14606         (SA_LEN): Remove use of INTUSE.
14607         * socket/connect.c: Add libc_hidden_def.
14608         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14609         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14610         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14611         alias.
14612         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14613         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14614         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14615         of adding _internal alias.
14617 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14619         [BZ #14117]
14620         * sysdeps/i386/bits/link.h: Removed.
14621         * sysdeps/i386/bits/linkmap.h: Likewise.
14622         * sysdeps/x86_64/bits/link.h: Renamed to ...
14623         * sysdeps/x86/bits/link.h: This.
14624         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14625         * sysdeps/x86/bits/linkmap.h: This.
14627         * sysdeps/i386/bits/endian.h: Removed.
14628         * sysdeps/x86_64/bits/endian.h: Renamed to ...
14629         * sysdeps/x86/bits/endian.h: This.
14631         * sysdeps/i386/bits/byteswap.h: Removed.
14632         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14633         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14634         * sysdeps/x86/bits/byteswap.h: This.
14635         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14636         * sysdeps/x86/bits/byteswap-16.h: This.
14637         * sysdeps/i386/Implies: Add x86.
14638         * sysdeps/x86_64/Implies: Likewise.
14640 2012-05-30  David S. Miller  <davem@davemloft.net>
14642         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14643         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14644         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14645         (FP_TRAPPING_EXCEPTIONS): Define.
14646         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14647         (FP_TRAPPING_EXCEPTIONS): Define.
14648         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14649         subnormals only when inexact has been signalled or underflow
14650         exceptions are enabled.
14651         (_FP_PACK_CANONICAL): Likewise.
14653 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14655         [BZ #14183]
14656         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14657         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14659 2012-05-30  Richard Henderson  <rth@twiddle.net>
14661         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14662         with #ifndef NOT_IN_libc.
14664         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
14665         marked to avoid plt entry.
14667 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14669         [BZ #14112]
14670         * Makeconfig (default-abi): New macro.
14671         (abi-includes): Likewise.
14672         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
14673         $(abi-$(default-abi)-lib-soname) for soname if defined.
14674         ($(common-objpfx)gnu/lib-names.stmp): Generate from
14675         abi-variants.
14676         * Makefile (installed-stubs): Likewise.
14677         * include/stubs-biarch.h: Removed.
14678         * scripts/lib-names.awk: Only handle one library at a time.
14679         * scripts/soversions.awk: Remove WORDSIZE support.
14680         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14681         entries.
14682         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14683         Removed.
14684         (syscall-list-default-condition): Likewise.
14685         (syscall-list-default-condition): Likewise.
14686         (syscall-list-includes): Likewise.
14687         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14688         syscall-list-* with abi-*.  Handle undefined abi-variants.
14689         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14690         * sysdeps/unix/sysv/linux/i386/Implies: New file.
14691         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14692         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14693         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14694         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14695         Removed.
14696         (syscall-list-32-options): Likewise.
14697         (syscall-list-32-condition): Likewise.
14698         (syscall-list-64-options): Likewise.
14699         (syscall-list-64-condition): Likewise.
14700         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14701         macro.
14702         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14703         Renamed to ...
14704         (abi-*): This.
14705         (abi-64-ld-soname): New macro.
14706         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14707         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14708         Renamed to ...
14709         (abi-*): This.
14710         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14711         * sysdeps/x86_64/x32/shlib-versions: Likewise.
14713 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
14715         * sysdeps/unix/sysv/linux/kernel-features.h
14716         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14717         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14718         include <kernel-features.h>.
14719         [!__NR_ftruncate64]: Remove conditional code.
14720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14721         [__NR_ftruncate64]: Make code unconditional.
14722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14723         * sysdeps/unix/sysv/linux/truncate64.c: Do not
14724         include <kernel-features.h>.
14725         [!__NR_ftruncate64]: Remove conditional code.
14726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14727         [__NR_ftruncate64]: Make code unconditional.
14728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14730         include <kernel-features.h>.
14731         [!__NR_ftruncate64]: Remove conditional code.
14732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14733         [__NR_ftruncate64]: Make code unconditional.
14734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14736         include <kernel-features.h>.
14737         [!__NR_ftruncate64]: Remove conditional code.
14738         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14739         [__NR_ftruncate64]: Make code unconditional.
14740         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14742         * configure.in (libc_cv_fpie): Weaken to a compile test using
14743         LIBC_TRY_CC_OPTION.
14744         * configure: Regenerated.
14746 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14752         Refreshed.
14753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14759         Refreshed.
14761 2012-05-27  David S. Miller  <davem@davemloft.net>
14763         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14764         (___Q_zero): New.
14765         (__Q_simulate_exceptions): Return void.  Change to simulate
14766         exceptions by writing into the %fsr.
14767         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14768         (__Qp_handle_exceptions): Likewise.
14769         (numbers): Delete.
14770         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14771         __Qp_handle_exceptions.
14772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14773         __Qp_handle_exceptions.
14774         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14775         as unused and give dummy FP_RND_NEAREST initializer.
14776         (FP_INHIBIT_RESULTS): Define.
14777         (___Q_simulate_exceptions): Update declaration.
14778         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14779         formatting.
14780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14781         as unused and give dummy FP_RND_NEAREST initializer.
14782         (__Qp_handle_exceptions): Update declaration.
14783         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14784         formatting.
14786 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
14788         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14789         the temporary FPU control word.
14790         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14791         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14792         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14793         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14794         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14795         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14796         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14797         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14798         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14799         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14800         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14802 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14804         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14805         fields.
14807 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
14809         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14810         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14811         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14812         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14813         Likewise.
14814         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14815         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14816         Likewise.
14818 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
14820         * po/h.po: Update from translation team.
14822 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
14824         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14826         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14827         handling of denormals.
14828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14829         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14830         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14835         Likewise.
14837 2012-05-26  Marek Polacek  <polacek@redhat.com>
14839         [BZ #14152]
14840         * math/libm-test.inc (fma_test): Don't always expect underflow
14841         exception.
14843 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14845         [BZ #12416]
14846         * elf/tst-execstack.c: Include stackinfo.h.
14847         (do_test): Adjust test case to ensure that pthread_getattr_np
14848         behaviour remains the same after marking stack executable.
14850 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14852         * sysdeps/unix/sysv/linux/kernel-features.h
14853         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14854         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14855         kernel-features.h.
14856         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14857         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14858         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14859         kernel-features.h.
14860         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14861         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14863 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
14865         * configure.in: Define the default includes to being none.
14866         * configure: Regenerated.
14868 2012-05-25  Roland McGrath  <roland@hack.frob.com>
14870         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14871         * sysdeps/x86_64/setjmp.S: Likewise.
14872         * sysdeps/i386/bsd-setjmp.S: Likewise.
14873         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14874         * sysdeps/i386/setjmp.S: Likewise.
14875         * sysdeps/i386/__longjmp.S: Likewise.
14876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14877         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14879         * include/stap-probe.h: New file.
14880         * configure.in: Handle --enable-systemtap.
14881         * configure: Regenerated.
14882         * config.h.in (USE_STAP_PROBE): New #undef.
14883         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14884         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14885         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14887 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14889         [BZ #13717]
14890         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14891         to 2.4.0 where earlier.
14892         * sysdeps/unix/sysv/linux/configure: Regenerated.
14893         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14894         <kernel-features.h>.
14895         [__ASSUME_32BITUIDS]: Make code unconditional.
14896         [!__ASSUME_32BITUIDS]: Remove conditional code.
14897         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14898         <kernel-features.h>.
14899         [__ASSUME_32BITUIDS]: Make code unconditional.
14900         [!__ASSUME_32BITUIDS]: Remove conditional code.
14901         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14902         [__ASSUME_32BITUIDS]: Make code unconditional.
14903         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14904         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14905         <kernel-features.h>.
14906         [__ASSUME_32BITUIDS]: Make code unconditional.
14907         [!__ASSUME_32BITUIDS]: Remove conditional code.
14908         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14909         <kernel-features.h>.
14910         [__ASSUME_32BITUIDS]: Make code unconditional.
14911         [!__ASSUME_32BITUIDS]: Remove conditional code.
14912         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14913         <kernel-features.h>.
14914         [__ASSUME_32BITUIDS]: Make code unconditional.
14915         [!__ASSUME_32BITUIDS]: Remove conditional code.
14916         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14917         <kernel-features.h>.
14918         [__ASSUME_32BITUIDS]: Make code unconditional.
14919         [!__ASSUME_32BITUIDS]: Remove conditional code.
14920         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14921         <kernel-features.h>.
14922         [__ASSUME_32BITUIDS]: Make code unconditional.
14923         [!__ASSUME_32BITUIDS]: Remove conditional code.
14924         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14925         <kernel-features.h>.
14926         [__ASSUME_32BITUIDS]: Make code unconditional.
14927         [!__ASSUME_32BITUIDS]: Remove conditional code.
14928         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14929         <kernel-features.h>.
14930         [__ASSUME_32BITUIDS]: Make code unconditional.
14931         [!__ASSUME_32BITUIDS]: Remove conditional code.
14932         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14933         <kernel-features.h>.
14934         [__ASSUME_32BITUIDS]: Make code unconditional.
14935         [!__ASSUME_32BITUIDS]: Remove conditional code.
14936         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14937         <kernel-features.h>.
14938         [__ASSUME_32BITUIDS]: Make code unconditional.
14939         [!__ASSUME_32BITUIDS]: Remove conditional code.
14940         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14941         <kernel-features.h>.
14942         [__ASSUME_32BITUIDS]: Make code unconditional.
14943         [!__ASSUME_32BITUIDS]: Remove conditional code.
14944         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14945         <kernel-features.h>.
14946         [__NR_setresgid] (__setresgid): Do not declare.
14947         [__ASSUME_32BITUIDS]: Make code unconditional.
14948         [!__ASSUME_32BITUIDS]: Remove conditional code.
14949         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14950         <kernel-features.h>.
14951         [__NR_setresuid] (__setresuid): Do not declare.
14952         [__ASSUME_32BITUIDS]: Make code unconditional.
14953         [!__ASSUME_32BITUIDS]: Remove conditional code.
14954         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14955         <kernel-features.h>.
14956         [__ASSUME_32BITUIDS]: Make code unconditional.
14957         [!__ASSUME_32BITUIDS]: Remove conditional code.
14958         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14959         <kernel-features.h>.
14960         [__ASSUME_32BITUIDS]: Make code unconditional.
14961         [!__ASSUME_32BITUIDS]: Remove conditional code.
14962         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14963         <kernel-features.h>.
14964         [__ASSUME_32BITUIDS]: Make code unconditional.
14965         [!__ASSUME_32BITUIDS]: Remove conditional code.
14966         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14967         <kernel-features.h>.
14968         [__ASSUME_32BITUIDS]: Make code unconditional.
14969         [!__ASSUME_32BITUIDS]: Remove conditional code.
14970         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14971         <kernel-features.h>.
14972         [__ASSUME_32BITUIDS]: Make code unconditional.
14973         [!__ASSUME_32BITUIDS]: Remove conditional code.
14974         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14975         <kernel-features.h>.
14976         [__ASSUME_32BITUIDS]: Make code unconditional.
14977         [!__ASSUME_32BITUIDS]: Remove conditional code.
14978         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14979         <kernel-features.h>.
14980         [__ASSUME_32BITUIDS]: Make code unconditional.
14981         [!__ASSUME_32BITUIDS]: Remove conditional code.
14982         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14983         <kernel-features.h>.
14984         [__ASSUME_32BITUIDS]: Make code unconditional.
14985         [!__ASSUME_32BITUIDS]: Remove conditional code.
14986         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14987         <kernel-features.h>.
14988         [__ASSUME_32BITUIDS]: Make code unconditional.
14989         [!__ASSUME_32BITUIDS]: Remove conditional code.
14990         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14991         <kernel-features.h>.
14992         [__ASSUME_32BITUIDS]: Make code unconditional.
14993         [!__ASSUME_32BITUIDS]: Remove conditional code.
14994         * sysdeps/unix/sysv/linux/kernel-features.h
14995         (__ASSUME_SETRESUID_SYSCALL): Remove.
14996         (__ASSUME_SETRESGID_SYSCALL): Likewise.
14997         (__ASSUME_32BITUIDS): Likewise.
14998         (__ASSUME_LDT_WORKS): Likewise.
14999         (__ASSUME_O_DIRECTORY): Likewise.
15000         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15001         architecture but not kernel version.
15002         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15003         (__ASSUME_MMAP2_SYSCALL): Likewise.
15004         (__ASSUME_STAT64_SYSCALL): Likewise.
15005         (__ASSUME_IPC64): Likewise.
15006         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15007         <kernel-features.h>.
15008         [__ASSUME_32BITUIDS]: Make code unconditional.
15009         [!__ASSUME_32BITUIDS]: Remove conditional code.
15010         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15011         <kernel-features.h>.
15012         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15013         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15014         132096]: Remove conditional code.
15015         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15016         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15017         <kernel-features.h>.
15018         [__ASSUME_32BITUIDS]: Make code unconditional.
15019         [!__ASSUME_32BITUIDS]: Remove conditional code.
15020         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15021         <kernel-features.h>.
15022         [__ASSUME_32BITUIDS]: Make code unconditional.
15023         [!__ASSUME_32BITUIDS]: Remove conditional code.
15024         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15025         <kernel-features.h>.
15026         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15027         unconditional.
15028         (__setresgid): Do not declare.
15029         [__ASSUME_32BITUIDS]: Make code unconditional.
15030         [!__ASSUME_32BITUIDS]: Remove conditional code.
15031         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15032         <kernel-features.h>.
15033         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15034         unconditional.
15035         (__setresuid): Do not declare.
15036         [__ASSUME_32BITUIDS]: Make code unconditional.
15037         [!__ASSUME_32BITUIDS]: Remove conditional code.
15038         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15039         <kernel-features.h>.
15040         [__ASSUME_32BITUIDS]: Make code unconditional.
15041         [!__ASSUME_32BITUIDS]: Remove conditional code.
15042         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15043         <kernel-features.h>.
15044         [__ASSUME_32BITUIDS]: Make code unconditional.
15045         [!__ASSUME_32BITUIDS]: Remove conditional code.
15047 2012-05-25  Richard Henderson  <rth@twiddle.net>
15049         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15050         dl_hwcap to ifunc resolver.
15051         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15052         elf_ifunc_invoke.
15053         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15054         dl_hwcap to ifunc resolver.
15055         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15057 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15059         [BZ #14153]
15060         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15061         for |x| <= 2**-26, not 2**-57.
15062         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15063         exception.
15065 2012-05-24  Jeff Law  <law@redhat.com>
15067         * stdio-common/Makefile (tests): Add bug25.
15068         * stdio-common/bug25.c: New test.
15070 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15072         [BZ #13576]
15073         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15074         multiple of MALLOC_ALIGNMENT in size.
15075         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15077 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15079         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15080         Require >= 256.
15081         (FILENAME_MAX): Use macro-int-constant.
15082         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15083         (_IOFBF): Use macro-int-constant.
15084         (_IOLBF): Likewise.
15085         (_IONBF): Likewise.
15086         (SEEK_CUR): Likewise.
15087         (SEEK_END): Likewise.
15088         (SEEK_SET): Likewise.
15089         (TMP_MAX): Likewise.
15090         (EOF): Use macro-int-constant.  Require < 0.
15091         (NULL): Use macro-constant.  Require == 0.
15092         (stdin): Require type to be FILE *.
15093         (stdout): Likewise.
15094         (stderr): Likewise.
15095         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15096         macro-int-constant.
15097         (EXIT_SUCCESS): Likewise.
15098         (NULL): Use macro-constant.  Require == 0.
15099         (RAND_MAX): Use macro-int-constant.
15100         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15101         [C99-based standards] (strtof): Require function.
15102         [C99-based standards] (strtold): Likewise.
15103         [C99-based standards] (strtoll): Likewise.
15104         [C99-based standards] (strtoull): Likewise.
15105         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15106         [ISO || ISO99 || ISO11] (limits.h): Likewise.
15107         [ISO || ISO99 || ISO11] (math.h): Likewise.
15108         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15109         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15110         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15112 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
15114         [BZ #14132]
15115         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15116         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15117         * intl/dgettext.c (DCGETTEXT): Likewise.
15118         * intl/gettext.c (DCGETTEXT): Likewise.
15119         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15120         * posix/regex_internal.h (gettext): Likewise.
15121         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15122         Remove declaration.
15123         * include/argz.h (__argz_count_internal)
15124         (__argz_stringify_internal): Remove declaration.
15125         (__argz_count, __argz_stringify): Declare hidden proto.
15126         * intl/dcgettext.c: Remove use of INTDEF.
15127         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15128         * string/argz-stringify.c: Likewise.
15129         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15130         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15131         Declare hidden proto.
15132         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15133         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15134         Declare hidden proto.
15135         * include/stdio.h (__asprintf_internal): Don't declare.
15136         (__asprintf): Don't define as macro.  Declare hidden proto.
15137         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15138         (__fsetlocking): Declare hidden proto.
15139         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15140         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15141         hidden proto.
15142         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15143         (_IO_setlinebuf): Remove use of INTUSE.
15144         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15145         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15146         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15147         Remove declaration.
15148         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15149         (_IO_do_flush): Remove use of INTUSE.
15150         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15151         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15152         (_IO_adjust_column, _IO_least_wmarker)
15153         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15154         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15155         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15156         (_IO_default_doallocate, _IO_wdefault_doallocate)
15157         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15158         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15159         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15160         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15161         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15162         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15163         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15164         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15165         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15166         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15167         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15168         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15169         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15170         proto.
15171         (_IO_flush_all_internal, _IO_adjust_column_internal)
15172         (_IO_default_uflow_internal, _IO_default_finish_internal)
15173         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15174         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15175         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15176         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15177         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15178         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15179         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15180         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15181         (_IO_file_close_internal, _IO_file_close_it_internal)
15182         (_IO_file_underflow_internal, _IO_file_overflow_internal)
15183         (_IO_file_init_internal, _IO_file_attach_internal)
15184         (_IO_file_fopen_internal, _IO_file_read_internal)
15185         (_IO_file_sync_internal, _IO_file_seek_internal)
15186         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15187         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15188         (_IO_str_underflow_internal, _IO_str_overflow_internal)
15189         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15190         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15191         (_IO_list_all_internal, _IO_link_in_internal)
15192         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15193         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15194         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15195         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15196         (_IO_do_write_internal, _IO_padn_internal)
15197         (_IO_getline_info_internal, _IO_getline_internal)
15198         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15199         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15200         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15201         (_IO_vfscanf_internal, _IO_vfprintf_internal)
15202         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15203         (_IO_init_internal, _IO_un_link_internal): Don't declare.
15204         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15205         with libc_hidden_ver, remove use of INTUSE.
15206         * libio/genops.c: Likewise.
15207         * libio/freopen.c: Likewise.
15208         * libio/freopen64.c: Likewise.
15209         * libio/iofclose.c: Likewise.
15210         * libio/iofdopen.c: Likewise.
15211         * libio/iofflush.c: Likewise.
15212         * libio/iofflush_u.c: Likewise.
15213         * libio/iofgets.c: Likewise.
15214         * libio/iofgets_u.c: Likewise.
15215         * libio/iofopen.c: Likewise.
15216         * libio/iofopncook.c: Likewise.
15217         * libio/iofread.c: Likewise.
15218         * libio/iofread_u.c: Likewise.
15219         * libio/ioftell.c: Likewise.
15220         * libio/iofwrite.c: Likewise.
15221         * libio/iogetline.c: Likewise.
15222         * libio/iogets.c: Likewise.
15223         * libio/iogetwline.c: Likewise.
15224         * libio/iopadn.c: Likewise.
15225         * libio/iopopen.c: Likewise.
15226         * libio/ioseekoff.c: Likewise.
15227         * libio/ioseekpos.c: Likewise.
15228         * libio/iosetbuffer.c: Likewise.
15229         * libio/iosetvbuf.c: Likewise.
15230         * libio/ioungetc.c: Likewise.
15231         * libio/ioungetwc.c: Likewise.
15232         * libio/iovdprintf.c: Likewise.
15233         * libio/iovsprintf.c: Likewise.
15234         * libio/iovsscanf.c: Likewise.
15235         * libio/memstream.c: Likewise.
15236         * libio/obprintf.c: Likewise.
15237         * libio/oldfileops.c: Likewise.
15238         * libio/oldiofclose.c: Likewise.
15239         * libio/oldiofdopen.c: Likewise.
15240         * libio/oldiofopen.c: Likewise.
15241         * libio/oldiopopen.c: Likewise.
15242         * libio/oldstdfiles.c: Likewise.
15243         * libio/putc.c: Likewise.
15244         * libio/setbuf.c: Likewise.
15245         * libio/setlinebuf.c: Likewise.
15246         * libio/stdfiles.c: Likewise.
15247         * libio/strops.c: Likewise.
15248         * libio/vasprintf.c: Likewise.
15249         * libio/vscanf.c: Likewise.
15250         * libio/vsnprintf.c: Likewise.
15251         * libio/vswprintf.c: Likewise.
15252         * libio/wfiledoalloc.c: Likewise.
15253         * libio/wfileops.c: Likewise.
15254         * libio/wgenops.c: Likewise.
15255         * libio/wmemstream.c: Likewise.
15256         * libio/wstrops.c: Likewise.
15257         * libio/__fpurge.c: Likewise.
15258         * libio/__fsetlocking.c: Likewise.
15259         * assert/assert.c: Likewise.
15260         * debug/fgets_chk.c: Likewise.
15261         * debug/fgets_u_chk.c: Likewise.
15262         * debug/fread_chk.c: Likewise.
15263         * debug/fread_u_chk.c: Likewise.
15264         * debug/gets_chk.c: Likewise.
15265         * debug/obprintf_chk.c: Likewise.
15266         * debug/vasprintf_chk.c: Likewise.
15267         * debug/vdprintf_chk.c: Likewise.
15268         * debug/vsnprintf_chk.c: Likewise.
15269         * debug/vsprintf_chk.c: Likewise.
15270         * malloc/mtrace.c: Likewise.
15271         * misc/error.c: Likewise.
15272         * misc/syslog.c: Likewise.
15273         * stdio-common/asprintf.c: Likewise.
15274         * stdio-common/fxprintf.c: Likewise.
15275         * stdio-common/getw.c: Likewise.
15276         * stdio-common/isoc99_fscanf.c: Likewise.
15277         * stdio-common/isoc99_scanf.c: Likewise.
15278         * stdio-common/isoc99_vfscanf.c: Likewise.
15279         * stdio-common/isoc99_vscanf.c: Likewise.
15280         * stdio-common/isoc99_vsscanf.c: Likewise.
15281         * stdio-common/printf-prs.c: Likewise.
15282         * stdio-common/printf_fp.c: Likewise.
15283         * stdio-common/printf_fphex.c: Likewise.
15284         * stdio-common/printf_size.c: Likewise.
15285         * stdio-common/putw.c: Likewise.
15286         * stdio-common/scanf.c: Likewise.
15287         * stdio-common/sprintf.c: Likewise.
15288         * stdio-common/tmpfile.c: Likewise.
15289         * stdio-common/vfprintf.c: Likewise.
15290         * stdio-common/vfscanf.c: Likewise.
15291         * stdlib/strfmon_l.c: Likewise.
15292         * sunrpc/openchild.c: Likewise.
15293         * sunrpc/xdr_stdio.c: Likewise.
15294         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15295         * sysdeps/mach/hurd/tmpfile.c: Likewise.
15297 2012-05-24  Roland McGrath  <roland@hack.frob.com>
15299         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15301         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15302         in the third column, to generate for the shared library an IFUNC
15303         that uses _dl_vdso_vsym.
15304         * Makerules (COMPILE.c, compile-stdin.c): New variables.
15305         * Makeconfig (object-suffixes-noshared): New variable.
15307         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15308         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15309         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15310         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15312         [BZ #14132]
15313         * include/sys/time.h (__gettimeofday): Remove macro.
15314         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15315         * time/gettimeofday.c (__gettimeofday): Remove #undef.
15316         Remove INTDEF.
15317         (__gettimeofday): Add libc_hidden_def.
15318         (gettimeofday): Add libc_hidden_weak.
15319         * sysdeps/mach/gettimeofday.c: Likewise.
15320         * sysdeps/posix/gettimeofday.c: Likewise.
15321         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15322         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15323         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15324         (__gettimeofday_internal): Remove strong_alias.
15325         (__gettimeofday): Add libc_hidden_def.
15326         (gettimeofday): Add libc_hidden_weak.
15327         * sysdeps/unix/syscalls.list (gettimeofday):
15328         Remove __gettimeofday_internal alias.
15330 2012-05-24  Daniel Jacobowitz  <drow@false.org>
15331             H.J. Lu  <hongjiu.lu@intel.com>
15333         [BZ #12495]
15334         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15335         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15336         (largebin_index_32_big): New.
15337         (largebin_index): Use it for 16-byte alignment.
15338         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
15339         correction with front_misalign.
15341 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15345         Likewise.
15346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15347         Likewise.
15348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15349         Likewise.
15350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15351         Likewise.
15352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15353         Likewise.
15354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15355         Likewise.
15356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15357         Likewise.
15358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15359         Likewise.
15360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15361         Likewise.
15362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15363         Likewise.
15364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15365         Likewise.
15366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15367         Likewise.
15369         * scripts/data/c++-types-x32-linux-gnu.data: New file.
15370         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15372 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15374         [BZ #10846]
15375         [BZ #14036]
15376         * math/libm-test.inc (exp_test): Add test from bug 14036.
15377         (pow_test): Add test from bug 10846.
15379         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15380         and other flags.
15381         (special_function): Do not include flags in test name.
15382         (parse_args): Likewise.
15383         * sysdeps/i386/fpu/libm-test-ulps: Update.
15384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15386         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389         * math/gen-libm-test.pl (%beautify): Add entries for underflow
15390         exceptions.
15391         * math/libm-test.inc ("Philosophy"): Update comment about
15392         exception testing.
15393         (UNDERFLOW_EXCEPTION): New macro.
15394         (UNDERFLOW_EXCEPTION_OK): Likewise.
15395         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15396         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15397         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15398         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15399         (INVALID_EXCEPTION_OK): Update value.
15400         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15401         (OVERFLOW_EXCEPTION_OK): Likewise.
15402         (IGNORE_ZERO_INF_SIGN): Likewise.
15403         (test_exceptions): Handle underflow exceptions.
15404         (acos_test): Update for underflow exception expectations.
15405         (cexp_test): Likewise.
15406         (clog_test): Likewise.
15407         (clog10_test): Likewise.
15408         (csqrt_test): Likewise.
15409         (ctan_test): Likewise.
15410         (ctanh_test): Likewise.
15411         (exp_test): Likewise.
15412         (exp10_test): Likewise.
15413         (exp2_test): Likewise.
15414         (expm1_test): Likewise.
15415         (fma_test): Likewise.
15416         (j0_test): Likewise.
15417         (jn_test): Likewise.
15418         (nexttoward_test): Likewise.
15419         (pow_test): Likewise.
15420         (scalbn_test): Likewise.
15421         (scalbln_test): Likewise.
15422         (tan_test): Likewise.
15423         (y1_test): Likewise.
15424         * sysdeps/i386/fpu/libm-test-ulps: Update.
15425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15427 2012-05-23  David S. Miller  <davem@davemloft.net>
15429         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15430         (__libc_sigaction): Remove unused local variables.
15432 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15434         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15436 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
15438         mktime: avoid signed integer overflow
15439         * time/mktime.c (__mktime_internal): Do not mishandle the case
15440         where diff == INT_MIN.
15442         mktime: simplify computation of average
15443         * time/mktime.c (ranged_convert): Use new time_t_avg function
15444         instead of rolling our own (probably-slower) code.
15446         mktime: do not assume signed right shift propagates sign bit
15447         * time/mktime.c (isdst_differ): New static function.
15448         (__mktime_internal): No need to normalize tm_isdst now.
15449         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15450         tm_isdst values.
15452         mktime: merge another wrapv change from gnulib
15453         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15454         from some compilers.
15456         mktime: remove incorrect attempt at unusual arithmetics
15457         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15458         The code didn't really work on such machines anyway.
15459         (TYPE_MINIMUM): Assume two's complement.
15460         (twos_complement_arithmetic): Verify that long_int and time_t
15461         are two's complement (or unsigned, in the latter case).
15463         mktime: check signed shifts on long_int and time_t, too
15464         * time/mktime.c (SHR): Check that shifts work as desired
15465         on the types long_int and time_t too, as SHR is used on
15466         such types.
15468         mktime: do not assume 'long' is wide enough
15469         * time/mktime.c (verify): Move decl up.
15470         (long_int): New type.
15471         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15472         to remove assumption in the code that 'long' is wide enough to
15473         store year values.  This assumption is not true on x32 and on
15474         some non-glibc platforms.
15476         mktime: merge wrapv change from gnulib
15477         * time/mktime.c (WRAPV): New macro.
15478         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15479         (guess_time_tm, __mktime_internal): Do not assume that signed
15480         integer overflow wraps around; modern compilers generate code
15481         where this assumption is no longer valid.
15483 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15485         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15486         Replace "jmp L(pseudo_end)" with "ret".
15487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15488         Likewise.
15490 2012-05-23  Andreas Jaeger  <aj@suse.de>
15492         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15493         * sysdeps/unix/sysv/linux/poll.c: Remove file.
15495 2012-05-23  Andreas Jaeger  <aj@suse.de>
15496             Maximilian Attems  <max@stro.at>
15498         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15499         New macros.
15501 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15503         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15504         code so that pseudo_end is just ret and the stack pointer is
15505         correct also for static library in error case.
15507 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
15509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15510         move to syscalls.list.
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15516         * manual/install.texi (Running make install): Do not mention Linux
15517         kernel version for which pt_chown is not needed.
15518         (Linux): Do not mention problems with nscd with 2.0 kernels.
15519         * INSTALL: Regenerated.
15521 2012-05-23  Andreas Jaeger  <aj@suse.de>
15523         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15524         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15525         macro.
15526         * sysdeps/unix/sysv/linux/s390/bits/mman.h
15527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15528         * sysdeps/unix/sysv/linux/sh/bits/mman.h
15529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15530         * sysdeps/unix/sysv/linux/i386/bits/mman.h
15531         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15532         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15534         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15536         * sysdeps/unix/sysv/linux/bits/in.h
15537         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15539 2012-05-22  Roland McGrath  <roland@hack.frob.com>
15541         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15542         (PREPARE_VERSION): Just use assert instead, it will be elided
15543         under [NDEBUG] anyway.
15545 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15547         * sysdeps/unix/sysv/linux/Makefile: Include
15548         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15549         (sysdep_routines): Remove sysctl.
15550         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15551         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15552         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15553         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15554         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15556 2012-05-22  Andreas Jaeger  <aj@suse.de>
15558         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15559         that pseudo_end is just ret and the stack pointer is correct also
15560         for static library in error case.
15562 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15564         [BZ #14122]
15565         * nss/nsswitch.c (defconfig_entries): New variable.
15566         (__nss_database_lookup): Don't leak defconfig entries.
15567         (nss_parse_service_list): Don't leak on error paths.
15568         (free_database_entries): New function.
15569         (free_defconfig): New function.
15570         (free_mem): Move common code to free_database_entries.
15572 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15574         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15575         Add arch_prctl.
15576         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15578         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15579         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15581         New macro.
15582         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15583         (INTERNAL_SYSCALL_TYPES): Likewise.
15584         (LOAD_ARGS_TYPES_[1-6]): Likewise.
15585         (LOAD_REGS_TYPES_[1-6]): Likewise.
15586         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15587         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15589 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15591         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15592         copysignl for GLIBC_2_0.
15593         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15594         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15596         logbl for GLIBC_2_0.
15597         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15600 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15602         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15603         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15605         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15606         Use "neg %eax".
15608         * time/mktime.c: Update copyright years.
15610 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15612         mktime: merge comment-quoting-style change from gnulib
15613         * time/mktime.c: Quote 'like this' in comments.
15614         The GNU coding standards suggest that we no longer quote `like this',
15615         as "`" and "'" are typically rendered asymmetrically nowadays.
15616         The typical gnulib style is to quote 'like this' when quoting
15617         code, and "like this" when quoting English.
15619         * time/mktime.c (compile-command): Add "-I.".
15621         mktime: merge mktime-internal.h change from gnulib
15622         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15624         mktime: merge time_r change from gnulib
15625         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15627         mktime: merge DEBUG change from gnulib
15628         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15629         case system <time.h> has a #define.
15631         mktime: merge <sys/types.h> change from gnulib
15632         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15633         since <time.t> is now guaranteed to define time_t.
15635         mktime: merge HAVE_CONFIG_H change from gnulib
15636         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15638 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15641         Use "neg %eax".
15643         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15644         __rlim_t cast.
15645         (struct rusage): Use anonymous union to pad each field to
15646         __syscall_slong_t.
15648 2012-05-21  David S. Miller  <davem@davemloft.net>
15650         * Makefules (o-iterator): Remove .s cases.
15651         (compile-command.s): Delete.
15652         (COMPILE.s): Delete.
15653         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15655 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
15657         * configure.in (libc_cv_predef_stack_protector): Only consider
15658         "foobar" and "__stack_chk_fail" lines in libc_undefs.
15659         * configure: Regenerated.
15661 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15664         New macro.  Use R*LP on int and pointer.
15665         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15666         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15667         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15668         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15670         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15671         [__WORDSIZE_TIME64_COMPAT32] instead of
15672         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15673         (struct utmp): Likewise.
15674         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15675         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15676         Renamed to ...
15677         (__WORDSIZE_TIME64_COMPAT32): This.
15678         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15679         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15680         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15681         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15682         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15683         (__WORDSIZE_TIME64_COMPAT32): New macro.
15685 2012-05-21  Andreas Jaeger  <aj@suse.de>
15687         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15688         only if [SHARED]. Add prototype for __wcschr_ia32.
15690 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15692         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15693         of %rbp unmolested in the jmp_buf while mangling the low bits.
15694         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15695         unmolested high bits of %rbp while demangling the low bits.
15696         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15698 2012-05-21  Andreas Jaeger  <aj@suse.de>
15700         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15701         * sunrpc/svc_simple.c: Use it for registerrpc.
15702         * sunrpc/xcrypt.c: Use it for passwd2des.
15704         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15706 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15708         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15709         Don't define if [__SYSCALL_WORDSIZE != 32].
15710         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15711         New macro.
15713 2012-05-21  Bruno Haible  <bruno@clisp.org>
15714             Andreas Jaeger  <aj@suse.de>
15716         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15717         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15718         inptr and inend for must_buffer_ch.
15719         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15720         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15721         * stdio-common/Makefile (tests): Remove bug15.
15722         (bug15-ENV): Remove macro.
15723         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15724         anymore.
15726 2012-05-19  Andreas Jaeger  <aj@suse.de>
15727             Roland McGrath  <roland@hack.frob.com>
15729         * manual/contrib.texi: Completely rewritten. It contains now an
15730         alphabetical list of contributors and their contributions.
15732 2012-05-21  Richard Henderson  <rth@twiddle.net>
15734         * misc/getauxval.c (__getauxval): Use unsigned long int.
15735         * misc/sys/auxv.h: Include <sys/cdefs.h>.
15736         (getauxval): Use unsigned long int.
15738 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15740         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15742 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15744         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15745         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15746         __alignof__ (long double).
15748 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15752 2012-05-20  Richard Henderson  <rth@twiddle.net>
15754         * misc/getauxval.c: New file.
15755         * misc/sys/auxv.h: New file.
15756         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15757         (routines): Add getauxval.
15758         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15759         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15760         * elf/dl-sysdep.c (_dl_auxv): Remove.
15761         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15762         * elf/dl-support.c (_dl_auxv): New variable.
15763         (_dl_aux_init): Initialize it.
15764         * manual/startup.texi (Auxiliary Vector): New node.
15765         * sysdeps/generic/bits/hwcap.h: New file.
15766         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15767         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
15768         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15769         * sysdeps/sparc/sysdep.h: ... here.  Include it.
15770         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15773         Update.
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15783 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15787 2012-05-19  David S. Miller  <davem@davemloft.net>
15789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15791 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #14123]
15794         * math/s_ccosh.c: Include <float.h>
15795         (__ccosh): Avoid internal overflow calculating sinh and cosh
15796         values before multiplying by sin and cos values.
15797         * math/s_ccoshf.c: Likewise.
15798         * math/s_ccoshl.c: Likewise.
15799         * math/s_csin.c: Likewise.
15800         * math/s_csinf.c: Likewise.
15801         * math/s_csinl.c: Likewise.
15802         * math/s_csinh.c: Likewise.
15803         * math/s_csinhf.c: Likewise.
15804         * math/s_csinhl.c: Likewise.
15805         * math/libm-test.inc (ccos_test): Add more tests.
15806         (ccosh_test): Likewise.
15807         (csin_test): Likewise.
15808         (csinh_test): Likewise.
15809         * sysdeps/i386/fpu/libm-test-ulps: Update.
15810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15814         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15815         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15817         * sysdeps/x86_64/x32/_itoa.h: Add comment.
15819 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15821         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15822         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15823         * sysdeps/powerpc/soft-fp/Versions: Likewise.
15824         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15825         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15826         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15827         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15828         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15829         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15830         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15831         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15832         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15833         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15834         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15835         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15836         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15837         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15838         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15839         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15840         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15841         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15842         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15843         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15844         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15845         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15846         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15847         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15848         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15849         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15850         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15851         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15853 2012-05-18  Andreas Jaeger  <aj@suse.de>
15855         * csu/.gitignore: Delete.
15857 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15859         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15860         (timex): Use __syscall_slong_t.
15862 2012-05-18  Andreas Jaeger  <aj@suse.de>
15863             Carlos O'Donell  <carlos_odonell@mentor.com>
15865         * manual/install.texi (Configuring and compiling): Update
15866         description about files modified in the source directory.
15867         * INSTALL: Regenerated.
15869 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15871         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15872         value.  Use "or" to set return value to -1.
15873         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15874         negate return value.
15876 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15878         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15879         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15880         failure if the compiler has Graphite support disabled.
15881         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15882         Likewise.
15883         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15884         CFLAGS-memmove.c): Likewise.
15885         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15886         Likewise.
15888 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15890         * sysdeps/x86_64/x32/_itoa.h: New file.
15892         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15893         getdents system call only if kernel and user dirents have the
15894         same d_ino and d_off.
15896         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15897         LLONG_MAX != LONG_MAX.
15898         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15899         (_fitoa_word): Likewise.
15901         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15902         years.
15903         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15904         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15905         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15907         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15908         include <bits/wordsize.h>.  Check __x86_64__ instead of
15909         __WORDSIZE.
15910         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15911         if __x86_64__ is defined.  Use anonymous union on fpstate.
15913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15914         anonymous union.
15916 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
15918         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15919         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15920         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15921         Refer to _rtld_local_ro instead of _rtld_global_ro.
15922         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15923         Likewise.
15924         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15925         Likewise.
15926         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15927         Likewise.
15928         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15929         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15930         of _rtld_global, and rtld_progname instead of _dl_argv[0].
15932         * sysdeps/powerpc/powerpc32/dl-machine.c
15933         (__elf_machine_runtime_setup) [PROF]: Don't reference
15934         _dl_prof_resolve.
15936 2012-05-18  Andreas Jaeger  <aj@suse.de>
15938         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15939         function only available for GCCs before 3.4 since GCC 3.4
15940         introduced a builtin.
15941         (lrint): Likewise.
15942         (llrintf): Likewise.
15943         (llrint): Likewise.
15944         (fmaxf): Likewise.
15945         (fmax): Likewise.
15946         (fminf): Likewise.
15947         (fmin): Likewise.
15948         (rint): Likewise.
15949         (rintf): Likewise.
15950         (nearbyint): Likewise.
15951         (nearbyintf): Likewise.
15952         (ceil): Likewise.
15953         (ceilf): Likewise.
15954         (floor): Likewise.
15955         (floorf): Likewise.
15957 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15959         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15960         on both fields and cast pointer to __syscall_ulong_t.
15962         * bits/types.h (__fsword_t): New type.
15963         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15964         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15966         (__FSWORD_T_TYPE): Likewise.
15967         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15968         (__FSWORD_T_TYPE): Likewise.
15969         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15970         (__FSWORD_T_TYPE): Likewise.
15971         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15972         (__FSWORD_T_TYPE): Likewise.
15973         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15974         __SWORD_TYPE with __fsword_t.
15975         (statfs64): Likewise.
15977 2012-05-17  David S. Miller  <davem@davemloft.net>
15979         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15981 2012-05-17  Andreas Jaeger  <aj@suse.de>
15983         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15984         warning.
15986 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15988         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15990 2012-05-17  Andreas Jaeger  <aj@suse.de>
15992         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15993         when it is used.
15995 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
15997         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15999 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16001         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16002         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16004 2012-05-17  Andreas Jaeger  <aj@suse.de>
16005             Carlos O'Donell  <carlos_odonell@mentor.com>
16007         [BZ #14059]
16008         * sysdeps/x86_64/multiarch/init-arch.h
16009         (bit_YMM_Usable): Rename to...
16010         (bit_AVX_Usable): ... this.
16011         (bit_FMA4_Usable): New macro.
16012         (bit_XMM_state): New macro.
16013         (bit_YMM_state): New macro.
16014         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16015         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16016         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16017         (CPUID_OSXSAVE): New macro.
16018         (CPUID_AVX): New macro.
16019         (CPUID_FMA4): New macro.
16020         (index_YMM_Usable): Rename to...
16021         (index_AVX_Usable): ... this.
16022         (HAS_AVX): Use HAS_ARCH_FEATURE.
16023         (HAS_FMA4): Likewise.
16024         (HAS_YMM_USABLE): Remove.
16025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16026         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16027         are present.
16028         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16029         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16030         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16031         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16032         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16034 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16036         * math/libm-test.c: Support platforms without multiple rounding modes.
16037         * math/bug-nextafter.c: Support platforms without FP exceptions.
16038         * math/bug-nexttoward.c: Likewise.
16039         * math/test-fenv.c: Likewise.
16040         * math/test-misc.c: Likewise.
16041         * stdlib/bug-getcontext.c: Likewise.
16043 2012-05-17  Andreas Jaeger  <aj@suse.de>
16045         * manual/examples/search.c (critter_cmp): Change signature to
16046         avoid warnings.
16047         * manual/string.texi (Collation Functions): Likewise.
16049 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16051         * bits/types.h: Fold copyright years.
16052         * bits/typesizes.h: Likewise.
16053         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16057         * time/time.h: Likewise.
16059 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16061         [BZ #208]
16062         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16063         in instead of returning them.  Return void.
16064         (__libc_mallinfo): Accumulate over all arenas.
16065         (__malloc_stats): Adjust for change in int_mallinfo interface.
16067 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16069         [BZ #10375]
16070         * configure.in (NM): Add AC_CHECK_TOOL for it.
16071         (libc_extra_cflags): New substituted variable.
16072         Check for -fstack-protector being used implicitly.
16073         * configure: Regenerated.
16074         * config.make.in (config-extra-cflags): New variable,
16075         gets @libc_extra_cflags@.
16076         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16078         [BZ #10375]
16079         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16080         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16081         * configure: Regenerated.
16082         * config.make.in (CPPUNDEFS): New substituted variable.
16083         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16084         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16085         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16089         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16090         (mq_attr): Use __syscall_slong_t.
16092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16094         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16095         Check __x86_64__ instead of __WORDSIZE.
16096         (_STAT_VER_LINUX): Likewise.
16097         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
16098         __syscall_ulong_t and __syscall_slong_t.
16099         (stat64): Likewise.
16101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16103         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16105 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16107         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16111         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16112         __syscall_ulong_t.
16114         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16115         include <bits/wordsize.h>.  Check __x86_64__ instead of
16116         __WORDSIZE.
16117         (greg_t): Use "__extension__ long long int" if __x86_64__ is
16118         defined.
16119         (mcontext_t): Replace "unsigned long" with "unsigned long long".
16121         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16122         include <bits/wordsize.h>.  Check __x86_64__ instead of
16123         __WORDSIZE.
16124         (user_regs_struct): Use "__extension__ unsigned long long"
16125         instead of "unsigned long" if __x86_64__ is defined.
16126         (user): Likewise.  Pad after pointer field if __ILP32__ is
16127         defined.
16129 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
16131         * configure.in (makeinfo): Require version 4.5 or later.  Allow
16132         versions 5 to 9.
16133         * configure: Regenerated.
16134         * manual/install.texi (texinfo): Increase version requirement to
16135         4.5 or later.
16136         * INSTALL: Regenerated.
16138         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16140 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16142         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16144         * sysdeps/x86_64/x32/ffs.c: New file.
16146         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16147         __syscall_ulong_t.
16148         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16149         defined.  Use __syscall_ulong_t.
16150         (shminfo): Use __syscall_ulong_t.
16151         (shm_info): Likewise.
16153         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16154         __syscall_ulong_t.
16156         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16157         <bits/wordsize.h>.
16158         (msgqnum_t): Use __syscall_ulong_t.
16159         (msglen_t): Likewise.
16160         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
16161         __syscall_ulong_t.
16163         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16164         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16166         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16168         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16169         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16171         * sysvipc/sys/msg.h (msgbuf): Replace long int with
16172         __syscall_slong_t.
16174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16175         include <bits/wordsize.h>.  Check __x86_64__ instead of
16176         __WORDSIZE.
16178         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16179         "unsigned long long int" if __x86_64__ is defined.
16180         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16182         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16183         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16184         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16186         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16187         <stdint.h>.
16188         (GET_PC): Cast to uintptr_t first.
16189         (GET_FRAME): Likewise.
16190         (GET_STACK): Likewise.
16192         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16193         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16194         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16195         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16196         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16197         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16198         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16199         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16201         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16202         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16203         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16204         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16205         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16206         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16207         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16208         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16209         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16210         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16211         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16212         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16213         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16214         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16215         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16216         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16217         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16218         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16222 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
16224         * Makerules (+depfiles): Also collect depfiles from .oS in
16225         $(extra-objs).
16226         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16227         .oS, $(libnldbl-routines)).
16229         * Makerules (native-compile-mkdep-flags): Define.
16230         * sunrpc/Makefile (extra-objs): Add $(addprefix
16231         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16232         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16233         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
16234         calling $(make-target-directory).
16236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16238         * bits/types.h (__snseconds_t): Removed.
16239         * time/time.h (struct timespec): Replace __snseconds_t with
16240         __syscall_slong_t.
16241         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16242         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16243         Likewise.
16244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16245         (__SNSECONDS_T_TYPE): Likewise.
16246         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16247         (__SNSECONDS_T_TYPE): Likewise.
16248         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16249         (__SNSECONDS_T_TYPE): Likewise.
16251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16253         * sysdeps/mach/hurd/bits/typesizes.h
16254         (__SYSCALL_SLONG_TYPE): New macro.
16255         (__SYSCALL_ULONG_TYPE): Likewise.
16257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16259         * bits/types.h (__syscall_slong_t): New type.
16260         (__syscall_ulong_t): Likewise.
16262         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16263         (__SYSCALL_ULONG_TYPE): Likewise.
16264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16265         (__SYSCALL_SLONG_TYPE): Likewise.
16266         (__SYSCALL_ULONG_TYPE): Likewise.
16267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16268         (__SYSCALL_SLONG_TYPE): Likewise.
16269         (__SYSCALL_ULONG_TYPE): Likewise.
16270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16271         (__SYSCALL_SLONG_TYPE): Likewise.
16272         (__SYSCALL_ULONG_TYPE): Likewise.
16274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16276         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16277         Add sigaltstack-offsets.sym.
16278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16279         <sigaltstack-offsets.h>.
16280         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
16281         longjmp_msg pointer.
16282         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
16283         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16284         signal stack.
16285         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16287 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16289         * elf/stackguard-macros.h: Remove file.
16290         * sysdeps/generic/stackguard-macros.h: New file.
16291         * sysdeps/i386/stackguard-macros.h: Likewise.
16292         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16293         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16294         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16295         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16296         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16297         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16298         * sysdeps/x86_64/stackguard-macros.h: Likewise.
16299         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16300         <elf/stackguard-macros.h>.
16302         [BZ #14109]
16303         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16304         __aligned__ in attribute.
16305         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16306         (gregset_t): Likewise.
16308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16310         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16311         * sysdeps/x86_64/64/Implies-after: Here.  New file.
16312         * sysdeps/x86_64/x32/Implies-after: New file.
16314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16316         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16317         and access return value for _dl_profile_fixup.  Use R10_LP to
16318         load frame size.
16320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16322         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16326         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16327         * sysdeps/x86_64/x32/sysdep.h: New file.
16329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16331         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16332         * sysdeps/x86_64/setjmp.S: Likewise.
16334 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16337         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16338         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16339         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16340         remove unused global constant.
16342 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
16344         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16345         include of <not-cancel.h>.
16347 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16349         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16351 2012-05-15  Jeff Law  <law@redhat.com>
16352             Andreas Jaeger  <aj@suse.de>
16354         [BZ #13594]
16355         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16356         out from...
16357         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16358         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16359         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16360         code changing __hst_map_handle.map.
16362 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16364         * configure.in (sysnames): Look for Implies-before and Implies-after
16365         files.
16366         * configure: Regenerated.
16368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16370         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16371         8-byte data alignment with LP_SIZE alignment.
16373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16375         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16376         into R10_LP.
16378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16380         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16384         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16385         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16386         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16387         Likewise.
16388         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16392         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16393         (stackinfo_sub_sp): Likewise.
16395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16397         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16398         RAX_LP.
16400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16403         into R*_LP.
16405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16407         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16408         sizes into R*_LP.
16410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16412         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16416         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16417         into R11_LP and load __x86_64_shared_cache_size_half into
16418         R8_LP.
16420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16423         R8_LP.
16425 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16428         logb for POWER7.
16429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16430         logbf for POWER7.
16431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16432         logbl for POWER7.
16433         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16434         powerpc32/power7/fpu/s_logb.c via #include.
16435         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16436         powerpc32/power7/fpu/s_logbf.c via #include.
16437         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16438         powerpc32/power7/fpu/s_logbl.c via #include.
16440 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16442         * README.libm: Remove file.
16444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16446         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16447         count for x32.  Use R*_LP and omit operand-size suffix.
16449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16451         * shlib-versions: Move x86_64-.*-linux.* entries to ...
16452         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
16453         * sysdeps/x86_64/x32/shlib-versions: New file.
16455 2012-05-14  Roland McGrath  <roland@hack.frob.com>
16457         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16458         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16459         Use _dl_fatal_printf instead.
16461 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
16463         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16464         set if not set by the user.  Do not allow for being unset.
16465         * sysdeps/unix/sysv/linux/configure: Regenerated.
16467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16469         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16470         the `q' suffix from lea and replace .quad with ASM_ADDR.
16472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16475         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
16476         instead of $17.
16477         (PTR_DEMANGLE): Likewise.
16479 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16481         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16482         (LP_OP): Likewise.
16483         (ASM_ADDR): Likewise.
16484         (RAX_LP): Likewise.
16485         (RBP_LP): Likewise.
16486         (RBX_LP): Likewise.
16487         (RCX_LP): Likewise.
16488         (RDI_LP): Likewise.
16489         (RSI_LP): Likewise.
16490         (RSP_LP): Likewise.
16491         (R8_LP): Likewise.
16492         (R9_LP): Likewise.
16493         (R10_LP): Likewise.
16494         (R10_LP): Likewise.
16495         (R11_LP): Likewise.
16496         (R12_LP): Likewise.
16497         (R13_LP): Likewise.
16498         (R14_LP): Likewise.
16499         (R15_LP): Likewise.
16501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16503         * sysdeps/x86_64/x32/dl-machine.h: New file.
16505 2012-05-14  Andreas Jaeger  <aj@suse.de>
16507         * manual/Makefile (subdir): Remove export of subdir.
16508         (all): Remove target.
16509         (.PHONY): Remove all from list.
16510         (mkinstalldirs): Remove.
16511         (.PHONY): Remove installdirs from list.
16512         ($(inst_infodir)/libc.info): Use make-target-directory.
16513         (installdirs): Remove.
16514         (subdir_%): Remove.
16515         (glibc-targets): Remove.
16516         (lib): Remove.
16517         (stubs): Remove.
16518         ($(objpfx)stubs ../po/manual.pot): Remove.
16519         ($(objpfx)stamp%): Remove.
16520         (make-target-directory): Remove.
16521         (subdir_install): Remove.
16522         (routines): Remove.
16523         (aux): Remove.
16524         (sources): Remove.
16525         (objects): Remove.
16526         (headers): Remove.
16528         [BZ #13750]
16529         * manual/.gitignore: Remove, it's not needed anymore.
16530         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16531         all files in it.
16532         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16533         directory.
16534         (texis): Renamed to $(objpfx)texis.
16535         (texis-path): New, contains path to generated files.
16536         (chapters.%): Use texis-path for complete path, add extra argument
16537         libc-texinfo.sh.
16538         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16539         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16540         (summary,texi, stamp-summary): Use complete path of
16541         files. Generate files in build dir.
16542         (dir-add.texi): Build in build dir.
16543         (libm-err.texi,stamp-libm-err): Likewise.
16544         (version.texi, stamp-version): Likewise.
16545         (.%c.texi): Likewise.
16546         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16547         (mostlyclean): Remove target.
16548         (realclean): Remove target.
16549         (generated): Add new variable with contents from mostlyclean and
16550         realclean, remove entries duplicated in common-mostlyclean, add
16551         stamp-libm-err and stamp-version.
16552         (generated-dirs): Add libc directory.
16553         ($(inst_infodir)/libc.info): Install files from build dir.
16555         * manual/install.texi (Configuring and compiling): Adjust since
16556         the info files are not part of the tar ball anymore.
16558 2012-05-14  Andreas Jaeger  <aj@suse.de>
16560         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16561         variable.
16563 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
16565         [BZ #13717]
16566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16567         to 2.2.0 where earlier.
16568         * sysdeps/unix/sysv/linux/configure: Regenerated.
16569         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16570         Remove conditional code.
16571         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16572         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16573         Remove conditional code.
16574         [!__NR_lchown]: Likewise.
16575         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16576         [__NR_lchown]: Likewise.
16577         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16578         comment referencing __ASSUME_LCHOWN_SYSCALL.
16579         * sysdeps/unix/sysv/linux/i386/sigaction.c
16580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16582         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16583         Remove conditional code.
16584         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16585         (__protocol_available): Remove #if 0 code.
16586         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16587         conditional code.
16588         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16589         * sysdeps/unix/sysv/linux/kernel-features.h
16590         (__ASSUME_GETCWD_SYSCALL): Don't define.
16591         (__ASSUME_REALTIME_SIGNALS): Likewise.
16592         (__ASSUME_PREAD_SYSCALL): Likewise.
16593         (__ASSUME_PWRITE_SYSCALL): Likewise.
16594         (__ASSUME_POLL_SYSCALL): Likewise.
16595         (__ASSUME_LCHOWN_SYSCALL): Likewise.
16596         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16597         non-SPARC.
16598         (__ASSUME_SIOCGIFNAME): Don't define.
16599         (__ASSUME_MSG_NOSIGNAL): Likewise.
16600         (__ASSUME_SENDFILE): Define unconditionally.
16601         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16602         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16603         conditional code.
16604         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16605         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16606         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16607         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16608         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16609         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16610         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16612         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16613         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16615         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16616         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16618         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16619         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16621         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16622         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16624         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16625         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16627         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16628         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16630         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16633         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16634         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16635         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16636         Remove conditional code.
16637         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16638         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16639         Remove conditional code.
16640         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16641         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16642         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16643         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16644         Remove conditional code.
16645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16646         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16647         Remove conditional code.
16648         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16649         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16650         Remove conditional code.
16651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16652         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16653         Remove conditional code.
16654         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16655         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16656         Remove conditional code.
16657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16658         * sysdeps/unix/sysv/linux/sh/pwrite64.c
16659         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16660         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16661         * sysdeps/unix/sysv/linux/sigaction.c
16662         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16663         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16664         * sysdeps/unix/sysv/linux/sigpending.c
16665         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16666         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16667         * sysdeps/unix/sysv/linux/sigprocmask.c
16668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16670         * sysdeps/unix/sysv/linux/sigsuspend.c
16671         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16672         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16673         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16674         (__libc_missing_rt_sigs): Remove.
16675         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16676         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16677         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16678         Remove conditional code.
16679         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16680         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16681         return 1.
16682         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16683         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16684         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16685         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16687 2012-05-14  Andreas Jaeger  <aj@suse.de>
16689         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16690         it's not used in glibc.
16691         (__coshm1): Likewise.
16692         (__acosh1p): Likewise.
16693         (__sgn): Likewise.
16695         * manual/string.texi (Copying and Concatenation): Add missing
16696         variable in concat example.
16697         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16701         [BZ #14103]
16702         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16703         __builtin_clzl with __builtin_clzll.
16705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16707         [BZ #14104]
16708         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16709         libc_freeres_ptr.
16711 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16713         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16714         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16715         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16716         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16718 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
16720         * NEWS: Update ia64 info.
16722 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16724         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16725         used as bcopy.
16727 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
16729         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16730         * sysdeps/unix/syscalls.list (dup3): Likewise.
16731         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16732         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16734 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16736         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16737         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16739 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16741         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16742         thread pointer.
16743         (TLS_IE): Use mov/add instead of movq/addq to load thread
16744         pointer.
16745         (TLS_GD_PREFIX): New.
16746         (TLS_GD): Use it.
16748 2012-05-11  David S. Miller  <davem@davemloft.net>
16750         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16751         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16752         (_FPU_SETCW): Likewise.
16754 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16756         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16757         is 32-byte aligned.
16759 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
16761         [BZ #11837]
16762         * iconvdata/gb18030.c: Update tables.
16763         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
16764         characters specially.
16765         (BODY for TO_LOOP): Add encoding of missing ranges.
16767 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
16769         [BZ #13673]
16770         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16771         * sysdeps/mach/hurd/dup3.c: Likewise.
16772         * sysdeps/mach/hurd/readlinkat.c: Likewise.
16773         * sysdeps/powerpc/memmove.c:: Likewise.
16775 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16778         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16780 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16782         * elf/elf.h (R_X86_64_RELATIVE64): New.
16783         (R_X86_64_NUM): Updated.
16784         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16785         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
16786         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16787         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16788         tst-quad1pie tst-quad2pie
16789         (modules-names): Add tst-quadmod1 tst-quadmod2.
16790         ($(objpfx)tst-quad1): New dependency.
16791         ($(objpfx)tst-quad2): Likewise.
16792         ($(objpfx)tst-quad1pie): Likewise.
16793         ($(objpfx)tst-quad2pie): Likewise.
16794         * sysdeps/x86_64/tst-quad1.c: New file.
16795         * sysdeps/x86_64/tst-quad1pie.c: New file.
16796         * sysdeps/x86_64/tst-quad2.c: Likewise.
16797         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16798         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16799         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16800         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16801         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16805         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16806         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16807         * streams/stropts.h (t_scalar_t): Define type.
16809         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16810         (_PATH_PRESERVE): Set to "/var/lib".
16811         (_PATH_RWHODIR): Set to "/var/spool/rwho".
16813         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16814         instead of int.
16816         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16817         if __dir_mkfile succeeded.
16819         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16820         checking for _hurd_dtablesize.  Unlock it right after having
16821         finished _hurd_dtable allocation.
16823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16825         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16826         * sysdeps/mach/hurd/configure: Regenerated.
16827         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16828         special-casing to...
16829         * sysdeps/gnu/configure.in: ... this new file.
16830         * sysdeps/unix/sysv/linux/configure: Regenerated.
16831         * sysdeps/gnu/configure: New generated file.
16833         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16834         for Linux: use nsec instead of usec, as well as:
16835         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16836         members of type struct timespec.
16837         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16838         New macros.
16839         (struct stat64): Likewise.
16840         (_STATBUF_ST_NSEC): New macro.
16841         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16843         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16844         __strtoul_internal rather than strtoul.
16846 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16848         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16849         and reject them.
16851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16853         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16854         which preserves existing values.
16855         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16859         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16860         TIMEOUT values.  Return EINVAL for NFDS values either negative or
16861         greater than FD_SETSIZE.
16863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16865         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16866         allocated, call __vm_protect to finish enabling the existing space, and
16867         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16868         allocate the remainder.
16870 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16872         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16873         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
16875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16877         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16878         sysdeps/mach/hurd/readlink.c.
16880         * posix/tst-sysconf.c (posix_options): Only use
16881         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16882         _POSIX_SYNCHRONIZED_IO when they are defined
16883         * sysdeps/mach/hurd/bits/posix_opt.h:
16884         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16885         (_XOPEN_REALTIME): Undefine macro.
16886         (_XOPEN_REALTIME_THREADS): Undefine macro.
16887         (_XOPEN_SHM): Undefine macro.
16888         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16889         macro to -1.
16890         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16891         macro to -1.
16892         (_POSIX_ASYNC_IO): Undefine macro.
16893         (_POSIX_PRIORITIZED_IO): Undefine macro.
16894         (_POSIX_SPIN_LOCKS): Define macro to -1.
16896         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16897         SA_NODEFER, SA_RESETHAND.
16898         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16899         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16900         F_DUPFD_CLOEXEC.
16902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16904         * elf/Makefile (pldd-modules): Define unconditionally.
16906 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16908         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16910 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16912         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16913         Return ENOENT when name is empty.
16914         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16918         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16920         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16924         Fix mlock in all cases except non-readable pages.
16925         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16926         instead of VM_PROT_ALL as parameter to __vm_wire function.
16928         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16929         (__mkdir): When path is `/', just fail with EEXIST.
16930         * sysdeps/mach/hurd/mkdirat.c: Likewise.
16932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16934         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16935         <sys/uio.h> (for writev).
16936         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16937         and <sys/param.h> (for MIN).
16939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16941         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16942         REQUESTED_TIME.  Properly set the remaining time and return EINTR
16943         if interrupted.
16945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16947         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16948         Depend on against $(link-rpcuserlibs).
16950 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16952         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16953         (__libc_stack_end): Do not use attribute_relro.
16954         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16955         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16956         to libthread-provided value.
16957         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16958         attribute_relro.
16960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16962         [BZ #3748]
16963         * bits/libc-lock.h (__libc_once_get): New macro.
16964         * sysdeps/mach/bits/libc-lock.h: Likewise.
16965         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16967         instead of using implementation details.
16969         * libio/fileops.c: Unconditionally include <kernel-features.h>.
16970         * libio/freopen.c: Likewise.
16971         * libio/freopen64.c: Likewise.
16972         * misc/syslog.c: Likewise.
16973         * nscd/connections.c: Likewise.
16974         * nscd/netgroupcache.c: Likewise.
16975         * sysdeps/posix/getcwd.c: Likewise.
16977 2012-05-10  Roland McGrath  <roland@hack.frob.com>
16979         * math/w_ilogbf.c: Add #include <limits.h>.
16981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16983         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16984         path instead of returning without unlocking.
16986         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16987         immediate-write ioctls.
16988         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16992         * sysdeps/mach/hurd/i386/init-first.c (init): Use
16993         __builtin_frame_address instead of making assumptions about the
16994         location of the return address relative to DATA.  Force early load of
16995         the return address.
16996         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16997         __builtin_frame_address.
16999         dup3 for GNU Hurd.
17000         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17001         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17002         implement dup3 and do some further code clean-ups.
17003         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17004         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17008         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17010         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17011         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17012         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17013         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17014         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17015         d->port.lock.
17017         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17018         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17019         when handler == SIG_ERR, not when handler != SIG_ERR.
17021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17023         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17024         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17025         definitions.
17027         accept4 for GNU Hurd.
17028         * include/sys/socket.h (__libc_accept4): New prototype.
17029         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17030         to implement __libc_accept4.
17031         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17032         __libc_accept4.
17033         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17035         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17036         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17037         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17038         signal-defines.sym.
17040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17042         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17046         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17047         assertion on O_CLOEXEC flag.
17048         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17049         * hurd/intern-fd.c: Likewise.
17050         * hurd/port2fd.c: Likewise.
17052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17054         [BZ #3906]
17055         * bits/in.h (IPV6_PKTINFO): Define new macro.
17056         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17058 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17060         [BZ #13954]
17061         [BZ #13955]
17062         [BZ #13956]
17063         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17064         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17065         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17066         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17068         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17069         * math/libm-test.inc (logb_test) : Additional logb tests.
17071 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17072             Andreas Jaeger  <aj@suse.de>
17074         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17075         * configure: Regenerated.
17076         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17077         * config.make.in (link-obsolete-rpc): New substituted variable.
17078         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17079         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17080         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17081         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17082         so that libc.a contains the symbols.
17083         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17084         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17085         * sunrpc/auth_none.c: Likewise.
17086         * sunrpc/auth_unix.c: Likewise.
17087         * sunrpc/authdes_prot.c: Likewise.
17088         * sunrpc/authuxprot.c: Likewise.
17089         * sunrpc/clnt_gen.c: Likewise.
17090         * sunrpc/clnt_perr.c: Likewise.
17091         * sunrpc/clnt_raw.c: Likewise.
17092         * sunrpc/clnt_simp.c: Likewise.
17093         * sunrpc/clnt_tcp.c: Likewise.
17094         * sunrpc/clnt_udp.c: Likewise.
17095         * sunrpc/clnt_unix.c: Likewise.
17096         * sunrpc/des_crypt.c: Likewise.
17097         * sunrpc/des_soft.c: Likewise.
17098         * sunrpc/get_myaddr.c: Likewise.
17099         * sunrpc/key_call.c: Likewise.
17100         * sunrpc/key_prot.c: Likewise.
17101         * sunrpc/netname.c: Likewise.
17102         * sunrpc/pm_getmaps.c: Likewise.
17103         * sunrpc/pm_getport.c: Likewise.
17104         * sunrpc/pmap_clnt.c: Likewise.
17105         * sunrpc/pmap_prot.c: Likewise.
17106         * sunrpc/pmap_prot2.c: Likewise.
17107         * sunrpc/pmap_rmt.c: Likewise.
17108         * sunrpc/publickey.c: Likewise.
17109         * sunrpc/rpc_cmsg.c: Likewise.
17110         * sunrpc/rpc_common.c: Likewise.
17111         * sunrpc/rpc_dtable.c: Likewise.
17112         * sunrpc/rpc_prot.c: Likewise.
17113         * sunrpc/rpc_thread.c: Likewise.
17114         * sunrpc/rtime.c: Likewise.
17115         * sunrpc/svc.c: Likewise.
17116         * sunrpc/svc_auth.c: Likewise.
17117         * sunrpc/svc_raw.c: Likewise.
17118         * sunrpc/svc_run.c: Likewise.
17119         * sunrpc/svc_tcp.c: Likewise.
17120         * sunrpc/svc_udp.c: Likewise.
17121         * sunrpc/svc_unix.c: Likewise.
17122         * sunrpc/svcauth_des.c: Likewise.
17123         * sunrpc/xcrypt.c: Likewise.
17124         * sunrpc/xdr.c: Likewise.
17125         * sunrpc/xdr_array.c: Likewise.
17126         * sunrpc/xdr_float.c: Likewise.
17127         * sunrpc/xdr_intXX_t.c: Likewise.
17128         * sunrpc/xdr_mem.c: Likewise.
17129         * sunrpc/xdr_rec.c: Likewise.
17130         * sunrpc/xdr_ref.c: Likewise.
17131         * sunrpc/xdr_sizeof.c: Likewise.
17132         * sunrpc/xdr_stdio.c: Likewise.
17134 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17136         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17137         change.  Update copyright years.
17139 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17141         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17143 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
17144             Joseph Myers  <joseph@codesourcery.com>
17145             Paul Pluzhnikov  <ppluzhnikov@google.com>
17147         [BZ #14012]
17148         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17149         requiring rpcgen.
17150         [cross-compiling] (extra-libs): Likewise.
17151         [cross-compiling] (extra-libs-others): Likewise.
17152         [cross-compiling] (librpcsvc-routines): Likewise.
17153         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17154         [cross-compiling] (omit-deps): Likewise.
17155         (sunrpc-CPPFLAGS): New variable.
17156         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17157         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17158         (cross-rpcgen-objs): New variable.
17159         (extra-objs): Append $(cross-rpcgen-objs).
17160         ($(cross-rpcgen-objs)): New rule.
17161         ($(objpfx)cross-rpcgen): Likewise.
17162         (rpcgen-cmd): Define to use $(built-program-file).  Expand
17163         comment.
17164         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17165         ($(objpfx)x%.stmp): Likewise.
17166         * sunrpc/proto.h [IS_IN_build] (_): Define.
17167         [IS_IN_build] (_libc_intl_domainname): Likewise.
17169 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17171         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17172         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17173         and R_X86_64_TPOFF64.
17175 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17177         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17178         sysdeps/unix/sysv/syscalls.list.
17179         (stime): Likewise.
17180         (utime): Likewise.
17181         * sysdeps/unix/sysv/syscalls.list: Remove file.
17183 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
17185         [BZ #3440]
17186         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17187         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17188         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17189         (__LC_IDENTIFICATION): Make these macros useful in #if
17190         expressions, as required by C99.
17192 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
17194         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17195         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
17196         after this.
17198 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17200         * stdlib/longlong.h: Updated from GCC.
17202 2012-05-09  Andreas Jaeger  <aj@suse.de>
17204         * nscd/nscd.c (run_modes): Make named enum, reorder so that
17205         default is first entry.
17206         (run_mode): Set type.
17207         (main): Remove informal message about syslog.
17208         (options): Fix typo.
17210         [BZ #14053]
17211         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17212         to asm.
17213         (lrint): Likewise.
17214         (llrintf): Likewise.
17215         (llrint): Likewise.
17216         (rint): Likewise.
17217         (rintf): Likewise.
17218         (nearbyint): Likewise.
17219         (nearbyintf): Likewise.
17221 2012-05-09  Andreas Jaeger  <aj@suse.de>
17222             Pedro Alves  <palves@redhat.com>
17224         * nscd/nscd.c (run_mode): Use enum.
17225         (main): Cleanup coding style issue.
17227 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
17228             Andreas Jaeger  <aj@suse.de>
17230         * nscd/nscd.c (go_background): Replaced with...
17231         (run_mode): ... this.
17232         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17233         (options): Add -F --foreground.
17234         (main): Implement it.
17235         (parse_opt): Parse it.
17237 2012-05-09  Andreas Jaeger  <aj@suse.de>
17239         [BZ #14083]
17240         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17241         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17242         -Wconversion warning.
17243         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17244         Likewise.
17246 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
17248         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
17249         == 0.
17250         (LC_ALL): Use macro-int-constant.
17251         (LC_COLLATE): Likewise.
17252         (LC_CTYPE): Likewise.
17253         (LC_MESSAGES): Likewise.
17254         (LC_MONETARY): Likewise.
17255         (LC_NUMERIC): Likewise.
17256         (LC_TIME): Likewise.
17257         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17258         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17260         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17261         Specify type.
17262         [C99-based standards] (float_t): Expect type.
17263         [C99-based standards] (double_t): Expect type.
17264         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
17265         type.
17266         [C99-based standards] (HUGE_VALL): Likewise.
17267         [C99-based standards] (INFINITY): Likewise.
17268         [C99-based standards] (NAN): Likewise.
17269         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17270         [C99-based standards] (FP_NAN): Likewise.
17271         [C99-based standards] (FP_NORMAL): Likewise.
17272         [C99-based standards] (FP_SUBNORMAL): Likewise.
17273         [C99-based standards] (FP_ZERO): Likewise.
17274         [C99-based standards] (FP_FAST_FMA): Use
17275         optional-macro-int-constant.  Specify type.  Require == 1.
17276         [C99-based standards] (FP_FAST_FMAF): Likewise.
17277         [C99-based standards] (FP_FAST_FMAL): Likewise.
17278         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17279         [C99-based standards] (FP_ILOGBNAN): Likewise.
17280         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17281         Specify type.
17282         [C99-based standards] (MATH_ERREXCEPT): Likewise.
17283         [C99-based standards] (math_errhandling): Specify type.
17284         [ISO99 || ISO11] (signgam): Do not allow.
17285         [non-C99-based standards] (copysignf): Do not allow.
17286         [non-C99-based standards] (exp2f): Likewise.
17287         [non-C99-based standards] (log2f): Likewise.
17288         [non-C99-based standards] (modff): Allow.
17289         [non-C99-based standards] (erff): Do not allow.
17290         [non-C99-based standards] (erfcf): Likewise.
17291         [non-C99-based standards] (gammaf): Likewise.
17292         [non-C99-based standards] (hypotf): Likewise.
17293         [non-C99-based standards] (j0f): Likewise.
17294         [non-C99-based standards] (j1f): Likewise.
17295         [non-C99-based standards] (jnf): Likewise.
17296         [non-C99-based standards] (lgammaf): Likewise.
17297         [non-C99-based standards] (tgammaf): Likewise.
17298         [non-C99-based standards] (y0f): Likewise.
17299         [non-C99-based standards] (y1f): Likewise.
17300         [non-C99-based standards] (ynf): Likewise.
17301         [non-C99-based standards] (isnanf): Likewise.
17302         [non-C99-based standards] (acoshf): Likewise.
17303         [non-C99-based standards] (asinhf): Likewise.
17304         [non-C99-based standards] (atanhf): Likewise.
17305         [non-C99-based standards] (cbrtf): Likewise.
17306         [non-C99-based standards] (expm1f): Likewise.
17307         [non-C99-based standards] (ilogbf): Likewise.
17308         [non-C99-based standards] (log1pf): Likewise.
17309         [non-C99-based standards] (logbf): Likewise.
17310         [non-C99-based standards] (nextafterf): Likewise.
17311         [non-C99-based standards] (remainderf): Likewise.
17312         [non-C99-based standards] (rintf): Likewise.
17313         [non-C99-based standards] (scalbf): Likewise.
17314         [non-C99-based standards] (copysignl): Likewise.
17315         [non-C99-based standards] (exp2l): Likewise.
17316         [non-C99-based standards] (log2l): Likewise.
17317         [non-C99-based standards] (modfl): Allow.
17318         [non-C99-based standards] (erfl): Do not allow.
17319         [non-C99-based standards] (erfcl): Likewise.
17320         [non-C99-based standards] (gammal): Likewise.
17321         [non-C99-based standards] (hypotl): Likewise.
17322         [non-C99-based standards] (j0l): Likewise.
17323         [non-C99-based standards] (j1l): Likewise.
17324         [non-C99-based standards] (jnl): Likewise.
17325         [non-C99-based standards] (lgammal): Likewise.
17326         [non-C99-based standards] (tgammal): Likewise.
17327         [non-C99-based standards] (y0l): Likewise.
17328         [non-C99-based standards] (y1l): Likewise.
17329         [non-C99-based standards] (ynl): Likewise.
17330         [non-C99-based standards] (isnanl): Likewise.
17331         [non-C99-based standards] (acoshl): Likewise.
17332         [non-C99-based standards] (asinhl): Likewise.
17333         [non-C99-based standards] (atanhl): Likewise.
17334         [non-C99-based standards] (cbrtl): Likewise.
17335         [non-C99-based standards] (expm1l): Likewise.
17336         [non-C99-based standards] (ilogbl): Likewise.
17337         [non-C99-based standards] (log1pl): Likewise.
17338         [non-C99-based standards] (logbl): Likewise.
17339         [non-C99-based standards] (nextafterl): Likewise.
17340         [non-C99-based standards] (remainderl): Likewise.
17341         [non-C99-based standards] (rintl): Likewise.
17342         [non-C99-based standards] (scalbl): Likewise.
17343         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17344         [non-C99-based standards] (FP_*): Do not allow.
17345         [C99-based standards] (FP_*): Change to
17346         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17347         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17348         allow.
17349         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17350         (SIG_ERR): Likewise.
17351         [X/Open-based standards] (SIG_HOLD): Likewise.
17352         (SIG_IGN): Likewise.
17353         (SIGABRT): Use macro-int-constant.  Specify type.  Require
17354         positive value.
17355         (SIGFPE): Likewise.
17356         (SIGILL): Likewise.
17357         (SIGINT): Likewise.
17358         (SIGSEGV): Likewise.
17359         (SIGTER): Likewise.
17360         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17361         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17362         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17363         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17364         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17365         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17366         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17367         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17368         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17369         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17370         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17371         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17372         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17373         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17374         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17375         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17376         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17377         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17378         [X/Open-based standards] (SIGTRAP): Likewise.
17379         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17380         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17381         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17382         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17383         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17384         allow.
17386 2012-05-08  Ian Wienand  <ianw@vmware.com>
17388         [BZ #14080]
17389         * time/tzset.c (__tzset_parse_tz): Update default rules for
17390         daylight time changes in the Energy Policy Act of 2005.
17392 2012-05-09  Andreas Jaeger  <aj@suse.de>
17394         [BZ #13983]
17395         * elf/ldconfig.c (parse_conf): Change string to make clear that
17396         ldconfig only issued a warning if ld.so.conf does not exist.
17398 2012-05-08  David S. Miller  <davem@davemloft.net>
17400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17401         movxtod instead of popping the value on the stack.
17403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17405 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
17407         * config.h.in: Add HAVE_ARM_PCS_VFP.
17409 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
17411         [BZ #13979]
17412         * include/features.h: Warn if user requests __FORTIFY_SOURCE
17413         checking but the checks are disabled for any reason.
17415 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17417         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17418         and ELF64_R_TYPE with ELFW(R_TYPE).
17420 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
17422         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17423         (ulimit): Likewise.
17425         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17426         (settimeofday): Likewise.
17428 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
17430         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
17431         a struct th_u2 inside the union, and move tu_block/tu_code into
17432         a new th_u3 union of tu_block/tu_code inside of that.  Move
17433         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
17434         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
17435         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17436         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17437         (th_stuff): Change to th_u1.tu_stuff.
17438         (th_data): Define.
17439         (th_msg): Change to th_u1.th_u2.tu_data.
17441 2012-05-07  David S. Miller  <davem@davemloft.net>
17443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17445         [BZ #14074]
17446         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17447         (SETUP_PIC_REG): Use it.
17448         (SETUP_PIC_REG_LEAF): Use it.
17450 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #13885]
17453         [BZ #13923]
17454         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17455         USE_AS_EXPM1L.
17456         (EXPL_FINITE): Likewise.
17457         (FLDLOG): Likewise.
17458         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17459         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17460         e_expl.S.
17461         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17462         USE_AS_EXPM1L.
17463         (EXPL_FINITE): Likewise.
17464         (FLDLOG): Likewise.
17465         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17466         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17467         e_expl.S.
17468         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
17469         test of -max_value argument for long double.
17470         * sysdeps/i386/fpu/libm-test-ulps: Update.
17471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17473 2012-05-06  David S. Miller  <davem@davemloft.net>
17475         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17476         quad soft-float symbols whose references which are compiler
17477         generated.
17478         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17480 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
17482         [BZ #13884]
17483         [BZ #13914]
17484         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17485         USE_AS_EXP10L.
17486         (EXPL_FINITE): Likewise.
17487         (FLDLOG): Likewise.
17488         (c0): Likewise.
17489         (c1): Likewise.
17490         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
17491         Adjust comments for base varying.
17492         (__expl_finite): Change alias to EXPL_FINITE.
17493         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17494         e_expl.S.
17495         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17496         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17497         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17498         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17499         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17500         USE_AS_EXP10L.
17501         (EXPL_FINITE): Likewise.
17502         (FLDLOG): Likewise.
17503         (c0): Likewise.
17504         (c1): Likewise.
17505         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
17506         Adjust comments for base varying.
17507         (__expl_finite): Change alias to EXPL_FINITE.
17508         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
17509         tests for bugs.
17510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17512         [BZ #14064]
17513         * math/libm-test.inc (check_float_internal): Correct ulp
17514         calculation for subnormal expected results.
17516 2012-05-06  Andreas Jaeger  <aj@suse.de>
17518         * Makeconfig (+math-flags): New, set to -frounding-math.
17519         (+cflags): Add +math-flags so that all of glibc gets compiled with
17520         it.
17522         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17524 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
17526         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17527         Disable one test.
17529         [BZ #13787]
17530         [BZ #13922]
17531         [BZ #14036]
17532         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17533         (__ieee754_expl): Allow for and saturate large arguments.
17534         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17535         (u_threshold): Likewise.
17536         (__exp): Call __ieee754_exp before checking for overflow and
17537         underflow.
17538         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17539         (u_threshold): Likewise.
17540         (__expf): Call __ieee754_expf before checking for overflow and
17541         underflow.
17542         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17543         (u_threshold): Likewise.
17544         (__expl): Call __ieee754_expl before checking for overflow and
17545         underflow.
17546         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17547         (__ieee754_expl): Allow for and saturate large arguments.
17548         * math/libm-test.inc (exp_test): Add another test.  Do not allow
17549         missing overflow exception on overflow.
17550         (expm1_test): Do not allow missing overflow exception on overflow.
17552         * sysdeps/i386/fpu/e_expl.c: Move to ...
17553         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
17554         rather than using inline asm.
17555         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17556         * sysdeps/x86_64/fpu/e_expl.S: Copy from
17557         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17559         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17560         (nice): Likewise.
17561         (poll): Likewise.
17562         (signal): Likewise.
17563         (time): Likewise.
17564         (times): Likewise.
17566 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17568         * sysdeps/unix/syscalls.list (adjtime): Add entry from
17569         sysdeps/unix/common/syscalls.list.
17570         (fchmod): Likewise.
17571         (fchown): Likewise.
17572         (ftruncate): Likewise.
17573         (getrusage): Likewise.
17574         (gettimeofday): Likewise.
17575         (setpgid): Likewise.
17576         (setregid): Likewise.
17577         (setreuid): Likewise.
17578         (sigaction): Likewise.
17579         (truncate): Likewise.
17580         (vhangup): Likewise.
17581         * sysdeps/unix/common/syscalls.list: Remove file.
17582         * sysdeps/unix/bsd/Implies: Don't include unix/common.
17583         * sysdeps/unix/sysv/linux/Implies: Likewise.
17585 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
17587         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17589         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17590         Moved to ...
17591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17592         Here.
17593         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17594         to ...
17595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17596         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17597         to ...
17598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17599         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17600         to ...
17601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17602         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17603         to ...
17604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17605         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17606         to ...
17607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17608         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17609         to ...
17610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17611         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17612         to ...
17613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17614         Here.
17615         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17616         to ...
17617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17618         Here.
17619         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17620         to ...
17621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17622         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17623         Moved to ...
17624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17625         Here.
17626         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17627         to ...
17628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17630 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17632         * sysdeps/unix/common/bits/dirent.h: Remove file.
17633         * sysdeps/unix/common/bits/fcntl.h: Likewise.
17635         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17636         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17637         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17638         * sysdeps/unix/bsd/isatty.c: Likewise.
17639         * sysdeps/unix/bsd/tcdrain.c: Likewise.
17640         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17641         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17643 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17645         [BZ #13563]
17646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17647         long double comparison inaccuracies.
17648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17651 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
17653         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17656 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17658         [BZ #14049]
17659         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17660         nonzero digits before rounding a hex value.
17661         * stdlib/tst-strtod.c (tests): Add another test.
17663 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17665         * sysdeps/s390/fpu/libm-test-ulps: Update.
17667 2012-05-03  Andreas Jaeger  <aj@suse.de>
17669         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17670         does not get optimized out.
17671         (malloc_opt_barrier): New.
17673 2012-05-03  Andreas Jaeger  <aj@suse.de>
17674             Roland McGrath  <roland@hack.frob.com>
17676         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17677         intermediate file deletion.
17678         (generated): Add .symlist files.
17680 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
17682         [BZ #13775]
17683         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17684         Redirect under this condition.
17685         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17686         [__USE_GNU] (__dprintf_chk): Not under this condition.
17687         [__USE_GNU] (__vdprintf_chk): Likewise.
17688         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17689         under this condition.
17690         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17691         [__USE_XOPEN2K8] (dprintf): Define under this condition.
17692         [__USE_XOPEN2K8] (vdprintf): Likewise.
17693         [__USE_GNU] (__dprintf_chk): Not under this condition.
17694         [__USE_GNU] (__vdprintf_chk): Likewise.
17695         [__USE_GNU] (dprintf): Likewise.
17696         [__USE_GNU] (vdprintf): Likewise.
17698 2012-05-03  Roland McGrath  <roland@hack.frob.com>
17700         * elf/Makefile (common-generated): Set this instead of generated for
17701         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
17702         $(all-built-dso)-derived lists.
17704 2012-05-03  Andreas Jaeger  <aj@suse.de>
17706         * sysdeps/i386/fpu/libm-test-ulps: Update.
17708         * FAQ: Removed.
17709         * FAQ.in: Likewise.
17710         * scripts/gen-FAQ.pl: Likewise.
17711         * manual/install.texi (Installation): Point to online location of
17712         FAQ.
17713         * Makefile (files-for-dist): Remove FAQ.
17714         (FAQ): Remove.
17716 2012-05-02  Allan McRae  <allan@archlinux.org>
17718         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17719         (LDFLAGS-reldepmod5.so): Likewise.
17720         (LDFLAGS-reldep6mod1.so): Likewise.
17721         (LDFLAGS-reldep6mod4.so): Likewise.
17722         (LDFLAGS-reldep8mod3.so): Likewise.
17723         (LDFLAGS-unload4mod1.so): Likewise.
17724         (LDFLAGS-unload4mod2.so): Likewise.
17725         (LDFLAGS-tst-initorder): Likewise.
17726         (LDFLAGS-tst-initordera2.so): Likewise.
17727         (LDFLAGS-tst-initordera3.so): Likewise.
17728         (LDFLAGS-tst-initordera4.so): Likewise.
17729         (LDFLAGS-tst-initorderb2.so): Likewise.
17730         (LDFLAGS-noload): Likewise.
17731         (LDFLAGS-next): Likewise.
17732         (LDFLAGS-order2mod1.so): Likewise.
17733         (LDFLAGS-order2mod2.so): Likewise.
17734         (LDFLAGS-tst-initorder2): Likewise.
17735         (LDFLAGS-tst-initorder2a.so): Likewise.
17736         (LDFLAGS-tst-initorder2b.so): Likewise.
17737         (LDFLAGS-tst-initorder2c.so): Likewise.
17738         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17740 2012-05-02  David S. Miller  <davem@davemloft.net>
17742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17744 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17746         [BZ #14055]
17747         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17749 2012-05-02  Andreas Jaeger  <aj@suse.de>
17751         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17752         since we manipulate rounding mode.
17753         (CPPFLAGS-test-idouble.c): Likewise.
17754         (CPPFLAGS-test-ifloat.c): Likewise.
17755         (CFLAGS-test-ldouble.c): Likewise.
17756         (CFLAGS-test-double.c): Likewise.
17757         (CFLAGS-test-float.c): Likewise.
17758         (CFLAGS-test-misc.c): Likewise.
17759         (CFLAGS-test-test-fenv.c): Likewise.
17761 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17763         [BZ #2550]
17764         [BZ #2570]
17765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17766         comparisons to determine direction to adjust input.
17768 2012-05-01  Roland McGrath  <roland@hack.frob.com>
17770         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17771         output to the target.
17773         * scripts/localplt.awk: New file.
17774         * elf/Makefile ($(objpfx)check-localplt): Target removed.
17775         (check-localplt-CFLAGS): Variable removed.
17776         ($(all-built-dso:=.jmprel)): New static pattern rule.
17777         (generated): Add those targets.
17778         (localplt-built-dso): New variable.
17779         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17781         * elf/check-localplt.c: File removed.
17783         * scripts/check-execstack.awk: New file.
17784         * elf/Makefile ($(objpfx)check-execstack): Target removed.
17785         (check-execstack-CFLAGS): Variable removed.
17786         ($(objpfx)check-execstack.h): Target removed.
17787         ($(objpfx)execstack-default): New target.
17788         (generated): Add that instead of check-execstack.h.
17789         ($(all-built-dso:=.phdr)): New static pattern rule.
17790         (generated): Add those targets.
17791         * elf/check-execstack.c: File removed.
17793         * scripts/check-textrel.awk: New file.
17794         * elf/Makefile ($(objpfx)check-textrel): Target removed.
17795         (check-textrel-CFLAGS): Variable removed.
17796         (all-built-dso): Use := to define.o
17797         ($(all-built-dso:=.dyn)): New static pattern rule.
17798         (generated): Add those targets.
17799         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17800         * config.make.in (READELF): New substituted variable.
17801         * elf/check-textrel.c: File removed.
17803 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
17805         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17806         allow.
17807         * conform/data/ctype.h-data [C99-based standards] (isblank):
17808         Expect function.
17809         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17810         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17811         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17812         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17813         Specify type.  Require positive value.
17814         (EILSEQ): Likewise.
17815         (ERANGE): Likewise.
17816         [ISO || POSIX] (EILSEQ): Do not expect.
17817         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17818         Specify type.  Require positive value.
17819         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17820         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17821         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17822         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17823         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17824         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17825         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17826         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17827         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17828         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17829         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17830         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17831         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17832         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17833         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17834         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17835         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17836         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17837         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17838         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17839         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17840         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17841         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17842         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17843         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17844         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17845         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17846         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17847         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17848         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17849         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17850         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17851         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17852         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17853         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17854         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17855         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17856         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17857         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17858         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17859         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17860         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17861         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17862         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17863         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17864         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17865         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17866         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17867         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17868         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17869         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17870         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17871         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17872         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17873         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17874         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17875         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17876         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17877         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17878         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17879         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17880         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17881         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17882         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17883         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17884         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17885         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17886         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17887         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17888         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17889         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17890         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17891         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17892         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17893         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17894         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17895         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17896         Require >= 2.
17897         (FLT_ROUNDS): Expect as macro, not constant.
17898         (FLT_MANT_DIG): Use macro-int-constant.
17899         (DBL_MANT_DIG): Likewise.
17900         (LDBL_MANT_DIG): Likewise.
17901         (FLT_DIG): Likewise.
17902         (DBL_DIG): Likewise.
17903         (LDBL_DIG): Likewise.
17904         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
17905         (DBL_MIN_EXP): Likewise.
17906         (LDBL_MIN_EXP): Likewise.
17907         (FLT_MAX_EXP): Use macro-int-constant.
17908         (DBL_MAX_EXP): Likewise.
17909         (LDBL_MAX_EXP): Likewise.
17910         (FLT_MAX_10_EXP): Likewise.
17911         (DBL_MAX_10_EXP): Likewise.
17912         (LDBL_MAX_10_EXP): Likewise.
17913         (FLT_MAX): Use macro-constant.
17914         (DBL_MAX): Likewise.
17915         (LDBL_MAX): Likewise.
17916         (FLT_EPSILON): Use macro-constant.  Give upper bound.
17917         (DBL_EPSILON): Likewise.
17918         (LDBL_EPSILON): Likewise.
17919         (FLT_MIN): Likewise.
17920         (DBL_MIN): Likewise.
17921         (LDBL_MIN): Likewise.
17922         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17923         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17924         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17925         [ISO11] (FLT_HAS_SUBNORM): Likewise.
17926         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17927         [ISO11] (DBL_DECIMAL_DIG): Likewise.
17928         [ISO11] (FLT_DECIMAL_DIG): Likewise.
17929         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17930         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17931         [ISO11] (FLT_TRUE_MIN): Likewise.
17932         [ISO11] (LDBL_TRUE_MIN): Likewise.
17933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17934         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17935         (SCHAR_MIN): Use macro-int-constant.  Specify type.
17936         (SCHAR_MAX): Likewise.
17937         (UCHAR_MAX): Likewise.
17938         (CHAR_MIN): Likewise.
17939         (CHAR_MAX): Likewise.
17940         (MB_LEN_MAX): Use macro-int-constant.
17941         (SHRT_MIN): Use macro-int-constant.  Specify type.
17942         (SHRT_MAX): Likewise.
17943         (USHRT_MAX): Likewise.
17944         (INT_MAX): Likewise.
17945         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
17946         bound negative.
17947         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17948         bound with "U".
17949         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17950         bound with "L".
17951         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
17952         bound negative.  Suffix upper bound with "L".
17953         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17954         bound with "UL".
17955         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17956         Specify type.
17957         [C99-based standards] (LLONG_MAX): Likewise.
17958         [C99-based standards] (ULLONG_MAX): Likewise.
17959         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
17960         == 0.
17961         [ISO11] (max_align_t): Require type.
17962         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17964         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17965         from $CFLAGS, without defining away __attribute__ calls.
17966         (checknamespace): Use $CFLAGS_namespace.
17968         * conform/conformtest.pl (@keywords): Only include C99 keywords
17969         for standards based on C99 or C11.
17971         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17972         Disable tests.
17973         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17974         UNIX98]: Likewise.
17976         * conform/conformtest.pl: Handle "macro-int-constant" and test for
17977         usability of symbols in #if.
17979         * conform/conformtest.pl: If macro or constant types start
17980         "promoted:", expect the symbol to be of the following type
17981         promoted by the integer promotions.
17983         * conform/conformtest.pl: Parse all "constant" and "macro" lines
17984         in one place.  Also handle "macro-constant".
17986         * conform/conformtest.pl: Only accept expected macro values with
17987         "==".  Parse all "macro" lines in one place.
17988         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17990         * conform/conformtest.pl: Handle braced types on "constant" lines
17991         instead of handling "typed-constant".
17992         * conform/data/signal.h-data: Use "constant" instead of
17993         "typed-constant".
17995         * conform/conformtest.pl: Handle "optional-" at start of lines in
17996         one place rather than duplicating several cases.  Handle each
17997         format of "macro" line with initial "optional-".
17999         * conform/conformtest.pl: Only accept expected constant or
18000         optional-constant values with "==".  Parse all "constant" lines in
18001         one place.  Parse all "optional-constant" lines in one place.
18002         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18003         * conform/data/fmtmsg.h-data: Likewise.
18004         * conform/data/netinet/in.h-data: Likewise.
18005         * conform/data/tar.h-data: Likewise.
18006         * conform/data/limits.h-data: Use "==" form on "constant" and
18007         "optional-constant" lines.
18009         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18010         Use -std=c99 for XOPEN2K.
18011         (@knownproblems): Remove.
18012         (newtoken): Don't check %isknown.
18014         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18015         Do not expect macro.
18016         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18017         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18018         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18019         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18020         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18021         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18022         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18023         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18024         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18025         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18026         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18027         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18028         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18029         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18030         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18031         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18032         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18033         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18034         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18035         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18036         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18037         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18038         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18039         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18040         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18041         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18042         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18043         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18044         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18045         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18046         [XPG3] (acosh): Likewise.
18047         [XPG3] (asinh): Likewise.
18048         [XPG3] (atanh): Likewise.
18049         [XPG3] (cbrt): Likewise.
18050         [XPG3] (expm1): Likewise.
18051         [XPG3] (ilogb): Likewise.
18052         [XPG3] (log1p): Likewise.
18053         [XPG3] (logb): Likewise.
18054         [XPG3] (nextafter): Likewise.
18055         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18056         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18057         [XPG3] (remainder): Likewise.
18058         [XPG3] (rint): Likewise.
18059         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18060         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18061         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18062         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18063         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18064         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18065         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18066         [UNIX98 || XOPEN2K] (scalb): Expect.
18067         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18068         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18069         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18070         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18071         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18072         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18073         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18074         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18075         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18076         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18077         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18078         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18079         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18080         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18081         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18082         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18083         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18084         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18085         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18086         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18087         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18088         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18089         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18090         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18091         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18092         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18093         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18094         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18095         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18096         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18097         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18098         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18099         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18100         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18101         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18102         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18103         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18104         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18105         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18106         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18107         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18108         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18109         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18110         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18111         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18112         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18113         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18114         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18115         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18116         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18117         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18118         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18119         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18120         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18121         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18122         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18123         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18124         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18125         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18126         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18127         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18128         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18129         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18130         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18131         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18132         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18133         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18134         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18135         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18136         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18137         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18138         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18139         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18140         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18141         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18142         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18143         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18144         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18145         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18146         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18147         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18148         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18149         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18150         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18151         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18152         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18153         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18154         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18155         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18156         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18157         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18158         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18159         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18160         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18161         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18162         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18163         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18164         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18165         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18166         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18167         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18168         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18169         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18170         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18171         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18172         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18173         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18174         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18175         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18176         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18177         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18178         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18179         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18180         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18181         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18182         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18183         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18184         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18185         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18186         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18187         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18188         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18189         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18190         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18191         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18192         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18193         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18194         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18195         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18196         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18197         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18198         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18199         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18200         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18201         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18202         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18203         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18205         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18206         _XOPEN_SOURCE_EXTENDED for XPG4.
18208         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18210         * Makeconfig (localtime): Remove variable.
18211         (inst_localtime-file): Likewise.
18213 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18216         Update.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18218         Update.
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18220         Update.
18221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18222         Update.
18223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18224         Update.
18225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18226         Update.
18227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18228         Update.
18229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18230         Update.
18231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18232         Update.
18234 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18236         [BZ #2550]
18237         [BZ #2570]
18238         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18239         comparisons to determine direction to adjust input.
18240         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18241         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18242         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18243         Likewise.
18244         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18245         Likewise.
18246         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18247         Likewise.
18248         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18249         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18250         Likewise.
18251         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18252         Likewise.
18253         * math/libm-test.inc (nexttoward_test): Add more tests.
18255 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18257         [BZ #14040]
18258         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18259         in version GLIBC_2.1, not GLIBC_2.0.
18260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18261         Likewise.
18263 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
18265         [BZ #13942]
18266         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18267         (1 - x) * (1 + x).
18268         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18269         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18270         * math/libm-test.inc (acos_test): Add more tests.
18271         (asin_test): Likewise.
18272         * sysdeps/i386/fpu/libm-test-ulps: Update.
18273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18275         [BZ #14034]
18276         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18277         of square root.
18278         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18279         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18280         * math/libm-test.inc (acos_test_tonearest): New function.
18281         (acos_test_towardzero): Likewise.
18282         (acos_test_downward): Likewise.
18283         (acos_test_upward): Likewise.
18284         (asin_test_tonearest): Likewise.
18285         (asin_test_towardzero): Likewise.
18286         (asin_test_downward): Likewise.
18287         (asin_test_upward): Likewise.
18288         (main): Call the new functions.
18289         * sysdeps/i386/fpu/libm-test-ulps: Update.
18290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18292         [BZ #13884]
18293         [BZ #13924]
18294         * math/e_exp10.c: Include <float.h>.
18295         (__ieee754_exp10): Handle underflow here rather than multiplying
18296         large negative argument by M_LN10.
18297         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18298         of __ieee754_expf.
18299         * math/e_exp10l.c: Include <float.h>.
18300         (__ieee754_exp10l): Handle underflow here rather than multiplying
18301         large negative argument by M_LN10l.
18302         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
18303         spurious overflow exception on underflow.
18305 2012-04-29  Marek Polacek  <polacek@redhat.com>
18307         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18308         (__fortify_function): New macro.
18309         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18310         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18311         __extern_always_inline.
18312         * libio/bits/stdio2.h: Likewise.
18313         * libio/bits/stdio.h: Likewise.
18314         * string/string.h: Likewise.
18315         * string/bits/string3.h: Likewise.
18316         * include/stdio.h: Likewise.
18317         * stdlib/bits/stdlib.h: Likewise.
18318         * stdlib/stdlib.h: Likewise.
18319         * rt/bits/mqueue2.h: Likewise.
18320         * rt/mqueue.h: Likewise.
18321         * posix/bits/unistd.h: Likewise.
18322         * posix/unistd.h: Likewise.
18323         * io/bits/poll2.h: Likewise.
18324         * io/bits/fcntl2.h: Likewise.
18325         * io/fcntl.h: Likewise.
18326         * io/sys/poll.h: Likewise.
18327         * misc/bits/syslog.h: Likewise.
18328         * misc/bits/syslog-ldbl.h: Likewise.
18329         * misc/sys/syslog.h: Likewise.
18330         * socket/bits/socket2.h: Likewise.
18331         * socket/sys/socket.h: Likewise.
18332         * debug/tst-chk1.c: Likewise.
18333         * wcsmbs/bits/wchar2.h: Likewise.
18334         * wcsmbs/bits/wchar-ldbl.h: Likewise.
18335         * wcsmbs/wchar.h: Likewise.
18337 2012-04-29  Andreas Jaeger  <aj@suse.de>
18339         * Makerules (tests): Remove enable-check-abi protection.
18340         (check-abi-warn): Remove.
18341         (check-abi-%): Remove check-abi-warn usage.
18343         * configure.in: Remove check-abi configure option.
18344         * configure: Regenerated.
18345         * config.make.in (enable-check-abi): Remove.
18347 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
18349         [BZ #14033]
18350         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18351         double functions to double *_finite functions.
18353         [BZ #13941]
18354         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18355         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18356         LDBL_MIN_EXP.
18357         * stdio-common/Makefile (tests): Add tst-sprintf3.
18358         * stdio-common/tst-sprintf3.c: New file.
18360         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18361         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18363 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18365         * conform/conformtest.pl: Remove duplicate typed-constant
18366         handling.
18368 2012-04-28  David S. Miller  <davem@davemloft.net>
18370         * Makerules (%.abilist): Add vpath on sysdep_dirs.
18371         (check-abi-%): Remove AWK script prerequisite and explicit
18372         abilist directory.
18373         (check-abi): Rewrite to just diff the symlist with the abilist.
18374         (config-tls, config-abi-config): Delete, no longer used.
18375         (update-abi-%): Remove AWK script and explicit abilist directory.
18376         (update-abi): Rewrite to simply compare and conditionally copy the
18377         symlist and the sysdep abilist file.  Remove update-abi-config
18378         checks.
18379         * abilist/ld.abilist: Remove.
18380         * abilist/libBrokenLocale.abilist: Remove.
18381         * abilist/libanl.abilist: Remove.
18382         * abilist/libcrypt.abilist: Remove.
18383         * abilist/libdl.abilist: Remove.
18384         * abilist/librt.abilist: Remove.
18385         * abilist/libthread_db.abilist: Remove.
18386         * abilist/libutil.abilist: Remove.
18387         * scripts/extract-abilist.awk: Remove.
18388         * scripts/merge-abilist.awk: Remove.
18389         * sysdeps/generic/libcidn.abilist: New file.
18390         * sysdeps/generic/libnss_compat.abilist: New file.
18391         * sysdeps/generic/libnss_db.abilist: New file.
18392         * sysdeps/generic/libnss_dns.abilist: New file.
18393         * sysdeps/generic/libnss_files.abilist: New file.
18394         * sysdeps/generic/libnss_hesiod.abilist: New file.
18395         * sysdeps/generic/libnss_nis.abilist: New file.
18396         * sysdeps/generic/libnss_nisplus.abilist: New file.
18397         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18398         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18399         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18400         file.
18401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18402         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18403         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18404         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18405         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18406         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18407         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18408         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18409         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18410         file.
18411         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18412         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18413         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18414         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18415         file.
18416         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18417         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18418         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18419         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18420         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18421         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18422         file.
18423         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18424         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18425         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18426         file.
18427         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18429         New file.
18430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18431         New file.
18432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18433         New file.
18434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18435         New file.
18436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18437         New file.
18438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18439         New file.
18440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18441         New file.
18442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18443         New file.
18444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18445         New file.
18446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18447         New file.
18448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18449         New file.
18450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18451         New file.
18452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18453         New file.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18455         file.
18456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18457         New file.
18458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18459         New file.
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18461         file.
18462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18463         New file.
18464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18465         New file.
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18467         file.
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18469         New file.
18470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18471         New file.
18472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18473         New file.
18474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18475         New file.
18476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18477         New file.
18478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18479         New file.
18480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18482         file.
18483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18484         New file.
18485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18486         file.
18487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18488         file.
18489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18490         file.
18491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18492         file.
18493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18494         file.
18495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18496         New file.
18497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18498         file.
18499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18500         file.
18501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18502         New file.
18503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18504         file.
18505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18507         file.
18508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18509         New file.
18510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18511         file.
18512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18513         file.
18514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18515         file.
18516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18517         file.
18518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18519         file.
18520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18521         New file.
18522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18523         file.
18524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18525         file.
18526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18527         New file.
18528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18529         file.
18530         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18531         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18532         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18533         file.
18534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18535         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18536         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18537         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18538         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18539         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18540         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18541         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18542         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18543         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18546         file.
18547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18548         New file.
18549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18550         file.
18551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18552         file.
18553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18554         file.
18555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18556         file.
18557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18558         file.
18559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18560         New file.
18561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18562         New file.
18563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18564         file.
18565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18566         New file.
18567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18568         file.
18569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18571         file.
18572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18573         New file.
18574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18575         file.
18576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18577         file.
18578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18579         file.
18580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18581         file.
18582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18583         file.
18584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18585         New file.
18586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18587         New file.
18588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18589         file.
18590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18591         New file.
18592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18593         file.
18595 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18597         * conform/conformtest.pl: Fix typo in handling typed-constant from
18598         allow-header.
18600 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18602         * README: Cut down references to pre-2.6 Linux kernels and
18603         Linuxthreads.  Update lists of configurations in libc and ports
18604         and sort alphabetically.  Say "or newer" with Linux kernel version
18605         requirements.
18607         * config.h.in [IS_IN_build]: Allow compiling without optimization.
18609 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18611         [BZ #887]
18612         * math/libm-test.inc (logb_test_downward): New test to expose
18613         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18614         rounding mode.
18616 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18618         [BZ #14027]
18619         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18620         to be done.
18621         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18622         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18624 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
18626         * sysdeps/unix/i386/brk.S: Remove file.
18627         * sysdeps/unix/i386/dl-brk.S: Likewise.
18628         * sysdeps/unix/i386/pipe.S: Likewise.
18629         * sysdeps/unix/i386/sigreturn.S: Likewise.
18630         * sysdeps/unix/i386/syscall.S: Likewise.
18631         * sysdeps/unix/i386/vfork.S: Likewise.
18632         * sysdeps/unix/i386/wait.S: Likewise.
18634         * sysdeps/unix/common/tcsendbrk.c: Move to ...
18635         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18637         * configure.in (arm*-none*): Do not allow without
18638         --enable-hacker-mode.
18639         (netbsd*): Remove case setting base_os.
18640         (386bsd*): Likewise.
18641         (freebsd*): Likewise.
18642         (bsdi*): Likewise.
18643         (osf*): Likewise.
18644         (sunos*): Likewise.
18645         (ultrix*): Likewise.
18646         (newsos*): Likewise.
18647         (dynix*): Likewise.
18648         (*bsd*): Likewise.
18649         (sysv*): Likewise.
18650         (isc*): Likewise.
18651         (esix*): Likewise.
18652         (sco*): Likewise.
18653         (minix*): Likewise.
18654         (irix4*): Likewise.
18655         (irix6*): Likewise.
18656         (solaris[2-9]*): Likewise.
18657         (none): Likewise.
18658         * configure: Regenerated.
18660 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18662         [BZ #11521]
18663         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18664         overflow or cancellation in calculating denominator.
18665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18667         down expression to avoid unexpected rounding in newer GCCs.
18668         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18670 2012-04-26  David S. Miller  <davem@davemloft.net>
18672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18673         long-double compat symbols.
18674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18688 2012-04-25  David S. Miller  <davem@davemloft.net>
18690         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18691         HWCAP_* values only after the memory barriers have been defined.
18692         (atomic_full_barrier): Define.
18693         (atomic_read_barrier): Define.
18694         (atomic_write_barrier): Define.
18696 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18698         * shlib-versions: Add libgcc_s version information.
18699         * sysdeps/generic/libgcc_s.h: Remove.
18700         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18701         libgcc_s.h.
18702         * sysdeps/gnu/unwind-resume.c: Likewise.
18703         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18705 2012-04-25  David S. Miller  <davem@davemloft.net>
18707         * sysdeps/unix/sparc/brk.S: Delete.
18708         * sysdeps/unix/sparc/dl-brk.S: Delete.
18709         * sysdeps/unix/sparc/pipe.S: Delete.
18710         * sysdeps/unix/sparc/sysdep.S: Delete.
18711         * sysdeps/unix/sparc/sysdep.h: Delete.
18712         * sysdeps/unix/sparc/vfork.S: Delete.
18713         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18714         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18715         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18716         ret_ERRVAL, r0, r1, MOVE): Define.
18717         (JUMPTARGET): Remove.
18718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18719         sysdeps/unix/sparc/sysdep.h
18720         (ENTRY, END): Remove.
18721         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18723 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
18725         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18726         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18727         -DIS_IN_build.
18729         * timezone/README: Update upstream location and email address for
18730         tzcode and tzdata.
18731         * timezone/zdump.c: Update from tzcode 2012b.
18732         * timezone/zic.c: Likewise.
18734         * configure.in (libc_cv_as_needed): Remove test.
18735         * configure: Regenerated.
18736         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18737         conditional definition.
18738         [$(have-as-needed) != yes] (no-as-needed): Likewise.
18739         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18740         * config.make.in (have-as-needed): Remove variable.
18742 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18743             Paul Pluzhnikov  <ppluzhnikov@google.com>
18745         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18746         strings correctly.
18748 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18750         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18751         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18752         * sysdeps/sh/strlen.S: Likewise.
18754 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18756         * sysdeps/unix/fork.S: Remove file.
18757         * sysdeps/unix/i386/fork.S: Likewise.
18758         * sysdeps/unix/sparc/fork.S: Likewise.
18760         * sysdeps/unix/system.c: Remove file.
18761         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18763         * sysdeps/unix/getegid.S: Remove file.
18764         * sysdeps/unix/geteuid.S: Likewise.
18766 2012-04-24  Roland McGrath  <roland@hack.frob.com>
18768         * scripts/check-localplt.awk: New file.
18769         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18770         of diff.
18771         * scripts/data/localplt-generic.data: Add a comment.
18773         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18774         NODE when __dir_mkfile failed.
18775         * sysdeps/mach/hurd/symlinkat.c: Likewise.
18776         Reported by Ludovic Courtès <ludo@gnu.org>.
18778 2012-04-24  Andreas Jaeger  <aj@suse.de>
18780         * Makerules (common-clean): Also remove gen-as-const-headers
18781         files.
18783 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18785         * Makerules (native-compile): Do not change working directory for
18786         build.  Use $(OUTPUT_OPTION) in command.
18787         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18789 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18791         [BZ #13886]
18792         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18793         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18794         * math/libm-test.inc (floor_test): Add more tests.
18795         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18797 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18799         * sysdeps/unix/getdents.c: Remove file.
18800         * sysdeps/unix/sysv/getdents.c: Likewise.
18801         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18803         * sysdeps/unix/syscalls.list (madvise): Add syscall from
18804         sysdeps/unix/mman/syscalls.list.
18805         (mmap): Likewise.
18806         (mprotect): Likewise.
18807         (msync): Likewise.
18808         (munmap): Likewise.
18809         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18810         * sysdeps/unix/mman/syscalls.list: Remove.
18811         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18813         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18814         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18815         * configure: Regenerated.
18816         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18817         $(libgcc_s_suffix).
18818         * config.make.in (libgcc_s_suffix): Remove variable.
18820 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
18822         * sysdeps/unix/sysv/gethostname.c: Move to ...
18823         * sysdeps/posix/gethostname.c: ... here.
18825         * sysdeps/unix/execve.S: Remove file.
18827         * sysdeps/unix/_exit.S: Remove file.
18829 2012-04-23  Andreas Jaeger  <aj@suse.de>
18831         [BZ #13739]
18832         * manual/Makefile: Remove make dist support, there's no
18833         need for a stand-alone documentation tar ball.
18834         (TEXI2DVI): Define always, it's not in Makeconfig.
18835         (dist): Removed.
18836         (tar-it): Removed.
18837         (edition): Removed.
18838         (glibc-doc-$(edition).tar): Removed
18839         (%.Z): Removed.
18840         (%.gz): Removed.
18841         (%.uu): Removed.
18842         (ETAGS): Remove, it's in Makeconfig.
18843         (move-if-change): Remove, it's in Makeconfig.
18845 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
18847         [BZ #13970]
18848         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18849         (strtod, strtof, strtold, strtol, strtoul, strtoq)
18850         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18851         (strtod_l, strtof_l, strtold_l): Remove __wur.
18852         It is not necessarily an error to ignore strtol's return value.
18853         One can reliably look at the stored endptr to decide whether
18854         the number had valid syntax.
18856 2012-04-21  Andreas Jaeger  <aj@suse.de>
18858         [BZ #13739]
18859         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18861 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
18863         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18864         * sysdeps/unix/sysv/Versions: Remove file.
18866 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
18868         [BZ #13927]
18869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18871 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
18873         [BZ #7064]
18874         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18875         version from __vm86.
18877 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
18879         * sysdeps/unix/common/lxstat.c: Remove file.
18880         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18882         * sysdeps/unix/sysv/Makefile: Remove file.
18884         * sysdeps/unix/sysv/direct.h: Remove file.
18886         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18887         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18888         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18889         * sysdeps/unix/sysv/bits/signum.h: Likewise.
18890         * sysdeps/unix/sysv/bits/stat.h: Likewise.
18891         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18892         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18894         * sysdeps/unix/sysv/setrlimit.c: Remove file.
18896         * sysdeps/unix/xmknod.c: Remove file.
18897         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18899         * sysdeps/unix/sysv/settimeofday.c: Remove file.
18901         * sysdeps/unix/sysv/i386/time.S: Remove file.
18903         * sysdeps/unix/fxstat.c: Remove file.
18904         * sysdeps/unix/xstat.c: Likewise.
18905         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18907         * sysdeps/unix/sysv/sigaction.c: Remove file.
18909         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18910         (sysdep_headers): Remove variable.
18911         [termio.h not in sysdep_headers] (generated): Likewise.
18912         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18913         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18914         * sysdeps/unix/sysv/tcdrain.c: Likewise.
18915         * sysdeps/unix/sysv/tcflow.c: Likewise.
18916         * sysdeps/unix/sysv/tcflush.c: Likewise.
18917         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18918         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18919         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18920         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18921         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18923         * sysdeps/unix/siglist.c: Remove file.
18925         * sysdeps/unix/getppid.S: Remove file.
18927         * sysdeps/unix/mkdir.c: Remove file.
18928         * sysdeps/unix/rmdir.c: Likewise.
18930 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
18932         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18933         ERR_MAX value.
18934         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18935         errlist-compat value.
18937 2012-04-18  David S. Miller  <davem@davemloft.net>
18939         * sysdeps/generic/memcopy.h (reg_char): Delete.
18940         * debug/strcat_chk.c: Use char, not reg_char.
18941         * debug/strcpy_chk.c: Likewise.
18942         * debug/strncat_chk.c: Likewise.
18943         * debug/strncpy_chk.c: Likewise.
18944         * string/memchr.c: Likewise.
18945         * string/memrchr.c: Likewise.
18946         * string/rawmemchr.c: Likewise.
18947         * string/strcat.c: Likewise.
18948         * string/strchr.c: Likewise.
18949         * string/strchrnul.c: Likewise.
18950         * string/strcmp.c: Likewise.
18951         * string/strcpy.c: Likewise.
18952         * string/strncat.c: Likewise.
18953         * string/strncmp.c: Likewise.
18954         * string/strncpy.c: Likewise.
18956 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18958         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18959         __builtin_memcopy is called when src and dest ranges are known to not
18960         overlap.
18962 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18964         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18965         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18966         fwd_align_merge macro call.
18967         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18968         bwd_align_merge macro call.
18969         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18971 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18973         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18974         bwd_align_merge macros.
18975         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18976         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18977         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18979 2012-04-18  David S. Miller  <davem@davemloft.net>
18981         * sysdeps/sparc/sparc64/memcopy.h: Delete.
18983 2012-04-18  Andreas Jaeger  <aj@suse.de>
18985         [BZ# 6794]
18986         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18987         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18988         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18990         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18991         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18992         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18994         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18995         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18996         Adjust for changed ldbl-128 files.
18998         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18999         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19000         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19002 2012-04-17  David S. Miller  <davem@davemloft.net>
19004         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19006 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19008         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19009         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19010         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19011         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19012         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19013         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19015 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19017         [BZ #6794]
19018         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19019         * math/libm-test.inc: Add ilogb errno and exception tests.
19020         * math/w_ilogb.c: New file: ilogb wrapper.
19021         * math/w_ilogbf.c: New file: ilogbf wrapper.
19022         * math/w_ilogbl.c: New file: ilogbl wrapper.
19023         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19024         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19025         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19026         exception being thrown with 0.0 as argument.
19027         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19028         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19029         exception being thrown with 0.0 as argument.
19030         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19031         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19032         exception being thrown with 0.0 as argument.
19033         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19034         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19035         exception being thrown with 0.0 as argument.
19036         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19037         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19038         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19039         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19040         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19041         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19042         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19043         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19044         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19046 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19048         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19049         with altivec.
19051 2012-04-16  Marek Polacek  <polacek@redhat.com>
19053         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19055 2012-04-16  Marek Polacek  <polacek@redhat.com>
19057         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19058         operands of fdivp instruction.
19060 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19062         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19063         * elf/tst-auditmod3b.c: Likewise.
19064         * elf/tst-auditmod4b.c: Likewise.
19065         * elf/tst-auditmod5b.c: Likewise.
19066         * elf/tst-auditmod6b.c: Likewise.
19067         * elf/tst-auditmod6c.c: Likewise.
19068         * elf/tst-auditmod7b.c: Likewise.
19069         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19070         * sysdeps/x86_64/preconfigure.in: Likewise.
19071         * sysdeps/x86_64/preconfigure: Regenerated.
19073 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19075         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19076         __ILP32__.
19078 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19080         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19081         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19083 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19085         [BZ #13973]
19086         * locale/iso-639.def: Fix gl language name. Spotted by
19087         Yaron Shahrabani.
19089 2012-04-12  Roland McGrath  <roland@hack.frob.com>
19091         [BZ #2074]
19092         * libio/libio.h (__io_write_fn): Update comment.
19094 2012-04-12  Petr Baudis  <pasky@ucw.cz>
19096         [BZ #2074]
19097         * stdio.texi (Hook Functions): The user provided writer function
19098         is not allowed to return -1.
19100 2012-04-11  David S. Miller  <davem@davemloft.net>
19102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19104 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
19106         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19107         Add a leading slash to rtkaio.
19109 2012-04-11  Jim Meyering  <meyering@redhat.com>
19111         [BZ #11959]
19112         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19113         It is not necessarily an error to ignore fwrite's return
19114         value.  One can reliably use ferror to test for errors after
19115         the fact.
19117 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19119         * bits/types.h (__snseconds_t): New type.
19120         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19122         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19123         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19124         (__SNSECONDS_T_TYPE): Likewise.
19125         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19126         (__SNSECONDS_T_TYPE): Likewise.
19127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19128         (__SNSECONDS_T_TYPE): Likewise.
19130 2012-04-10  Andreas Jaeger  <aj@suse.de>
19132         [BZ #2636]
19133         * manual/time.texi (Processor Time): Return type of times is
19134         elapsed real time since an arbitrary point in the past.
19135         (CPU Time): Move CLK_TCK from here...
19136         (Processor Time): ...to here.  Correct description.
19137         * manual/conf.texi (Constants for Sysconf): Correct description of
19138         _SC_CLK_TCK.
19140 2012-04-10  David S. Miller  <davem@davemloft.net>
19142         [BZ #13967]
19143         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19144         where the is a gap between DT_REL(A) and DT_JMPREL.
19146 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19148         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19149         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19150         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19152 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154         * elf/dl-support.c (_dl_inhibit_cache): New variable.
19155         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19156         (dl_main): Handle --inhibit-cache.
19157         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19158         _dl_inhibit_cache.
19159         * elf/dl-load.c (_dl_map_object): Use it.
19160         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19162 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19164         [BZ #13872]
19165         * sysdeps/i386/fpu/e_powl.S (p78): New object.
19166         (__ieee754_powl): Saturate large exponents rather than testing for
19167         overflow of y*log2(x).
19168         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19169         * math/libm-test.inc (pow_test): Do not permit spurious overflow
19170         exceptions.
19172         [BZ #11521]
19173         * math/s_ctan.c: Include <float.h>.
19174         (__ctan): Avoid internal overflow or cancellation in calculating
19175         denominator.
19176         * math/s_ctanf.c: Likewise.
19177         * math/s_ctanl.c: Likewise.
19178         * math/s_ctanh.c: Likewise.
19179         * math/s_ctanhf.c: Likewise.
19180         * math/s_ctanhl.c: Likewise.
19181         * math/libm-test.inc (ctan_test): Add more tests.
19182         (ctanh_test): Likewise.
19183         * sysdeps/i386/fpu/libm-test-ulps: Update.
19184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186 2012-04-09  Andreas Jaeger  <aj@suse.de>
19188         [BZ #6894]
19189         * manual/filesys.texi (Directory Entries): Mention that d_namlen
19190         is an optional BSD extension.
19192         [BZ #10254]
19193         * manual/stdio.texi (Opening Streams): Document additional fopen
19194         parameters.
19196 2012-04-09  Roland McGrath  <roland@hack.frob.com>
19198         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19199         %eax without telling the compiler.
19201 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
19203         [BZ # 13963]
19204         * manual/install.texi: Use sourceware.org.
19206 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19208         [BZ #13873]
19209         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19210         (__ieee754_pow): Generate overflow and underflow using huge*huge
19211         and tiny*tiny rather than just returning constant infinity or zero
19212         for large exponents.
19213         * math/libm-test.inc (pow_test): Require overflow exceptions for
19214         applicable cases of large exponents.
19216         [BZ #706]
19217         * sysdeps/i386/fpu/e_pow.S (p10): New object.
19218         (__ieee754_pow): Use iterative multiplication algorithm only for
19219         integer exponents with absolute value below 1024.  Check for odd
19220         integer exponents when using algorithm for real exponents.
19221         * math/libm-test.inc (pow_test): Add more tests.
19222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19224 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
19226         [BZ #13705]
19227         * math/libm-test.inc (exp_test): Do not allow overflow exception
19228         on underflow test.
19230 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
19232         [BZ #13705]
19233         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19234         instead of __kernel_standard_f.
19236 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
19238         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19239         * sysdeps/x86_64/memset_chk.S: Likewise.
19241 2012-04-08  Andreas Jaeger  <aj@suse.de>
19243         [BZ #10153]
19244         * manual/startup.texi (Environment Access): Describe return value
19245         for putenv and setenv.
19247         [BZ #6895]
19248         * manual/filesys.texi (Directory Entries): Add description for
19249         DT_LNK.
19251         [BZ #6890]
19252         * manual/filesys.texi (Directory Entries): Clarify that it's file
19253         system not operating system in the description of DT_UNKNOWN.
19255         [BZ #6578]
19256         * manual/syslog.texi (closelog): Fix reference, it's openlog.
19258 2012-04-08  Stephen Compall  <s11@member.fsf.org>
19260         [BZ #6649]
19261         * manual/llio.texi (Opening and Closing Files): Add cross
19262         reference to explain mode argument.
19264 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
19266         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19267         * sysdeps/x86_64/memset_chk.S: Likewise.
19269 2012-04-07  David S. Miller  <davem@davemloft.net>
19271         * elf/elf.h (R_SPARC_WDISP10): Define.
19272         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19273         R_SPARC_SIZE32.
19274         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19275         R_SPARC_SIZE64 and R_SPARC_H34.
19277 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
19279         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19280         conditions and remove no longer applicable assertion.
19282 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19284         * bits/byteswap.h: Include <features.h>.
19285         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19286         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19288 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19290         * bits/byteswap.h (__bswap_16): Removed.
19291         Include <bits/byteswap-16.h> to get __bswap_16.
19292         * sysdeps/i386/bits/byteswap.h: Likewise.
19293         * sysdeps/s390/bits/byteswap.h: Likewise.
19294         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19295         * bits/byteswap-16.h: New file.
19296         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19297         * sysdeps/s390/bits/byteswap-16.h: Likewise.
19298         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19299         * string/Makefile (headers): Add bits/byteswap-16.h.
19301 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19303         [BZ #13895]
19304         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19305         extra indirection.
19306         * nss/Makefile (tests-static, tests): Add tst-nss-static.
19307         * nss/tst-nss-static.c: New.
19309 2012-04-06  Robert Millan  <rmh@gnu.org>
19311         [BZ #6486]
19312         * manual/llio.texi (File Position Primitive): lseek
19313         refers to WHENCE when it really means OFFSET.
19315 2012-04-06  Andreas Jaeger  <aj@suse.de>
19317         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19318         strncmp declarations.
19320         * abilist/libc.abilist: Add __poll and __ppoll.
19322 2012-04-05  David S. Miller  <davem@davemloft.net>
19324         * scripts/check-local-headers.sh: Accept a host triplet in the
19325         path matched by the exclude regexp.
19327         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19328         definition.
19329         * sysdeps/powerpc/powerpc32/dl-machine.h
19330         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19331         * sysdeps/s390/s390-32/dl-machine.h
19332         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19333         * sysdeps/sparc/sparc32/dl-machine.h
19334         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19335         * sysdeps/sparc/sparc64/dl-machine.h
19336         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19338         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19339         lazy binding.
19340         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19341         undefined symbol errors.
19343         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19344         DT_NEEDED entries.
19346 2012-04-05  Michael Matz  <matz@suse.de>
19348         [BZ #13592]
19349         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19351 2012-04-05  Andreas Jaeger  <aj@suse.de>
19353         [BZ #13908]
19354         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19355         comment.
19357 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19359         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19360         which ROUND is no valid rounding mode.
19362 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19364         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19365         read again.
19366         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19370         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19371         an exception using FPU order intentionally.
19373 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19375         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19376         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19377         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19378         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19380 2012-04-05  Simon Josefsson  <simon@josefsson.org>
19382         [BZ #12340]
19383         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19384         EINVAL when BUFLEN is too smal.
19386 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19388         [BZ #13553]
19389         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19390         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19392 2012-04-03  Andreas Jaeger  <aj@suse.de>
19394         [BZ #13938]
19395         * manual/setjmp.texi (System V contexts): Fix sentence.
19397         [BZ #13926]
19398         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19399         New macro for this case.
19400         [!__GNUC__] (__bswap_64): New inline function for this case.
19401         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19402         * bits/byteswap.h: Likewise.
19403         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19404         ull, guard with __GLIBC_HAVE_LONG_LONG.
19406         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19407         __GLIBC_HAVE_LONG_LONG.
19409         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19410         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19412 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19414         [BZ #13691]
19415         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19416         inptr and inend, rather than using last_ch.
19418 2012-04-02  David S. Miller  <davem@davemloft.net>
19420         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19421         * stdio-common/printf-parse.h (read_int): Change return type to
19422         'int', return -1 on INT_MAX overflow.
19423         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19424         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
19425         overflows INT_MAX.  Check for overflow of in-format-string precision
19426         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
19427         SIZE_MAX not INT_MAX for integer overflow test.
19428         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19429         skip the construct in the format string but do not record anything.
19430         * stdio-common/bug22.c: Adjust to test both width/prevision
19431         INT_MAX overflow as well as total length INT_MAX overflow.  Check
19432         explicitly for proper errno values.
19434 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19436         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19437         CHAR_MAX.
19438         * string/test-strcmp.c [! WIDE]: Likewise.
19439         * time/tst-mktime2.c: Likewise for INT_MAX.
19440         * string/test-string.h: #include <sys/param.h> for MIN.
19442         * csu/init-first.c (__libc_init_first): Call __ctype_init.
19443         * sysdeps/i386/init-first.c (init): Likewise.
19444         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19445         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19446         * sysdeps/sh/init-first.c (init): Likewise.
19448 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
19450         * po/ru.po: Update from translation team.
19451         * po/vi.po: Likewise.
19453 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19455         * resolv/nss_dns/dns-host.c: Merge copyright years.
19457 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19459         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19460         Optimize memcpy with prefetch if
19461         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
19462         src, dst pointers have unequal 16 byte alignments.
19464 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19466         [BZ #13928]
19467         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19468         from a CNAME entry and return the minimum ttl for the query.
19469         (gaih_getanswer_slice): Likewise.
19471 2012-03-30  Jeff Law  <law@redhat.com>
19473         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19474         due to long keys.
19475         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19476         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19478         * resolv/nss_dns/dns-host.c: Update copyright year.
19480 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
19482         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19483         requests to save a system call.  Fix check that all bytes are sent.
19485         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19486         comments for sendmmsg.
19488 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19490         [BZ #13691]
19491         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19492         with only 1 character between 0x0041 and 0x01b0.
19493         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19494         * wcsmbs/tst-mbsnrtowcs.c: New file.
19496 2012-03-29  David S. Miller  <davem@davemloft.net>
19498         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19499         small copies by hand.
19501 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19503         [BZ #13761]
19504         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19505         _nss_compat_initgroups_dyn): Fall back to malloc/free
19506         for large group memberships.
19508 2012-03-28  David S. Miller  <davem@davemloft.net>
19510         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19511         that branches into memcpy.
19512         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19515         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19516         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19517         bits.
19518         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19519         implementation too.
19520         * sysdeps/sparc/mempcpy.S: New file.
19522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19523         the IFUNC routine in the libc case.
19524         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19526         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19527         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19528         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19529         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19530         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19531         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19532         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19533         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19535         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19536         loop to 256 bytes instead of 64 bytes and fix test signedness.
19538         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19539         * sysdeps/sparc/sparc32/Makefile: rather than here...
19540         * sysdeps/sparc/sparc64/Makefile: and here.
19542 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
19544         * malloc/mallocbug.c: Avoid warnings about unused variables.
19546 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19548         [BZ #13760]
19549         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19550         in the right place. Discard and retry query if response is
19551         larger than input buffer size.
19553 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
19555         [BZ #369]
19556         [BZ #2678]
19557         [BZ #3866]
19558         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19559         x for large integer exponent.
19560         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19561         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
19562         sign of result as needed afterwards.
19563         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19564         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19565         result for underflowing pow the same as for overflow.
19566         (__kernel_standard_l): Handle powl overflow and underflow here
19567         rather than calling __kernel_standard.
19568         * math/libm-test.inc (pow_test): Add more tests.
19570         [BZ #3868]
19571         [BZ #13879]
19572         [BZ #13910]
19573         [BZ #13911]
19574         [BZ #13912]
19575         [BZ #13913]
19576         [BZ #13915]
19577         [BZ #13916]
19578         [BZ #13917]
19579         [BZ #13918]
19580         [BZ #13919]
19581         [BZ #13920]
19582         [BZ #13921]
19583         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19584         * sysdeps/ieee754/k_standard.c: Include <float.h>.
19585         (__kernel_standard_l): New function.
19586         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19587         __kernel_standard.
19588         * math/w_acosl.c (__acosl): Likewise.
19589         * math/w_asinl.c (__asinl): Likewise.
19590         * math/w_atan2l.c (__atan2l): Likewise.
19591         * math/w_atanhl.c (__atanhl): Likewise.
19592         * math/w_coshl.c (__coshl): Likewise.
19593         * math/w_exp10l.c (__exp10l): Likewise.
19594         * math/w_exp2l.c (__exp2l): Likewise.
19595         * math/w_fmodl.c (__fmodl): Likewise.
19596         * math/w_hypotl.c (__hypotl): Likewise.
19597         * math/w_j0l.c (__j0l, __y0l): Likewise.
19598         * math/w_j1l.c (__j1l, __y1l): Likewise.
19599         * math/w_jnl.c (__jnl, __ynl): Likewise.
19600         * math/w_lgammal.c (__lgammal): Likewise.
19601         * math/w_log10l.c (__log10l): Likewise.
19602         * math/w_log2l.c (__log2l): Likewise.
19603         * math/w_logl.c (__logl): Likewise.
19604         * math/w_powl.c (__powl): Likewise.
19605         * math/w_remainderl.c (__remainderl): Likewise.
19606         * math/w_scalbl.c (sysv_scalbl): Likewise.
19607         * math/w_sinhl.c (__sinhl): Likewise.
19608         * math/w_sqrtl.c (__sqrtl): Likewise.
19609         * math/w_tgammal.c (__tgammal): Likewise.
19610         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19611         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19612         * math/libm-test.inc (acos_test): Add more tests.
19613         (acosh_test): Likewise.
19614         (asin_test): Likewise.
19615         (atanh_test): Likewise.
19616         (exp_test): Likewise.
19617         (exp10_test): Likewise.
19618         (exp2_test): Likewise.
19619         (expm1_test): Likewise.
19620         (lgamma_test): Likewise.
19621         (log_test): Likewise.
19622         (log10_test): Likewise.
19623         (log1p_test): Likewise.
19624         (log2_test): Likewise.
19625         (pow_test): Do not allow some spurious overflow exceptions.
19626         (sqrt_test): Add more tests.
19627         (tgamma_test): Likewise.
19628         (y0_test): Likewise.
19629         (y1_test): Likewise.
19630         (yn_test): Likewise.
19632 2012-03-27  Anton Blanchard  <anton@samba.org>
19634         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19635         MAP_HUGETLB.
19636         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19637         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19638         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19640 2012-03-27  David S. Miller  <davem@davemloft.net>
19642         * conform/Makefile: Run run-conformtest.sh using $(BASH).
19644         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19645         have-as-vis3 check.
19647 2012-03-27  Andreas Jaeger  <aj@suse.de>
19649         * sysdeps/x86_64/elf/configure.in: Moved to ...
19650         * sysdeps/x86_64/configure.in: ... here.
19651         * sysdeps/x86_64/elf/start.S: Moved to ...
19652         * sysdeps/x86_64/start.S: ... here.
19653         * sysdeps/x86_64/elf/configure: Delete.
19655         * sysdeps/x86_64/configure.in: Merge contents from
19656         sysdeps/i386/configure.in (without i686 check).
19658         * sysdeps/i386/elf/Versions: Merge into ...
19659         * sysdeps/i386/Versions: ... this.
19660         * sysdeps/i386/elf/Versions: Delete file.
19661         * sysdeps/i386/elf/start.S: Moved to ...
19662         * sysdeps/i386/start.S: ...here.
19663         * sysdeps/i386/elf/configure.in: Merge into...
19664         * sysdeps/i386/configure.in: ...here.
19665         * sysdeps/i386/elf/configure.in: Delete file.
19666         * sysdeps/i386/elf/configure: Delete file.
19668         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19669         * debug/backtracesyms.c: ... here.
19670         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19671         * debug/backtracesymsfd.c: ... here.
19672         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19673         * sysdeps/generic/ifunc-sel.h: ... here.
19675         * sysdeps/unix/i386/start.c: Delete file.
19676         * sysdeps/unix/sparc/start.c: Delete file.
19677         * sysdeps/unix/start.c: Delete file.
19679         * sysdeps/sh/elf/configure.in: Moved to ...
19680         * sysdeps/sh/configure.in: ... here.
19681         * sysdeps/sh/elf/start.S: Moved to ...
19682         * sysdeps/sh/start.S: ... here.
19683         * sysdeps/sh/elf/configure: Delete file.
19685         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19686         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19687         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19688         * sysdeps/powerpc/powerpc64/entry.h: ... here.
19689         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19690         * sysdeps/powerpc/powerpc64/start.S: here.
19691         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19692         * sysdeps/powerpc/powerpc64/Makefile: ... this.
19693         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19694         * sysdeps/powerpc/powerpc64/configure.in: ... this.
19695         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19697         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19698         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19699         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19700         * sysdeps/powerpc/powerpc32/start.S: ... here.
19701         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19702         * sysdeps/powerpc/powerpc32/configure.in: ... this.
19703         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19705         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19706         * sysdeps/powerpc/ifunc-sel.h: ... here.
19707         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19708         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19710         * sysdeps/sparc/elf/configure.in: Moved to ...
19711         * sysdeps/sparc/configure.in: ... here.
19712         * sysdeps/sparc/elf/configure: Delete file.
19713         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19714         * sysdeps/sparc/sparc32/start.S: ... here.
19715         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19716         * sysdeps/sparc/sparc64/start.S: ... here.
19717         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19718         * sysdeps/sparc/sparc32/Makefile: ... this.
19719         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19720         * sysdeps/sparc/sparc64/Makefile: ... this.
19722         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19723         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19724         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19725         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19726         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19727         * sysdeps/s390/s390-32/setjmp.S: ... here.
19728         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19729         * sysdeps/s390/s390-32/configure.in: ... here.
19730         * sysdeps/s390/s390-32/elf/configure: Delete file.
19731         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19732         * sysdeps/s390/s390-32/start.S: ... here.
19734         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19735         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19736         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19737         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19738         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19739         * sysdeps/s390/s390-64/setjmp.S: ... here.
19740         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19741         * sysdeps/s390/s390-64/configure.in: ... here
19742         * sysdeps/s390/s390-64/elf/configure: Delete file.
19743         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19744         * sysdeps/s390/s390-64/start.S: ... here.
19745         * sysdeps/s390/s390-64/elf/configure: Delete.
19747         * configure.in: Remove support for elf directories in sysdeps.
19749         * configure: Regenerated.
19750         * sysdeps/i386/configure: Regenerated.
19751         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19752         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19753         * sysdeps/s390/s390-32/configure: Regenerated.
19754         * sysdeps/s390/s390-64/configure: Regenerated.
19755         * sysdeps/sh/configure: Regenerated.
19756         * sysdeps/sparc/configure: Regenerated.
19757         * sysdeps/x86_64/configure: Regenerated.
19759 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
19761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19764         denormal result into account.
19766 2012-03-25  Roland McGrath  <roland@hack.frob.com>
19768         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19769         Reported by Allan McRae <allan@archlinux.org>.
19771 2012-03-23  Jeff Law  <law@redhat.com>
19773         * nss/getnssent.c (__nss_getent): Fix typo.
19775 2012-03-23  David S. Miller  <davem@davemloft.net>
19777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19779 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
19781         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19782         to pad to uint64_t for each field.
19783         (dl_tls_index): Replace unsigned long with uint64_t.
19785 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
19786         Paul Pluzhnikov  <ppluzhnikov@google.com>
19788         [BZ #6528]
19789         * grp/Makefile (otherlibs): Don't set it.
19790         * inet/Makefile (otherlibs): Likewise.
19791         * login/Makefile (otherlibs): Likewise.
19792         * nscd/Makefile (otherlibs): Likewise.
19793         * posix/Makefile (otherlibs): Likewise.
19794         * pwd/Makefile (otherlibs): Likewise.
19795         * rt/Makefile (otherlibs): Likewise.
19796         * sunrpc/Makefile (otherlibs): Likewise.
19797         * nss/Makefile (otherlibs): Likewise.
19798         Add libnss_files to routines and static-only-routines.
19799         ($(objpfx)getent): Remove rule.
19800         * resolv/Makefile: Add libnss_dns and libresolv to routines and
19801         static-only-routines.
19803 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19805         [BZ #13892]
19806         * math/s_cexp.c: Include <float.h>.
19807         (__cexp): Handle exp result overflowing not necessarily
19808         overflowing both real and imaginary parts of result.
19809         * math/s_cexpf.c: Likewise.
19810         * math/s_cexpl.c: Likewise.
19811         * math/libm-test.inc (cexp_test): Add more tests.
19812         * sysdeps/i386/fpu/libm-test-ulps: Update.
19813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19815 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19817         * include/link.h (ELFW): New macro.
19818         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19819         Replace ELF64_R_TYPE with ELFW(R_TYPE).
19821 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19823         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19824         with uint64_t.
19826 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19828         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19829         declaration.
19830         (struct La_x32_retval): Likewise.
19832 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19834         * sysdeps/x86_64/preconfigure.in: New file.
19835         * sysdeps/x86_64/preconfigure: New generated file.
19837 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19839         [BZ #13824]
19840         * math/e_exp2l.c: Include <float.h>.
19841         (__ieee754_exp2l): Handle overflow and underflow cases
19842         separately.  Only pass fractional part of argument to
19843         __ieee754_expl.
19844         * math/libm-test.inc (exp2_test): Add more tests.
19846         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19847         negating x to take absolute value.
19848         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19849         Likewise.
19850         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19852         Likewise.
19853         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19854         computing low part if x was negated.
19855         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19857 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19859         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19860         la_x32_gnu_pltexit.
19861         (pltexit): Cast int_retval to ptrdiff_t.
19862         * elf/tst-auditmod3b.c: Likewise.
19863         * elf/tst-auditmod4b.c: Likewise.
19864         * elf/tst-auditmod5b.c: Likewise.
19865         * elf/tst-auditmod6b.c: Likewise.
19866         * elf/tst-auditmod6c.c: Likewise.
19867         * elf/tst-auditmod7b.c: Likewise.
19869         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19870         and x32_gnu_pltexit.
19872         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19873         __ELF_NATIVE_CLASS.
19874         (La_x32_regs): New macro.
19875         (La_x32_retval): Likewise.
19876         (la_x32_gnu_pltenter): New function prototype.
19877         (la_x32_gnu_pltexit): Likewise.
19879 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
19881         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19882         exponent.
19884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19886         * configure.in (libc_cv_cc_nofma): Check for option to disable
19887         generation of FMA instructions.
19888         * configure: Regenerate.
19889         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19890         * sysdeps/ieee754/dbl-64/Makefile: New file.
19891         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19892         Remove brandred-fma4.
19893         (CFLAGS-brandred-fma4.c): Remove.
19894         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19895         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19896         define.
19897         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19898         define.
19900 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19902         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19903         LLONG_MAX != LONG_MAX.
19904         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19905         (_fitoa_word): Likewise.
19906         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19907         LLONG_MAX != LONG_MAX.
19908         * stdio-common/_itowa.h: Include <_itoa.h>.
19909         (_itowa_word): Use _ITOA_WORD_TYPE on value.
19910         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
19911         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
19912         only if not defined.
19913         (_ITOA_WORD_TYPE): Likewise.
19914         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19915         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19917 2012-03-21  David S. Miller  <davem@davemloft.net>
19919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19921 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19923         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19924         of x86_64 when setting libc_cv_slibdir, libdir and
19925         libc_cv_localedir.
19926         * sysdeps/unix/sysv/linux/configure: Regenerated.
19928 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19930         * manual/lang.texi (Old Varargs): Remove section.
19931         (How Variadic): Update menu.
19932         (va_start): Do not mention varargs.h.
19934 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19935             Joseph Myers  <joseph@codesourcery.com>
19937         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19938         link test.
19939         * configure: Regenerated.
19941 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19943         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19944         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19945         conformtest.pl
19947 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19949         * NOTES: Remove.
19950         * Makefile (files-for-dist): Remove NOTES.
19951         (NOTES): Remove rule.
19952         * README: Don't refer to NOTES.
19953         * manual/creature.texi: Don't include macros.texi.
19954         * manual/intro.texi (creature.texi): Remove comment referring to
19955         NOTES.
19957         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19958         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19959         * configure: Regenerated.
19960         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19961         LIBC_TRY_CC_OPTION.
19962         (libc_cv_as_i686): Likewise.
19963         (libc_cv_cc_avx): Likewise.
19964         (libc_cv_cc_sse2avx): Likewise.
19965         (libc_cv_cc_fma4): Likewise.
19966         (libc_cv_cc_novzeroupper): Likewise.
19967         * sysdeps/i386/configure: Regenerated.
19969         [BZ #13883]
19970         * sysdeps/i386/fpu/s_cexp.S: Remove.
19971         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19972         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19973         * math/libm-test.inc (cexp_test): Add more tests.
19974         * sysdeps/i386/fpu/libm-test-ulps: Update.
19975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19977 2012-03-21  Allan McRae  <allan@archlinux.org>
19979         * timezone/Makefile: Do not install iso3166.tab and zone.tab
19981 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19983         [BZ #13871]
19984         * math/w_exp2.c: Do not include <float.h>.
19985         (o_threshold, u_threshold): Remove.
19986         (__exp2): Calculate result before checking finiteness and calling
19987         __kernel_standard.
19988         * math/w_exp2f.c: Likewise.
19989         * math/w_exp2l.c: Likewise.
19990         * math/libm-test.inc (exp2_test): Require overflow exception for
19991         1e6 input.
19993         [BZ #3866]
19994         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19995         range of signed 64-bit integers before using fistpll.  Remove
19996         checks for whether integers fit in mantissa bits.
19997         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19998         the range of signed 32-bit integers before using fistpl.  Remove
19999         checks for whether integers fit in mantissa bits.
20000         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20001         (__ieee754_powl): Test for y outside the range of signed 64-bit
20002         integers before using fistpll.  Reduce 64-bit values to 63-bit
20003         ones as needed.
20004         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20005         divide-by-zero is raised for zero to large negative powers.
20006         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20007         (__ieee754_powl): Test for y outside the range of signed 64-bit
20008         integers before using fistpll.  Reduce 64-bit values to 63-bit
20009         ones as needed.
20010         * math/libm-test.inc (pow_test): Add more tests.
20012 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20014         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20015         <stdio-common/_itoa.h>.
20016         * debug/segfault.c: Likewise.
20017         * elf/dl-cache.c: Likewise.
20018         * elf/dl-minimal.c: Likewise.
20019         * elf/dl-misc.c: Likewise.
20020         * elf/dl-sysdep.c: Likewise.
20021         * elf/dl-version.c: Likewise.
20022         * elf/rtld.c: Likewise.
20023         * hurd/hurdsock.c: Likewise.
20024         * hurd/lookup-retry.c: Likewise.
20025         * malloc/malloc.c: Likewise.
20026         * malloc/mtrace.c: Likewise.
20027         * nscd/nscd_getgr_r.c: Likewise.
20028         * nscd/nscd_getpw_r.c: Likewise.
20029         * nscd/nscd_getserv_r.c: Likewise.
20030         * posix/getopt_init.c: Likewise.
20031         * posix/wordexp.c: Likewise.
20032         * stdio-common/_itoa.c: Likewise.
20033         * stdio-common/printf_fphex.c: Likewise.
20034         * stdio-common/vfprintf.c: Likewise.
20035         * string/_strerror.c: Likewise.
20036         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20037         * sysdeps/i386/i686/hp-timing.h: Likewise.
20038         * sysdeps/mach/_strerror.c: Likewise.
20039         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20040         * sysdeps/mach/hurd/sethostid.c: Likewise.
20041         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20042         * sysdeps/mach/xpg-strerror.c: Likewise.
20043         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20044         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20045         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20046         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20047         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20048         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20049         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20050         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20051         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20052         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20053         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20054         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20055         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20056         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20057         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20058         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20059         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20060         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20061         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20062         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20063         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20065         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20067         * stdio-common/_itoa.h: Moved to ...
20068         * sysdeps/generic/_itoa.h: Here.
20070         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20072         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20073         instead of "_itoa.h" and "_itowa.h".
20074         * stdio-common/vfprintf.: Likewise.
20076 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20078         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20079         <bits/wordsize.h>.
20080         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20081         (__signbit): Likwise.
20082         (llrintf): Likwise.
20083         (llrint): Likwise.
20085 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20087         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20088         __WORDSIZE != 64.
20090 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
20092         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20093         OVERFLOW_EXCEPTION_OK.
20094         * math/libm-test.inc ("Philosophy"): Update comment about
20095         exception testing.
20096         (OVERFLOW_EXCEPTION): Define.
20097         (OVERFLOW_EXCEPTION_OK): Likewise.
20098         (INVALID_EXCEPTION_OK): Renumber.
20099         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20100         (IGNORE_ZERO_INF_SIGN): Likewise.
20101         (test_exceptions): Handle FE_OVERFLOW.
20102         (exp10_test): Expect overflow exceptions.
20103         (exp2_test): Likewise.
20104         (expm1_test): Likewise.
20105         (nextafter_test): Likewise.
20106         (pow_test): Likewise.
20107         (scalbn_test): Likewise.
20108         (scalbln_test): Likewise.
20110 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20112         * sysdeps/x86_64/bits/atomic.h
20113         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20114         64bit integer.
20115         (atomic_exchange_acq): Likewise.
20116         (__arch_exchange_and_add_body): Likewise.
20117         (__arch_add_body): Likewise.
20118         (atomic_add_negative): Likewise.
20119         (atomic_add_zero): Likewise.
20121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20123         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20124         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20126 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20128         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20129         Check __x86_64__ instead of __WORDSIZE.
20131 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20133         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20135 2012-03-19  David S. Miller  <davem@davemloft.net>
20137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20139         * sysdeps/sparc/fpu/fenv_private.h: New file.
20140         * sysdeps/sparc/fpu/math_private.h: Use it.
20141         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20142         Remove.
20143         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20144         (libc_feholdexcept_setroundl): Remove.
20145         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20146         Remove.
20147         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20148         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20150 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20152         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20153         int64_t instead of long int.
20154         (INSERT_WORDS64): Likwise.
20156 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20158         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20159         _Unwind_GetCFA return to _Unwind_Ptr first.
20161 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
20163         [BZ #13629]
20164         * math/s_clog.c: Include <float.h>.
20165         (__clog): Scale large or subnormal inputs.
20166         * math/s_clogf.c: Likewise.
20167         * math/s_clogl.c: Likewise.
20168         * math/s_clog10.c: Include <float.h>.
20169         (M_LOG10_2): Define.
20170         (__clog10): Scale large or subnormal inputs.
20171         * math/s_clog10f.c: Likewise.
20172         * math/s_clog10l.c: Likewise.
20173         * math/libm-test.inc (clog_test): Add more tests.
20174         (clog10_test): Likewise.
20175         * sysdeps/i386/fpu/libm-test-ulps: Update.
20176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178         [BZ #11451]
20179         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20180         x and y.
20181         * math/libm-test.inc (atan2_test): Add another test.
20183         * Makerules (common-objdir-compile): Remove.
20184         * sysdeps/unix/Makefile (config-generated): Do not add
20185         $(unix-generated) to variable.
20186         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20187         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20188         Remove rule.
20189         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20190         Likewise.
20191         [generic bits/local_lim.h] (before-compile): Do not append to
20192         variable.
20193         [generic bits/local_lim.h] (common-generated): Likewise.
20194         [generic sys/param.h] (before-compile): Do not append to variable.
20195         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20196         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20197         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20198         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20199         include.
20200         [generic sys/param.h] (sys/param.h-includes): Remove variable.
20201         [generic sys/param.h] (sys/param.h-includes): Remove rule.
20202         [generic sys/param.h] ($(addprefix
20203         $(common-objpfx),$(sys/param.h-includes))): Likewise.
20204         [generic sys/param.h] (common-generated): Do not append to
20205         variable.
20206         [generic sys/param.h] (sysdep_headers): Likewise.
20207         [generic bits/errno.h] (before-compile): Do not append to
20208         variable.
20209         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20210         rule.
20211         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20212         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20213         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20214         [generic bits/errno.h] (common-generated): Do not append to
20215         variable.
20216         [generic bits/ioctls.h] (before-compile): Do not append to
20217         variable.
20218         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20219         rule.
20220         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20221         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20222         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20223         rule.
20224         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20225         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20226         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20227         [generic bits/ioctls.h] (common-generated): Do not append to
20228         variable.
20229         [generic sys/syscall.h] (syscall.h): Remove variable.
20230         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20231         rule.
20232         [generic sys/syscall.h] (before-compile): Do not append to
20233         variable.
20234         [generic sys/syscall.h] (common-generated): Likewise.
20235         * sysdeps/unix/errnos-tmpl.c: Remove file.
20236         * sysdeps/unix/errnos.awk: Likewise.
20237         * sysdeps/unix/ioctls-tmpl.c: Likewise.
20238         * sysdeps/unix/ioctls.awk: Likewise.
20239         * sysdeps/unix/mk-local_lim.c: Likewise.
20240         * sysdeps/unix/snarf-ioctls: Likewise.
20242 2012-03-19  Richard Henderson  <rth@twiddle.net>
20244         * sysdeps/i386/fpu/fenv_private.h: New file.
20245         * sysdeps/i386/fpu/math_private.h: Use it.
20246         (math_opt_barrier, math_force_eval): Remove.
20247         (libc_feholdexcept_setround_53bit): Remove.
20248         (libc_feupdateenv_53bit): Remove.
20249         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20250         (math_opt_barrier, math_force_eval): Remove.
20251         (libc_feholdexcept): Remove.
20252         (libc_feholdexcept_setround): Remove.
20253         (libc_fetestexcept, libc_fesetenv): Remove.
20254         (libc_feupdateenv_test): Remove.
20255         (libc_feupdateenv, libc_feholdsetround): Remove.
20256         (libc_feresetround): Remove.
20258         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20259         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20261         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20262         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20263         (libc_feupdateenv_testl): New.
20264         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20265         (libc_feupdateenv_testf): New.
20266         (libc_feupdateenv): Use libc_feupdateenv_test.
20267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20268         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20270         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20271         (libc_feholdsetroundf, libc_feholdsetroundl): New.
20272         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20273         (libc_feresetround_noex): New.
20274         (libc_feresetround_noexf): New.
20275         (libc_feresetround_noexl): New.
20276         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20277         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20278         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20279         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20280         SET_RESTORE_ROUND.
20281         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20282         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20283         (__cos): Likewise.
20284         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20285         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20286         SET_RESTORE_ROUND_NOEX.
20287         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20288         SET_RESTORE_ROUND_NOEXF.
20289         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20290         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20291         (libc_feholdsetroundf): New.
20292         (libc_feresetround, libc_feresetroundf): New.
20294         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20295         (libc_feholdexcept_setround_53bit): Convert from macro to function.
20296         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
20298         * sysdeps/generic/math_private.h: Include <fenv.h>.
20299         (default_libc_feholdexcept): New.
20300         (default_libc_feholdexcept_setround): New.
20301         (default_libc_fesetenv, default_libc_feupdateenv): New.
20302         (libc_feholdexcept): Only define if undefined.
20303         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20304         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20305         (libc_feholdexcept_setroundl): Likewise.
20306         (libc_feholdexcept_setround_53bit): Likewise.
20307         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20308         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20309         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20310         (libc_feupdateenv_53bit): Likewise.
20311         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20312         (libc_feholdexcept): Convert from macro to inline function.
20313         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20314         (libc_fesetenv, libc_feupdateenv): Likewise.
20316         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20317         not previously defined.
20318         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20319         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20320         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20321         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20322         * sysdeps/ieee754/flt-32/math_private.h: New file.
20323         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20324         math_private.h below SET_FLOAT_WORD.
20325         (__isnan, __isinf_ns, __finite): Remove.
20326         (__isnanf, __isinf_nsf, __finitef): Remove.
20328 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
20330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20332 2012-03-17  David S. Miller  <davem@davemloft.net>
20334         [BZ #6471]
20335         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20336         for 2.16.
20338 2012-03-16  David S. Miller  <davem@davemloft.net>
20340         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20341         warnings.
20343         [BZ #6471]
20344         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20345         properly.
20346         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20347         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20348         sysdep_routines when subdir is sysvipc.
20349         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20350         __getshmlba helper.
20352         * sysdeps/sparc/fpu/libm-test/ulps: Update.
20354 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20356         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20357         [__LP64__].
20359 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20361         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20362         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20363         (__lround): Renamed to ...
20364         (__llround): This.  Replace long int with long long int.
20365         Define lround functions as aliases of llround functions.
20366         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20368 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20370         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20371         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
20372         adresses to uintptr_t.  Replace "long int" and "unsigned long
20373         int" with "greg_t" on va_arg.
20375 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20377         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20378         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20380         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20381         Move e_machine check before EI_CLASS check.  Handle x32
20382         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20383         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20384         SKIP_EM_IA_64 and include
20385         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20387         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20388         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20389         (add_system_dir): New macro.
20391         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20392         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20394 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20396         [BZ #2551]
20397         [BZ #2552]
20398         [BZ #2553]
20399         [BZ #2554]
20400         [BZ #2562]
20401         [BZ #2563]
20402         [BZ #2565]
20403         [BZ #2566]
20404         [BZ #2576]
20405         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20406         (y0): Likewise.
20407         * math/w_j0f.c (j0f): Likewise.
20408         (y0f): Likewise.
20409         * math/w_j0l.c (__j0l): Likewise.
20410         (__y0l): Likewise.
20411         * math/w_j1.c (j1): Likewise.
20412         (y1): Likewise.
20413         * math/w_j1f.c (j1f): Likewise.
20414         (y1f): Likewise.
20415         * math/w_j1l.c (__j1l): Likewise.
20416         (__y1l): Likewise.
20417         * math/w_jn.c (jn): Likewise.
20418         (yn): Likewise.
20419         * math/w_jnf.c (jnf): Likewise.
20420         (ynf): Likewise.
20421         * math/w_jnl.c (__jnl): Likewise.
20422         (__ynl): Likewise.
20423         * math/libm-test.inc (j0_test): Add more tests.
20424         (j1_test): Likewise.
20425         (jn_test): Likewise.  Add trailing semicolon to existing test.
20426         (y0_test): Likewise.
20427         (y1_test): Likewise.
20428         * sysdeps/i386/fpu/libm-test-ulps: Update.
20429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20431         [BZ #13851]
20432         [BZ #13854]
20433         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20434         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20435         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20436         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20437         (__tanl): Set errno for infinite argument.
20438         * sysdeps/i386/fpu/mptan.c: Remove.
20439         * sysdeps/i386/fpu/s_tan.S: Likewise.
20440         * sysdeps/i386/fpu/s_tanl.S: Likewise.
20441         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20442         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20443         * math/libm-test.inc (tan_test): Add more tests and enable more
20444         tests for double and long double.
20445         * sysdeps/i386/fpu/libm-test-ulps: Update.
20446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20448 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
20450         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20451         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20453 2012-03-16  Roland McGrath  <roland@hack.frob.com>
20455         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20456         * configure.in: Use it for both main tree and add-ons.
20457         * configure: Regenerated.
20459 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20461         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20463 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20465         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20466         in comment.
20468         [BZ #13851]
20469         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20470         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20474         infinite argument.
20475         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20477         != 0 for prec == 2.
20478         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20479         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20480         * sysdeps/i386/fpu/s_cosl.S: Likewise.
20481         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20482         * sysdeps/i386/fpu/s_sinl.S: Likewise.
20483         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20484         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20485         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20486         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20487         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20488         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20489         * math/libm-test.inc (cos_test): Add more tests and enable more
20490         tests for long double.
20491         (sin_test): Likewise.
20492         (sincos_test): Likewise.
20493         * sysdeps/i386/fpu/libm-test-ulps: Update.
20494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496 2012-03-16  David S. Miller  <davem@davemloft.net>
20498         * sysdeps/sparc/fpu/math_private.h: New file.
20500 2012-03-15  David S. Miller  <davem@davemloft.net>
20502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20503         file.
20504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20506         file.
20507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20512         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20513         sysdep routines.
20514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20516         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20517         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20519         * sysdeps/sparc/sparc-ifunc.h: New file.
20520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20521         sparc-ifunc.h
20522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20524         Likewise.
20525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20526         Likewise.
20527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20531         Likewise.
20532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20537         Likewise.
20538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20539         Likewise.
20540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20546         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20561         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20563         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20565 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20567         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20568         scaling.
20569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20571 2012-03-15  Andreas Jaeger  <aj@suse.de>
20573         [BZ #13852]
20574         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20575         ieee754/flt-32 implementation for sin, cos and sincos.
20576         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20577         * sysdeps/i386/fpu/s_cosf.S: Likewise.
20578         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20579         * sysdeps/i386/fpu/s_sinf.S: Likewise.
20580         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20581         ieee754/flt-32 implementation for tan.
20583         * math/libm-test.inc (cos_test): Enable some large input tests for
20584         float as well
20585         (sin_test): Likewise.
20586         (sincos_test): Likewise.
20587         (tan_test): Add tests for large input.
20589         * sysdeps/i386/fpu/libm-test-ulps: Update.
20591 2012-03-15  Andreas Jaeger  <aj@suse.de>
20593         [BZ #13658]
20594         * math/libm-test.inc (cos_test): Add more test cases.
20595         (sin_test): Likewise.
20596         (sincos_test): Likewise.
20598 2012-03-15  Andreas Jaeger  <aj@suse.de>
20600         [BZ #13837]
20601         * math/libm-test.inc (cos_test): Add a test case for large input
20602         value.
20603         (sin_test): Likewise.
20604         (sincos_test): Likewise.
20606 2012-03-15  Andreas Jaeger  <aj@suse.de>,
20607         Joseph Myers  <joseph@codesourcery.com>
20609         [BZ #13658]
20610         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20611         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20612         * sysdeps/i386/fpu/branred.c: Likewise.
20613         * sysdeps/i386/fpu/dosincos.c: Likewise.
20614         * sysdeps/i386/fpu/mpa.c: Likewise.
20615         * sysdeps/i386/fpu/s_cos.S: Likewise.
20616         * sysdeps/i386/fpu/s_sin.S: Likewise.
20617         * sysdeps/i386/fpu/s_sincos.S: Likewise.
20618         * sysdeps/i386/fpu/sincos32.c: Likewise.
20620         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20621         Define.
20622         (libc_feupdateenv_53bit): Define.
20623         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20624         Define.
20625         (libc_feupdateenv_53bit): Define.
20627         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20628         53 bit (without extend i386 double precision).
20630         * math/libm-test.inc (sincos_test): Add tests for large input.
20631         (sin): Likewise.
20632         (cos): Likewise.
20634         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20636 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20640 2012-03-15  David S. Miller  <davem@davemloft.net>
20642         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20643         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20644         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20645         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20658         file.
20659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20661         file.
20662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20664         file.
20665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20667         file.
20668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20669         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20670         fmin/fmax sysdep routines.
20671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20673 2012-03-14  David S. Miller  <davem@davemloft.net>
20675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20679         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20681         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20682         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20686         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20692         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20695         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20696         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20697         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20698         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20699         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20700         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20701         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20702         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20704         routines.
20705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20706         file.
20707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20709         file.
20710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20712         file.
20713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20715         file.
20716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20718         file.
20719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20721         file.
20722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20723         file.
20724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20725         file.
20726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20727         file.
20728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20729         New file.
20730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20731         file.
20732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20733         file.
20734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20736         file.
20737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20739         file.
20740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20742         file.
20743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20745         VIS3 routines.
20747         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20748         New file.
20750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20752         * sysdeps/sparc/configure.in: New file.
20753         * sysdeps/sparc/configure: Generate.
20754         * configure.in (libc_cv_sparc_as_vis3): Substitute.
20755         * configure: Regenerate.
20756         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20757         * config.make.in (have-as-vis3): New.
20758         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20759         available use -Av9d instead of -Av9a.
20760         * sysdeps/sparc/sparc64/Makefile: Likewise.
20761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20763         New file.
20764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20765         file.
20766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20767         New file.
20768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20769         file.
20770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20771         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20773         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20774         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20776         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20777         fzeros/fnegs to load 0x80000000 into a float register instead of
20778         using the stack.
20779         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20781 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20784         bits/syscall.h.
20785         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20786         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20787         ($(inst_includedir)/bits/syscall.h): Remove rule.
20788         ($(objpfx)bits/syscall.d): Include instead of
20789         $(objpfx)syscall-list.d.
20790         (generated): Change syscall-list.h and syscall-list.d to
20791         bits/syscall.h and bits/syscall.d.
20793 2012-03-14  Roland McGrath  <roland@hack.frob.com>
20795         [BZ #13846]
20796         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20798 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20800         [BZ #13841]
20801         * math/s_csqrt.c: Include <float.h>.
20802         (__csqrt): Scale large or subnormal inputs.
20803         * math/s_csqrtf.c: Likewise.
20804         * math/s_csqrtl.c: Likewise.
20805         * math/libm-test.inc (csqrt_test): Add more tests.
20806         * sysdeps/i386/fpu/libm-test-ulps: Update.
20807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20809         [BZ #13840]
20810         * math/libm-test.inc (hypot_test): Add more tests.
20812 2012-03-13  David S. Miller  <davem@davemloft.net>
20814         [BZ #13840]
20815         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20816         double-precision for the calculation instead of scaling.
20818 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
20820         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20821         manipulate bits before adding and subtracting TWO52[sx].
20822         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20823         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20824         Likewise.
20825         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20827 2012-03-13  David S. Miller  <davem@davemloft.net>
20829         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20830         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20832         rtld-global-offsets.h
20833         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20835         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20836         large parameters.
20838         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20840         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20841         'err' in the ifdef scope in which it is actually used.
20843         * nss/nss_db/db-init.c: Include string.h
20845 2012-03-12  David S. Miller  <davem@davemloft.net>
20847         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20848         masking out of the most significant byte of random value used.
20849         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20850         Fix coding style in previous change.
20852         * sysdeps/unix/sysv/linux/kernel-features.h
20853         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20854         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20855         expression.
20856         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20857         later.
20859 2012-03-11  David S. Miller  <davem@davemloft.net>
20861         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20862         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20863         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20864         for 'resultvar' otherwise things get truncated on 64-bit.
20866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20867         Fix masking out of the most significant byte of random value used.
20869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20871 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
20873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20875 2012-03-09  David S. Miller  <davem@davemloft.net>
20877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20878         variables with appropriate CPP guards.
20879         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20880         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
20881         on resulting framesize and the management of the outregs buffer for pltexit.
20882         Preserve floating point return values across _dl_call_pltexit call.
20883         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20884         framesize and the management of the outregs buffer for pltexit.
20885         Preserve floating point return values across _dl_call_pltexit
20886         call.
20887         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20888         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20889         (print_exit): Fix format string for return register value.
20891 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
20893         * sunrpc/Makefile (others): Add rpcgen.
20894         ($(objpfx)rpcgen): Remove special build rule and dependency on
20895         libc.
20896         * sunrpc/rpcgen.c: New file.
20898 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
20900         [BZ #13673]
20901         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20902         * stdio-common/bug-vfprintf-nargs.c: Likewise.
20903         * sysdeps/i386/crti.S: Likewise.
20904         * sysdeps/i386/crtn.S: Likewise.
20905         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20906         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20907         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20908         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20909         * sysdeps/sh/crti.S: Likewise.
20910         * sysdeps/sh/crtn.S: Likewise.
20911         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20913         [BZ #13673]
20914         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20915         with URL.
20916         * locale/programs/locfile-kw.gperf: Likewise.
20917         * locale/programs/charmap-kw.h: Regenerated.
20918         * locale/programs/locfile-kw.h: Likewise.
20920         [BZ #13673]
20921         * intl/plural.y: Replace FSF snail mail address with URL.
20922         * intl/plural.c: Regenerated.
20924 2012-03-09  Richard Henderson  <rth@twiddle.net>
20926         * include/math_private.h: Remove file.
20927         * math/math_private.h: Move file ...
20928         * sysdeps/generic/math_private.h: ... here.
20930         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20931         * sysdeps/powerpc/fpu/math_private.h: Likewise.
20932         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20934         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20935         and <math_private.h>.
20936         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20937         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20938         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20939         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20940         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20941         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20942         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20943         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20944         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20945         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20947         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20948         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20950         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20951         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20952         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20953         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20954         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20958         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20959         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20960         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20961         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20962         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20965         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20966         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20967         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20968         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20969         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20970         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20971         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20972         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20973         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20974         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20975         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20976         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20977         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20978         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20979         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20980         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20981         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20982         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20983         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20984         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20985         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20986         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20987         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20988         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20989         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20990         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20991         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20992         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20993         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20994         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20995         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20996         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20997         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20998         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20999         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21000         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21001         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21002         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21003         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21004         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21005         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21006         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21007         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21008         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21009         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21010         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21013         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21014         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21015         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21016         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21017         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21018         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21019         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21020         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21022         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21023         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21024         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21025         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21026         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21027         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21028         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21029         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21030         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21031         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21032         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21033         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21034         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21035         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21036         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21037         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21038         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21039         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21040         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21041         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21042         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21043         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21044         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21045         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21046         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21047         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21048         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21049         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21050         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21051         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21052         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21053         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21054         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21055         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21056         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21057         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21058         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21059         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21060         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21062         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21063         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21064         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21065         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21066         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21067         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21068         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21069         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21070         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21071         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21072         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21073         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21074         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21075         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21076         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21077         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21078         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21079         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21080         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21081         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21082         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21083         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21084         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21085         * sysdeps/ieee754/k_standard.c: Likewise.
21086         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21087         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21088         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21089         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21090         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21091         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21092         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21093         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21094         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21095         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21096         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21097         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21098         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21099         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21100         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21101         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21102         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21103         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21104         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21105         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21106         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21107         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21108         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21109         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21110         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21111         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21112         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21113         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21114         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21115         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21116         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21117         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21118         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21119         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21120         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21121         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21122         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21123         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21124         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21125         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21126         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21127         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21128         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21129         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21130         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21131         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21132         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21133         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21134         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21135         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21136         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21137         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21138         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21139         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21140         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21141         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21142         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21143         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21144         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21145         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21146         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21147         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21148         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21149         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21152         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21154         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21158         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21159         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21160         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21161         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21162         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21164         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21165         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21166         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21167         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21169         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21170         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21171         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21172         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21173         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21174         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21176         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21177         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21178         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21179         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21180         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21181         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21182         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21183         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21184         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21185         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21187         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21188         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21189         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21190         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21191         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21192         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21193         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21194         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21195         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21196         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21197         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21198         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21199         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21200         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21201         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21202         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21203         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21207         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21209         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21211         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21212         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21213         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21214         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21215         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21216         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21217         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21218         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21219         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21220         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21221         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21222         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21223         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21224         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21225         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21226         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21227         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21228         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21229         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21230         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21231         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21232         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21234         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21235         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21236         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21237         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21238         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21239         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21240         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21241         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21242         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21243         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21244         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21245         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21246         * sysdeps/ieee754/s_lib_version.c: Likewise.
21247         * sysdeps/ieee754/s_matherr.c: Likewise.
21248         * sysdeps/ieee754/s_signgam.c: Likewise.
21249         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21250         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21251         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21252         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21253         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21254         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21255         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21256         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21257         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21258         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21259         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21260         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21261         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21262         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21263         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21264         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21267         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21271 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21273         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21274         * sunrpc/rpc_main.c: Likewise.
21275         * sunrpc/rpc_svcout.c: Likewise.
21277 2012-03-09  David S. Miller  <davem@davemloft.net>
21279         * include/math_private.h: New file.
21281 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21283         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21284         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21285         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21286         from <bits/socket_type.h>.
21287         (enum __socket_type): Don't define here.
21288         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21290         bits/socket_type.h.
21292         [BZ #13566]
21293         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21294         checking __USE_GNU.
21296         * Makerules ($(inst_includedir)/%.h): New rule.
21297         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21298         (install-others): Remove variable setting.
21299         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21301 2012-03-08  Richard Henderson  <rth@twiddle.net>
21303         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21304         from macro to inline function; merge with the
21305         !__LIBC_INTERNAL_MATH_INLINES version.
21306         (__ieee754_sqrtf): Likewise.
21308         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21309         to inline function.
21310         (__rintf, __floor, __floorf): Likewise.
21312         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21313         macro to inline function.
21314         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21316         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21317         not <math/math_private.h>.
21319 2012-03-08  David S. Miller  <davem@davemloft.net>
21321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21322         copyright year.
21323         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21325 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
21327         * resolv/gai_misc.c (handle_requests): Fix struct timespec
21328         normalization.
21329         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21330         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21332 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
21334         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
21335         be defined individually, they must be defined as a block.  Define
21336         S for printing a string instead of hidint the different by using a
21337         macro for adding the 'l'.
21338         * stdio-common/tst-fphex-wide.c: Adjust.
21340 2012-03-07  Marek Polacek  <polacek@redhat.com>
21342         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21344 2012-03-08  Marek Polacek  <polacek@redhat.com>
21346         [BZ #13806]
21347         * stdio-common/Makefile (tests): Add tst-fphex-wide.
21348         * stdio-common/tst-fphex.c: Define a few macros to make the
21349         test reusable.  Use them.
21350         * stdio-common/tst-fphex-wide.c: New file.
21352 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
21354         [BZ #6911]
21355         * manual/macros.texi (gnusystems): New macro.
21356         (nongnusystems): Likewise.
21357         (gnulinuxhurdsystems): Likewise.
21358         (gnuhurdsystems): Likewise..
21359         (gnulinuxsystems): Likewise.
21360         * manual/charset.texi: Use new macros or @theglibc{} to refer to
21361         variants of the GNU system, not "GNU system".
21362         * manual/conf.texi: Likewise.
21363         * manual/errno.texi: Likewise.  Update example of errno macro
21364         expansion.
21365         * manual/filesys.texi: Likewise.
21366         (getumask): Document as specific to GNU/Hurd.
21367         * manual/install.texi: Likewise.  Reword some references to
21368         GNU/Linux.
21369         * manual/intro.texi: Likewise.
21370         * manual/io.texi: Likewise.
21371         (File Name Portability): Detail which constraints are inapplicable
21372         to all GNU systems and which are only inapplicable to GNU/Hurd.
21373         * manual/job.texi: Likewise.
21374         * manual/llio.texi: Likewise.
21375         (O_NOCTTY): Document as present on GNU/Linux.
21376         * manual/maint.texi: Likewise.
21377         * manual/memory.texi: Likewise.
21378         * manual/pattern.texi: Likewise.
21379         * manual/pipe.texi: Likewise.
21380         * manual/process.texi: Likewise.
21381         * manual/resource.texi: Likewise.
21382         (RUSAGE_CHILDREN): Remove statement about specifying a particular
21383         child on GNU/Hurd.
21384         * manual/setjmp.texi: Likewise.
21385         * manual/signal.texi: Likewise.
21386         * manual/startup.texi: Likewise.
21387         * manual/stdio.texi: Likewise.
21388         * manual/terminal.texi: Likewise.
21389         (ONLCR): Document as POSIX.
21390         (OXTABS): Document availability on GNU/Linux as XTABS.
21391         (ONOEOT): Document availability separately from other bits.
21392         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21393         * manual/time.texi: Likewise.
21394         * manual/users.texi: Likewise.
21395         * INSTALL: Regenerated.
21396         * sysdeps/gnu/errlist.c: Regenerated.
21398         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21399         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21400         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
21401         puts.
21402         * configure: Regenerated.
21404 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
21406         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21407         default includes instead of AC_HEADER_CHECK.
21408         * sysdeps/i386/configure: Regenerated.
21410         [BZ #10716]
21411         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21412         * math/s_cacoshf.c (__cacoshf): Likewise.
21413         * math/s_cacoshl.c (__cacoshl): Likewise.
21414         * math/s_casinh.c (__casinh): Set signs of result from argument.
21415         * math/s_casinhf.c (__casinhf): Likewise.
21416         * math/s_casinhl.c (__casinhl): Likewise.
21417         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21418         (casinh_test): Add more tests.
21419         * sysdeps/i386/fpu/libm-test-ulps: Update.
21420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21422 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
21424         * po/zh_TW.po: Update from translation team.
21426         * login/Makefile (distribute): Remove variable.
21427         * catgets/Makefile: Likewise.
21428         * mach/Makefile: Likewise.
21429         * malloc/Makefile: Likewise.
21430         * misc/Makefile: Likewise.
21431         * iconv/Makefile: Likewise.
21432         * nscd/Makefile: Likewise.
21433         * hurd/Makefile: Likewise.
21434         * manual/Makefile: Likewise.
21435         * locale/Makefile: Likewise.
21436         * intl/Makefile: Likewise.
21437         * conform/Makefile: Likewise.
21438         * nss/Makefile: Likewise.
21439         * time/Makefile: Likewise.
21440         * soft-fp/Makefile: Likewise.
21441         * dirent/Makefile: Likewise.
21442         * gmon/Makefile: Likewise.
21443         * po/Makefile: Likewise.
21444         * rt/Makefile: Likewise.
21445         * socket/Makefile: Likewise.
21446         * math/Makefile: Likewise.
21447         * signal/Makefile: Likewise.
21448         * debug/Makefile: Likewise.
21449         * elf/Makefile: Likewise.
21450         * timezone/Makefile: Likewise.
21451         * stdlib/Makefile: Likewise.
21452         * iconvdata/Makefile: Likewise.
21453         * sunrpc/Makefile: Likewise.
21454         * io/Makefile: Likewise.
21455         * argp/Makefile: Likewise.
21456         * inet/Makefile: Likewise.
21457         * hesiod/Makefile: Likewise.
21458         * grp/Makefile: Likewise.
21459         * csu/Makefile: Likewise.
21460         * wctype/Makefile: Likewise.
21461         * crypt/Makefile: Likewise.
21462         * libio/Makefile: Likewise.
21463         * string/Makefile: Likewise.
21464         * nis/Makefile: Likewise.
21465         * resolv/Makefile: Likewise.
21466         * stdio-common/Makefile: Likewise.
21467         * wcsmbs/Makefile: Likewise.
21468         * dlfcn/Makefile: Likewise.
21469         * posix/Makefile: Likewise.
21471         [BZ #6959]
21472         * timezone/Makefile: Don't install timezone files, just the programs
21473         and scripts.
21475 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
21477         * nss/databases.def: Add missing gshadow entry.
21479         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
21481 2012-03-06  Marek Polacek  <polacek@redhat.com>
21483         [BZ #13726]
21484         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21485         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21486         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21487         * stdio-common/tst-long-dbl-fphex.c: New file.
21489 2012-03-06  David S. Miller  <davem@davemloft.net>
21491         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21492         (set_obp_int): New function.
21493         (get_obp_int): New function.
21494         (__get_clockfreq_via_dev_openprom): Likewise.
21495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21496         Avoid unused variable warnings on 'val' and use builtin_expect.
21497         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21498         __builtin_expect.
21499         (INLINE_CLONE_SYSCALL): Likewise.
21501 2012-03-05  David S. Miller  <davem@davemloft.net>
21503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21505 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
21507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21509         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21510         only for |x| >= 40.
21511         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21513 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21515         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21516         Replace gettimeofday with __vdso_gettimeofday.
21518         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21519         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21520         __vdso_clock_gettime and __vdso_getcpu.
21522         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21523         time with __vdso_time.
21525 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
21527         * manual/lang.texi (size_t): Note types to which size_t may be
21528         equivalent with the GNU C Library, but do not describe when
21529         differences between them are significant.
21531 2012-03-05  Andreas Jaeger  <aj@suse.de>
21533         * sysdeps/i386/fpu/libm-test-ulps: Update.
21535 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
21537         [BZ #3976]
21538         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21539         (__ieee754_pow): Save and restore rounding mode and use
21540         round-to-nearest for main computations.
21541         * math/libm-test.inc (pow_test_tonearest): New function.
21542         (pow_test_towardzero): Likewise.
21543         (pow_test_downward): Likewise.
21544         (pow_test_upward): Likewise.
21545         (main): Call the new functions.
21546         * sysdeps/i386/fpu/libm-test-ulps: Update.
21547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21549         [BZ #3976]
21550         * math/libm-test.inc (cosh_test_tonearest): New function.
21551         (cosh_test_towardzero): Likewise.
21552         (cosh_test_downward): Likewise.
21553         (cosh_test_upward): Likewise.
21554         (sinh_test_tonearest): Likewise.
21555         (sinh_test_towardzero): Likewise.
21556         (sinh_test_downward): Likewise.
21557         (sinh_test_upward): Likewise.
21558         (main): Call the new functions.
21559         * sysdeps/i386/fpu/libm-test-ulps: Update.
21560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21562 2012-03-05  Tom de Vries  <tom@codesourcery.com>
21564         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21565         default stack guard is set in last bytes.
21566         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21568 2012-03-05  Kees Cook  <keescook@chromium.org>
21570         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21572         [BZ #13656]
21573         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21574         possibly allocate from heap instead of stack.
21575         * stdio-common/bug-vfprintf-nargs.c: New file.
21576         * stdio-common/Makefile (tests): Add nargs overflow test.
21578 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
21580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21582 2012-03-03  Marek Polacek  <polacek@redhat.com>
21584         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21585         * math/math_private.h: Likewise.
21586         * stdlib/tst-strtod.c: Likewise.
21587         * sysdeps/i386/i486/bits/atomic.h: Likewise.
21588         * sysdeps/x86_64/bits/atomic.h: Likewise.
21590 2012-03-02  David S. Miller  <davem@davemloft.net>
21592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21596         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21597         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21598         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21599         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21601 2012-03-02  Roland McGrath  <roland@hack.frob.com>
21603         [BZ #13792]
21604         * manual/examples/README: New file, says the example source files
21605         can be used under GPL>=2.
21606         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21607         line containing just "*/".
21608         * manual/examples/add.c: Add copyright header (GPL>=2).
21609         * manual/examples/argp-ex1.c: Likewise.
21610         * manual/examples/argp-ex2.c: Likewise.
21611         * manual/examples/argp-ex3.c: Likewise.
21612         * manual/examples/argp-ex4.c: Likewise.
21613         * manual/examples/atexit.c: Likewise.
21614         * manual/examples/db.c: Likewise.
21615         * manual/examples/dir.c: Likewise.
21616         * manual/examples/dir2.c: Likewise.
21617         * manual/examples/execinfo.c: Likewise.
21618         * manual/examples/filecli.c: Likewise.
21619         * manual/examples/filesrv.c: Likewise.
21620         * manual/examples/fmtmsgexpl.c: Likewise.
21621         * manual/examples/genpass.c: Likewise.
21622         * manual/examples/inetcli.c: Likewise.
21623         * manual/examples/inetsrv.c: Likewise.
21624         * manual/examples/isockad.c: Likewise.
21625         * manual/examples/longopt.c: Likewise.
21626         * manual/examples/memopen.c: Likewise.
21627         * manual/examples/memstrm.c: Likewise.
21628         * manual/examples/mkfsock.c: Likewise.
21629         * manual/examples/mkisock.c: Likewise.
21630         * manual/examples/mygetpass.c: Likewise.
21631         * manual/examples/pipe.c: Likewise.
21632         * manual/examples/popen.c: Likewise.
21633         * manual/examples/rprintf.c: Likewise.
21634         * manual/examples/search.c: Likewise.
21635         * manual/examples/select.c: Likewise.
21636         * manual/examples/setjmp.c: Likewise.
21637         * manual/examples/sigh1.c: Likewise.
21638         * manual/examples/sigusr.c: Likewise.
21639         * manual/examples/stpcpy.c: Likewise.
21640         * manual/examples/strdupa.c: Likewise.
21641         * manual/examples/strftim.c: Likewise.
21642         * manual/examples/strncat.c: Likewise.
21643         * manual/examples/subopt.c: Likewise.
21644         * manual/examples/swapcontext.c: Likewise.
21645         * manual/examples/termios.c: Likewise.
21646         * manual/examples/testopt.c: Likewise.
21647         * manual/examples/testpass.c: Likewise.
21648         * manual/examples/timeval_subtract.c: Likewise.
21650         [BZ #13792]
21651         * manual/time.texi (Elapsed Time): Move timeval_subtract example
21652         function to ...
21653         * manual/timeval_subtract.c.texi: ... here, new file.
21655 2012-03-02  David S. Miller  <davem@davemloft.net>
21657         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21659 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
21661         [BZ #3976]
21662         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21663         (__sin): Save and restore rounding mode and use round-to-nearest
21664         for all computations.
21665         (__cos): Save and restore rounding mode and use round-to-nearest
21666         for all computations.
21667         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21668         <fenv.h>.
21669         (tan): Save and restore rounding mode and use round-to-nearest for
21670         all computations.
21671         * math/libm-test.inc (cos_test_tonearest): New function.
21672         (cos_test_towardzero): Likewise.
21673         (cos_test_downward): Likewise.
21674         (cos_test_upward): Likewise.
21675         (sin_test_tonearest): Likewise.
21676         (sin_test_towardzero): Likewise.
21677         (sin_test_downward): Likewise.
21678         (sin_test_upward): Likewise.
21679         (tan_test_tonearest): Likewise.
21680         (tan_test_towardzero): Likewise.
21681         (tan_test_downward): Likewise.
21682         (tan_test_upward): Likewise.
21683         (main): Call the new functions.
21684         * sysdeps/i386/fpu/libm-test-ulps: Update.
21685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687         [BZ #10135]
21688         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21689         small n, then large n, before computing and testing k+n.
21690         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21692         Likewise.
21693         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21694         Likewise.
21695         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21696         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21697         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21698         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21703         * math/libm-test.inc (scalbn_test): Add more tests.
21704         (scalbln_test): Likewise.
21706         * manual/filesys.texi (mode_t): Describe constraints on size and
21707         signedness, not exact equivalence to a particular type.
21708         (ino_t): Likewise.
21709         (ino64_t): Likewise.
21710         (dev_t): Likewise.
21711         (nlink_t): Likewise.
21712         (blkcnt_t): Likewise.
21713         (blkcnt64_t): Likewise.
21714         * manual/llio.texi (off_t): Likewise.
21716         [BZ #3976]
21717         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21718         (__ieee754_exp): Save and restore rounding mode and use
21719         round-to-nearest for all computations.
21720         * math/libm-test.inc (exp_test_tonearest): New function.
21721         (exp_test_towardzero): Likewise.
21722         (exp_test_downward): Likewise.
21723         (exp_test_upward): Likewise.
21724         (main): Call the new functions.
21725         * sysdeps/i386/fpu/libm-test-ulps: Update.
21726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21728 2012-03-01  Chris Demetriou  <cgd@google.com>
21730         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21731         have predictable order.
21733 2012-03-01  David S. Miller  <davem@davemloft.net>
21735         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21737         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21738         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21739         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21740         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21742         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21743         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21744         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21746         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21747         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21748         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21749         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21750         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21755         * sysdeps/sparc/fpu/libm-test-ulps: to here.
21756         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21758         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21759         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21760         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21761         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21762         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21765         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21766         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21767         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21768         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21769         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21771         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21772         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21774         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21775         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21776         * sysdeps/sparc/elf/configure: Regenerated.
21778 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
21780         * configure.in (AS, LD): Require binutils 2.20 or later.
21781         * configure: Regenerated.
21782         * manual/install.texi (Tools for Compilation): Give binutils 2.20
21783         as required minimum version.
21784         * INSTALL: Regenerated.
21786         [BZ #2541]
21787         [BZ #4108]
21788         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21789         before squaring exponent.
21790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21791         bottom long double and 27 bits of top long double before squaring
21792         exponent.
21793         * math/libm-test.inc (erfc_test): Add more tests.
21794         * sysdeps/i386/fpu/libm-test-ulps: Update.
21795         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21798 2012-03-01  Kai Tietz  <ktietz@redhat.com>
21800         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21801         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21802         containing bit-fields.
21803         * soft-fp/extended.h (_FP_UNION_E): Likewise.
21804         * soft-fp/single.h (_FP_UNION_S): Likewise.
21805         * soft-fp/double.h (_FP_UNION_D): Likewise.
21807 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21809         [BZ #13786]
21810         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21811         not include ../strcmp.S.
21812         [USE_AS_STRNCASECMP_L]: Likewise.
21813         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21814         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21815         * sysdeps/i386/i686/multiarch/strncase_l-c.c
21816         (__strncasecmp_l_ia32): Define as alias to
21817         __strncasecmp_l_nonascii.
21819         [BZ #5794]
21820         * math/libm-test.inc (expm1_test): Add test for bug 5794.
21821         * sysdeps/i386/fpu/libm-test-ulps: Update.
21822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21824         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21827 2012-02-29  Jeff Law  <law@redhat.com>
21829         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21830         out of bounds read.
21832 2012-02-29  Marek Polacek  <polacek@redhat.com>
21834         [BZ #13706]
21835         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21836         * elf/Makefile: Add rules to run tst-unused-dep.out.
21838 2012-02-28  David S. Miller  <davem@davemloft.net>
21840         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21841         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21842         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21843         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21844         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21845         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21847 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21849         * math/libm-test.inc (llround_test): Move one test from
21850         lround_test.  Use TEST_f_L in moved test.
21851         (lround_test): Move misplaced test to llround_test.  Add testcase
21852         from bug 2561.
21854 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
21856         * sysdeps/x86_64/fpu/e_expf.S: New file.
21857         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21859 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
21861         [BZ #13637]
21862         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21863         of remain_len that may cause incomplete multi-byte character and
21864         false match.
21865         * posix/bug-regex33.c: New file.
21866         * posix/Makefile (tests): Add bug-regex33.
21868 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
21870         * manual/macros.texi: New file.
21871         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21872         * manual/libc.texinfo: Include macros.texi.
21873         * manual/creatute.texi: Likewise.
21874         * manual/install.texi: Likewise.
21875         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21876         @glibcadj{} in references to the GNU C Library.
21877         * manual/charset.texi: Likewise.
21878         * manual/conf.texi: Likewise.
21879         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
21880         when not using those macros.
21881         * manual/creature.texi: Likewise.
21882         * manual/crypt.texi: Likewise.
21883         * manual/errno.texi: Likewise.
21884         * manual/filesys.texi: Likewise.
21885         * manual/header.texi: Likewise.
21886         * manual/install.texi: Likewise.
21887         * manual/intro.texi: Likewise.
21888         * manual/io.texi: Likewise.
21889         * manual/job.texi: Likewise.
21890         * manual/lang.texi: Likewise.
21891         * manual/libc.texiinfo: Likewise.
21892         * manual/llio.texi: Likewise.
21893         * manual/locale.texi: Likewise.
21894         * manual/maint.texi: Likewise.
21895         * manual/math.texi: Likewise.
21896         * manual/memory.texi: Likewise.
21897         * manual/message.texi: Likewise.
21898         * manual/nss.texi: Likewise.
21899         * manual/pattern.texi: Likewise.
21900         * manual/process.texi: Likewise.
21901         * manual/resource.texi: Likewise.
21902         * manual/search.texi: Likewise.
21903         * manual/setjmp.texi: Likewise.
21904         * manual/signal.texi: Likewise.
21905         * manual/socket.texi: Likewise.
21906         * manual/startup.texi: Likewise.
21907         * manual/stdio.texi: Likewise.
21908         * manual/string.texi: Likewise.
21909         * manual/sysinfo.texi: Likewise.
21910         * manual/syslog.texi: Likewise.
21911         * manual/terminal.texi: Likewise.
21912         * manual/time.texi: Likewise.
21913         * manual/users.texi: Likewise.
21914         * INSTALL: Regenerated.
21915         * NOTES: Regenerated.
21916         * sysdeps/gnu/errlist.c: Regenerated.
21918 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
21920         * include/dirent.h: Include <dirstream.h> before
21921         <dirent/dirent.h>.
21923 2012-02-28  David S. Miller  <davem@davemloft.net>
21925         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21926         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21927         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21928         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21930 2012-02-27  David S. Miller  <davem@davemloft.net>
21932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21934         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21935         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21938         frame pointer instead of stack pointer relative arg slot.
21939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21940         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21941         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21943 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
21945         [BZ #3992]
21946         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21948 2012-02-27  David S. Miller  <davem@davemloft.net>
21950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21954         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21955         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21956         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21957         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21959 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
21961         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21962         later.  Allow versions 5-9.
21963         * configure: Regenerated.
21964         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21965         required minimum version and 4.6 as recommended version.  Do not
21966         mention bugs in GCC 2.7 and 2.8.
21967         * INSTALL: Regenerated.
21969 2012-02-27  David S. Miller  <davem@davemloft.net>
21971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21975         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21976         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21977         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21978         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21980         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21981         manipulate bits before adding and subtracting TWO112[sx].
21982         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21984 2012-02-27  Roland McGrath  <roland@hack.frob.com>
21986         [BZ #13775]
21987         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21988         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21989         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21990         being in POSIX, because they are in 1003.1-2008.
21992         * rt/tst-aio.c: Include <fcntl.h>.
21993         * rt/tst-aio7.c: Likewise.
21994         * rt/tst-aio64.c: Likewise.
21996         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21998 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22000         * manual/install.texi (--with-headers): Describe headers as
22001         interface headers, not private headers.
22002         (Specific advice for GNU/Linux systems): Describe use of headers
22003         from "make headers_install", not private headers from older
22004         kernels.
22005         * INSTALL: Regenerated.
22006         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22007         Change to 2.6.19.
22008         * sysdeps/unix/sysv/linux/configure: Regenerated.
22010         * manual/llio.texi (fclean): Remove documentation.
22012         * manual/Makefile (libc-texi-generated): New variable.  Include
22013         version.texi.
22014         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22015         $(libc-texi-generated), not duplicated list of files.
22016         (version.texi, stamp-version): New rules.
22017         (realclean): Remove $(libc-texi-generated), not individual files
22018         from that list.  Do not remove dir-add.texinfo.
22019         * manual/libc.texinfo: Comment out uses of edition numbers and
22020         references to printed manual.  Remove last-updated dates.
22021         (EDITION): Comment out.
22022         (ISBN): Likewise.
22023         (VERSION, UPDATED): Remove.
22024         (version.texi): Include.
22026 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22028         * sysdeps/posix/spawni.c: Include <signal.h>.
22029         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22030         * sysdeps/pthread/aio_fsync.c: Likewise.
22032 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22034         * conform/Makefile (tests): Run only when not cross-compiling and
22035         when fast-check is not defined.
22037         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22038         * conform/data/limits.h-data: Fixes for POSIX2008.
22039         * conform/run-conformtest.sh: Run all tests.
22040         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22041         headers.
22042         * include/bits/dlfcn.h: Likewise.
22043         * include/langinfo.h: Likewise.
22044         * include/monetary.h: Likewise.
22045         * include/sys/poll.h: Likewise.
22047         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22048         for __USE_GNU.
22049         * posix/spawn.h: Define __need_sigset_t.
22050         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22051         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22052         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22053         to get sigevent_t only.
22054         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22055         only for __USE_GNU.
22056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22057         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22058         process_vm_writev only for __USE_GNU.
22059         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22061         * conform/Makefile: For now ignore errors from run-conformtest.
22062         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22063         POSIX to avoid namespace pollution.  Don't prepend headers.
22064         * conform/data/aio.h-data: Fixes for POSIX testing.
22065         * conform/data/fcntl.h-data: Likewise.
22066         * conform/data/glob.h-data: Likewise.
22067         * conform/data/grp.h-data: Likewise.
22068         * conform/data/pthread.h-data: Likewise.
22069         * conform/data/pwd.h-data: Likewise.
22070         * conform/data/signal.h-data: Likewise.
22071         * conform/data/spawn.h-data: Likewise.
22072         * conform/data/stdio.h-data: Likewise.
22073         * conform/data/stdlib.h-data: Likewise.
22074         * conform/data/stropts.h-data: Likewise.
22075         * conform/data/sys/mman.h-data: Likewise.
22076         * conform/data/sys/stat.h-data: Likewise.
22077         * conform/data/sys/types.h-data: Likewise.
22078         * conform/data/sys/wait.h-data: Likewise.
22079         * conform/data/time.h-data: Likewise.
22080         * conform/data/unistd.h-data: Likewise.
22081         * conform/data/utime.h-data: Likewise.
22083         * io/sys/stat.h: fchmod was always in POSIX.
22084         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22085         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22086         * rt/aio.h: Define __need_timespec before including <time.h>.
22087         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22088         struct.  Add forward declaration of pthread_attr_t and use it in
22089         sigevent.
22090         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22091         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22092         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22093         always remove CLK_TCK definition.
22095 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
22097         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22099 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
22101         * conform/run-conformtest.sh: New file.
22102         * conform/Makefile: Run run-conformtest for tests.
22103         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
22104         support.
22106         * conform/data/uchar.h-data: New file.
22107         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22108         * conform/data/arpa/inet.h-data: Likewise.
22109         * conform/data/assert.h-data: Likewise.
22110         * conform/data/complex.h-data: Likewise.
22111         * conform/data/cpio.h-data: Likewise.
22112         * conform/data/ctype.h-data: Likewise.
22113         * conform/data/dirent.h-data: Likewise.
22114         * conform/data/dlfcn.h-data: Likewise.
22115         * conform/data/errno.h-data: Likewise.
22116         * conform/data/fcntl.h-data: Likewise.
22117         * conform/data/float.h-data: Likewise.
22118         * conform/data/fmtmsg.h-data: Likewise.
22119         * conform/data/fnmatch.h-data: Likewise.
22120         * conform/data/ftw.h-data: Likewise.
22121         * conform/data/glob.h-data: Likewise.
22122         * conform/data/grp.h-data: Likewise.
22123         * conform/data/iconv.h-data: Likewise.
22124         * conform/data/inttypes.h-data: Likewise.
22125         * conform/data/langinfo.h-data: Likewise.
22126         * conform/data/libgen.h-data: Likewise.
22127         * conform/data/limits.h-data: Likewise.
22128         * conform/data/locale.h-data: Likewise.
22129         * conform/data/math.h-data: Likewise.
22130         * conform/data/monetary.h-data: Likewise.
22131         * conform/data/mqueue.h-data: Likewise.
22132         * conform/data/ndbm.h-data: Likewise.
22133         * conform/data/net/if.h-data: Likewise.
22134         * conform/data/netdb.h-data: Likewise.
22135         * conform/data/netinet/in.h-data: Likewise.
22136         * conform/data/nl_types.h-data: Likewise.
22137         * conform/data/poll.h-data: Likewise.
22138         * conform/data/pthread.h-data: Likewise.
22139         * conform/data/pwd.h-data: Likewise.
22140         * conform/data/regex.h-data: Likewise.
22141         * conform/data/sched.h-data: Likewise.
22142         * conform/data/search.h-data: Likewise.
22143         * conform/data/semaphore.h-data: Likewise.
22144         * conform/data/setjmp.h-data: Likewise.
22145         * conform/data/signal.h-data: Likewise.
22146         * conform/data/spawn.h-data: Likewise.
22147         * conform/data/stdarg.h-data: Likewise.
22148         * conform/data/stdio.h-data: Likewise.
22149         * conform/data/stdlib.h-data: Likewise.
22150         * conform/data/string.h-data: Likewise.
22151         * conform/data/strings.h-data: Likewise.
22152         * conform/data/stropts.h-data: Likewise.
22153         * conform/data/sys/ipc.h-data: Likewise.
22154         * conform/data/sys/mman.h-data: Likewise.
22155         * conform/data/sys/msg.h-data: Likewise.
22156         * conform/data/sys/resource.h-data: Likewise.
22157         * conform/data/sys/select.h-data: Likewise.
22158         * conform/data/sys/sem.h-data: Likewise.
22159         * conform/data/sys/shm.h-data: Likewise.
22160         * conform/data/sys/socket.h-data: Likewise.
22161         * conform/data/sys/stat.h-data: Likewise.
22162         * conform/data/sys/statvfs.h-data: Likewise.
22163         * conform/data/sys/time.h-data: Likewise.
22164         * conform/data/sys/timeb.h-data: Likewise.
22165         * conform/data/sys/times.h-data: Likewise.
22166         * conform/data/sys/types.h-data: Likewise.
22167         * conform/data/sys/uio.h-data: Likewise.
22168         * conform/data/sys/un.h-data: Likewise.
22169         * conform/data/sys/utsname.h-data: Likewise.
22170         * conform/data/sys/wait.h-data: Likewise.
22171         * conform/data/syslog.h-data: Likewise.
22172         * conform/data/tar.h-data: Likewise.
22173         * conform/data/termios.h-data: Likewise.
22174         * conform/data/utime.h-data: Likewise.
22175         * conform/data/utmpx.h-data: Likewise.
22176         * conform/data/varargs.h-data: Likewise.
22177         * conform/data/wchar.h-data: Likewise.
22178         * conform/data/wctype.h-data: Likewise.
22179         * conform/data/wordexp.h-data: Likewise.
22181         * include/stropts.h: New file.
22182         * include/uchar.h: New file.
22183         * include/aio.h: Changes to allow conformtest.pl to use the headers.
22184         * include/assert.h: Likewise.
22185         * include/ctype.h: Likewise.
22186         * include/dirent.h: Likewise.
22187         * include/dlfcn.h: Likewise.
22188         * include/fcntl.h: Likewise.
22189         * include/fnmatch.h: Likewise.
22190         * include/glob.h: Likewise.
22191         * include/grp.h: Likewise.
22192         * include/libio.h: Likewise.
22193         * include/locale.h: Likewise.
22194         * include/math.h: Likewise.
22195         * include/net/if.h: Likewise.
22196         * include/netdb.h: Likewise.
22197         * include/netinet/in.h: Likewise.
22198         * include/pthread.h: Likewise.
22199         * include/pwd.h: Likewise.
22200         * include/regex.h: Likewise.
22201         * include/sched.h: Likewise.
22202         * include/search.h: Likewise.
22203         * include/setjmp.h: Likewise.
22204         * include/signal.h: Likewise.
22205         * include/stdio.h: Likewise.
22206         * include/stdlib.h: Likewise.
22207         * include/string.h: Likewise.
22208         * include/sys/cdefs.h: Likewise.
22209         * include/sys/mman.h: Likewise.
22210         * include/sys/msg.h: Likewise.
22211         * include/sys/resource.h: Likewise.
22212         * include/sys/select.h: Likewise.
22213         * include/sys/socket.h: Likewise.
22214         * include/sys/stat.h: Likewise.
22215         * include/sys/statvfs.h: Likewise.
22216         * include/sys/time.h: Likewise.
22217         * include/sys/times.h: Likewise.
22218         * include/sys/uio.h: Likewise.
22219         * include/sys/utsname.h: Likewise.
22220         * include/sys/wait.h: Likewise.
22221         * include/termios.h: Likewise.
22222         * include/time.h: Likewise.
22223         * include/ulimit.h: Likewise.
22224         * include/unistd.h: Likewise.
22225         * include/utime.h: Likewise.
22226         * include/wchar.h: Likewise.
22227         * include/wctype.h: Likewise.
22228         * include/wordexp.h: Likewise.
22230         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22232         * time/time.h: TIME_UTC must be a macro.
22233         Make timespec_get available for ISO C11 only as well.
22235 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
22237         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22238         Reported by Peng Haitao <penght@cn.fujitsu.com>.
22240 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22242         * configure.in: Use -o not -a in test for unsupported multi-arch.
22244 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22246         * manual/texinfo.tex: Update to version 2012-01-19.16.
22248 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22250         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22252 2012-02-24  Roland McGrath  <roland@hack.frob.com>
22254         [BZ #13738]
22255         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22256         * manual/fdl-1.3.texi: New file.
22257         * manual/fdl-1.1.texi: File removed.
22259         [BZ #13738]
22260         * manual/libc.texinfo (FDL_VERSION): New @set.
22261         Use it for mention of FDL in cover text.
22262         (Documentation License): Use it in @include file name.
22264 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22265             Roland McGrath  <roland@hack.frob.com>
22267         [BZ #5461]
22268         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22269         not LONG_LONG_MAX and LONG_LONG_MIN.
22270         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22271         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
22272         name.
22273         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22275 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22277         [BZ #2547]
22278         [BZ #11365]
22279         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22280         manipulate bits before adding and subtracting TWO23[sx].
22281         * math/libm-test.inc (nearbyint_test): Add more tests.
22283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #2548]
22286         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22287         bits before adding and subtracting TWO23[sx].
22288         * math/libm-test.inc (rint_test): Add more tests.
22289         (rint_test_tonearest): Likewise.
22290         (rint_test_towardzero): Likewise.
22291         (rint_test_downward): Likewise.
22292         (rint_test_upward: Likewise.
22294 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22296         [BZ #10110]
22297         * include/stdc-predef.h: New file.  Extracted from features.h.
22298         * include/features.h: Include stdc-predef.h.
22299         * Makefile (headers): Add stdc-predef.h.
22300         * CONFORMANCE (Compiler limitations): Update.
22302 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22304         * manual/libc.texinfo (VERSION, UPDATED): Revert.
22306 2012-02-21  David S. Miller  <davem@davemloft.net>
22308         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22309         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22311 2012-02-20  David S. Miller  <davem@davemloft.net>
22313         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22314         using a normal save/restore sequence, rather than allocating a
22315         dummy stack frame just to store a frame pointer and restore.
22316         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22318 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22320         * manual/install.texi: Fix stray word in line-wrapped comment.
22322 2012-02-20  David S. Miller  <davem@davemloft.net>
22324         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22325         both binutils and gcc support GOTDATA.
22327         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22328         "rd %pc" in the PIC register setup sequences.
22330         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22331         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22332         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22333         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22334         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22335         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22337         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22338         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22339         (SYSCALL_ERROR_HANDLER): Likewise.
22340         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22341         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22342         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22343         (SYSCALL_ERROR_HANDLER): Likewise.
22345         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22346         (HAVE_GCC_GOTDATA): New.
22347         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22348         relocation support in both binutils and gcc.
22349         * sysdeps/sparc/elf/configure: Regenerate.
22351         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22352         * sysdeps/sparc/sparc32/elf/configure: Delete.
22353         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22354         * sysdeps/sparc/sparc64/elf/configure: Delete.
22355         * sysdeps/sparc/elf/configure.in: New file.
22356         * sysdeps/sparc/elf/configure: Generate.
22358         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22359         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22360         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22361         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22362         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22364 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22366         * manual/install.texi: Do not mention specific glibc version
22367         numbers.
22368         * manual/libc.texinfo (VERSION, UPDATED): Update.
22369         (@copying): Use @copyright{} and range of years.
22371 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #13695]
22374         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22375         [crti.S not in sysdirs] (generated): Do not append.
22376         [crti.S not in sysdirs] (omit-deps): Likewise.
22377         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22378         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22379         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22380         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22381         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22382         Likewise.
22383         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22384         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22385         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22386         * csu/defs.awk: Remove file.
22387         * sysdeps/generic/initfini.c: Likewise.
22388         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22389         variable.
22390         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22391         Likewise.
22393 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22395         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22396         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22397         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22398         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22399         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22400         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22401         <bits/epoll.h>.
22402         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22403         (__EPOLL_PACKED): Define to empty if not defined by
22404         <bits/epoll.h>.
22405         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22407         bits/epoll.h.
22409 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22411         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22412         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22413         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22414         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22415         <bits/timerfd.h>.
22416         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22418         bits/timerfd.h.
22420 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22422         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22423         in C locale.
22424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22425         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22426         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22429 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
22431         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22432         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22434 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
22436         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22437         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22438         defined.
22439         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22440         Likewise.
22441         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22442         entry for 2.16.
22444 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
22446         * math/w_acos.c: Use non-signaling floating-point comparisons.
22447         * math/w_acosf.c: Likewise.
22448         * math/w_acosh.c: Likewise.
22449         * math/w_acoshf.c: Likewise.
22450         * math/w_acoshl.c: Likewise.
22451         * math/w_acosl.c: Likewise.
22452         * math/w_asin.c: Likewise.
22453         * math/w_asinf.c: Likewise.
22454         * math/w_asinl.c: Likewise.
22455         * math/w_atanh.c: Likewise.
22456         * math/w_atanhf.c: Likewise.
22457         * math/w_atanhl.c: Likewise.
22458         * math/w_exp2.c: Likewise.
22459         * math/w_exp2f.c: Likewise.
22460         * math/w_exp2l.c: Likewise.
22461         * math/w_j0.c: Likewise.
22462         * math/w_j0f.c: Likewise.
22463         * math/w_j0l.c: Likewise.
22464         * math/w_j1.c: Likewise.
22465         * math/w_j1f.c: Likewise.
22466         * math/w_j1l.c: Likewise.
22467         * math/w_jn.c: Likewise.
22468         * math/w_jnf.c: Likewise.
22469         * math/w_log.c: Likewise.
22470         * math/w_log10.c: Likewise.
22471         * math/w_log10f.c: Likewise.
22472         * math/w_log10l.c: Likewise.
22473         * math/w_log2.c: Likewise.
22474         * math/w_log2f.c: Likewise.
22475         * math/w_log2l.c: Likewise.
22476         * math/w_logf.c: Likewise.
22477         * math/w_logl.c: Likewise.
22478         * math/w_sqrt.c: Likewise.
22479         * math/w_sqrtf.c: Likewise.
22480         * math/w_sqrtl.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22483         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22484         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22485         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22487 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22489         [BZ #9739]
22490         * manual/string.texi (strnlen): Use correct parameter name in
22491         equivalent expression.
22493 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22495         [BZ #11174]
22496         * manual/users.texi (seteuid): Consistently use neweuid for
22497         argument name.
22499 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22501         [BZ #13704]
22502         * manual/nss.texi (Services in the NSS configuration): Correct
22503         list of services in example configuration file.
22505 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
22507         [BZ #11322]
22508         * manual/arith.texi: Remove statements about negative zero
22509         behaving identically to zero.
22511 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
22513         [BZ #5993]
22514         * manual/install.texi: Do not document upgrading from libc5.
22516 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
22518         [BZ #4596]
22519         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22521 2012-02-18  David S. Miller  <davem@davemloft.net>
22523         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22524         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22525         %o7 across the call.
22526         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22527         instead.
22528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22529         SETUP_PIC_REG_LEAF.
22530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22531         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22532         * sysdeps/sparc/crtn.S: Likewise.
22534 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
22536         * aout/Makefile: Remove.
22538 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
22540         [BZ #13058]
22541         * manual/examples/argp-ex1.c (main): Format definition in GNU
22542         style.
22543         * manual/examples/argp-ex2.c (main): Likewise.
22544         * manual/examples/argp-ex3.c (main): Likewise.
22545         * manual/examples/argp-ex4.c (main): Likewise.
22546         * manual/examples/longopt.c (main): Use new-style prototype
22547         definition.
22548         * manual/examples/strncat.c (main): Specify return type and use
22549         (void) for arguments.
22550         * manual/examples/subopt.c (main): Use char **argv argument.
22552 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22554         [BZ #5077]
22555         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22556         rounding modes.
22558 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
22560         [BZ #6907]
22561         * manual/string.texi (strchr): Change when strchrnul is
22562         recommended.
22564 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
22566         [BZ #174]
22567         * manual/locale.texi (setlocale): Document LOCPATH.
22569 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22571         [BZ #10210]
22572         * manual/process.texi (execle): Move @dots{} before last argument.
22574 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
22576         [BZ #12047]
22577         * manual/charset.texi (Generic Charset Conversion): Fix typo
22578         (LC_TYPE -> LC_CTYPE).
22580 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
22582         [BZ #5805]
22583         * manual/arith.texi (scalbn): Use @var{} on parameter names.
22584         (scalbnf): Likewise.
22585         (scalbnl): Likewise.
22586         (scalbln): Likewise.
22587         (scalblnf): Likewise.
22588         (scalblnl): Likewise.
22589         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22590         (vwarnx): Likewise.
22591         (verr): Likewise.
22592         (verrx): Likewise.
22593         * manual/filesys.texi (telldir): Use braces around return type.
22594         * manual/llio.texi (mmap): Add space after comma.
22595         (mmap64): Likewise.
22596         * manual/math.texi (jn): Use @var{} on parameter names.
22597         (jnf): Likewise.
22598         (jnl): Likewise.
22599         (yn): Likewise.
22600         (ynf): Likewise.
22601         (ynl): Likewise.
22602         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22603         line.
22604         * manual/resource.texi (ulimit): Use @dots{} instead of literal
22605         "...".
22606         (sched_get_priority_min): Remove semicolon on @deftypefun line.
22607         (sched_get_priority_max): Likewise.
22608         * manual/signal.texi (sigvec): Add space after comma.
22609         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22610         names.
22611         (if_indextoname): Likewise.
22612         (if_freenameindex): Likewise.
22613         (sendto): Use ',' instead of '.' in prototype.
22614         * manual/startup.texi (syscall): Use @dots{} instead of literal
22615         "...".
22616         * manual/stdio.texi (__fpending): Separate initial words of
22617         paragraph from @deftypefun line.
22618         * manual/syslog.texi (syslog): Use @dots{} instead of literal
22619         "...".
22620         (vsyslog): Use @var{} on parameter names.
22621         * manual/terminal.texi (stty): Use @var{} on parameter names.
22622         * manual/users.texi (getutmp): Use @var{} on parameter names.
22623         (getutmpx): Likewise.
22625 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22627         [BZ #6884]
22628         * manual/stdio.texi (fopen): Fix typos in description of
22629         ",ccs=STRING".
22631 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
22633         [BZ #4026]
22634         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22635         get clock_id definition.
22637 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
22639         [BZ #4822]
22640         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22641         (madvise): Cast every argument to void on its own.
22643 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22645         [BZ #9902]
22646         * manual/startup.texi (Exit Status): Fix typo.
22648 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22650         [BZ #10140]
22651         * manual/examples/argp-ex1.c: Include <stdlib.h>.
22652         * manual/examples/argp-ex2.c: Likewise.
22653         * manual/examples/argp-ex3.c: Likewise.
22655 2012-02-16  Richard Henderson  <rth@redhat.com>
22657         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22658         * sysdeps/s390/s390-32/initfini.c: Remove.
22659         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22660         * sysdeps/s390/s390-64/initfini.c: Remove.
22662 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22664         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22665         compiler output for sysdeps/generic/initfini.c.
22666         * sysdeps/sh/elf/initfini.c: Remove file.
22668 2012-02-16  David S. Miller  <davem@davemloft.net>
22670         [BZ #11494]
22671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22673         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22674         * sysdeps/sparc/crti.S: New file.
22675         * sysdeps/sparc/crtn.S: New file.
22676         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22677         * sysdeps/sparc/sparc64/Makefile: Likewise.
22679 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
22681         [BZ #3335]
22682         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22684 2012-02-15  Roland McGrath  <roland@hack.frob.com>
22686         [BZ #4822]
22687         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22689         * mach/devstream.c (cookie_io_functions_t): Macro removed.
22690         (write, read, close): Likewise.
22691         Patch by Aurelien Jarno <aurelien@aurel32.net>.
22693 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
22695         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22696         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22697         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22698         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22699         <bits/signalfd.h>.
22700         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22702         bits/signalfd.h.
22704 2012-02-14  Marek Polacek  <polacek@redhat.com>
22706         * sysdeps/x86_64/crti.S: New file.
22707         * sysdeps/x86_64/crtn.S: New file.
22708         * sysdeps/x86_64/elf/initfini.c: Remove file.
22710 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22712         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22713         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22714         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22715         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22716         <bits/inotify.h>.
22717         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22719         bits/inotify.h.
22721 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22723         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22724         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22725         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22726         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22727         <bits/eventfd.h>.
22728         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22730         bits/eventfd.h.
22732 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
22734         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22735         __feraiseexcept instead of feraiseexcept.
22737         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22738         nanosleep invocations.
22739         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22740         strings, and add error checking for a nanosleep invocations.
22742 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
22744         Replace FSF snail mail address with URLs, as per GNU coding standards.
22745         Most of the snail mail addresses were wrong anyway, and omitting
22746         them makes the source code easier to maintain.  Almost all of the
22747         changes are to license notices and to locale LC_IDENTIFICATION
22748         addresses, except for this one:
22749         * manual/libc.texinfo: In "Published by", give the FSF's URL,
22750         not its snail mail address.
22752 2012-02-09  Richard Henderson  <rth@twiddle.net>
22754         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22755         of kernel-features.h.
22757         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22759 2012-02-08  Marek Polacek  <polacek@redhat.com>
22761         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22762         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22763         * sysdeps/gnu/_G_config.h: Likewise.
22764         * sysdeps/generic/_G_config.h: Likewise.
22766 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
22768         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22769         tests.
22770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22772         * sysdeps/powerpc/powerpc32/crti.S: New file.
22773         * sysdeps/powerpc/powerpc32/crtn.S: New file.
22774         * sysdeps/powerpc/powerpc64/crti.S: New file.
22775         * sysdeps/powerpc/powerpc64/crtn.S: New file.
22777         * Makeconfig (have-initfini): Don't set.
22778         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22779         * configure.in (nopic_initfini): Don't substitute.
22780         * config.h.in (HAVE_INITFINI): Don't #undef.
22781         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22782         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22784 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
22786         Support crti.S and crtn.S provided directly by architectures.
22787         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22788         [crti.S in sysdirs] (omit-deps): Likewise.
22789         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22790         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22791         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22792         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22793         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22794         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22795         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22796         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22797         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22798         compiler output for sysdeps/generic/initfini.c.
22799         * sysdeps/i386/elf/Makefile: Remove file.
22800         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22802 2012-02-07  Marek Polacek  <polacek@redhat.com>
22804         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22805         * sysdeps/gnu/_G_config.h: Likewise.
22806         * sysdeps/mach/hurd/_G_config.h: Likewise.
22808 2012-02-07  Marek Polacek  <polacek@redhat.com>
22810         * math/Makefile (tests): Add tst-CMPLX2.
22811         * math/tst-CMPLX2.c: New file.
22813 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
22815         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22817         * math/libm-test.inc (jn_test): Add missing L suffix.
22819 2012-02-06  Marek Polacek  <polacek@redhat.com>
22821         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22822         * sysdeps/i386/fpu/e_powf.S: Likewise.
22823         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22824         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22825         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22826         * sysdeps/i386/fpu/e_pow.S: Likewise.
22827         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22828         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22829         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22830         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22831         * sysdeps/i386/fpu/e_log2.S: Likewise.
22832         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22833         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22834         * sysdeps/i386/fpu/e_powl.S: Likewise.
22835         * sysdeps/i386/fpu/s_log1p.S: Likewise.
22836         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22837         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22838         * sysdeps/i386/fpu/e_logl.S: Likewise.
22839         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22840         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22841         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22842         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22843         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22844         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22845         * sysdeps/i386/fpu/e_log.S: Likewise.
22846         * sysdeps/i386/fpu/s_cexp.S: Likewise.
22847         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22848         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22849         * sysdeps/i386/fpu/e_logf.S: Likewise.
22850         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22851         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22852         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22853         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22854         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22855         * sysdeps/i386/fpu/e_log10.S: Likewise.
22856         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22857         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22858         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22859         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22860         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22861         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22862         * sysdeps/i386/asm-syntax.h: Likewise.
22863         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22864         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22865         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22866         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22867         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22868         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22869         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22870         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22871         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22872         * sysdeps/powerpc/sysdep.h: Likewise.
22873         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22874         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22876 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22878         [BZ #411]
22879         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22881 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22883         * sysdeps/i386/sysdep.h: Include <features.h>.
22884         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22885         version.
22887 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
22889         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22890         Define.
22891         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22892         LOAD_PIC_REG_STR.
22894 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22896         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22897         (SETUP_PIC_REG): Use GET_PC_THUNK.
22898         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22899         macro.
22901 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22903         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22904         for non-PIC compilation.
22905         (SETUP_PIC_REG): Add .p2align directive.
22906         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22907         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22908         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22909         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22910         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22911         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22912         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22913         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22914         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22915         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22916         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22917         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22918         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22919         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22920         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22921         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22922         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22923         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22924         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22925         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22926         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22927         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22928         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22929         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22930         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22932         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22933         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22934         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22935         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22936         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22937         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22938         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22939         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22940         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22941         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22942         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22943         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22944         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22945         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22946         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22948 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22950         * math/tst-CMPLX.c: Include <stdio.h>.
22952 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
22954         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22955         float.
22956         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22957         * sysdeps/sparc/bits/mathdef.h: Likewise.
22959 2012-01-31  Marek Polacek  <polacek@redhat.com>
22961         * libio/libio.h: Don't define _PARAMS.
22962         * locale/programs/config.h: Don't define PARAMS.
22963         * stdlib/strtol_l.c: Likewise.
22964         (__strtol_l): Remove PARAMS from the prototype.
22966 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
22968         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
22969         names.  Just use the correct names.  Remove unnecessary wrapper
22970         functions.
22971         * malloc/arena.c: Likewise.
22972         * malloc/hooks.c: Likewise.
22974         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22975         ARENA_TEST says not to.  Simplify test for creation of a new arena.
22976         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22978 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
22980         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22981         into tail calls.
22982         (update_get_addr): New function.
22983         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22984         GET_ADDR_MODULE parameter.
22986 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
22988         * crypt/cert.c: Remove __STDC__ conditionals.
22989         * crypt/crypt-entry.c: Likewise.
22990         * crypt/crypt_util.c: Likewise.
22991         * libio/filedoalloc.c: Likewise.
22992         * libio/fileops.c: Likewise.
22993         * libio/genops.c: Likewise.
22994         * libio/iofclose.c: Likewise.
22995         * libio/iofdopen.c: Likewise.
22996         * libio/iofopen.c: Likewise.
22997         * libio/iofopen64.c: Likewise.
22998         * libio/iogetdelim.c: Likewise.
22999         * libio/iopopen.c: Likewise.
23000         * libio/obprintf.c: Likewise.
23001         * libio/oldfileops.c: Likewise.
23002         * libio/oldiofclose.c: Likewise.
23003         * libio/oldiofdopen.c: Likewise.
23004         * libio/oldiofopen.c: Likewise.
23005         * libio/oldiopopen.c: Likewise.
23006         * libio/wfiledoalloc.c: Likewise.
23007         * libio/wgenops.c: Likewise.
23008         * locale/programs/xmalloc.c: Likewise.
23009         * misc/syslog.c: Likewise.
23010         * stdio-common/xbug.c: Likewise.
23011         * string/memchr.c: Likewise.
23012         * string/memcmp.c: Likewise.
23013         * string/memrchr.c: Likewise.
23014         * string/rawmemchr.c: Likewise.
23015         * sysdeps/posix/getcwd.c: Likewise.
23016         * time/strftime_l.c: Likewise.
23018 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23020         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23021         * config.make.in (config-cflags-sse2avx): Define.
23022         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23023         Fix typo.
23025 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23027         * scripts/config.guess: Update from upstream config git repository.
23028         * scripts/config.sub: Likewise.
23030 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23032         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23033         (EM_NUM): Update.
23034         (R_TILEPRO_*, R_TILEGX_*): New macros.
23036         * scripts/firstversions.awk: Fix bug in version range handling.
23038         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23040         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23042         * include/sys/epoll.h: New file.
23043         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23044         libc_hidden_def.
23046 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23048         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23049         Avoid unnecessary __WORDSIZE == 64 test.
23050         (fmaxf): Use VEX format if possible.
23051         (fmax): Likewise.
23052         (fminf): Likewise.
23053         (fmin): Likewise.
23055         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23056         * math/math_private.h: Remove libc_fegetround* and
23057         libc_fesetround*.
23058         * sysdeps/i386/configure.in: Check for -msse2avx.
23059         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23060         also if SSE2AVX is defined.
23061         Remove libc_fegetround* and libc_fesetround*.
23062         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23063         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23064         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23065         of HAS_YMM_USABLE.
23066         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23067         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23068         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23069         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23070         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23072         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23074 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23076         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23077         size is not set.
23078         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23080 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23082         [BZ #13618]
23083         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23084         relocation.
23085         * Makeconfig (libm): Define.
23086         * elf/Makefile: Add rules to build and run tst-relsort1.
23087         * elf/tst-relsort1.c: New file.
23088         * elf/tst-relsort1mod1.c: New file.
23089         * elf/tst-relsort1mod2.c: New file.
23091 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
23093         * math/s_ldexp.c: Remove __STDC__ conditionals.
23094         * math/s_ldexpf.c: Likewise.
23095         * math/s_ldexpl.c: Likewise.
23096         * math/s_nextafter.c: Likewise.
23097         * math/s_nexttowardf.c: Likewise.
23098         * math/s_significand.c: Likewise.
23099         * math/s_significandf.c: Likewise.
23100         * math/s_significandl.c: Likewise.
23101         * math/w_jnl.c: Likewise.
23102         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23103         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23104         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23105         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23106         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23107         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23108         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23109         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23110         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23111         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23112         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23113         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23114         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23115         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23116         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23117         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23118         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23119         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23121         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23122         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23123         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23124         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23125         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23126         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23127         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23128         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23129         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23130         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23131         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23132         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23133         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23134         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23135         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23136         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23137         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23138         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23139         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23140         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23141         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23142         * sysdeps/ieee754/k_standard.c: Likewise.
23143         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23145         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23146         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23147         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23148         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23149         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23150         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23151         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23152         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23153         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23154         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23155         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23156         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23157         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23158         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23159         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23161         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23162         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23165         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23166         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23167         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23168         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23169         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23172         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23173         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23174         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23175         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23176         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23177         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23178         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23181         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23182         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23183         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23184         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23185         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23186         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23187         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23189         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23190         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23191         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23193         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23194         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23197         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23198         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23199         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23200         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23201         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23202         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23203         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23204         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23205         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23206         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23207         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23208         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23209         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23210         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23211         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23212         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23213         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23214         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23215         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23216         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23217         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23218         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23219         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23220         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23221         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23222         * sysdeps/ieee754/s_matherr.c: Likewise.
23223         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23224         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23225         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23228 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23230         * crypt/md5.h: Remove __STDC__ conditionals.
23231         * libio/libioP.h: Likewise.
23232         * locale/programs/config.h: Likewise.
23233         * sysdeps/generic/sysdep.h: Likewise.
23234         * sysdeps/i386/asm-syntax.h: Likewise.
23235         * sysdeps/s390/asm-syntax.h: Likewise.
23236         * sysdeps/unix/sysdep.h: Likewise.
23237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23240 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23242         * libio/libio.h: Remove __STDC__ conditionals.
23243         * malloc/obstack.h: Likewise.
23244         * math/complex.h: Likewise.
23245         * math/math.h: Likewise.
23246         * sysdeps/generic/_G_config.h: Likewise.
23247         * sysdeps/gnu/_G_config.h: Likewise.
23248         * sysdeps/mach/hurd/_G_config.h: Likewise.
23249         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23250         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23251         * sysdeps/sparc/bits/mathdef.h: Likewise.
23253 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
23255         [BZ #13583]
23256         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23257         Clean up HAS_* macros.
23258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23259         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23260         possible.
23261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23262         HAS_AVX.
23263         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23264         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23265         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23266         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23267         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23269 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
23271         * elf/tst-unique3.cc (gets): Remove declaration.
23272         * elf/tst-unique3lib.cc (gets): Likewise.
23273         * elf/tst-unique3lib2.cc (gets): Likewise.
23274         * elf/tst-unique4.cc (gets): Likewise.
23276 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
23278         * include/stdio.h: Add C++ protection.  Add gets declarations and
23279         definitions.
23280         * debug/tst-chk1.c: Don't declare gets here.
23281         * stdio-common/tst-gets.c: Likewise.
23283 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23285         * posix/glob: Remove directory.
23287 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23289         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23291 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
23293         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23294         of the non-standard EPFNOSUPPORT.
23296 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23298         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23299         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23300         ANYWHERE set to 1 only on KERN_NO_SPACE error.
23302 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
23304         * wcsmbs/uchar.h: Test __STDC_VERSION__.
23306 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
23308         * nscd/aicache.c (addhstaiX): Do not cache negative results of
23309         transient errors.
23310         * nscd/grpcache.c (cache_addgr): Likewise.
23311         * nscd/hstcache.c (cache_addhst): Likewise.
23312         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23313         * nscd/pwdcache.c (cache_addpw): Likewise.
23314         * nscd/servicescache.c (cache_addserv): Likewise.
23316 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
23318         * malloc/malloc.c: Various cleanups.
23319         * malloc/hooks.c: Likewise.
23321         * stdlib/Makefile (tests): Add bug-fmtmsg1.
23322         * stdlib/bug-fmtmsg1.c: New file.
23324         * stdlib/fmtmsg.c (init): Add missing unlock.
23325         Patch by Peng Haitao <penght@cn.fujitsu.com>.
23327 2012-01-12  Marek Polacek  <polacek@redhat.com>
23329         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23330         and _GNU_SOURCE.
23332 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23334         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23335         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23336         macro to ensure uniqueness of label name.
23337         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23338         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23340 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
23342         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23344         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23345         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23346         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23347         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23349 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
23351         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23353         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23354         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23355         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23357         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23359         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23360         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23361         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23362         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23364         * math/bits/math-finite.h: Add ldexp support.
23366 2012-01-10  Marek Polacek  <polacek@redhat.com>
23368         * locale/programs/localedef.h (show_archive_content): Add noreturn
23369         attribute.
23371 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
23373         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23375 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23377         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23379         * io/Makefile (headers): Add bits/poll2.h.
23381 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
23383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23384         typo #include statement.
23386 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23388         * include/sys/cdefs.h: Define __attribute_alloc_size.
23389         * catgets/gencat.c: Add alloc_size attribute and apply consistently
23390         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23391         * elf/pldd.c: Likewise.
23392         * iconv/iconv_charmap.c: Likewise.
23393         * iconv/iconvconfig.c: Likewise.
23394         * iconv/strtab.c: Likewise.
23395         * locale/programs/locale.c: Likewise.
23396         * locale/programs/localedef.h: Likewise.
23397         * locale/programs/simple-hash.c: Likewise.
23398         * nscd/nscd.h: Likewise.
23399         * nss/makedb.c: Likewise.
23400         * sysdeps/generic/ldconfig.h: Likewise.
23401         * locale/programs/localedef.c: Remove xmalloc prototype.
23402         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23404 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23407         appropriate.
23409 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23411         * math/Makefile (tests): Add tst-CMPLX.
23412         * math/tst-CMPLX.c: New file.
23414         * math/complex.h (CMPLXL): Fix typo.
23416         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23417         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23418         GLIBC_2.16.
23419         * debug/tst-chk1.c: Add poll and ppoll tests.
23420         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23421         * include/sys/poll.h: Add hidden proto for ppoll.
23422         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23423         * sysdeps/mach/hurd/ppoll.c: Likewise.
23424         * io/ppoll.c: Likewise.
23425         * debug/poll_chk.c: New file.
23426         * debug/ppoll_chk.c: New file.
23427         * include/bits/poll2.h: New file.
23428         * io/bits/poll2.h: New file.
23430         [BZ #1350]
23431         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23433         * configure.in: static is always set to yes.  Remove.
23434         * config.make.in: Don't set build-static.
23435         * Makeconfig: Remove use of build-static.
23436         * dlfcn/Makefile: Likewise.
23437         * elf/Makefile: Likewise.
23438         * math/Makefile: Likewise.
23439         * misc/Makefile: Likewise.
23440         * nptl/Makefile: Likewise.
23441         * sysdeps/mach/hurd/Makefile: Likewise.
23443         * configure.in: PWD_P is not used anymore.
23444         * config.make.in: Remove PWD_P entry.
23446         * configure.in: Remove last remnants of RANLIB.
23447         No need to check for signed size_t anymore.
23448         Don't set libc_commonpagesize and libc_relro_required here for Alpha
23449         and IA-64.
23450         Remove __builtin_expect test because we require at least gcc 3.4.
23451         * aclocal.m4: Likewise.
23453         * wcsmbs/mbrtoc16.c: Implement using towc function.
23454         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23455         * wcsmbs/wcsmbsload.c: Likewise.
23456         * iconv/gconv_simple.c: Likewise.
23457         * iconv/gconv_int.h: Likewise.
23458         * iconv/gconv_builtin.h: Likewise.
23459         * iconv/iconv_prog.c: Remove CHAR16 handling.
23461         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23463         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23465         * configure.in: Remove --with-elf and --enable-bounded options.
23466         Dont set base_machine for ia64.  More non-ELF conditions removed.
23467         Remove testing and setting of leading underscore information.
23468         * config.make.in (build-bounded): Set to no.
23469         * config.h.in: Remove NO_UNDERSCORES entry.
23470         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
23471         them.
23472         * csu/start.c: Remove !NO_UNDERSCORE code.
23473         * locale/localeinfo.h: Likewise.
23474         * sysdeps/generic/machine-gmon.h: Likewise.
23475         * sysdeps/generic/sysdep.h: Likewise.
23476         * sysdeps/i386/sysdep.h: Likewise.
23477         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23478         * sysdeps/mach/sysdep.h: Likewise.
23479         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23480         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23481         * sysdeps/sh/sysdep.h: Likewise.
23482         * sysdeps/sparc/sparc32/alloca.S: Likewise.
23483         * sysdeps/unix/i386/sysdep.S: Likewise.
23484         * sysdeps/unix/sparc/start.c: Likewise.
23485         * sysdeps/unix/sparc/sysdep.S: Likewise.
23486         * sysdeps/unix/sparc/sysdep.h: Likewise.
23487         * sysdeps/unix/start.c: Likewise.
23488         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23489         * sysdeps/x86_64/sysdep.h: Likewise.
23491 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
23493         [BZ #13553]
23494         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23495         for non-gcc.
23496         * argp/argp-fmtstream.h: Use const instead __const.
23497         * argp/argp.h: Likewise.
23498         * assert/assert.h: Likewise.
23499         * bits/fenv.h: Likewise.
23500         * bits/sched.h: Likewise.
23501         * bits/sigset.h: Likewise.
23502         * bits/sigthread.h: Likewise.
23503         * catgets/nl_types.h: Likewise.
23504         * conform/data/pthread.h-data: Likewise.
23505         * crypt/crypt-private.h: Likewise.
23506         * crypt/crypt.h: Likewise.
23507         * crypt/crypt_util.c: Likewise.
23508         * ctype/ctype.h: Likewise.
23509         * debug/execinfo.h: Likewise.
23510         * debug/mbsnrtowcs_chk.c: Likewise.
23511         * debug/mbsrtowcs_chk.c: Likewise.
23512         * debug/wcsnrtombs_chk.c: Likewise.
23513         * debug/wcsrtombs_chk.c: Likewise.
23514         * debug/wcstombs_chk.c: Likewise.
23515         * dirent/dirent.h: Likewise.
23516         * dlfcn/dlfcn.h: Likewise.
23517         * elf/neededtest4.c: Likewise.
23518         * grp/grp.h: Likewise.
23519         * gshadow/gshadow.h: Likewise.
23520         * iconv/gconv.h: Likewise.
23521         * iconv/gconv_int.h: Likewise.
23522         * iconv/gconv_simple.c: Likewise.
23523         * iconv/iconv.h: Likewise.
23524         * iconv/loop.c: Likewise.
23525         * iconv/skeleton.c: Likewise.
23526         * include/aio.h: Likewise.
23527         * include/aliases.h: Likewise.
23528         * include/argz.h: Likewise.
23529         * include/arpa/inet.h: Likewise.
23530         * include/assert.h: Likewise.
23531         * include/dirent.h: Likewise.
23532         * include/dlfcn.h: Likewise.
23533         * include/execinfo.h: Likewise.
23534         * include/fcntl.h: Likewise.
23535         * include/fenv.h: Likewise.
23536         * include/glob.h: Likewise.
23537         * include/grp.h: Likewise.
23538         * include/libintl.h: Likewise.
23539         * include/mntent.h: Likewise.
23540         * include/netdb.h: Likewise.
23541         * include/pwd.h: Likewise.
23542         * include/rpc/netdb.h: Likewise.
23543         * include/sched.h: Likewise.
23544         * include/search.h: Likewise.
23545         * include/shadow.h: Likewise.
23546         * include/signal.h: Likewise.
23547         * include/stdio.h: Likewise.
23548         * include/stdlib.h: Likewise.
23549         * include/string.h: Likewise.
23550         * include/sys/socket.h: Likewise.
23551         * include/sys/stat.h: Likewise.
23552         * include/sys/statfs.h: Likewise.
23553         * include/sys/statvfs.h: Likewise.
23554         * include/sys/syslog.h: Likewise.
23555         * include/sys/time.h: Likewise.
23556         * include/sys/uio.h: Likewise.
23557         * include/time.h: Likewise.
23558         * include/unistd.h: Likewise.
23559         * include/utmp.h: Likewise.
23560         * include/wchar.h: Likewise.
23561         * include/wctype.h: Likewise.
23562         * inet/aliases.h: Likewise.
23563         * inet/arpa/inet.h: Likewise.
23564         * inet/netinet/ether.h: Likewise.
23565         * inet/netinet/in.h: Likewise.
23566         * intl/libintl.h: Likewise.
23567         * io/bits/fcntl2.h: Likewise.
23568         * io/fcntl.h: Likewise.
23569         * io/ftw.h: Likewise.
23570         * io/sys/poll.h: Likewise.
23571         * io/sys/stat.h: Likewise.
23572         * io/sys/statfs.h: Likewise.
23573         * io/sys/statvfs.h: Likewise.
23574         * io/utime.h: Likewise.
23575         * libio/bits/stdio.h: Likewise.
23576         * libio/bits/stdio2.h: Likewise.
23577         * libio/libio.h: Likewise.
23578         * libio/libioP.h: Likewise.
23579         * libio/stdio.h: Likewise.
23580         * locale/lc-ctype.c: Likewise.
23581         * locale/locale.h: Likewise.
23582         * login/utmp.h: Likewise.
23583         * malloc/arena.c: Likewise.
23584         * malloc/malloc.c: Likewise.
23585         * malloc/malloc.h: Likewise.
23586         * malloc/mcheck.c: Likewise.
23587         * malloc/mtrace.c: Likewise.
23588         * math/bits/mathcalls.h: Likewise.
23589         * math/fenv.h: Likewise.
23590         * math/math_private.h: Likewise.
23591         * misc/bits/error.h: Likewise.
23592         * misc/bits/syslog.h: Likewise.
23593         * misc/err.h: Likewise.
23594         * misc/error.h: Likewise.
23595         * misc/fstab.h: Likewise.
23596         * misc/mntent.h: Likewise.
23597         * misc/regexp.h: Likewise.
23598         * misc/search.h: Likewise.
23599         * misc/sgtty.h: Likewise.
23600         * misc/sys/mman.h: Likewise.
23601         * misc/sys/syslog.h: Likewise.
23602         * misc/sys/uio.h: Likewise.
23603         * misc/sys/xattr.h: Likewise.
23604         * misc/ttyent.h: Likewise.
23605         * nis/rpcsvc/ypclnt.h: Likewise.
23606         * nss/nss.h: Likewise.
23607         * posix/bits/unistd.h: Likewise.
23608         * posix/fnmatch.h: Likewise.
23609         * posix/glob.h: Likewise.
23610         * posix/sched.h: Likewise.
23611         * posix/spawn.h: Likewise.
23612         * posix/sys/wait.h: Likewise.
23613         * posix/unistd.h: Likewise.
23614         * posix/wordexp.h: Likewise.
23615         * pwd/pwd.h: Likewise.
23616         * resolv/netdb.h: Likewise.
23617         * resource/sys/resource.h: Likewise.
23618         * rt/aio.h: Likewise.
23619         * rt/bits/mqueue2.h: Likewise.
23620         * rt/mqueue.h: Likewise.
23621         * shadow/shadow.h: Likewise.
23622         * signal/signal.h: Likewise.
23623         * socket/send.c: Likewise.
23624         * socket/sendto.c: Likewise.
23625         * socket/sys/socket.h: Likewise.
23626         * stdio-common/printf.h: Likewise.
23627         * stdlib/bits/stdlib.h: Likewise.
23628         * stdlib/fmtmsg.h: Likewise.
23629         * stdlib/monetary.h: Likewise.
23630         * stdlib/stdlib.h: Likewise.
23631         * stdlib/ucontext.h: Likewise.
23632         * streams/stropts.h: Likewise.
23633         * string/argz.h: Likewise.
23634         * string/bits/string2.h: Likewise.
23635         * string/string.h: Likewise.
23636         * string/strings.h: Likewise.
23637         * sunrpc/rpc/auth.h: Likewise.
23638         * sunrpc/rpc/auth_des.h: Likewise.
23639         * sunrpc/rpc/clnt.h: Likewise.
23640         * sunrpc/rpc/netdb.h: Likewise.
23641         * sunrpc/rpc/pmap_clnt.h: Likewise.
23642         * sunrpc/rpc/xdr.h: Likewise.
23643         * sysdeps/generic/inttypes.h: Likewise.
23644         * sysdeps/generic/net/if.h: Likewise.
23645         * sysdeps/generic/sys/swap.h: Likewise.
23646         * sysdeps/gnu/net/if.h: Likewise.
23647         * sysdeps/gnu/utmpx.h: Likewise.
23648         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23649         * sysdeps/i386/i486/bits/string.h: Likewise.
23650         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23651         * sysdeps/s390/bits/string.h: Likewise.
23652         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23653         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23654         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23655         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23656         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23657         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23658         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23659         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23660         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23661         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23662         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23663         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23664         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23665         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23666         * sysdeps/unix/sysv/linux/readv.c: Likewise.
23667         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23668         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23670         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23671         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23672         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23673         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23674         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23675         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23676         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23677         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23678         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23679         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23680         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23682         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23683         * sysvipc/sys/ipc.h: Likewise.
23684         * sysvipc/sys/msg.h: Likewise.
23685         * sysvipc/sys/sem.h: Likewise.
23686         * sysvipc/sys/shm.h: Likewise.
23687         * termios/termios.h: Likewise.
23688         * time/sys/time.h: Likewise.
23689         * time/time.h: Likewise.
23690         * wcsmbs/bits/wchar2.h: Likewise.
23691         * wcsmbs/uchar.h: Likewise.
23692         * wcsmbs/wchar.h: Likewise.
23693         * wctype/wctype.h: Likewise.
23695         [BZ #13551]
23696         * Makeconfig: Remove all but ELF support including AIX support.
23697         * Makerules: Likewise.
23698         * config.h.in: Likewise.
23699         * config.make.in: Likewise.
23700         * configure: Likewise.
23701         * configure.in: Likewise.
23702         * csu/Makefile: Likewise.
23703         * csu/version.c: Likewise.
23704         * debug/Makefile: Likewise.
23705         * dlfcn/Makefile: Likewise.
23706         * elf/Makefile: Likewise.
23707         * extra-lib.mk: Likewise.
23708         * iconv/Makefile: Likewise.
23709         * include/libc-symbols.h: Likewise.
23710         * include/shlib-compat.h: Likewise.
23711         * resolv/Makefile: Likewise.
23712         * resolv/res_libc.c: Likewise.
23713         * rt/Makefile: Likewise.
23714         * sysdeps/i386/asm-syntax.h: Likewise.
23715         * sysdeps/i386/sysdep.h: Likewise.
23716         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23717         * sysdeps/mach/sysdep.h: Likewise.
23718         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23719         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23720         * sysdeps/s390/asm-syntax.h: Likewise.
23721         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23722         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23723         * sysdeps/sh/sysdep.h: Likewise.
23724         * sysdeps/unix/sparc/sysdep.h: Likewise.
23725         * sysdeps/wordsize-32/divdi3.c: Likewise.
23726         * sysdeps/x86_64/sysdep.h: Likewise.
23728         * argp/Versions: Remove _argp_unlock_xxx.
23730         [BZ #13559]
23731         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
23732         * abilist/libBrokenLocale.abilist: Likewise.
23733         * abilist/libanl.abilist: Likewise.
23734         * abilist/libc.abilist: Likewise.
23735         * abilist/libcrypt.abilist: Likewise.
23736         * abilist/libdl.abilist: Likewise.
23737         * abilist/libm.abilist: Likewise.
23738         * abilist/libnsl.abilist: Likewise.
23739         * abilist/libpthread.abilist: Likewise.
23740         * abilist/libresolv.abilist: Likewise.
23741         * abilist/librt.abilist: Likewise.
23742         * abilist/libthread_db.abilist: Likewise.
23743         * abilist/libutil.abilist: Likewise.
23744         * abilist/libnss_db.abilist: New file.
23746         * scripts/abilist.awk: Add support for indirect functions.
23748         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23750         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23752         * shlib-versions: Remove entries for ports architectures.
23754         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
23755         files in ports.
23756         * elf/stackguard-macros.h: Remove support for IA-64.
23757         * elf/tst-auditmod1.c: Likewise.
23758         * sysdeps/generic/ldsodefs.h: Likewise.
23760         * sysdeps/unix/sysv/linux/configure.in: Ports should define
23761         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23762         configure files.
23764         [BZ #13552]
23765         * configure.in: Remove --enable-omitfp support.
23766         * FAQ.in: Adjust.
23767         * config.make.in: Likewise.
23768         * Makeconfig: Likewise.
23769         * manual/install.texi: Likewise.
23771         In case anyone cares, the IA-64 architecture could move to ports.
23772         * sysdeps/ia64/*: Removed.
23773         * sysdeps/unix/sysv/linux/ia64/*: Removed.
23774         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23776         [BZ #13555]
23777         * configure.in: Remove entries for unsupported architectures.
23779         [BZ #13533]
23780         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23781         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
23782         routines.
23783         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23784         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23785         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
23786         fall back to using wcrtomb.
23787         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23788         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
23789         renaming.
23790         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23791         * wcsmbs/tst-c16c32-1.c: New file.
23793         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23794         local variable.
23796         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23798         * elf/tst-unique3.cc: Add explicit declaration of gets.
23799         * elf/tst-unique3lib.cc: Likewise.
23800         * elf/tst-unique3lib2.cc: Likewise.
23801         * elf/tst-unique4.cc: Likewise.
23803         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23805 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
23807         [BZ #13566]
23808         * assert/assert.h (static_assert): Don't define for C++.
23809         * libio/stdio.h (gets): Do declare for C++ <= C++11.
23810         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23812 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
23814         * iconv/loop.c (single loop): Fix assertion in storing of
23815         remaining bytes.
23817         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23819 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
23821         * posix/getconf.c: Update copyright year.
23822         * nss/getent.c: Likewise.
23823         * nss/makedb.c: Likewise.
23824         * iconv/iconvconfig.c: Likewise.
23825         * iconv/iconv_prog.c: Likewise.
23826         * elf/ldconfig.c: Likewise.
23827         * elf/pldd.c: Likewise.
23828         * elf/sotruss.ksh: Likewise.
23829         * catgets/gencat.c: Likewise.
23830         * csu/version.c: Likewise.
23831         * elf/ldd.bash.in: Likewise.
23832         * elf/sprof.c (print_version): Likewise.
23833         * locale/programs/locale.c: Likewise.
23834         * locale/programs/localedef.c: Likewise.
23835         * login/programs/pt_chown.c: Likewise.
23836         * nscd/nscd.c (print_version): Likewise.
23837         * debug/xtrace.sh: Likewise.
23838         * malloc/memusage.sh: Likewise.
23839         * malloc/mtrace.pl: Likewise.
23840         * debug/catchsegv.sh: Likewise.
23842 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
23844         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23845         pure attribute.
23847 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
23849         [BZ #13533]
23850         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23851         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23852         transformations.
23853         * iconv/gconv_int.h: Likewise.
23854         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23855         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23856         from libc for GLIBC_2.16.
23857         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23858         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23859         * wcsmbs/uchar.h: Really define mbstate_t.
23860         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23861         * wcsmbs/c16rtomb.c: New file.
23862         * wcsmbs/mbrtoc16.c: New file.
23863         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23864         for C/POSIX locale.
23865         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23866         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23868         * wcsmbs/wchar.h: Add missing __restrict.
23870 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23872         [BZ #13532]
23873         * time/Makefile (routines): Add timespec_get.
23874         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23875         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
23876         timespec for ISO C11.
23877         * time/timespec_get.c: New file.
23878         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23879         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23881         [BZ #13531]
23882         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23883         * stdlib/stdlib.h: Declare aligned_alloc.
23884         * Versions.def: Add GLIBC_2.16 for libc.
23885         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23887         [BZ 13527]
23888         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23889         ISO C11.
23891         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23892         code.
23894         [BZ #13528]
23895         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23897         [BZ #13529]
23898         * assert/assert.h (static_assert): Define.
23900         * version.h: Update for 2.16 development version.
23902         [BZ #13526]
23903         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23904         _ISOC11_SOURCE.
23906         * version.h (RELEASE): Bump for 2.15 release.
23907         * include/features.h (__GLIBC_MINOR__): Bump to 15.
23909         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23910         Patch by Marek Polacek <mpolacek@redhat.com>.
23912         * bits/byteswap.h: Protect long long constants with __extension__.
23913         * sysdeps/i386/bits/byteswap.h: Likewise.
23914         * sysdeps/ia64/bits/byteswap.h: Likewise.
23915         * sysdeps/s390/bits/byteswap.h: Likewise.
23916         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23918 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23920         [BZ #13540]
23921         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23922         destination buffer.
23923         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23925 2011-12-23  Marek Polacek  <polacek@redhat.com>
23927         * elf/dl-addr.c (determine_info): Add inline keyword.
23928         * elf/tst-auditmod4b.c (check_avx): Likewise.
23929         * elf/tst-auditmod6b.c (check_avx): Likewise.
23930         * elf/tst-auditmod6c.c (check_avx): Likewise.
23931         * elf/tst-auditmod7b.c (check_avx): Likewise.
23933 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23935         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23936         !__SSE_MATH__.
23938 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23940         [BZ #13540]
23941         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23942         processing for last bytes.
23944 2011-08-06  Bruno Haible  <bruno@clisp.org>
23946         [BZ #13061]
23947         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23948         U+0385, not to U+1FEE.
23950         [BZ #13062]
23951         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23952         entry for U+00A5 U+0301.
23954 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
23956         [BZ #13166]
23957         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23958         buffer for the output is too small.
23960         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23961         optimization.
23963         [BZ #13185]
23964         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23965         SSE flags if possible.
23967 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23969         [BZ #13540]
23970         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23971         processing for last bytes.
23973 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
23975         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23976         (syscall-list-default-options, syscall-list-default-condition)
23977         (syscall-list-includes): Define.
23978         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23979         list of ABIs and options and #if conditions for each ABI.  Do not
23980         handle common syscalls between ABIs specially.
23981         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23982         Remove.
23983         (syscall-list-variants, syscall-list-32bit-options)
23984         (syscall-list-32bit-condition, syscall-list-64bit-options)
23985         (syscall-list-64bit-condition): Define.
23986         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23987         (syscall-list-variants, syscall-list-32bit-options)
23988         (syscall-list-32bit-condition, syscall-list-64bit-options)
23989         (syscall-list-64bit-condition): Define.
23990         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23991         Remove.
23992         (syscall-list-variants, syscall-list-32bit-options)
23993         (syscall-list-32bit-condition, syscall-list-64bit-options)
23994         (syscall-list-64bit-condition): Define.
23995         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23996         Remove.
23997         (syscall-list-variants, syscall-list-32bit-options)
23998         (syscall-list-32bit-condition, syscall-list-64bit-options)
23999         (syscall-list-64bit-condition): Define.
24001 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24003         * locale/iso-639.def: Add brx entry.
24005         [BZ #13328]
24006         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24007         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24009         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24010         __feraiseexcept_renamed.
24012 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24014         [BZ #13538]
24015         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24016         EPOLLET with unsigned values.
24017         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24020         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24021         to large cancellation.
24022         * math/s_cacoshf.c: Likewise.
24023         * math/s_cacoshl.c: Likewise.
24025 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24027         [BZ #13305]
24028         [BZ #12786]
24029         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24030         * math/s_cacoshf.c: Likewise.
24031         * math/s_cacoshl.c: Likewise.
24033 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24035         [BZ #13439]
24036         * iconv/gconv.h: Define __GCONV_SWAP.
24037         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24038         * iconvdata/utf-16.c: Likewise.
24039         * iconvdata/utf-32.c: Likewise.
24041 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24043         [BZ #13524]
24044         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24045         numerator after shifting it by one limb.
24047 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24049         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24050         under [__USE_EXTERN_INLINES].
24052 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24054         [BZ #13446]
24055         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24057 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24059         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24060         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24061         optimized code.
24062         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24063         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24064         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24065         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24066         for strncasecmp/strncasecmp_l compilation.
24067         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24068         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24070 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24072         [BZ #13484]
24073         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24074         of __asm__.
24076 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24078         [BZ #13506]
24079         * time/tzfile.c (__tzfile_read): Check values from file header.
24081 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24083         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24084         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24085         * powerpc/powerpc32/dl-start.S: Likewise.
24086         * powerpc/powerpc32/elf/start.S: Likewise.
24087         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24088         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24089         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24090         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24091         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24092         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24093         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24094         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24095         * powerpc/powerpc32/fpu/s_round.S: Likewise.
24096         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24097         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24098         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24099         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24100         * powerpc/powerpc32/memset.S: Likewise.
24101         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24102         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24103         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24104         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24105         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24106         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24107         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24108         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24109         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24110         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24111         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24112         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24113         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24115 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24117         * math/libm-test.inc: Added more nearbyint tests.
24118         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24120         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24123 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
24125         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24126         FD_CLOEXEC.
24128 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24130         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24131         Add wcscpy-ssse3 wcscpy-c.
24132         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24133         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24134         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24135         * sysdeps/x86_64/wcschr.S: New file.
24136         * sysdeps/x86_64/wcsrchr.S: New file.
24137         * string/test-strcmp.c: Remove checking of wcscmp function for
24138         wrong alignments.
24139         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24140         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24141         wcsrchr-sse2 wcsrchr-c.
24142         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24143         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24144         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24145         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24146         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24147         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24148         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24149         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24150         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24151         * wcsmbc/wcschr.c (WCSCHR): New macro.
24153 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24155         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24156         * wcsmbs/test-wcsrchr.c: New file.
24157         * string/test-strrchr.c: Add wcsrchr support.
24158         (WIDE): New macro.
24159         * wcsmbs/test-wcscpy.c: New file.
24160         * string/test-strcpy.c: Add wcscpy support.
24161         (WIDE): New macro.
24163 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
24165         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24166         the inner loop.
24168 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
24170         [BZ #13472]
24171         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24173 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
24175         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24176         Minor optimizations.
24178         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24179         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24180         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24182 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
24184         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24185         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24186         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24187         for gcc to avoid warnings.
24188         * inet/Makefile (tests): Add tst-checks.
24189         * inet/tst-checks.c: New file.
24191         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24192         warning.
24194         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24195         __wmemcmp_sse2.
24197         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24198         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24200         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24202 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
24204         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24205         problem.
24207         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24209 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
24211         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24212         conditional on GCC version.
24213         (__arch_compare_and_exchange_val_8_acq)
24214         (__arch_compare_and_exchange_val_16_acq)
24215         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24216         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24217         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24219 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
24221         * sysdeps/sh/backtrace.c: New file.
24223 2011-12-02  Andreas Schwab  <schwab@redhat.com>
24225         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
24226         parenthesis.
24228 2011-12-01  Andreas Schwab  <schwab@redhat.com>
24230         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24231         falling back to utime.
24233 2011-11-30  Andreas Schwab  <schwab@redhat.com>
24235         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24236         expectations for float.
24238 2011-11-29  Andreas Schwab  <schwab@redhat.com>
24240         * locale/weight.h (findidx): Add parameter len.
24241         * locale/weightwc.h (findidx): Likewise.
24242         * posix/fnmatch_loop.c (FCT): Adjust caller.
24243         * posix/regcomp.c (build_equiv_class): Likewise.
24244         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24245         * posix/regexec.c (check_node_accept_bytes): Likewise.
24246         * string/strcoll_l.c (STRCOLL): Likewise.
24247         * string/strxfrm_l.c (STRXFRM): Likewise.
24249 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
24251         * Makefile.in: Remove CVSOPT handling.
24252         * configure.in: Remove use of AC_REVISION.
24253         * iconvdata/Makefile (distribute): No need to filter out CVS.
24254         * scripts/list-sources.sh: Remove CVS, subversion and monotone
24255         handling.
24257 2011-11-16  Andreas Schwab  <schwab@redhat.com>
24259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24260         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24261         [USE_AS_STRNCASECMP_L]: Likewise.
24262         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24263         NO_TLS_DIRECT_SEG_REFS.
24264         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24265         Fix argument offsets for non-PIC.
24266         [USE_AS_STRNCASECMP_L]: Likewise.
24267         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24268         NO_TLS_DIRECT_SEG_REFS.
24270 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24272         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24273         O_CLOEXEC.
24274         * locale/loadlocale.c (_nl_load_locale): Likewise.
24276 2011-11-15  Andreas Schwab  <schwab@redhat.com>
24278         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24279         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24280         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24281         (SYSCALL_GETTIME): Set errno on error.
24283         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24284         count references to noai6ai_cached.
24286 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24288         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24290         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24291         FD_CLOEXEC for /proc/self/maps.
24293         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24294         FD_CLOEXEC for /proc/meminfo.
24296         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24297         gai.conf.
24299         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
24300         FD_CLOEXEC for given file.
24302         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24304         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24305         FD_CLOEXEC for /etc/hosts.
24306         (_gethtent): Likewise.
24308         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24310         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24311         cancellation and set FD_CLOEXEC for /etc/netgroup.
24313         * nss/nss_files/files-key.c (search): Don't allow cancellation when
24314         reading /etc/publickey.
24316         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24317         allow cancellation when reading /etc/group.
24319         * nss/nss_files/files-alias.c (internal_setent): Don't allow
24320         cancellation.
24321         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
24323         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24324         when using data file.
24326         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24328         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24329         (write_nis_obj): Use "c" and "e" in fopen.
24331         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24333         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24335         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24337         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24339         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24340         locale.alias.
24342         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24344         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24346         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24348         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24349         file parsing and set FD_CLOEXEC.
24351 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24353         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24355 2011-11-14  Andreas Schwab  <schwab@redhat.com>
24357         * malloc/arena.c (arena_get2): Don't call reused_arena when
24358         _int_new_arena failed.
24360 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24362         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24363         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24364         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24365         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24366         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24367         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24368         to compile strcasecmp and strncasecmp.
24369         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24370         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24374 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
24376         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24377         locale-defines.sym to gen-as-const-headers.
24378         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24379         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24381         to compile strcasecmp and strncasecmp.
24382         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24383         strcasecmp_l and strncasecmp_l.
24384         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24385         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24386         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24387         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24388         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24389         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24390         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24391         * sysdeps/i386/i686/multiarch/strncase.S: New file.
24392         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24393         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24394         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24396 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
24398         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24399         result of SYSDEP_GETTIME_CPU to retval.
24400         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24401         parameter list to macro.  Remove trailing semicolon.  Adjust users.
24403         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24404         variable.
24406         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24407         mantissa words.
24408         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24410         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24411         from unused variable.
24413         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24414         DWARF definitions.
24415         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24416         for assembling.
24418         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24419         over namespaces.
24421         * sunrpc/rpc_prot.c (rejected): Fix case value.
24423         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24424         unsigned long long int to avoid warnings in shift.
24426         * posix/regex_internal.c (re_string_reconstruct): Actually use result
24427         of use of trans.
24428         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24429         variable tmp.
24431         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24432         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24433         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24435         * nis/nis_table.c (nis_list): Use variable of correct type for
24436         result of __follow_path call.
24438 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24440         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24441         of math functions ceil, trunc, floor, round, and sqrt, when
24442         avaliable on the platform.
24443         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24444         name clash.
24445         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24446         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24447         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24449 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
24451         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24452         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24454 2011-11-11  Roland McGrath  <roland@hack.frob.com>
24456         * include/unistd.h: Fix __readlink return type.
24457         Reported by Chris Metcalf <cmetcalf@tilera.com>.
24459 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
24461         * stdlib/ucontext.h: Undo last change for makecontext.
24463 2011-11-11  Andreas Schwab  <schwab@redhat.com>
24465         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24467         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24468         * setjmp/setjmp.h: Mark functions as non-leaf.
24469         * setjmp/bits/setjmp2.h: Likewise.
24470         * stdlib/ucontext.h: Likewise.
24472 2011-11-10  Andreas Schwab  <schwab@redhat.com>
24474         * malloc/arena.c (_int_new_arena): Don't increment narenas.
24475         (reused_arena): Don't check arena limit.
24476         (arena_get2): Atomically check arena limit.
24478 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
24480         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24481         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24483         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24484         instructions.
24486 2011-11-07  Andreas Schwab  <schwab@redhat.com>
24488         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24489         handler when locking.
24491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24492         Fix size of allocated buffer.
24494 2011-11-04  Andreas Schwab  <schwab@redhat.com>
24496         [BZ #10103]
24497         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24498         declarations for long double functions.
24499         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24501         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24503 2011-11-03  Andreas Schwab  <schwab@redhat.com>
24505         * nscd/nscd.c (main): Don't start AVC thread until credentials are
24506         installed.
24508         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24509         is disabled.
24511 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24513         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24515 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24517         * include/alloca.h (stackinfo_alloca_round): Define.
24518         (extend_alloca): Use it.
24519         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24520         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24521         here.
24523         * scripts/check-local-headers.sh: Ignore libaudit.h.
24525         * nscd/Makefile (extra-objs): Make recursively expanded.
24527 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
24529         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24530         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24532         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24533         * posix/tst-rfc3484-2.c: Likewise.
24534         * posix/tst-rfc3484-3.c: Likewise.
24536         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24537         process_vm_writev.
24538         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24539         process_vm_writev.
24540         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24541         process_vm_writev from libc using GLIBC_2.15 version.
24543         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24545 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
24547         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24548         stack usage.
24550 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
24552         [BZ #13367]
24553         * nss/getent.c (initgroups_keys): Show error message in case no group
24554         names are given.
24556         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24557         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24558         __bump_nl_timestamp.
24559         * nscd/connections (nscd_init): When host database is served open
24560         netlink socket and request notification about configuration changes.
24561         (main_loop_poll): Track netlink file descriptor and bump timestamp
24562         in case data becomes available.
24563         (main_loop_epoll): Likewise.
24564         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24565         (database_pers_head): Add extra_data fileds.
24566         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24567         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24568         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24569         Adjust caller.
24570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24571         in6ai data, call __free_in6ai.
24572         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24573         Add -DHAVE_NETLINK.
24574         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
24575         interface information.  Reuse previous data if netlink timestamp
24576         is not changed.
24577         (__bump_nl_timestamp): New function.
24578         (__free_in6ai): New function.
24580 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
24582         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24583         close_not_cancel_no_status here.
24584         (__check_pf): Reorganize code a bit to not call close twice if OOM.
24586 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24588         [BZ #13276]
24589         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24590         return value.
24592         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24593         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24594         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24596 2011-07-03  Andreas Jaeger  <aj@suse.de>
24598         [BZ #10709]
24599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24600         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24601         * math/libm-test.inc (sin_test): Add test case.
24603 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24605         [BZ #13337]
24606         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24607         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24609         * elf/chroot_canon.c (chroot_canon): Cleanups.
24611         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24613         [BZ #13335]
24614         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24615         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24617         * string/test-strchr.c: Make usable for strchrnul testing.
24618         * string/test-strchrnul.c: New file.
24619         * string/Makefile (strop-tests): Add strchrnul.
24621         * po/it.po: Update from translation team.
24622         * po/es.po: Likewise.
24624 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
24626         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24627         the three constants needed as parameters.  Drop the others.
24628         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24629         __m128i_strloadu_tolower.
24630         Create and initialize variable zero and use it in all the places
24631         where _mm_setzero_si128 was used.
24633         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24634         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24635         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24636         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24637         anymore.
24638         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24639         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24640         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24641         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24642         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24643         __mpranred, __mptan.
24644         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24645         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24646         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24647         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24648         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24649         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24650         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24651         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24652         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24654 2011-10-28  Andreas Schwab  <schwab@redhat.com>
24656         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24657         redefine if SHARED.
24658         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24661         wide char related routines to wcsmbs subdir.
24663 2011-10-27  Andreas Schwab  <schwab@redhat.com>
24665         [BZ #13344]
24666         * misc/sys/cdefs.h (__THROWNL): Define.
24667         * posix/unistd.h: Use __THREADNL instead of __THREAD
24668         for memory synchronization functions.
24670 2011-10-26  Roland McGrath  <roland@hack.frob.com>
24672         [BZ #13349]
24673         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24674         doesn't exist.
24675         * manual/stdio.texi (Obstack Streams): Node removed.
24677 2011-10-26  Andreas Schwab  <schwab@redhat.com>
24679         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24680         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24681         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24683         * math/math_private.h (math_force_eval): Allow non-addressable
24684         arguments.
24685         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24687 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24689         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24690         file is not needed.
24692         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24693         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24694         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24695         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24696         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24697         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24698         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24699         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24700         Add AVX variants.
24701         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24702         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24703         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24704         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24705         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24706         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24707         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24708         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24709         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24710         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24711         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24712         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24713         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24714         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24715         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24716         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24717         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24718         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24719         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24721         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24722         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
24724         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24725         place.  Use VEX encoding when compiling for AVX.
24727 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24729         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24730         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24732         * string/test-strchr.c (do_test): Don't generate NUL bytes.
24734 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24736         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24737         useless if() expression.
24738         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24739         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24740         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24741         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24742         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24743         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24744         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24745         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24746         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24747         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24748         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24749         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24750         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24751         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24752         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24753         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24754         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24755         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24756         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24758         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24760 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24762         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24763         condition.
24764         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24766 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24768         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24769         .text section.  Avoid duplicate constants.
24770         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24771         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24772         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24778         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24779         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24780         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24781         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24782         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24783         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24784         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24785         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24786         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24787         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24788         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24789         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24790         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24791         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24792         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24793         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24794         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24795         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24796         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24797         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24798         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24799         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24800         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24801         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24802         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24803         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24804         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24805         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24806         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24807         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24808         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24809         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24810         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24811         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24812         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24813         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24814         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24816 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
24818         * sysdeps/x86_64/dla.h: Move to ...
24819         * sysdeps/x86_64/fpu/dla.h: ...here.
24820         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24821         situations.  Use __builtin_fma only for gcc 4.6 and up.
24823         * config.make.in: Add have-mfma4 entry.
24824         * configure.in: Substitute libc_cv_cc_fma4.
24825         * math/Makefile (dbl-only-routines): Add sincostab.
24826         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24827         Use __sincostab not sincos.
24828         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24829         name is a macro.
24830         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24831         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
24834         using __copysign.
24835         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
24836         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
24837         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24838         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24839         and __inv.
24840         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24841         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24842         __copysign.
24843         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
24844         define aliases when function name is a macro.
24845         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24846         sysdeps/ieee754/dbl-64/sincos.tbl.
24847         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24848         fma4-enabled routines.
24849         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24850         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24851         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24852         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24853         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24854         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24855         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24856         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24857         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24858         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24859         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24860         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24861         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24862         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24863         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24864         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24865         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24866         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24867         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24868         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24869         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24870         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24872         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24873         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24874         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24876         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24877         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24878         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24880         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24881         rename.
24882         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24887         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24888         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24889         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24891 2011-10-24  Andreas Schwab  <schwab@redhat.com>
24893         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24895 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24897         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24899         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24900         prediction.
24901         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24903         * string/strnlen.c: Don't define STRNLEN, reverse logic.
24904         Remove unused variable magic_bits.
24905         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24907         * string/strnlen.c: Define and use STRNLEN macro.
24908         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24909         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24910         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24911         * wcsmbs/wcslen.c: Define and use WCSLEN.
24912         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24913         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24914         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24915         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24916         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24917         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24918         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24920 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24923         strnlen-sse2-no-bsf.
24924         Rename strlen-no-bsf to strlen-sse2-no-bsf.
24925         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24926         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24927         Add strnlen support.
24928         (USE_AS_STRNLEN): New macro.
24929         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24930         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24931         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24932         * sysdeps/x86_64/wcslen.S: New file.
24934 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
24936         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24937         XMM-moves are used for copying on small sizes.
24939 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24941         * wcsmbs/Makefile (strop-tests): Add wcschr.
24942         * wcsmbs/test-wcschr.c: New file.
24943         * string/test-strchr.c: Update.
24944         Add wcschr support.
24945         (WIDE): New macro.
24947 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24949         * wcsmbs/Makefile (strop-tests): Add wcslen.
24950         * wcsmbs/test-wcslen.c: New file.
24951         * string/test-strlen.c: Update.
24952         Add wcslen support.
24953         (WIDE): New macro.
24955 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24957         * po/it.po: Update from translation team.
24959 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24961         * sysdeps/x86_64/wcscmp.S: Update.
24962         Fix wrong comparison semantics.
24963         wcscmp shall use signed comparison not unsigned.
24964         Don't use substraction to avoid overflow bug.
24965         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24966         * wcsmbc/wcscmp.c: Likewise.
24967         * string/test-strcmp.c: Likewise.
24968         Add new tests to check cases with negative values.
24970 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24972         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24973         * sysdeps/x86_64/dla.h: ...here.  New file.
24974         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24978         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24979         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24980         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24981         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24984 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
24986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24987         __ynl_finite aliases.
24989 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
24991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24993         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24994         define DLA_FMA.
24995         [DLA_FMA] (EMULV): Use DLA_FMA.
24996         [DLA_FMA] (MUL12): Use EMULV.
24997         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24998         that are not needed.
24999         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25007 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25009         * math/s_nan.c: Undef __nan.
25010         * math/s_nanf.c: Undef __nanf.
25011         * math/s_nanl.c: Undef __nanl.
25012         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25013         "math_private.h".
25015 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25017         * math/s_catan.c: Add branch predictions.
25018         * math/s_catanf.c: Likewise.
25019         * math/s_catanh.c: Likewise.
25020         * math/s_catanhf.c: Likewise.
25021         * math/s_catanhl.c: Likewise.
25022         * math/s_catanl.c: Likewise.
25023         * math/s_cexp.c: Likewise.
25024         * math/s_cexpf.c: Likewise.
25025         * math/s_cexpl.c: Likewise.
25026         * math/s_clog.c: Likewise.
25027         * math/s_clog10.c: Likewise.
25028         * math/s_clog10f.c: Likewise.
25029         * math/s_clog10l.c: Likewise.
25030         * math/s_clogf.c: Likewise.
25031         * math/s_clogl.c: Likewise.
25032         * math/s_csqrt.c: Likewise.
25033         * math/s_csqrtf.c: Likewise.
25034         * math/s_csqrtl.c: Likewise.
25035         * math/s_ctanf.c: Likewise.
25036         * math/s_ctanh.c: Likewise.
25037         * math/s_ctanhf.c: Likewise.
25038         * math/s_ctanhl.c: Likewise.
25039         * math/s_ctanl.c: Likewise.
25041         * math/math_private.h: Define __nan, __nanf, __nanl.
25042         * math/s_cacosh.c: Include <math_private.h>.
25043         * math/s_cacoshl.c: Likewise.
25044         * math/s_casinh.c: Likewise.
25045         * math/s_casinhf.c: Likewise.
25046         * math/s_casinhl.c: Likewise.
25047         * math/s_ccos.c: Rely entire on ccosh.
25048         * math/s_ccosf.c: Rely entire on ccoshf.
25049         * math/s_ccosl.c: Rely entirely on ccoshl.
25050         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25051         Remove tests for FE_INVALID.
25052         * math/s_ccoshf.c: Likewise.
25053         * math/s_ccoshl.c: Likewise.
25054         * math/s_csin.c: Likewise.
25055         * math/s_csinf.c: Likewise.
25056         * math/s_csinh.c Likewise.
25057         * math/s_csinhf.c: Likewise.
25058         * math/s_csinhl.c: Likewise.
25059         * math/s_csinl.c: Likewise.
25060         * math/s_ctan.c: Likewise.
25061         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25062         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25063         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25065 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25068         compilation problems.
25070         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25071         __builtin_expect.
25073 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25075         * sysdeps/i386/configure.in: Test for -mfma4 option.
25076         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25077         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25078         COMMON_CPUID_INDEX_80000001.
25079         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25080         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25081         use it if FMA3 is not supported.
25082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25084         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25085         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25087 2011-10-20  Andreas Schwab  <schwab@redhat.com>
25089         [BZ #12892]
25090         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25091         it would create a cycle with a link time dependency.
25093 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
25095         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25096         instruction.
25097         * string/Makefile (strop-tests): Add rawmemchr.
25098         * string/test-rawmemchr.c: New file.
25100         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
25102         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
25103         when compiling str{,n}casecmp and when AVX is available.  Hook up
25104         new optimized code in initializers.
25106 2011-10-19  Andreas Schwab  <schwab@redhat.com>
25108         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25109         __feraiseexcept instead of feraiseexcept.
25111 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
25113         * math/math_private.h: Define defaults for libc_fetestexcept and
25114         libc_feupdateenv.
25115         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25116         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25117         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25118         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25119         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25120         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25121         libc_fetestexcept and libc_feupdateenv.
25123         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25124         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25125         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25126         * sysdeps/x86_64/fpu/math_private.h: Define special version of
25127         libc_feholdexcept_setround.
25129         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25130         Add s_nearbyint-c and s_nearbyintf-c.
25131         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25132         nearbyintf inlines.
25133         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25134         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25135         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25136         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25138         * math/math_private.h: Define defaults for libc_fegetround,
25139         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25140         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25141         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25142         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25143         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25144         standard functions.
25145         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25146         Remove comments and hacks for old compiler versions.
25147         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25148         libc_fegetround, libc_fesetround, libc_feholdexcept, and
25149         libc_feholdexceptl.
25151 2011-10-18  Andreas Schwab  <schwab@redhat.com>
25153         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25154         (__feraiseexcept_renamed): Add __NTH.
25155         (feraiseexcept): Add __NTH.  Rename local variables to fix
25156         namespace violations.
25158 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
25160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25162         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25164         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25165         recently added interfaces.
25166         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25168         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25169         about macro parameter expansion.
25171         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25172         __NO_MATH_INLINES is defined.  Cleanups.
25174         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25175         and __floorf is target has SSE4.1.
25176         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25177         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25178         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25179         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25181         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25182         name.
25183         (floorf): Likewise.
25185         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25187 2011-10-17  Andreas Schwab  <schwab@redhat.com>
25189         * misc/sys/cdefs.h: Fix last change.
25191         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25192         database lookup.
25194 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
25196         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25198         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25199         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25204         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25205         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25206         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25207         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25208         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25209         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25210         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25211         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25212         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25213         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25214         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25215         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25216         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25217         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25218         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25219         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25221         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25222         ceil, ceilf, floor, floorf.
25224         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25225         Perform IRELATIVE relocations last.
25227         * elf/do-rel.h: Add another parameter nrelative, replacing the
25228         local variable with the same name.  Change name of the function
25229         to end in Rel or Rela (uppercase).
25230         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25231         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
25232         elf_dynamic_do_##reloc function.
25234 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25236         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25237         is sufficient, at least on modern CPUs.
25239         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25241         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25242         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25244         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25245         __expl_finite.
25246         * math/bits/math-finite.h: Add entries for exp.
25247         * math/e_expl.c: Add __*_finite alias.
25248         * sysdeps/i386/fpu/e_exp.S: Likewise.
25249         * sysdeps/i386/fpu/e_expf.S: Likewise.
25250         * sysdeps/i386/fpu/e_expl.c: Likewise.
25251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25252         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25253         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25254         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25255         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25256         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25257         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25259         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25260         is sufficient, at least on modern CPUs.
25262         * ctype/ctype-info.c (__ctype_init): Define.
25263         * include/ctype.h (__ctype_init): Declare.
25264         (__ctype_b_loc): The variable is always initialized.
25265         (__ctype_toupper_loc): Likewise.
25266         (__ctype_tolower_loc): Likewise.
25267         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25268         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25270 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
25272         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25274         * configure.in: Also look in $cxxmachine/include for C++ system
25275         headers.
25277 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25279         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25280         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25281         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25282         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
25283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25284         (USE_AS_WMEMCMP): New macro.
25285         Fixing indents.
25286         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25287         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25288         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25289         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25291         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25292         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25293         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25294         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25295         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25296         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25297         (USE_AS_WMEMCMP): New macro.
25298         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25299         * sysdeps/string/test-memcmp.c: Update.
25300         Fix simple_wmemcmp.
25301         Add new tests.
25302         * wcsmbs/wmemcmp.c: Update.
25303         (WMEMCMP): New macro.
25304         Fix overflow bug.
25306 2011-10-12  Andreas Jaeger  <aj@suse.de>
25308         [BZ #13268]
25309         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25311 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25313         * libio/iofwide.c (do_length): Avoid warning.
25315         * ctype/ctype.h (__isctype_f): Add missing __THROW.
25317 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
25319         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25321         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25322         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25323         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25324         * sysdeps/i386/i686/fpu/e_log.S: New file.
25325         * sysdeps/i386/i686/fpu/e_logf.S: New file.
25326         * sysdeps/i386/i686/fpu/e_logl.S: New file.
25328         * ctype/ctype.h: Add support for inlined isXXX functions when
25329         compiling C++ code.
25331 2011-10-14  Andreas Schwab  <schwab@redhat.com>
25333         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25335         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25337 2011-10-13  Roland McGrath  <roland@hack.frob.com>
25339         [BZ #13291]
25340         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25342 2011-10-13  Andreas Schwab  <schwab@redhat.com>
25344         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25345         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25346         feraiseexcept.
25348         * sysdeps/x86_64/memrchr.S: Check for zero size.
25350         * string/stratcliff.c: Add memrchr tests.
25352 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25355         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25356         rawmemchr-sse2 rawmemchr-sse2-bsf.
25357         * sysdeps/i386/i686/multiarch/memchr.S: New file.
25358         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25359         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25360         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25361         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25362         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25363         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25364         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25365         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25366         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25367         * string/memrchr.c (MEMRCHR): New macro.
25369 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
25371         Add integration with gcc's -ffinite-math-only and optimize wrapper
25372         functions in libm.
25373         * Versions.def: Define GLIBC_2.15 version for libm.
25374         * math/Makefile (headers): Add bits/math-finite.h.
25375         * math/bits/math-finite.h: New file.
25376         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25377         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25378         * math/e_acoshl.c: Add __*_finite alias.
25379         * math/e_acosl.c: Likewise.
25380         * math/e_asinl.c: Likewise.
25381         * math/e_atan2l.c: Likewise.
25382         * math/e_atanhl.c: Likewise.
25383         * math/e_coshl.c: Likewise.
25384         * math/e_exp10.c: Likewise.
25385         * math/e_exp10f.c: Likewise.
25386         * math/e_exp10l.c: Likewise.
25387         * math/e_exp2l.c: Likewise.
25388         * math/e_fmodl.c: Likewise.
25389         * math/e_gammal_r.c: Likewise.
25390         * math/e_hypotl.c: Likewise.
25391         * math/e_j0l.c: Likewise.
25392         * math/e_j1l.c: Likewise.
25393         * math/e_jnl.c: Likewise.
25394         * math/e_lgammal_r.c: Likewise.
25395         * math/e_log10l.c: Likewise.
25396         * math/e_log2l.c: Likewise.
25397         * math/e_logl.c: Likewise.
25398         * math/e_powl.c: Likewise.
25399         * math/e_sinhl.c: Likewise.
25400         * math/e_sqrtl.c: Likewise.
25401         * math/e_scalb.c: Completely rewritten and optimized.
25402         * math/e_scalbf.c: Likewise.
25403         * math/e_scalbl.c: Likewise.
25404         * math/w_acos.c: Likewise.
25405         * math/w_acosf.c: Likewise.
25406         * math/w_acosl.c: Likewise.
25407         * math/w_acosh.c: Likewise.
25408         * math/w_acoshf.c: Likewise.
25409         * math/w_acoshl.c: Likewise.
25410         * math/w_asin.c: Likewise.
25411         * math/w_asinf.c: Likewise.
25412         * math/w_asinl.c: Likewise.
25413         * math/w_atan2.c: Likewise.
25414         * math/w_atan2f.c: Likewise.
25415         * math/w_atan2l.c: Likewise.
25416         * math/w_atanh.c: Likewise.
25417         * math/w_atanhf.c: Likewise.
25418         * math/w_atanhl.c: Likewise.
25419         * math/w_exp10.c: Likewise.
25420         * math/w_exp10f.c: Likewise.
25421         * math/w_exp10l.c: Likewise.
25422         * math/w_fmod.c: Likewise.
25423         * math/w_fmodf.c: Likewise.
25424         * math/w_fmodl.c: Likewise.
25425         * math/w_j0.c: Likewise.
25426         * math/w_j0f.c: Likewise.
25427         * math/w_j0l.c: Likewise.
25428         * math/w_j1.c: Likewise.
25429         * math/w_j1f.c: Likewise.
25430         * math/w_j1l.c: Likewise.
25431         * math/w_jn.c: Likewise.
25432         * math/w_jnf.c: Likewise.
25433         * math/w_log.c: Likewise.
25434         * math/w_logf.c: Likewise.
25435         * math/w_logl.c: Likewise.
25436         * math/w_log10.c: Likewise.
25437         * math/w_log10f.c: Likewise.
25438         * math/w_log10l.c: Likewise.
25439         * math/w_log2.c: Likewise.
25440         * math/w_log2f.c: Likewise.
25441         * math/w_log2l.c: Likewise.
25442         * math/w_pow.c: Likewise.
25443         * math/w_powf.c: Likewise.
25444         * math/w_powl.c: Likewise.
25445         * math/w_remainder.c: Likewise.
25446         * math/w_remainderf.c: Likewise.
25447         * math/w_remainderl.c: Likewise.
25448         * math/w_scalb.c: Likewise.
25449         * math/w_scalbf.c: Likewise.
25450         * math/w_scalbl.c: Likewise.
25451         * math/w_sqrt.c: Likewise.
25452         * math/w_sqrtf.c: Likewise.
25453         * math/w_sqrtl.c: Likewise.
25454         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25455         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
25456         used.
25457         * math/math_private.h: Declare __kernel_standard_f.
25458         * math/w_cosh.c: Remove cruft and optimize a bit.
25459         * math/w_coshf.c: Likewise.
25460         * math/w_coshl.c: Likewise.
25461         * math/w_exp2.c: Likewise.
25462         * math/w_exp2f.c: Likewise.
25463         * math/w_exp2l.c: Likewise.
25464         * math/w_hypot.c: Likewise.
25465         * math/w_hypotf.c: Likewise.
25466         * math/w_hypotl.c: Likewise.
25467         * math/w_lgamma.c: Likewise.
25468         * math/w_lgamma_r.c: Likewise.
25469         * math/w_lgammaf.c: Likewise.
25470         * math/w_lgammaf_r.c: Likewise.
25471         * math/w_lgammal.c: Likewise.
25472         * math/w_lgammal_r.c: Likewise.
25473         * math/w_sinh.c: Likewise.
25474         * math/w_sinhf.c: Likewise.
25475         * math/w_sinhl.c: Likewise.
25476         * math/w_tgamma.c: Likewise.
25477         * math/w_tgammaf.c: Likewise.
25478         * math/w_tgammal.c: Likewise.
25479         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25481         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25482         Minor optimizations.  Pretty printing.  Remove cruft.
25483         * sysdeps/i386/fpu/e_acosf.S: Likewise.
25484         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25485         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25486         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25487         * sysdeps/i386/fpu/e_acosl.c: Likewise.
25488         * sysdeps/i386/fpu/e_asin.S: Likewise.
25489         * sysdeps/i386/fpu/e_asinf.S: Likewise.
25490         * sysdeps/i386/fpu/e_atan2.S: Likewise.
25491         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25492         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25493         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25494         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25495         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25496         * sysdeps/i386/fpu/e_exp10.S: Likewise.
25497         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25498         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25499         * sysdeps/i386/fpu/e_exp2.S: Likewise.
25500         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25501         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25502         * sysdeps/i386/fpu/e_fmod.S: Likewise.
25503         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25504         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25505         * sysdeps/i386/fpu/e_hypot.S: Likewise.
25506         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25507         * sysdeps/i386/fpu/e_log.S: Likewise.
25508         * sysdeps/i386/fpu/e_log10.S: Likewise.
25509         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25510         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25511         * sysdeps/i386/fpu/e_log2.S: Likewise.
25512         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25513         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25514         * sysdeps/i386/fpu/e_logf.S: Likewise.
25515         * sysdeps/i386/fpu/e_logl.S: Likewise.
25516         * sysdeps/i386/fpu/e_pow.S: Likewise.
25517         * sysdeps/i386/fpu/e_powf.S: Likewise.
25518         * sysdeps/i386/fpu/e_powl.S: Likewise.
25519         * sysdeps/i386/fpu/e_remainder.S: Likewise.
25520         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25521         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25522         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25523         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25524         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25525         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25526         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25527         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25528         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25529         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25530         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25531         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25532         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25533         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25534         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25535         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25536         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25537         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25538         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25539         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25541         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25542         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25544         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25545         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25548         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25549         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25550         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25551         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25552         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25553         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25554         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25555         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25556         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25557         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25558         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25559         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25560         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25561         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25562         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25563         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25564         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25565         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25566         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25567         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25568         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25569         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25570         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25571         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25572         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25573         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25574         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25575         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25576         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25577         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25578         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25579         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25580         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25581         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25583         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25584         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25585         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25586         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25587         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25588         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25589         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25593         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25594         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25595         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25597         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25598         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25599         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25600         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25602         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25604         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25605         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25606         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25607         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25608         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25609         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25610         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25611         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25612         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25613         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25614         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25615         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25616         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25617         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25618         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25619         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25621         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25622         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25623         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25624         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25625         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25626         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25627         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25628         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25629         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25630         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25631         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25632         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25633         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25634         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25635         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25636         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25637         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25638         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
25639         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25640         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25641         (__isnanf): Likewise.
25642         (__isinf_ns): Likewise.
25643         (__isinf_nsf): Likewise.
25644         (__finite): Likewise.
25645         (__finitef): Likewise.
25646         (__ieee754_sqrt): Define as macro.
25647         (__ieee754_sqrtf): Define as macro.
25648         (__ieee754_sqrtl): Define as macro.
25649         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25650         inlined copy.
25651         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25652         __FINITE_MATH_ONLY__ consistent.
25653         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25655 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
25657         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25658         of rawmemchr.
25660         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25662 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
25664         * po/ja.po: Update from translation team.
25666 2011-10-08  Roland McGrath  <roland@hack.frob.com>
25668         * locale/programs/locarchive.c (prepare_address_space): New function.
25669         (create_archive, enlarge_archive, open_archive): Use it.
25671         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25672         inside [SHARED], where it is used.
25674         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25676         * nss/getent.c (netgroup_keys): Remove unused variable.
25677         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25679 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
25681         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25682         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25683         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25684         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25685         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25686         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25687         * math/Makefile (libm-calls): Add s_isinf_ns.
25688         * math/divtc3.c: Use __isinf_nsl instead of isinf.
25689         * math/multc3.c: Likewise.
25690         * math/s_casin.c: Likewise.
25691         * math/s_casinf.c: Likewise.
25692         * math/s_casinl.c: Likewise.
25693         * math/s_ccos.c: Likewise.
25694         * math/s_ccosf.c: Likewise.
25695         * math/s_ccosl.c: Likewise.
25696         * math/s_ctan.c: Likewise.
25697         * math/s_ctanf.c: Likewise.
25698         * math/s_ctanh.c: Likewise.
25699         * math/s_ctanhf.c: Likewise.
25700         * math/s_ctanhl.c: Likewise.
25701         * math/s_ctanl.c: Likewise.
25702         * math/w_fmod.c: Likewise.
25703         * math/w_fmodf.c: Likewise.
25704         * math/w_fmodl.c: Likewise.
25705         * math/w_remainder.c: Likewise.
25706         * math/w_remainderf.c: Likewise.
25707         * math/w_remainderl.c: Likewise.
25708         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25709         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25710         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25711         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25712         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25713         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25714         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25715         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25717         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25718         of the number.
25719         * stdio-common/printf_fphex.c: Likewise.
25720         * stdio-common/printf_size.c: Likewise.
25722         * math/e_exp10.c: Include math_private.h using <...> not "...".
25723         * math/e_exp10f.c: Likewise.
25724         * math/e_exp10l.c: Likewise.
25725         * math/e_exp2l.c: Likewise.
25726         * math/e_j0l.c: Likewise.
25727         * math/e_j1l.c: Likewise.
25728         * math/e_jnl.c: Likewise.
25729         * math/e_lgammal_r.c: Likewise.
25730         * math/e_rem_pio2l.c: Likewise.
25731         * math/e_scalb.c: Likewise.
25732         * math/e_scalbf.c: Likewise.
25733         * math/e_scalbl.c: Likewise.
25734         * math/k_cosl.c: Likewise.
25735         * math/k_sinl.c: Likewise.
25736         * math/k_tanl.c: Likewise.
25737         * math/s_cacoshf.c: Likewise.
25738         * math/s_catan.c: Likewise.
25739         * math/s_catanf.c: Likewise.
25740         * math/s_catanh.c: Likewise.
25741         * math/s_catanhf.c: Likewise.
25742         * math/s_catanhl.c: Likewise.
25743         * math/s_catanl.c: Likewise.
25744         * math/s_ccosh.c: Likewise.
25745         * math/s_ccoshf.c: Likewise.
25746         * math/s_ccoshl.c: Likewise.
25747         * math/s_cexp.c: Likewise.
25748         * math/s_cexpf.c: Likewise.
25749         * math/s_cexpl.c: Likewise.
25750         * math/s_clog.c: Likewise.
25751         * math/s_clog10.c: Likewise.
25752         * math/s_clog10f.c: Likewise.
25753         * math/s_clog10l.c: Likewise.
25754         * math/s_clogf.c: Likewise.
25755         * math/s_clogl.c: Likewise.
25756         * math/s_csin.c: Likewise.
25757         * math/s_csinf.c: Likewise.
25758         * math/s_csinh.c: Likewise.
25759         * math/s_csinhf.c: Likewise.
25760         * math/s_csinhl.c: Likewise.
25761         * math/s_csinl.c: Likewise.
25762         * math/s_csqrt.c: Likewise.
25763         * math/s_csqrtf.c: Likewise.
25764         * math/s_csqrtl.c: Likewise.
25765         * math/s_ctan.c: Likewise.
25766         * math/s_ctanf.c: Likewise.
25767         * math/s_ctanh.c: Likewise.
25768         * math/s_ctanhf.c: Likewise.
25769         * math/s_ctanhl.c: Likewise.
25770         * math/s_ctanl.c: Likewise.
25771         * math/s_ldexp.c: Likewise.
25772         * math/s_ldexpf.c: Likewise.
25773         * math/s_ldexpl.c: Likewise.
25774         * math/s_significand.c: Likewise.
25775         * math/s_significandf.c: Likewise.
25776         * math/s_significandl.c: Likewise.
25777         * math/w_acos.c: Likewise.
25778         * math/w_acosf.c: Likewise.
25779         * math/w_acosh.c: Likewise.
25780         * math/w_acoshf.c: Likewise.
25781         * math/w_acoshl.c: Likewise.
25782         * math/w_acosl.c: Likewise.
25783         * math/w_asin.c: Likewise.
25784         * math/w_asinf.c: Likewise.
25785         * math/w_asinl.c: Likewise.
25786         * math/w_atan2.c: Likewise.
25787         * math/w_atan2f.c: Likewise.
25788         * math/w_atan2l.c: Likewise.
25789         * math/w_atanh.c: Likewise.
25790         * math/w_atanhf.c: Likewise.
25791         * math/w_atanhl.c: Likewise.
25792         * math/w_cosh.c: Likewise.
25793         * math/w_coshf.c: Likewise.
25794         * math/w_coshl.c: Likewise.
25795         * math/w_dremf.c: Likewise.
25796         * math/w_exp10.c: Likewise.
25797         * math/w_exp10f.c: Likewise.
25798         * math/w_exp10l.c: Likewise.
25799         * math/w_exp2.c: Likewise.
25800         * math/w_exp2f.c: Likewise.
25801         * math/w_fmod.c: Likewise.
25802         * math/w_fmodf.c: Likewise.
25803         * math/w_fmodl.c: Likewise.
25804         * math/w_hypot.c: Likewise.
25805         * math/w_hypotf.c: Likewise.
25806         * math/w_hypotl.c: Likewise.
25807         * math/w_j0.c: Likewise.
25808         * math/w_j0f.c: Likewise.
25809         * math/w_j0l.c: Likewise.
25810         * math/w_j1.c: Likewise.
25811         * math/w_j1f.c: Likewise.
25812         * math/w_j1l.c: Likewise.
25813         * math/w_jn.c: Likewise.
25814         * math/w_jnf.c: Likewise.
25815         * math/w_jnl.c: Likewise.
25816         * math/w_lgamma.c: Likewise.
25817         * math/w_lgamma_r.c: Likewise.
25818         * math/w_lgammaf.c: Likewise.
25819         * math/w_lgammaf_r.c: Likewise.
25820         * math/w_lgammal.c: Likewise.
25821         * math/w_lgammal_r.c: Likewise.
25822         * math/w_log.c: Likewise.
25823         * math/w_log10.c: Likewise.
25824         * math/w_log10f.c: Likewise.
25825         * math/w_log10l.c: Likewise.
25826         * math/w_log2.c: Likewise.
25827         * math/w_log2f.c: Likewise.
25828         * math/w_log2l.c: Likewise.
25829         * math/w_logf.c: Likewise.
25830         * math/w_logl.c: Likewise.
25831         * math/w_pow.c: Likewise.
25832         * math/w_powf.c: Likewise.
25833         * math/w_powl.c: Likewise.
25834         * math/w_remainder.c: Likewise.
25835         * math/w_remainderf.c: Likewise.
25836         * math/w_remainderl.c: Likewise.
25837         * math/w_scalb.c: Likewise.
25838         * math/w_scalbf.c: Likewise.
25839         * math/w_scalbl.c: Likewise.
25840         * math/w_sinh.c: Likewise.
25841         * math/w_sinhf.c: Likewise.
25842         * math/w_sinhl.c: Likewise.
25843         * math/w_sqrt.c: Likewise.
25844         * math/w_sqrtf.c: Likewise.
25845         * math/w_sqrtl.c: Likewise.
25846         * math/w_tgamma.c: Likewise.
25847         * math/w_tgammaf.c: Likewise.
25848         * math/w_tgammal.c: Likewise.
25850         * po/ja.po: Update from translation team.
25852 2011-09-29  Andreas Jaeger  <aj@suse.de>
25854         [BZ #13179]
25855         * sunrpc/netname.c (netname2host): Fix logic.
25857         [BZ #6779]
25858         [BZ #6783]
25859         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25860         correctly.
25861         * math/w_remainder.c (__remainder): Likewise.
25862         * math/w_remainderf.c (__remainderf): Likewise.
25863         * math/libm-test.inc (remainder_test): Add test cases.
25865 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25867         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
25868         sdiv_qrnnd.
25870 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25872         * string/test-memcmp.c: Avoid unncessary #defines.
25873         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25875 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25877         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25878         Use new sse2 version for core i3 - i7 as it's faster
25879         than sse42 version.
25880         (bit_Prefer_PMINUB_for_stringop): New.
25881         * sysdeps/x86_64/rawmemchr.S: Update.
25882         Replace with faster SSE2 version.
25883         * sysdeps/x86_64/memrchr.S: New file.
25884         * sysdeps/x86_64/memchr.S: Update.
25885         Replace with faster SSE2 version.
25887 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
25889         * elf/dl-load.c (lose): Add cast to avoid warning.
25891 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25893         * po/ca.po: Update from translation team.
25895         * inet/getnetgrent_r.c: Hook up nscd.
25896         * nscd/Makefile (routines): Add nscd_netgroup.
25897         (nscd-modules): Add netgroupcache.
25898         (CFLAGS-netgroupcache.c): Define.
25899         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25900         (cache_search): Add const to second parameter.
25901         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25902         INNETGR.
25903         (dbs): Add netgrdb entry.
25904         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25905         (verify_persistent_db): Handle netgrdb.
25906         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25907         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25908         GETFDNETGR.
25909         (netgroup_response_header): Define.
25910         (innetgroup_response_header): Define.
25911         (datahead): Add netgroup_response_header and innetgroup_response_header
25912         elements.
25913         * nscd/nscd.conf: Add entries for netgroup cache.
25914         * nscd/nscd.h (dbtype): Add netgrdb.
25915         (_PATH_NSCD_NETGROUP_DB): Define.
25916         (netgroup_iov_disabled): Declare.
25917         (xmalloc, xcalloc, xrealloc): Move declarations here.
25918         (cache_search): Adjust prototype.
25919         Add netgroup-related prototypes.
25920         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25921         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25922         (__nscd_innetgr): Declare.
25923         * nscd/selinux.c (perms): Use access_vector_t as element type and
25924         add netgroup-related initializers.
25925         * nscd/netgroupcache.c: New file.
25926         * nscd/nscd_netgroup.c: New file.
25927         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25928         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25929         For four parameters use innetgr.
25930         * nss/nss_files/files-init.c: Add definition and callback for netgr.
25931         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25932         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25933         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25935         * nscd/connections.c (register_traced_file): Don't register file
25936         for disabled databases.
25938 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
25940         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25942         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25943         from tree and freeing node.
25945 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
25947         * nss/nsswitch.c (__nss_database_lookup): Handle
25948         nss_parse_service_list out of memory case.
25950 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
25952         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25953         out of memory case.
25955 2011-10-04  Andreas Schwab  <schwab@redhat.com>
25957         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25958         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25959         pass it down.
25960         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25961         elf_machine_rela, elf_machine_lazy_rel.
25962         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25963         (ELF_DYNAMIC_DO_REL): Likewise.
25964         (ELF_DYNAMIC_DO_RELA): Likewise.
25965         (ELF_DYNAMIC_RELOCATE): Likewise.
25966         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25967         to ELF_DYNAMIC_DO_REL.
25968         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25969         (dl_main): In trace mode always set __RTLD_NOIFUNC.
25970         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25971         elf_machine_rela.
25972         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25973         skip_ifunc, don't call ifunc function if non-zero.
25974         (elf_machine_rela): Likewise.
25975         (elf_machine_lazy_rel): Likewise.
25976         (elf_machine_lazy_rela): Likewise.
25977         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25978         (elf_machine_lazy_rel): Likewise.
25979         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25980         Likewise.
25981         (elf_machine_lazy_rel): Likewise.
25982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25983         Likewise.
25984         (elf_machine_lazy_rel): Likewise.
25985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25986         (elf_machine_lazy_rel): Likewise.
25987         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25988         (elf_machine_lazy_rel): Likewise.
25989         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25990         (elf_machine_lazy_rel): Likewise.
25991         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25992         (elf_machine_lazy_rel): Likewise.
25993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25994         (elf_machine_lazy_rel): Likewise.
25995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25996         (elf_machine_lazy_rel): Likewise.
25998 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26000         * nss/nss_files/files-init.c (_nss_files_init): Use static
26001         initialization for all the *_traced_file variables.
26003 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26005         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26007 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26009         [BZ #13226]
26010         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26012 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26014         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26015         Reread the line before reparsing it.
26017 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26019         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26021 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26022             Maxim Kuvyrkov  <maxim@codesourcery.com>
26023             Joseph Myers  <joseph@codesourcery.com>
26025         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26026         if needed for __stack_chk_guard.
26028 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26030         * sysdeps/posix/spawni.c (script_execute): Always define it.
26031         It will be optimized away if unused.
26032         (maybe_script_execute): New function.
26033         (__spawni): Call it.
26035         * Makerules: Don't include tls.make.
26036         (config-tls): Always set to thread.
26037         * tls.make.c: File removed.
26039 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26041         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26042         * config.make.in (CPPFLAGS-config): New substituted variable.
26044 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26046         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26048         [BZ #13192]
26049         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26050         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26052 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26054         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26055         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26056         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26057         (CALL_FAIL): Likewise.
26058         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26059         (CALL_FAIL): Macro removed.
26060         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26062 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26064         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26065         for __FINITE_MATH_ONLY__ == 1.
26067 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26069         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26070         __ieee754_sqrt instead of sqrt.
26071         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26072         __ieee754_sqrtf instead of sqrtf.
26073         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26074         __floorf instead of floorf.
26075         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26076         __floorf, __truncf instead of floorf, truncf.
26078 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26080         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26082         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26083         __extern_always_inline.
26084         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26085         32-bit.
26087 2011-09-14  Andreas Schwab  <schwab@redhat.com>
26089         * elf/rtld.c (dl_main): Also relocate in dependency order when
26090         doing symbol dependency testing.
26092 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
26094         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26095         Always define `refsym'.
26097 2011-09-13  Andreas Schwab  <schwab@redhat.com>
26099         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26100         (__FD_ELT): Renamed from __FDELT.
26101         * misc/bits/select2.h (__FD_ELT): Likewise.
26102         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26103         __FD_MASK instead of __FDELT, __FDMASK.
26104         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26105         Likewise.
26106         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26107         Likewise.
26109         * elf/Makefile (gen-ldd): Fix pattern.
26111         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26112         (init_tls): Likewise.
26114 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
26116         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26118 2011-09-12  Andreas Schwab  <schwab@redhat.com>
26120         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26121         `struct cmsghdr *' instead of `void *'.
26122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26123         Likewise.
26125 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
26127         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26128         if non-absolute.
26129         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26130         ldd_rewrite_script.
26132 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
26134         * configure.in: Remove --with-tls option.
26135         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26136         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26137         out in case it is missing.
26138         * sysdeps/ia64/elf/configure.in: Likewise.
26139         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26140         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26141         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26142         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26143         * sysdeps/sh/elf/configure.in: Likewise.
26144         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26145         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26146         * sysdeps/x86_64/elf/configure.in: Likewise.
26147         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26148         * sysdeps/mach/hurd/tls.h: Likewise.
26150         [BZ #13067]
26151         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26153         [BZ #13090]
26154         * configure.in: Fix use of AC_INIT.
26156         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26158 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
26160         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26161         __set_errno.
26162         * malloc/hooks.c: Likewise.
26164         [BZ #11929]
26165         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
26166         variables statically.
26167         (narenas): Initialize.
26168         (list_lock): Initialize.
26169         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
26170         initializtion of main_arena and list_lock.  Small cleanups.
26171         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26172         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
26173         Add initializers to main_arena and mp_.
26174         (malloc_state): Remove pagesize member.  Change all users to use
26175         GLRO(dl_pagesize).
26177         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26178         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
26179         is always initialized.
26181         * malloc/malloc.c: Removed unused configurations and dead code.
26182         * malloc/arena.c: Likewise.
26183         * malloc/hooks.c: Likewise.
26184         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26186         * include/tls.h: Removed.  USE___THREAD must always be defined.
26187         * bits/libc-tsd.h: Don't handle !USE___THREAD.
26188         * elf/dl-libc.c: Likewise.
26189         * elf/dl-tsd.c: Likewise.
26190         * include/errno.h: Likewise.
26191         * include/netdb.h: Likewise.
26192         * include/resolv.h: Likewise.
26193         * inet/herrno-loc.c: Likewise.
26194         * inet/herrno.c: Likewise.
26195         * malloc/arena.c: Likewise.
26196         * malloc/hooks.c: Likewise.
26197         * malloc/malloc.c: Likewise.
26198         * resolv/res-state.c: Likewise.
26199         * resolv/res_libc.c: Likewise.
26200         * sysdeps/i386/dl-machine.h: Likewise.
26201         * sysdeps/ia64/dl-machine.h: Likewise.
26202         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26203         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26204         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26205         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26206         * sysdeps/sh/dl-machine.h: Likewise.
26207         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26208         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26209         * sysdeps/unix/i386/sysdep.S: Likewise.
26210         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26211         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26216         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26218         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26220         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26221         * sysdeps/x86_64/dl-machine.h: Likewise.
26222         * tls.make.c: Likewise.
26224         * configure.in: Remove --with-__thread option.  Make tests for
26225         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26226         tls_model attribute fail if no support is available.  Remove
26227         USE_IN_LIBIO.
26228         * Makeconfig: Adjust for dropped configure option.  All features are
26229         now mandatory.
26230         * Makerules: Likewise.
26231         * Versions.def: Likewise.
26232         * argp/argp-fmtstream.c: Likewise.
26233         * argp/argp-fmtstream.h: Likewise.
26234         * argp/argp-help.c: Likewise.
26235         * assert/assert.c: Likewise.
26236         * config.h.in: Likewise.
26237         * config.make.in: Likewise.
26238         * configure: Likewise.
26239         * configure.in: Likewise.
26240         * csu/Versions: Likewise.
26241         * csu/init.c: Likewise.
26242         * elf/tst-audit2.c: Likewise.
26243         * elf/tst-tls10.c: Likewise.
26244         * elf/tst-tls10.h: Likewise.
26245         * elf/tst-tls11.c: Likewise.
26246         * elf/tst-tls12.c: Likewise.
26247         * elf/tst-tls14.c: Likewise.
26248         * elf/tst-tlsmod11.c: Likewise.
26249         * elf/tst-tlsmod12.c: Likewise.
26250         * elf/tst-tlsmod13.c: Likewise.
26251         * elf/tst-tlsmod13a.c: Likewise.
26252         * elf/tst-tlsmod14a.c: Likewise.
26253         * elf/tst-tlsmod15b.c: Likewise.
26254         * elf/tst-tlsmod16a.c: Likewise.
26255         * elf/tst-tlsmod16b.c: Likewise.
26256         * elf/tst-tlsmod7.c: Likewise.
26257         * elf/tst-tlsmod8.c: Likewise.
26258         * elf/tst-tlsmod9.c: Likewise.
26259         * gmon/gmon.c: Likewise.
26260         * grp/fgetgrent_r.c: Likewise.
26261         * grp/putgrent.c: Likewise.
26262         * hurd/fopenport.c: Likewise.
26263         * include/libc-symbols.h: Likewise.
26264         * include/tls.h: Likewise.
26265         * intl/gettextP.h: Likewise.
26266         * intl/loadinfo.h: Likewise.
26267         * locale/global-locale.c: Likewise.
26268         * locale/localeinfo.h: Likewise.
26269         * mach/devstream.c: Likewise.
26270         * malloc/arena.c: Likewise.
26271         * malloc/set-freeres.c: Likewise.
26272         * misc/err.c: Likewise.
26273         * misc/getttyent.c: Likewise.
26274         * misc/mntent_r.c: Likewise.
26275         * posix/getopt.c: Likewise.
26276         * posix/wordexp.c: Likewise.
26277         * pwd/fgetpwent_r.c: Likewise.
26278         * resolv/Versions: Likewise.
26279         * resolv/res_hconf.c: Likewise.
26280         * shadow/fgetspent_r.c: Likewise.
26281         * shadow/putspent.c: Likewise.
26282         * stdio-common/printf_fphex.c: Likewise.
26283         * stdio-common/tmpfile.c: Likewise.
26284         * stdlib/abort.c: Likewise.
26285         * stdlib/fmtmsg.c: Likewise.
26286         * sunrpc/auth_unix.c: Likewise.
26287         * sunrpc/clnt_perr.c: Likewise.
26288         * sunrpc/clnt_tcp.c: Likewise.
26289         * sunrpc/clnt_udp.c: Likewise.
26290         * sunrpc/clnt_unix.c: Likewise.
26291         * sunrpc/openchild.c: Likewise.
26292         * sunrpc/svc_simple.c: Likewise.
26293         * sunrpc/svc_tcp.c: Likewise.
26294         * sunrpc/svc_udp.c: Likewise.
26295         * sunrpc/svc_unix.c: Likewise.
26296         * sunrpc/xdr.c: Likewise.
26297         * sunrpc/xdr_array.c: Likewise.
26298         * sunrpc/xdr_rec.c: Likewise.
26299         * sunrpc/xdr_ref.c: Likewise.
26300         * sunrpc/xdr_stdio.c: Likewise.
26302 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26304         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26306 2011-07-03  Andreas Jaeger  <aj@suse.de>
26308         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26309         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26310         regenerate with gen-libm-tests.pl.
26312 2010-05-12  Petr Baudis  <pasky@suse.cz>
26314         [BZ #11589]
26315         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26316         around j0() zero points by switching to j1().
26317         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26318         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26320         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26322 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26324         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26325         instead of 0.
26326         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26327         instead of 0.
26328         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26329         Patch in part by Pavel Roskin <proski@gnu.org>.
26331         [BZ #13138]
26332         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26333         realloc.
26334         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
26335         Free memory block if necessary.
26337         [BZ #12847]
26338         * libio/genops.c (INTDEF): For string streams the _lock pointer can
26339         be NULL.  Don't lock in this case.
26341 2011-09-09  Roland McGrath  <roland@hack.frob.com>
26343         * elf/elf.h (ELFOSABI_GNU): New macro.
26344         (ELFOSABI_LINUX): Define to that.
26346 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
26348         * string/strncat.c (strncat): Undef the symbol in case it has been
26349         defined in bits/string.h.
26351 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26353         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26355         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26356         link map.
26358 2011-08-17  Andreas Jaeger  <aj@suse.de>
26360         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26362 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26363             Ian Lance Taylor  <iant@google.com>
26365         * math/libm-test.inc (lround_test): New testcase.
26366         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26368 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
26370         * Makefile: Remove support for automatic cvs check-ins.
26371         * Makerules: Likewise.
26372         * config.make.in: Likewise.
26373         * configure.in: Likewise.
26374         * intl/Makefile: Likewise.
26375         * locale/Makefile: Likewise.
26376         * po/Makefile: Likewise.
26377         * posix/Makefile: Likewise.
26378         * sysdeps/gnu/Makefile: Likewise.
26379         * sysdeps/mach/hurd/Makefile: Likewise.
26380         * sysdeps/sparc/sparc32/Makefile: Likewise.
26382         [BZ #13118]
26383         * posix/Makefile (bug-regex32-ENV): Define.
26384         Patch by John Stanley <jpsinthemix@verizon.net>.
26386         * misc/Makefile (headers): Add bits/select2.h.
26387         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26388         * misc/bits/select2.h: New file.
26389         * include/bits/select2.h: New file.
26390         * debug/Makefile (routines): Add fdelt_chk.
26391         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26392         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26393         FD_ISSET.
26394         * debug/fdelt_chk.c: New file.
26396         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
26397         * wcsmbs/test-wmemcmp.c: Likewise.
26398         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26399         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26401 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26403         * string/Makefile (strop-tests): Add memcmp.
26404         * string/test-wmemcmp.c: New file.
26405         * string/test-memcmp.c: Add wmemcmp support.
26407 2011-09-08  Roland McGrath  <roland@hack.frob.com>
26409         [BZ #13153]
26410         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26411         2011-07-19 change.
26413         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26414         garbage value in a __mach_port_mod_refs call in the cases of the
26415         task-self and thread-self ports.
26417 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26419         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26421 2011-09-08  Andreas Schwab  <schwab@redhat.com>
26423         * elf/dl-load.c (lose): Check for non-null L.
26425 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26427         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26429         * elf/dl-libc.c (dlerror_run): Pass back error code from
26430         dl_catch_error.
26432         [BZ #13123]
26433         * elf/dl-load.c (lose): Free l_origin if it is valid.
26435         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26436         names.
26437         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26438         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26440         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26441         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26442         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26444 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26446         * sysdeps/powerpc/fpu/e_hypot.c: New file.
26447         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26448         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26449         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26450         * sysdeps/powerpc/fpu/k_cosf.c: New file.
26451         * sysdeps/powerpc/fpu/k_sinf.c: New file.
26452         * sysdeps/powerpc/fpu/s_cosf.c: New file.
26453         * sysdeps/powerpc/fpu/s_sinf.c: New file.
26454         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26455         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26457 2011-08-15  Alan Modra  <amodra@gmail.com>
26459         [BZ #13092]
26460         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26461         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26462         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
26463         ppc_mcount to static-only-routines.
26464         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26465         __mcount_internal.
26466         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26467         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
26469 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
26471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26472         for finite and infinity parameters.
26474 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26477         and add nop instructions for throughput optimization.
26478         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26480 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
26482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26483         aligned copy for power7 with vector-scalar instructions.
26484         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26486 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
26488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26489         AVX check.
26491 2011-09-07  Andreas Schwab  <schwab@redhat.com>
26493         [BZ #13144]
26494         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26495         last change.
26497 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26499         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26500         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26501         syscall wrapper around clock_gettime in __vdso_clock_gettime.
26502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26503         clock_gettime.
26505 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
26507         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26508         Forgot to demangle the pointer.
26510         * sysdeps/i386/sysdep.h: Define atom_text_section.
26511         * sysdeps/x86_64/sysdep.h: Likewise.
26512         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26513         section with atom_text_section.
26514         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26515         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26516         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26518         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26520         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26521         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26522         already be defined.  Change to take two parameters and don't assign
26523         result to variable.  Adjust all users.
26524         Define INTERNAL_GETTIME if not already defined.
26525         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26526         call.
26527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26528         HAVE_CLOCK_GETTIME_VSYSCALL.
26529         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26531         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26532         gettimeofday vsyscall, just use time.
26534 2011-09-06  Andreas Schwab  <schwab@redhat.com>
26536         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26537         <errno.h>.
26539 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
26541         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26542         syscall on x86-64.
26543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26544         syscall.
26545         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26546         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26547         syscall if possible.
26549 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26551         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26552         e_ident.  Don't pass to find_mapsXX.
26553         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26555 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26558         strchr-sse2-no-bsf strrchr-sse2-no-bsf
26559         * sysdeps/x86_64/multiarch/strchr.S: Update.
26560         Check bit_slow_BSF bit.
26561         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26562         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26563         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26565 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26567         [BZ #13134]
26568         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26569         before glibc 2.15.
26570         (tryshell): Define.
26571         (__spawni): Change last parameter to be flag.  Test
26572         SPAWN_XFLAGS_USE_PATH flag to use path or not.
26573         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26574         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26575         * posix/spawni.c: Likewise.
26576         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26577         * posix/spawnp.c: Likewise.  Change normal version to use
26578         SPAWN_XFLAGS_USE_PATH.
26579         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26580         SPAWN_XFLAGS_TRY_SHELL.
26582         [BZ #13150]
26583         * posix/glob.h: Remove gcc 1.x support.
26585         [BZ #13068]
26586         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26588 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26591         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26592         strrchr-sse2-bsf
26593         * sysdeps/i386/i686/multiarch/strchr.S: New file.
26594         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26595         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26596         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26597         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26598         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26600 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26602         * sysdeps/x86_64/wcscmp.S: New file.
26604         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26605         wcscmp-c wcscmp-sse2
26606         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26607         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26608         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26609         * wcsmbs/wcscmp.c: Allow renaming.
26611 2011-09-05  David S. Miller  <davem@davemloft.net>
26613         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26614         stack slot, rather than the struct return pointer slot.
26615         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26616         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26618         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26620 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26622         * po/ja.po: Update from translation team.
26624         [BZ #13144]
26625         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26626         kernel in 64-bit binaries.
26628 2011-09-01  David S. Miller  <davem@davemloft.net>
26630         * elf/elf.h (HWCAP_SPARC_*): Move to..
26631         * sysdeps/sparc/sysdep.h: this new file and add new values.
26632         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26633         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26634         _DL_HWCAP_COUNT to 24.
26635         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26636         entries.
26637         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26638         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26639         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26640         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26641         instead of magic constants.
26642         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26644 2011-08-31  David S. Miller  <davem@davemloft.net>
26646         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26648         Reimplement to do errno handling inline.
26649         (SYSCALL_ERROR_HANDLER): New macro.
26650         (__SYSCALL_STRING): Do not do errno handling in asm.
26651         (__CLONE_SYSCALL_STRING): Delete.
26652         (__INTERNAL_SYSCALL_STRING): Delete.
26653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26654         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26655         (PSEUDO): Reimplement to do errno handling inline.
26656         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26657         (SYSCALL_ERROR_HANDLER): New macro.
26658         (__SYSCALL_STRING): Do not do errno handling in asm.
26659         (__CLONE_SYSCALL_STRING): Delete.
26660         (__INTERNAL_SYSCALL_STRING): Delete.
26661         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26662         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26663         i386.
26664         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26665         (inline_syscall*): Add 'err' argument.
26666         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26667         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26668         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26669         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26671         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26672         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26674 2011-08-30  Andreas Schwab  <schwab@redhat.com>
26676         * elf/rtld.c (dl_main): Relocate objects in dependency order.
26678 2011-08-29  Jiri Olsa <jolsa@redhat.com>
26680         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26681         directive.
26683 2011-08-24  David S. Miller  <davem@davemloft.net>
26685         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26687 2011-08-24  Andreas Schwab  <schwab@redhat.com>
26689         * elf/Makefile: Add rules to build and run unload8 test.
26690         * elf/unload8.c: New file.
26691         * elf/unload8mod1.c: New file.
26692         * elf/unload8mod1x.c: New file.
26693         * elf/unload8mod2.c: New file.
26694         * elf/unload8mod3.c: New file.
26696         * elf/dl-close.c (_dl_close_worker): Reset private search list if
26697         it wasn't used.
26699 2011-08-23  David S. Miller  <davem@davemloft.net>
26701         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26702         subtract stack bias.
26703         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26704         %sp not %fp in calculations.
26705         (_JMPBUF_UNWINDS_ADJ): Likewise.
26707         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26708         (aio_suspend): Call it to force an exception region around the
26709         AIO_MISC_WAIT() invocation.
26711 2011-08-23  Andreas Schwab  <schwab@redhat.com>
26713         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26714         backslash.
26716 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
26718         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26719         protection macro.
26720         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26721         and <dl-machine.h>.
26722         (Elf64_FuncDesc): Remove.
26724 2011-08-22  David S. Miller  <davem@davemloft.net>
26726         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26727         sigaltstack check, add missing cfi directives.
26728         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26729         missing cfi directives, and sigaltstack handling.
26731 2011-08-16  Andreas Schwab  <schwab@redhat.com>
26733         [BZ #11724]
26734         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26735         object is seen twice.
26736         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26738         * elf/Makefile (distribute): Add tst-initorder2.c.
26739         (tests): Add tst-initorder2.
26740         (modules-names): Add tst-initorder2a tst-initorder2b
26741         tst-initorder2c tst-initorder2d.  Add rules to build them.
26742         ($(objpfx)tst-initorder2.out): New rule.
26743         * elf/tst-initorder2.c: New file.
26744         * elf/tst-initorder2.exp: New file.
26746 2011-08-22  Andreas Schwab  <schwab@redhat.com>
26748         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26750         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26751         dependencies back to end of function.
26753         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26754         $(elfobjdir)/ld.so.
26756 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
26758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26759         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26761         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26762         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26763         of __vdso_gettimeofday.
26764         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26765         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
26766         attribute_hidden.
26767         (_libc_vdso_platform_setup): Remove initialization of
26768         __vdso_gettimeofday and __vdso_time.
26770 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26772         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26773         and fgetc_unlocked.
26774         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26775         getc_unlocked.
26777         * elf/dl-open.c (add_to_global): Report additions to the global scope
26778         for LD_DEBUG=scopes.
26779         (dl_open_worker): Also print scope of newly loaded dependencies.
26780         (_dl_show_scope): Indicate if there is no scope.
26782         [BZ #13114]
26783         * stdio-common/Makefile (tests): Add bug24.
26784         * stdio-common/bug24.c: New file.
26786 2011-08-19  Andreas Jaeger  <aj@suse.de>
26788         [BZ #13114]
26789         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26790         non-existant file when using close-on-exec mode.
26792 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26795         the very first instruction.
26797         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26798         the CFI state in the end.
26799         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26800         inclusion of dl-trampoline.h.
26801         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26803 2011-08-19  Andreas Schwab  <schwab@redhat.com>
26805         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26806         expectations for long double.
26808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26809         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26811 2011-08-14  David S. Miller  <davem@davemloft.net>
26813         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26814         artificual limit depends upon the system page size.
26816 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26818         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26819         * resolv/Makefile: Define CFLAGS-libresolv.
26821 2011-08-17  Andreas Schwab  <schwab@redhat.com>
26823         * nss/makedb.c (compute_tables): Make variables used in nested
26824         function static.
26826 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26828         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26829         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26830         if buffer was too small.
26832         * elf/pldd.c (main): Attach to all threads in the process.
26833         Rewrite /proc handling to use *at functions.
26835 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
26837         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26838         specifies first scope to show.
26839         (dl_open_worker): Update callers.  Move printing scope of new
26840         object to before the relocation.
26841         * elf/rtld.c (dl_main): Update _dl_show_scope call.
26842         * sysdeps/generic/ldsodefs.h: Update declaration.
26844         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26845         string for the scope number.
26847 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
26849         * nscd/servicescache.c (cache_addserv): Make sure written is always
26850         initialized.
26852 2011-08-14  Roland McGrath  <roland@hack.frob.com>
26854         * sysdeps/i386/i486/bits/atomic.h
26855         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26856         statement expression, so as to suppress "set but not used" warning.
26857         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26859         * string/strncat.c (STRNCAT): Use prototype definition.
26861         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26862         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26863         -Iprograms here.
26864         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26865         (localedef-modules): Add localedef.
26866         (locale-modules): Add locale.
26868         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26869         * elf/rtld.c (dl_main): Invert order of assignment in last change,
26870         to avoid a warning.
26872 2011-08-14  David S. Miller  <davem@davemloft.net>
26874         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26875         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26877 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
26879         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26880         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26881         * elf/rtld.c (dl_main): Set l_name of vDSO.
26882         Call _dl_show_scope when DL_DEBUG_SCOPES.
26883         (process_dl_debug): Recognize scopes flag and also set it for all.
26884         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26885         Declare _dl_show_scope.
26887         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26888         (do_dlopen): Pass caller_dlopen to dl_open.
26889         (__libc_dlopen_mode): Initialize caller_dlopen.
26891         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26892         of libc.  Make tolower call locale-independent.  Optimize a bit by
26893         using isdigit instead of isalnum.
26894         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26896 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
26898         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26899         was a dependency or dynamically loaded.
26901 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
26903         * intl/l10nflist.c: Allow architecture-specific pop function.
26904         * sysdeps/x86_64/l10nflist.c: New file.
26906         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26907         classification.
26909 2011-08-10  Andreas Schwab  <schwab@redhat.com>
26911         * include/dirent.h: Add libc_hidden_proto for scandirat and
26912         scandirat64.  Don't declare __scandirat64.
26913         * dirent/scandirat.c: Add libc_hidden_def.
26914         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26915         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26917 2011-08-10  David S. Miller  <davem@davemloft.net>
26919         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26920         enum.
26921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26923         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26925 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
26927         * Versions.def [libc]: Add GLIBC_2.15.
26928         * dirent/Makefile (routines): Add scandirat and scandirat64.
26929         * dirent/Versions [libc]: Export scandirat and scandirat64 for
26930         GLIBC_2.15.
26931         * dirent/dirent.h: Declare scandirat and scandirat64.
26932         * dirent/scandirat.c: New file.
26933         * dirent/scandirat64.c: New file.
26934         * sysdeps/wordsize-64/scandirat.c: New file.
26935         * sysdeps/wordsize-64/scandirat64.c: New file.
26936         * dirent/opendir.c: Define opendirat.
26937         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
26938         using scandirat.
26939         * dirent/scandir64.c: Adjust for scandir.c change.
26940         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
26941         __scandirat64, and __scandir_cancel_handler.
26942         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
26943         additional parameter and use openat instead of open (outside of ld.so).
26944         Add new __opendir as wrapper around __opendirat.
26945         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26946         here without requiring old scandirat implementation.
26948 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
26950         * dirent/scandir.c (cancel_handler): Renamed to
26951         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
26952         defined.  Adjust users.
26953         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26954         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26956 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
26958         * string/test-string.h (IMPL): Use __STRING to expand name and then
26959         stringify it.
26961         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
26962         of cleanups.
26964 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26966         * string/Makefile: Update.
26967         (strop-tests): Append strncat.
26968         * string/test-wcscmp.c: New file.
26969         New comprehensive test for wcscmp.
26970         * string/test-strcmp.c: Update.
26971         (WIDE): New define.
26973 2011-07-22  Andreas Schwab  <schwab@redhat.com>
26975         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26976         line.
26978 2011-07-26  Andreas Schwab  <schwab@redhat.com>
26980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26981         encoding to ACE if AI_IDN.
26983 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
26985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26986         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26988 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26990         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26991         Fix overflow bug in strncat.
26992         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26994         * string/test-strncat.c: Update.
26995         Add new tests for checking overflow bugs.
26997 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27000         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27001         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27002         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27003         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27004         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27005         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27006         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27007         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27009         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27010         (USE_AS_STRCAT): Define.
27011         Add strcat and strncat support.
27012         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27014 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27016         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27017         __n bigger than INT_MAX+1.
27018         (__strncmp_g): Likewise.
27020 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27022         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27023         * libio/stido.h: Likewise.
27025         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27026         (AF_NFC): Define.
27027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27028         (AF_NFC): Define.
27030         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27031         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27032         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27033         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27036         [BZ #13021]
27037         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27038         installed.
27040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27041         typo.
27042         (_dl_x86_64_save_sse): Likewise.
27044 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27047         OSXSAVE.
27048         (_dl_x86_64_save_sse): Likewise.
27050         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27052         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27054 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27056         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27057         change.
27058         (_dl_x86_64_save_sse): Use correct AVX check.
27060 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27062         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27063         bug in strncpy/strncat.
27064         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27066 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27068         * string/tester.c (test_strcat): Add tests for different alignments
27069         of source and destination.
27070         (test_strncat): Likewise.
27072 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27074         [BZ #12852]
27075         * posix/glob.c (glob): Check passed in values before using them in
27076         expressions to avoid some overflows.
27077         (glob_in_dir): Likewise.
27079         [BZ #13007]
27080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27081         check for AVX enablement so that we don't crash with old kernels and
27082         new hardware.
27083         * elf/tst-audit4.c: Add same checks here.
27084         * elf/tst-audit6.c: Likewise.
27086         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27088 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
27090         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27092 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27094         * po/cs.po: Update from translation team.
27095         * po/bg.po: Likewise.
27097 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
27099         * misc/sys/cdefs.h: Add support for const attribute.
27100         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27101         to gnu_dev_{major,minor,makedev} functions.
27103 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
27105         * intl/dcigettext.c (get_output_charset): Add missing bracket.
27107 2011-07-20  Andreas Schwab  <schwab@redhat.com>
27109         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27110         strlen results.
27112 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27115         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27116         register in order to avoid conflicts with the soft frame pointer
27117         being held in r11 when necessary.
27118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27119         (INTERNAL_VSYSCALL_NCS): Likewise.
27121 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
27123         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27124         * elf/dl-fini.c (_dl_fini): Adjust caller.
27125         * elf/dl-close.c (_dl_close_worker): Likewise.
27126         * sysdeps/generic/ldsodefs.h: Adjust declaration.
27128 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27130         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27131         "aux_cache->nlibs < 0".
27133         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27134         in the reload-count case.
27136 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27139         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27140         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27141         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27142         * sysdeps/x86_64/multiarch/strcat.S: New file.
27143         * sysdeps/x86_64/multiarch/strncat.S: New file.
27144         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27145         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27146         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27147         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27148         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27149         (USE_AS_STRCAT): Define.
27150         Add strcat and strncat support.
27151         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27152         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27153         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27154         * string/strncat.c: Update.
27155         (USE_AS_STRNCAT): Define.
27156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27157         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27158         and i7.
27159         * sysdeps/x86_64/multiarch/init-arch.h
27160         (bit_Prefer_PMINUB_for_stringop): New.
27161         (index_Prefer_PMINUB_for_stringop): Likewise.
27162         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27163         bit_Prefer_PMINUB_for_stringop.
27165 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27167         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27168         buffer64.
27169         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27170         of casting of buffer.
27171         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27172         buffer32 and buffer64.
27173         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27174         writes instead of casting of buffer.
27175         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27176         buffer32.
27177         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27178         casting of buffer.
27180 2011-07-19  Andreas Schwab  <schwab@redhat.com>
27182         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27184 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27186         * nscd/nscd.c (termination_handler): Don't do anything for a database
27187         if it has not yet been initialized.
27189 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27191         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27193 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27195         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27197 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27199         * po/nl.po: Update from translation team.
27200         * po/sv.po: Likewise.
27202 2011-07-16  Roland McGrath  <roland@hack.frob.com>
27204         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27205         now disallowed by GCC.
27207         * configure.in (use-default-link): Default to yes if a test -shared
27208         link meets our qualifications.
27209         * configure: Regenerated.
27211         * config.make.in (output-format): New variable.
27212         * configure.in: Check for ld --print-output-format support.
27213         * configure: Regenerated.
27214         * Makerules ($(common-objpfx)format.lds)
27215         [$(output-format) != unknown]: Just use $(output-format),
27216         instead of the linker-script munging.
27218 2011-07-14  Roland McGrath  <roland@hack.frob.com>
27220         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27221         of $(common-objpfx)shlib.lds.
27222         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27224         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27225         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27227         * configure.in (-z relro check): Adjust test code to add a large
27228         writable data section after it.
27229         * configure: Regenerated.
27231 2011-07-11  Roland McGrath  <roland@hack.frob.com>
27233         * configure.in (-z relro check): Fix test code to make the variable
27234         truly const.
27235         * configure: Regenerated.
27237 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
27239         * nscd/nscd.h (struct traced_file): Define.
27240         (struct database_dyn): Remove inotify_descr, reset_res, and filename
27241         elements.  Add traced_files.
27242         (inotify_fd): Declare.
27243         (register_traced_file): Declare.
27244         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27245         (inotify_fd): Export.
27246         (resolv_conf_descr): Remove.
27247         (nscd_init): Move inotify descriptor creation to main.
27248         Don't register files for notification here.
27249         (register_traced_file): New function.
27250         (invalidate_cache): Don't use reset_res to determine whether to call
27251         res_init, go through the list of registered files.
27252         (main_loop_poll): The inotify descriptors are now stored in the
27253         structures for the traced files.
27254         (main_loop_epoll): Likewise
27255         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
27256         to __nss_disable_nscd.
27257         * nscd/cache.c (prune_cache): There is no single inotify descriptor
27258         for a database anymore.  Check the records for all the registered
27259         files instead.
27260         * nss/Makefile (libnss_files-routines): Add files-init.
27261         (libnss_db-routines): Add db-init.
27262         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27263         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27264         * nss/nss_db/db-init.c: New file.
27265         * nss/nss_files/files-init.c: New file.
27266         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
27267         __nss_lookup_function.
27268         (__nss_lookup_function): Call nss_load_library.
27269         (nss_load_all_libraries): New function.
27270         (__nss_disable_nscd): Take parameter with callback function for files
27271         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
27272         used for the cached services.
27273         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27274         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27275         options for features to all the files in nscd.
27277         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27279 2011-07-10  Roland McGrath  <roland@hack.frob.com>
27281         * csu/elf-init.c (__libc_csu_init): Comment typo.
27283 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
27285         * po/pl.po: Update from translation team.
27286         * po/ja.po: Likewise.
27287         * po/ru.po: Likewise.
27288         * po/ko.po: Likewise.
27289         * po/fr.po: Likewise.
27291 2011-07-09  Roland McGrath  <roland@hack.frob.com>
27293         * configure.in (.ctors/.dtors header and trailer check):
27294         Use an empirical test on a built program.
27295         * configure: Regenerated.
27297         * configure.in (-z relro check): Use an empirical test on a built DSO.
27298         Detect, but do not require, on ia64.
27299         * configure: Regenerated.
27301         * configure.in (READELF): Find it with AC_CHECK_TOOL.
27302         Update tests that use readelf to use $READELF instead.
27303         * configure: Regenerated.
27305 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
27307         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27308         if the result is not used.
27310 2011-07-05  Andreas Jaeger  <aj@suse.de>
27312         [BZ#9696]
27313         * stdlib/tst-strtod.c: Add testcase.
27315 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
27317         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27318         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27319         The latter has a higher limit.  Take additional parameter to pass to
27320         the new function.
27321         (__pathconf): Pass file to __statfs_link_max.
27322         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27323         __statfs_link_max.
27324         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27325         __statfs_link_max.
27327         [BZ #12868]
27328         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27330         Handle Lustre.
27331         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27332         (__statfs_filesize_max): Likewise.
27333         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27335 2011-07-05  Andreas Jaeger  <aj@suse.de>
27337         * resolv/res_comp.c (dn_skipname): Remove unused variable.
27339 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
27341         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27342         `status' variable.
27343         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27344         Likewise.
27346 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
27348         * Makefile (strop-tests): Add strncat.
27349         * string/test-strncat.c: New file.
27351 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
27353         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27355 2011-06-21  Andreas Jaeger  <aj@suse.de>
27357         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27358         Copy rule from iconvdata/Makefile.
27360 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27362         [BZ #12922]
27363         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27364         but no long options are defined, just return 'W'.
27366 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
27368         [BZ #9696]
27369         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27371 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27373         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27374         netgroups to read.
27375         (innetgr): Likewise.
27377 2011-07-05  Roland McGrath  <roland@hack.frob.com>
27379         * config.make.in (install_root): Default to $(DESTDIR).
27381 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
27383         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27385 2011-07-02  Roland McGrath  <roland@hack.frob.com>
27387         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27389         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27390         containing directory rather than embedding absolute directory names.
27392         * scripts/check-local-headers.sh: Rewritten using awk.
27393         Match by word, not by line.  Print error messages for matches.
27394         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27396         * Makerules [shlib-lds-flags empty]:
27397         ($(common-objpfx)libc_pic.opts): New target.
27398         ($(common-objpfx)libc_pic.os.clean): New target.
27399         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27401         * config.make.in (OBJCOPY): New variable.
27402         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27403         * configure: Regenerated.
27405         * config.make.in (use-default-link): New variable.
27406         * configure.in (use_default_link): Grok --with-default-link to set it.
27407         * configure: Regenerated.
27408         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27409         (shlib-lds, shlib-lds-flags): Define to empty.
27411         * Makerules (shlib-lds): New variable.
27412         (shlib-lds-flags): New variable.
27413         (build-shlib, build-moduile, build-module-asneeded): Use it.
27414         ($(common-objpfx)libc.so): Use $(shlib-lds).
27415         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27416         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27418         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27419         DT_FLAGS/DT_FLAGS_1 with zero flags.
27421         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27422         linker script munging.
27424 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
27426         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27427         as 128-bit value.
27428         * crypt/sha512.c (sha512_process_block): Perform total addition using
27429         128-bit if possible.
27430         (__sha512_finish_ctx): Likewise.
27431         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27432         as 64-bit value.
27433         * crypt/sha256.c (SWAP64): Define.
27434         (sha256_process_block): Perform total addition using 64-bit if
27435         possible.
27436         (__sha256_finish_ctx): Likewise.
27438 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
27440         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
27441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27442         * nscd/hstcache.c (cache_addhst): Likewise.
27443         * nscd/grpcache.c (cache_addgr): Likewise.
27444         * nscd/aicache.c (addhstaiX): Likewise
27445         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27447 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
27449         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27451         * nscd/hstcache.c (cache_addhst): Likewise.
27452         * nscd/grpcache.c (cache_addgr): Likewise.
27453         * nscd/aicache.c (addhstaiX): Likewise
27455 2011-07-01  Andreas Schwab  <schwab@redhat.com>
27457         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27458         domain only when needed.
27460 2011-06-30  Andreas Schwab  <schwab@redhat.com>
27462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27463         is always restored.
27465 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
27467         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27468         are re-adding the entry.
27469         * nscd/servicescache.c (cache_addserv): Likewise.
27471 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
27473         * sysdeps/generic/dl-irel.h: fix protection against multiple
27474         inclusions.
27475         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27477 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
27479         [BZ #12935]
27480         * malloc/memusage.sh: Fix quoting in message.
27481         * debug/xtrace.sh: Likewise.
27483         * configure.in: Remove support for --experimental-malloc option, make
27484         it the default.
27485         * config.make.in: Likewise.
27486         * malloc/Makefile: Likewise.
27488 2011-06-27  Andreas Schwab  <schwab@redhat.com>
27490         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27491         two-byte characters.
27493 2011-06-27  Roland McGrath  <roland@hack.frob.com>
27495         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27496         AC_CACHE_CHECK invocation.
27497         * configure: Regenerated.
27499         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27501 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
27503         [BZ #12350]
27504         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
27505         bit from old_res_options.
27507         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27509         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27510         value type for setfct.
27512 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
27514         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27515         __gettimeofday instead of gettimeofday.
27517 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
27519         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27521 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27523         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27525         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27526         info.
27528 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
27530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27531         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27532         strcpy-sse2-unaligned strncpy-sse2-unaligned
27533         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27534         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27535         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27536         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27537         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27538         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27539         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27540         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27541         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27542         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27543         (STRCPY): Support SSE2 and SSSE3 versions.
27545 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
27547         [BZ #12874]
27548         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27549         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27550         kernels which artificially limit size of requests.
27552 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
27554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27555         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27556         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27557         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27558         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27559         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27560         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27561         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27562         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27563         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27564         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27565         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27566         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27567         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27568         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27570         Enable unaligned load optimization for Intel Core i3, i5 and i7
27571         processors.
27572         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27573         Define.
27574         (index_Fast_Unaligned_Load): Define.
27575         (HAS_FAST_UNALIGNED_LOAD): Define.
27577 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
27579         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27581 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27583         [BZ #12907]
27584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27585         until it is clear that the information is realy needed.
27586         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27588 2011-06-22  Andreas Schwab  <schwab@redhat.com>
27590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27592 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27594         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27595         /sys/devices/system/cpu/online if it is usable.
27597         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27598         reading the information from the /proc filesystem to once a second.
27600 2011-06-21  Andreas Jaeger  <aj@suse.de>
27602         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27603         NULL after inclusion of kernel headers.
27605 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
27607         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27608         calls to internal_setent.
27610         [BZ #12885]
27611         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27612         addresses using gethostbyname4_r ignore IPv4 addresses.
27614         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27615         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
27617         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27619 2011-06-20  David S. Miller  <davem@davemloft.net>
27621         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27622         inclusions.
27623         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27625         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27626         (elf_irel): Use it.
27627         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27628         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27629         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27630         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27631         * sysdeps/x86_64/dl-irel.h: Likewise.
27633         * elf/dl-runtime.c: Use elf_ifunc_invoke.
27634         * elf/dl-sym.c: Likewise.
27636 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27638         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
27639         need to dereference resplen2.
27641 2011-06-14  Andreas Schwab  <schwab@redhat.com>
27643         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27645 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27647         * Makeconfig: Define vardbdir and inst_vardbdir.
27648         * nss/Makefile: Add rules to install db-Makefile.
27650         * nss/nss_db/db-XXX.c: Cleanup.
27652         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27653         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27654         GLIBC_PRIVATE.
27655         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27656         * nss/makedb.c: Implement -g option to specify that value strings
27657         are generated and should not be added to table iterated over for
27658         get*ent calls.
27659         * nss/nss_db/db-initgroups.c: New file.
27661         * nss/getent.c: Add support for initgroups lookups through getgrouplist
27662         interface.
27664         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27665         (internal_getgrouplist): Adjust to name change.
27666         Update use_initgroups_entry if this is not the first call.
27667         * nss/databases.def: Add initgroups entry.
27669         * nss/makedb.c (compute_tables): Check result of multiple hash table
27670         sizes to minimize maximum chain length.
27672 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
27674         * Versions.def: Add entry for libnss_db.
27675         * shlib-versions: Likewise.
27676         * nss/Makefile: Add rules to build libnss_db.
27677         * nss/Versions: Add libnss_db information.  Organize libnss_files
27678         entries better.
27679         * nss/db-Makefile: Add gshadow support.  Change rules for the new
27680         makedb progra.  Some minor improvements to generate smaller files.
27681         * nss/nss_db/nss_db.h: Move NSS database header data structures to
27682         here from...
27683         * nss/makedb.c: ...here.
27684         Improve database format to be smaller and require less memory at
27685         runtime.
27686         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
27687         db anymore.
27688         * nss/nss_db/db-netgrp.c: Likewise.
27689         * nss/nss_db/db-open.c: Likewise.
27690         * nss/nss_files/flies-XXX.x: Adjust comments.
27691         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27692         * nss/nss_files/files-grp.c: Likewise.
27693         * nss/nss_files/files-hosts.c: Likewise.
27694         * nss/nss_files/files-network.c: Likewise.
27695         * nss/nss_files/files-proto.c: Likewise.
27696         * nss/nss_files/files-pwd.c: Likewise.
27697         * nss/nss_files/files-rpc.c: Likewise.
27698         * nss/nss_files/files-service.c: Likewise.
27699         * nss/nss_files/files-sgrp.c: Likewise.
27700         * nss/nss_files/files-spwd.c: Likewise.
27701         * nss/nss_db/db-alias.c: Removed.
27702         * nss/nss_db/dummy-db.h: Removed.
27704 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
27706         * nss/makedb.c: Rewritten to not use database library.
27707         * nss/Makefile: Update to build new makedb program.
27709 2011-06-14  Andreas Jaeger  <aj@suse.de>
27711         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27712         memset declaration.
27714 2011-06-10  Andreas Schwab  <schwab@redhat.com>
27716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27717         tmpbuf.
27719 2011-06-10  Roland McGrath  <roland@hack.frob.com>
27721         * Makerules (shlib.lds): Fail if the linker script comes out empty.
27722         * elf/Makefile ($(objpfx)ld.so): Likewise.
27724         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27725         Don't list ld.so twice in dependencies.
27727         * posix/bug-regex31.c: Include <stdlib.h>.
27729         * nscd/hstcache.c (cache_addhst): Remove unused variable.
27731         * nis/nss_compat/compat-spwd.c
27732         (getspent_next_nss_netgr): Remove unused variable.
27733         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27735         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27736         nonmembers" output to use the right array.
27738         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27740         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27742         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27743         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27744         * catgets/gencat.c (read_input_file): Likewise.
27745         * locale/programs/locarchive.c (enlarge_archive): Likewise.
27747         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27748         variable definition inside #if's controlling its use.
27750         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27752         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27754         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27756         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27757         unreachable code.
27759         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27761         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27762         * configure: Regenerated.
27764         * Makerules: Revert last change.
27765         * elf/Makefile: Likewise.
27767 2011-06-09  Roland McGrath  <roland@hack.frob.com>
27769         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27770         * elf/Makefile ($(objpfx)librtld.os): Likewise.
27771         (reloc-link): Likewise.
27773 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
27775         * elf/Makefile: Add rules to build pldd.
27776         * elf/pldd.c: New file.
27777         * elf/pldd-xx.c: New file.
27779 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
27781         * version.h: Update for 2.15 development version.
27783 2011-06-07  David S. Miller  <davem@davemloft.net>
27785         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27786         ifuncs.
27787         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27788         elf_machine_lazy_rel): Likewise.
27789         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27790         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27791         elf_machine_lazy_rel): Likewise.
27792         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27793         dl_hwcap via passed in argument.
27794         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27795         Likewise.
27797 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27799         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
27801 2011-06-06  Roland McGrath  <roland@hack.frob.com>
27803         [BZ #12849]
27804         * manual/fdl-1.1.texi: New file, verbatim from:
27805         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27806         * manual/lgpl-2.1.texi: New file, verbatim from:
27807         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27808         * manual/Makefile (licenses): New variable, list those new file names.
27809         (texis): Use it.
27810         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27812         * manual/fdl.texi: File removed.
27813         * manual/lesser.texi: File removed.
27814         * manual/libc.texinfo (Copying, Documentation License):
27815         Use new @include file names, put @appendix directive before @include.
27817 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
27819         [BZ #12841]
27820         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27821         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27822         (mq_open): Add __NTH.
27824 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
27826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27827         Assume Intel Core i3/i5/i7 processor if AVX is available.
27829 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27832         typo.
27834 2011-05-31  Andreas Schwab  <schwab@redhat.com>
27836         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27837         memory.  Use alloca_account.  Fix memory leak when retrying.
27839 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27841         * version.h (RELEASE): Bump for 2.14 release.
27842         * include/features.h (__GLIBC_MINOR__): Bump to 14.
27844         * config.make.in (RANLIB): Remove entry.
27846 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
27848         * po/Makefile (po-sed-cmd): Add ksh to extensions.
27849         (libc.pot): Work around missing support for .ksh extension in xgettext.
27851         [BZ #12684]
27852         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27853         if both request failed.
27854         (send_dg): In case of server errors clear resplen or *resplen2.
27856         [BZ #12454]
27857         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27858         when there are multiple maps.
27859         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27860         (_dl_fini): Remove test here.
27862         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27864 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
27866         [BZ #12350]
27867         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27868         bit from old_res_options.
27869         (gaih_inet): Likewise.
27871         [BZ #11099]
27872         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27873         as signed.
27875         * resolv/res_init.c (res_setoptions): Make the code more compact.
27877         [BZ #11558]
27878         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27879         set RES_USEVC.
27881         [BZ #11634]
27882         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27884         * malloc/malloc.h: Mark malloc hook variables as deprecated.
27886         [BZ #11781]
27887         * malloc/malloc.h: Declare malloc hook variables as volatile.
27889         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27890         in last patch.
27892         [BZ #11799]
27893         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27894         raise in the comment.
27895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27897         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27899 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
27901         [BZ #12811]
27902         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27903         grow the buffers more if it already has to be sufficient.
27904         (build_wcs_upper_buffer): Likewise.
27905         * posix/regexec.c (check_matching): Likewise.
27906         (clean_state_log_if_needed): Likewise.
27907         (extend_buffers): Don't enlarge buffers beyond size of the input
27908         buffer.
27909         Patches mostly by Emil Wojak <emil@wojak.eu>.
27910         * posix/bug-regex32.c: New file.
27911         * posix/Makefile (tests): Add bug-regex32.
27913         * locale/findlocale.c (_nl_find_locale): Return right away if
27914         _nl_explode_name failed.
27915         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27917         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27919         * debug/xtrace.sh: Unify messages.
27920         * malloc/memusage.sh: Likewise.
27922         [BZ #12813]
27923         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27924         time symbol from vDSO.  Substitute with vsyscall if not available.
27925         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27926         __vdso_time.
27928         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27929         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27930         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27931         Add sendmmsg and internal_sendmmsg.
27932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27933         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27934         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27936         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27937         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27938         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27940 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
27942         [BZ #12813]
27943         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27944         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
27945         available.
27946         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27947         __vdso_getcpu.
27949         [BZ #12814]
27950         * iconvdata/Makefile (tests): Add bug-iconv9.
27951         * iconvdata/bug-iconv9.c: New file.
27953 2011-05-27  Andreas Schwab  <schwab@redhat.com>
27955         [BZ #12814]
27956         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27958 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
27960         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27961         (struct user_regs_struct): Change intcs field back to cs.
27963 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
27965         * po/ja.po: Update from translation team.
27967 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
27969         [BZ #12795]
27970         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27971         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27973 2011-05-20  Andreas Schwab  <schwab@redhat.com>
27975         * stdlib/longlong.h: Update from GCC.
27977 2011-05-23  Andreas Schwab  <schwab@redhat.com>
27979         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27980         parameter name.
27981         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27982         Add parameter name.
27983         (__sysconf): Pass it down.
27985 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
27987         [BZ #12671]
27988         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27989         some situations.
27990         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27991         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27992         add in in __libc_use_alloca calls.  Adjust callers.
27993         (glob): Use malloc in some situations.
27995         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27996         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27997         pltexit.
27999 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28001         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28002         and CLOCK_BOOTTIME_ALARM.
28004         [BZ #12782]
28005         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28006         is returned.
28008         * string/_strerror.c (__strerror_r): Print negative errors as signed
28009         numbers.
28011         [BZ #12777]
28012         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28013         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28014         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28016         * configure.in: Fix typo in redirection and correct removal of test
28017         files in two cases.
28019         [BZ #12788]
28020         * locale/setlocale.c (new_composite_name): Fix test to check for
28021         identical name of all categories.
28023         [BZ #12792]
28024         * libio/filedoalloc.c (local_isatty): New function.
28025         (_IO_file_doallocate): Use local_isatty.
28026         * stdio-common/perror.c (perror): In case a new stream is used
28027         forward the stream error.
28028         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28029         error flag.
28031 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28033         [BZ #11869]
28034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28035         alloca.
28036         * include/alloca.h (extend_alloca_account): Define.
28038         [BZ #11857]
28039         * posix/regex.h: Fix comments with documentation of user-accessible
28040         fields after compilation and describe correct free'ing of pattern
28041         after re_compile_pattern.
28042         Patch by Reuben Thomas <rrt@sc3d.org>.
28044 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28046         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28047         and -mno-altivec to prevent the compiler from using Altivec and/or
28048         VSX instructions when the corresponding registers are not available.
28050 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28052         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28054 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28056         * libio/freopen.c (freopen): Use __dup2, not dup2.
28057         * libio/freopen64.c (freopen64): Likewise.
28059 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28061         [BZ #12775]
28062         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28063         * math/Makefile (tests): Add test-powl.
28064         (CFLAGS-test-powl.c): Define.
28065         * math/test-powl.c: New file.
28067 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28069         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28071 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28073         [BZ #11837]
28074         * iconvdata/gb18030.c: Update to GB18020-2005.
28076 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28078         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28079         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28080         Patch by Aharon Robbins <arnold@skeeve.com>.
28082         [BZ #11892]
28083         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28084         on the stack.
28086         [BZ #11895]
28087         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28088         through underflows.
28090         [BZ #12766]
28091         * misc/error.c (error_at_line): Ensure file_name and old_file_name
28092         point to strings before performing equality test for error_one_per_line
28093         mode.
28095         [BZ #11697]
28096         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28098         [BZ #11820]
28099         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28100         (struct user_fpregs_struct): Avoid __uint*_t types.
28102         [BZ #6420]
28103         * malloc/mtrace.c (tr_where): Add additional parameter to point to
28104         symbol info.  Use it instead of calling _dl_addr locally.
28105         (lock_and_info): New function.
28106         (tr_freehook): Call lock_and_info and pass symbol info as additional
28107         parameter to tr_where.
28108         (tr_mallochook): Likewise.
28109         (tr_reallochook): Likewise.
28110         (tr_memalignhook): Likewise.
28112         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
28113         used and couldn't be at all thread-safe.
28115 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
28117         * libio/freopen.c (freopen): Don't close old file descriptor
28118         before the new one is opened.  Instead dup the new file descriptor
28119         to the old one after the new stream is created.
28120         * libio/freopen64.c (freopen64): Likewise.
28121         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28122         * libio/fileops.c (_IO_new_file_close_it): Handle new
28123         _IO_FLAGS2_NOCLOSE flag.
28124         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28125         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28126         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28127         _IO_FLAGS2_NOCLOSE flag.
28128         * include/unistd.h: Add hidden_proto for dup3.
28129         Define __have_dup3.
28130         * io/dup3.c: Define hidden symbol.
28131         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28133         [BZ #7101]
28134         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28135         when an incomplete long option is used.
28136         * posix/tst-getopt_long1.c: New file.
28137         * posix/Makefile (tests): Add tst-getopt_long1.
28139         [BZ #10138]
28140         * scripts/config.guess: Update from autoconf-2.68.
28141         * scripts/config.sub: Likewise.
28143         [BZ #10157]
28144         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28145         tests into ...
28146         (has_cpuclock): ...this.  New function.
28147         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28148         macro here based on has_cpuclock code.
28150         [BZ #10149]
28151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28152         First byte (not low byte) is now always NUL.
28153         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28155         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28156         Use non-cancelable interfaces.
28158         [BZ #9809]
28159         * locale/iso-639.def: Add entry for Sorani.
28161         [BZ #11901]
28162         * include/stdlib.h: Move include protection to the right place.
28163         Define abort_msg_s.  Declare __abort_msg with it.
28164         * stdlib/abort.c (__abort_msg): Adjust type.
28165         * assert/assert.c (__assert_fail_base): New function.  Majority
28166         of code from __assert_fail.  Allocate memory for __abort_msg with
28167         mmap.
28168         (__assert_fail): Now call __assert_fail_base.
28169         * assert/assert-perr.c: Remove bulk of implementation.  Use
28170         __assert_fail_base.
28171         * include/assert.hL Declare __assert_fail_base.
28172         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28173         mmap.
28174         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28176 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
28178         [BZ #11952]
28179         [BZ #12453]
28180         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28181         until all modules are registered in the DTV.
28182         * elf/Makefile: Add rules to build and run tst-tls19.
28183         * elf/tst-tls19.c: New file.
28184         * elf/tst-tls19mod1.c: New file.
28185         * elf/tst-tls19mod2.c: New file.
28186         * elf/tst-tls19mod3.c: New file.
28187         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28189         [BZ #12083]
28190         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28191         correctly.
28193         [BZ #12601]
28194         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28195         two-byte sequence errors.
28196         * iconvdata/Makefile (tests): Add bug-iconv8.
28197         * iconvdata/bug-iconv8.c: New file.
28199         [BZ #12626]
28200         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28201         buf2 definition.
28203         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28205         [BZ #12432]
28206         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28207         (dummy_getcfa): New function.
28208         (init): Get _Unwind_GetCFA address, use dummy if not found.
28209         (backtrace_helper): In recursion check, also check whether CFA changes.
28210         (__backtrace): Completely initialize arg.
28212         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28213         storing incomplete byte sequence in state object.  Avoid testing for
28214         guaranteed too small input if we know there is enough data available.
28216 2011-05-11  Andreas Schwab  <schwab@redhat.com>
28218         * Makeconfig (+link-pie): Indent.
28219         * Rules (binaries-pie): Define if $(have-fpie) and
28220         $(build-shared).
28221         (binaries-shared): Also filter out $(binaries-pie).
28222         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28223         * nscd/Makefile (others-pie): Add nscd.
28224         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28225         ($(objpfx)nscd): Remove command override.
28226         * login/Makefile (others-pie): Add pt_chown.
28227         ($(objpfx)pt_chown): Remove command override.
28228         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28229         remove command overrides.
28231 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
28233         * libio/tst_putwc.c: Fix error messages.
28235         [BZ #12724]
28236         * libio/fileops.c (_IO_new_file_close_it): Always flush when
28237         currently writing and seek to current position when not.
28238         * libio/Makefile (tests): Add bug-fclose1.
28239         * libio/bug-fclose1.c: New file.
28241 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
28243         [BZ #12511]
28244         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28245         don't set DF_1_NODELETE here.
28246         (do_lookup_x): When entering new entry test for copy relocation
28247         and if necessary set DF_1_NODELETE flag.
28248         * elf/tst-unique4.cc: New file.
28249         * elf/tst-unique4.h: New file.
28250         * elf/tst-unique4lib.cc: New file.
28251         * elf/Makefile: Add rules to build and run tst-unique4.
28252         Patch by Piotr Bury <pbury@goahead.com>.
28254 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
28256         [BZ #12052]
28257         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28259         [BZ #12625]
28260         * misc/mntent_r.c (addmntent): Flush the stream after the output
28262         [BZ #12393]
28263         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28264         (is_trusted_path_normalize): Skip initial colon.  Append slash
28265         to empty buffer.  Duplicate is_trusted_path code but allow
28266         constructed patch to be prefix.
28267         (is_dst): Allow $ORIGIN followed by /.
28268         (_dl_dst_substitute): Correct clearing of check_for_trusted.
28269         Correct testing of result of is_trusted_path_normalize
28270         (decompose_rpath): Fix warning.
28272 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
28274         [BZ #11257]
28275         * grp/initgroups.c (internal_getgrouplist): When we found the service
28276         list through the initgroups entry in nsswitch.conf do not always
28277         continue on a successful lookup.  Don't always use the
28278         __nss_group_database value if it is set.
28279         * nss/nsswitch.conf (initgroups): Change action for successful db
28280         lookup to continue for compatibility.
28282 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
28284         [BZ #11532]
28285         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28286         and CP774 modules.
28287         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28288         and CP774 modules.
28289         * iconvdata/tst-tables.sh: Likewise.
28290         * iconvdata/cp770.c: New file.
28291         * iconvdata/cp771.c: New file.
28292         * iconvdata/cp772.c: New file.
28293         * iconvdata/cp773.c: New file.
28294         * iconvdata/cp774.c: New file.
28295         * iconvdata/testdata/CP770: New file.
28296         * iconvdata/testdata/CP770..UTF8: New file.
28297         * iconvdata/testdata/CP771: New file.
28298         * iconvdata/testdata/CP771..UTF8: New file.
28299         * iconvdata/testdata/CP772: New file.
28300         * iconvdata/testdata/CP772..UTF8: New file.
28301         * iconvdata/testdata/CP773: New file.
28302         * iconvdata/testdata/CP773..UTF8: New file.
28303         * iconvdata/testdata/CP774: New file.
28304         * iconvdata/testdata/CP774..UTF8: New file.
28306         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28307         END CHARMAP line.
28308         * iconvdata/gen-8bit-gap.sh: Likewise.
28309         * iconvdata/gen-8bit.sh: Likewise.
28311         * locale/iso-639.def: Add ary entry.
28313         [BZ #11258]
28314         * locale/C-translit.h.in: Add U20A1 transliteration.
28316         [BZ #12178]
28317         * locale/iso-639.def: Add wae entry.
28318         Patch by Kevin Bortis <bortis@translate-wae.ch>.
28320         [BZ #12545]
28321         * locale/programs/localedef.c (construct_output_path): Use ssize_t
28322         for n.
28324         [BZ #12711]
28325         * locale/C-translit.h.in: Add entry for U20B9.
28326         Patch by pravin.d.s@gmail.com.
28328 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
28330         [BZ #12713]
28331         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28332         ENAMETOOLONG use generic getcwd.
28333         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
28334         in rtld.  Use *stat64.
28335         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28336         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28337         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28338         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28339         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28340         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28341         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28342         __fstatat64 macros.
28343         * include/dirent.h: Add libc_hidden_proto for rewinddir.
28344         * dirent/rewinddir.c: Add libc_hidden_def.
28345         * sysdeps/mach/hurd/rewinddir.c: Likewise.
28346         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
28348         * include/dirent.h (__alloc_dir): Add flags parameter.
28349         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28350         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28351         __alloc_dir.
28352         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
28353         from fdopendir if O_CLOEXEC is already set.
28355 2011-03-15  Alan Modra  <amodra@gmail.com>
28357         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28358         l_tls_firstbyte_offset non-zero.  Save padding offset in
28359         l_tls_firstbyte_offset for later use.
28360         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28361         freeing static tls block.
28363 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
28365         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28366         where #ifdef was intended.  The intent is to prevent ARG_MAX from
28367         being defined by the kernel headers.
28369 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
28371         [BZ #12734]
28372         * resolv/resolv.h: Define RES_NOTLDQUERY.
28373         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28374         no-tld-query and set RES_NOTLDQUERY.
28375         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28376         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28377         modern BIND to search name as TLD unless forbidden.
28379 2011-05-07  Petr Baudis  <pasky@suse.cz>
28380             Ulrich Drepper  <drepper@gmail.com>
28382         [BZ #12393]
28383         * elf/dl-load.c (fillin_rpath): Move trusted path check...
28384         (is_trusted_path): ...to here.
28385         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28386         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28387         using is_trusted_path_normalize() in setuid scripts.
28389 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28391         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28392         __BEGIN/__END_DECLS.
28394 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
28396         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28397         NSS_STATUS_NOTFOUND if no record was found.
28399 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28401         * sunrpc/Makefile (headers): Add rpc/netdb.h.
28402         (headers-not-in-tirpc): Remove rpc/netdb.h
28403         * resolv/netdb.h: Revert last change.
28405 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28407         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28408         circular dependency between libgcc.a and libc.a.
28410 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28412         * resolv/netdb.h: Don't include <rpc/netdb.h>.
28413         * nis/Makefile: Don't install rpcsvc/*.
28414         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28415         instead of <rpc/types.h>.
28416         (MAXHOSTNAMELEN): Define.
28418 2011-05-03  Andreas Schwab  <schwab@redhat.com>
28420         * elf/ldconfig.c (add_dir): Don't crash on empty path.
28422 2011-04-28  Maciej Babinski  <mbabinski@google.com>
28424         [BZ #12714]
28425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28426         gethostbyname4_r when IPv6 results are possible.
28428 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
28430         [BZ #12723]
28431         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28432         _PC_PIPE_BUF handling.
28434 2011-04-30  Bruno Haible  <bruno@clisp.org>
28436         [BZ #12717]
28437         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28438         * resolv/netdb.h (getnameinfo): Change type of flags parameter
28439         to 'int'.
28440         * inet/getnameinfo.c (getnameinfo): Likewise.
28442 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
28444         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28445         to groups setting in database lookup.
28446         * nss/nsswitch.conf: Add initgroups entry.
28448 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
28450         [BZ #12685]
28451         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28452         mode string.
28453         Patch by Eric Blake <eblake@redhat.com>.
28455 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
28457         * sunrpc/Makefile (need-export-routines): Add svc_run.
28458         (routines): Remove svc_run.
28459         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28460         * sunrpc/clnt_perr.c (clnt_perrno): Export.
28461         * sunrpc/svc_run.c (svc_run): Likewise.
28462         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28464 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
28466         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28467         problem in reallocation in last patch.
28469 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
28471         * sunrpc/Makefile: Move inclusion of Rules.
28473 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
28475         * nss/nss_files/files-initgroups.c: New file.
28476         * nss/Makefile (libnss_files-routines): Add files-initgroups.
28477         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28478         _nss_files_initgroups_dyn.
28480 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
28482         * elf/elf.h (R_ARM_IRELATIVE): Define.
28484 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
28486         * po/ru.po: Update from translation team.
28488 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
28490         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28491         dependencies.
28493 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
28495         [BZ #12653]
28496         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28497         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28498         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28499         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28502 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
28504         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28505         differing bytes.
28506         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28507         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28508         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28510 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
28512         [BZ #12420]
28513         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28514         storing it.
28515         * stdlib/bug-getcontext.c: New file.
28516         * stdlib/Makefile: Add rules to build and run bug-getcontext.
28518 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28520         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28521         instructions into .machine "z9-109".
28522         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28523         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28525 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28527         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28528         between environment variables and auxiliary vector.
28530 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
28532         * Makefile: Add rules to build linkobj/libc.so.
28533         * include/libc-symbols.h: Define libc_hidden_nolink.
28534         * include/rpc/auth.h: Mark functions which are to be hidden.
28535         * include/rpc/auth_des.h: Likewise.
28536         * include/rpc/auth_unix.h: Likewise.
28537         * include/rpc/clnt.h: Likewise.
28538         * include/rpc/des_crypt.h: Likewise.
28539         * include/rpc/key_prot.h: Likewise.
28540         * include/rpc/pmap_clnt.h: Likewise.
28541         * include/rpc/pmap_prot.h: Likewise.
28542         * include/rpc/pmap_rmt.h: Likewise.
28543         * include/rpc/rpc_msg.h: Likewise.
28544         * include/rpc/svc.h: Likewise.
28545         * include/rpc/svc_auth.h: Likewise.
28546         * include/rpc/xdr.h: Likewise.
28547         * nis/Makefile: Link all DSOs against linkobj/libc.so.
28548         * nss/Makefile: Likewise.
28549         * sunrpc/Makefile: Don't install headers.  Build library with normal
28550         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
28551         * sunrpc/auth_des.c: Hide exported symbols by default, export some
28552         for the compat linking library.  Remove use of INTDEF/INTUSE.
28553         * sunrpc/auth_none.c: Likewise.
28554         * sunrpc/auth_unix.c: Likewise.
28555         * sunrpc/authdes_prot.c: Likewise.
28556         * sunrpc/authuxprot.c: Likewise.
28557         * sunrpc/clnt_gen.c: Likewise.
28558         * sunrpc/clnt_perr.c: Likewise.
28559         * sunrpc/clnt_raw.c: Likewise.
28560         * sunrpc/clnt_simp.c: Likewise.
28561         * sunrpc/clnt_tcp.c: Likewise.
28562         * sunrpc/clnt_udp.c: Likewise.
28563         * sunrpc/clnt_unix.c: Likewise.
28564         * sunrpc/des_crypt.c: Likewise.
28565         * sunrpc/des_soft.c: Likewise.
28566         * sunrpc/get_myaddr.c: Likewise.
28567         * sunrpc/key_call.c: Likewise.
28568         * sunrpc/key_prot.c: Likewise.
28569         * sunrpc/netname.c: Likewise.
28570         * sunrpc/pm_getmaps.c: Likewise.
28571         * sunrpc/pm_getport.c: Likewise.
28572         * sunrpc/pmap_clnt.c: Likewise.
28573         * sunrpc/pmap_prot.c: Likewise.
28574         * sunrpc/pmap_prot2.c: Likewise.
28575         * sunrpc/pmap_rmt.c: Likewise.
28576         * sunrpc/publickey.c: Likewise.
28577         * sunrpc/rpc_cmsg.c: Likewise.
28578         * sunrpc/rpc_common.c: Likewise.
28579         * sunrpc/rpc_dtable.c: Likewise.
28580         * sunrpc/rpc_prot.c: Likewise.
28581         * sunrpc/rpc_thread.c: Likewise.
28582         * sunrpc/rtime.c: Likewise.
28583         * sunrpc/svc.c: Likewise.
28584         * sunrpc/svc_auth.c: Likewise.
28585         * sunrpc/svc_authux.c: Likewise.
28586         * sunrpc/svc_raw.c: Likewise.
28587         * sunrpc/svc_run.c: Likewise.
28588         * sunrpc/svc_simple.c: Likewise.
28589         * sunrpc/svc_tcp.c: Likewise.
28590         * sunrpc/svc_udp.c: Likewise.
28591         * sunrpc/svc_unix.c: Likewise.
28592         * sunrpc/svcauth_des.c: Likewise.
28593         * sunrpc/xcrypt.c: Likewise.
28594         * sunrpc/xdr.c: Likewise.
28595         * sunrpc/xdr_array.c: Likewise.
28596         * sunrpc/xdr_float.c: Likewise.
28597         * sunrpc/xdr_intXX_t.c: Likewise.
28598         * sunrpc/xdr_mem.c: Likewise.
28599         * sunrpc/xdr_rec.c: Likewise.
28600         * sunrpc/xdr_ref.c: Likewise.
28601         * sunrpc/xdr_sizeof.c: Likewise.
28602         * sunrpc/xdr_stdio.c: Likewise.
28604 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
28606         [BZ #12650]
28607         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28608         * sysdeps/ia64/dl-tls.h: Likewise.
28609         * sysdeps/powerpc/dl-tls.h: Likewise.
28610         * sysdeps/s390/dl-tls.h: Likewise.
28611         * sysdeps/sh/dl-tls.h: Likewise.
28612         * sysdeps/sparc/dl-tls.h: Likewise.
28613         * sysdeps/x86_64/dl-tls.h: Likewise.
28614         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28616 2011-03-14  Andreas Schwab  <schwab@redhat.com>
28618         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28619         rpath element also skip the following colon.
28620         (expand_dynamic_string_token): Add is_path parameter and pass
28621         down to DL_DST_REQUIRED and _dl_dst_substitute.
28622         (decompose_rpath): Call expand_dynamic_string_token with
28623         non-zero is_path.  Ignore empty rpaths.
28624         (_dl_map_object_from_fd): Call expand_dynamic_string_token
28625         with zero is_path.
28627 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28630         Make cancelable.
28632 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
28634         [BZ #12655]
28635         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28636         Patch by Filipe David Manana <fdmanana@apache.org>.
28638 2011-04-07  Andreas Schwab  <schwab@redhat.com>
28640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28641         Maintain aligned stack.
28642         (CHECK_RSP): Remove unused macro.
28644 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
28646         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28647         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28649 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
28651         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28653         * include/features.h: Mention __USE_XOPEN2K8 in comment.
28655 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
28657         [BZ #12518]
28658         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28659         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28660         * sysdeps/x86_64/memmove.c: New file.
28661         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28662         (memcpy): Renamed to ...
28663         (__new_memcpy): This.
28664         (memcpy): Provide GLIBC_2_14 memcpy.
28665         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28666         (memcpy): Provide GLIBC_2_2_5 memcpy.
28668 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28670         [BZ #12631]
28671         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28673 2011-03-30  Andreas Schwab  <schwab@redhat.com>
28675         * misc/syncfs.c: New file.
28676         * misc/Makefile (routines): Add syncfs.
28677         * posix/unistd.h: Declare syncfs.
28678         * sysdeps/unix/syscalls.list: Add syncfs.
28680 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28682         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28683         open_by_handle_at.
28684         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28685         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28687         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28689         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28690         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28692 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28694         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28695         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28696         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28698         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28700         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28702         * io/Makefile: Compile fallocate.c, fallocate64.c, and
28703         sync_file_range.c with -fexceptions.
28704         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28705         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28706         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28707         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28708         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28709         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28710         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28711         sync_file_range as cancellation point
28712         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
28713         now a wrapper around __call_sync_file_range with cancellation handling.
28714         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28715         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
28716         function name to __call_sync_file_range.
28717         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28718         Add call_sync_file_range.
28720 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28723         bits/timex.h.
28725 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28727         * iconv/iconv.h: Fix typo in comment.
28728         * io/fcntl.h: Likewise.
28729         * libio/stdio.h: Likewise.
28730         * posix/spawn.h: Likewise.
28731         * posix/unistd.h: Likewise.
28732         * stdlib/stdlib.h: Likewise.
28733         * time/time.h: Likewise.
28734         * wcsmbs/wchar.h: Likewise.
28736         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28737         open_by_handle): Add.
28738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28739         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
28740         Augment a few comments.
28741         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28746         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28747         open_by_handle.
28749         * io/fcntl.h (AT_EMPTY_PATH): Define.
28751 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
28753         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28754         * sysdeps/unix/sysv/linux/bits/time.h: New file.
28755         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28756         to...
28757         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
28758         * Versions.def: Add GLIBC_2.14.
28759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28760         Export.
28762 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
28764         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28765         round counter.
28766         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28768 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28770         [BZ #12597]
28771         * string/test-strncmp.c (do_page_test): New function.
28772         (check2): Likewise.
28773         (test_main): Call check2.
28774         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28776 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
28778         [BZ #12587]
28779         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28780         Handle cache information in CPU leaf 4.
28781         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28783 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
28785         [BZ #12583]
28786         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28787         character representation.
28788         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28790 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
28792         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28793         END(__isnan) to END(__isnanf) to match function entry point/label
28794         EALIGN(__isnanf,...).
28796 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
28798         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28800 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
28802         [BZ #12510]
28803         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28804         copy from the symbol referenced in the relocation to initialize the
28805         used variable.
28806         Patch by Piotr Bury <pbury@goahead.com>.
28807         * elf/Makefile: Add rules to build and tst-unique3.
28808         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28809         * elf/tst-unique3.cc: New file.
28810         * elf/tst-unique3.h: New file.
28811         * elf/tst-unique3lib.cc: New file.
28812         * elf/tst-unique3lib2.cc: New file.
28814         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28816 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
28818         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28819         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
28820         to _start.
28822 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
28824         * elf/dl-load.c (_dl_map_object): If we are looking for the first
28825         to-be-loaded object along a path to loader is ld.so.
28827 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28828             Ulrich Drepper  <drepper@gmail.com>
28830         * sysdeps/x86_64/memset.S: After aligning destination, code
28831         branches to different locations depending on the value of
28832         misalignment, when multiarch is enabled. Fix this.
28834 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28836         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28837         Set _x86_64_preferred_memory_instruction for AMD processsors.
28838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28839         Set bit_Prefer_SSE_for_memop for AMD processors.
28841 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
28843         * libio/fmemopen.c (fmemopen): Optimize a bit.
28845 2011-03-03  Andreas Schwab  <schwab@redhat.com>
28847         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28849 2011-03-03  Roland McGrath  <roland@redhat.com>
28851         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28853 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
28855         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28856         __bzero_ultra1 instead of __memset_ultra1.
28858 2011-02-23  Andreas Schwab  <schwab@redhat.com>
28859             Ulrich Drepper  <drepper@gmail.com>
28861         [BZ #12509]
28862         * include/link.h (struct link_map): Add l_orig_initfini.
28863         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28864         returning unsuccessfully.
28865         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28866         close of a file loaded at startup, restore the original l_initfini
28867         list.
28868         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28869         list, store the pointer.
28870         * elf/Makefile ($(objpfx)noload-mem): New rule.
28871         (noload-ENV): Define.
28872         (tests): Add $(objpfx)noload-mem.
28873         * elf/noload.c: Include <memcheck.h>.
28874         (main): Call mtrace.  Close all opened handles.
28876 2011-02-17  Andreas Schwab  <schwab@redhat.com>
28878         [BZ #12454]
28879         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28880         dependencies are missing.
28882 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28884         Fix __if_freereq crash: Unlike the generic version which uses free,
28885         Hurd needs munmap.
28886         * sysdeps/mach/hurd/ifreq.h: New file.
28888 2011-01-27  Petr Baudis  <pasky@suse.cz>
28889             Ulrich Drepper  <drepper@gmail.com>
28891         [BZ 12445]#
28892         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28893         to extend_alloca().
28894         * stdio-common/bug23.c: New file.
28895         * stdio-common/Makefile (tests): Add bug23.
28897 2010-09-28  Andreas Schwab  <schwab@redhat.com>
28898             Ulrich Drepper  <drepper@gmail.com>
28900         [BZ #12489]
28901         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28902         before performing relro protection.  At old place add assertion
28903         to make sure nothing changed.
28905 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
28906             Glauber de Oliveira Costa  <glommer@gmail.com>
28908         * elf/elf.h: Add new ARM TLS relocs.
28910 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
28912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28913         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28914         cast from r3.
28915         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
28916         'tests' variable.
28917         * sysdeps/wordsize-64/tst-writev.c: New file.
28919 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
28921         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28922         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28923         insns in _dl_start to prevent a TOC reference before relocs are
28924         resolved.
28926 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
28928         [BZ #12469]
28929         * Makeconfig: Remove RANLIB definition.
28930         * Makerules: Don't use RANLIB.
28931         * aclocal.m4: Remove ranlib test.
28932         * configure.in: No need to check for ranlib.
28933         * elf/rtld-Rules: Don't use RANLIB.
28935 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28937         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28938         protection macro.
28939         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28940         inclusion protection macro.
28942         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28943         SIGRTMIN and SIGRTMAX and print information in that case only when
28944         SIGRTMIN is defined.
28946 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
28948         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28949         arginfo fn returning -1.
28951         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28952         and thousands string is zero terminated.
28954 2011-02-03  Andreas Schwab  <schwab@redhat.com>
28956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28957         sysdeps/unix/sysv/linux/bits/socket.h.
28959 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28961         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28962         (__CPU_COUNT): Remove old macros.
28963         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28964         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28965         (__CPU_ALLOC, __CPU_FREE): Add macros.
28966         (__sched_cpualloc, __sched_cpufree): Add declarations.
28968 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
28970         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28971         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28972         * nscd/aicache.c (addhstaiX): Return timeout of added value.
28973         (readdhstai): Return value of addhstaiX call.
28974         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28975         (addgrbyX): Return value returned by cache_addgr.
28976         (readdgrbyname): Return value returned by addgrbyX.
28977         (readdgrbygid): Likewise.
28978         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28979         (addpwbyX): Return value returned by cache_addpw.
28980         (readdpwbyname): Return value returned by addhstbyX.
28981         (readdpwbyuid): Likewise.
28982         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28983         (addservbyX): Return value returned by cache_addserv.
28984         (readdservbyname): Return value returned by addservbyX:
28985         (readdservbyport): Likewise.
28986         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28987         (addhstbyX): Return value returned by cache_addhst.
28988         (readdhstbyname): Return value returned by addhstbyX.
28989         (readdhstbyaddr): Likewise.
28990         (readdhstbynamev6): Likewise.
28991         (readdhstbyaddrv6): Likewise.
28992         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28993         (readdinitgroups): Return value returned by addinitgroupsX.
28994         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28995         (prune_cache): Keep track of timeout value of re-added entries.
28996         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28997         * nscd/nscd.h: Adjust prototypes of readd* functions.
28999 2011-02-04  Roland McGrath  <roland@redhat.com>
29001         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29002         (nis_stats): Likewise.
29003         * nis/nis_modify.c (nis_modify): Likewise.
29004         * nis/nis_remove.c (nis_remove): Likewise.
29005         * nis/nis_add.c (nis_add): Likewise.
29007         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29009         * posix/fnmatch_loop.c: Add some consts.
29011         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29013 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29015         [BZ #12460]
29016         * config.make.in (config-cflags-novzeroupper): Define.
29017         * configure.in: Substitute libc_cv_cc_novzeroupper.
29018         * elf/Makefile (AVX-CFLAGS): Define.
29019         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29020         (CFLAGS-tst-auditmod4a.c): Likewise.
29021         (CFLAGS-tst-auditmod4b.c): Likewise.
29022         (CFLAGS-tst-auditmod6b.c): Likewise.
29023         (CFLAGS-tst-auditmod6c.c): Likewise.
29024         (CFLAGS-tst-auditmod7b.c): Likewise.
29025         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29027 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29029         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29030         function to the callback.
29031         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29033 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29035         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29036         of errno.
29038 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29040         [BZ #11724]
29041         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29042         of constructors.
29043         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29044         of destructors.
29045         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29047         [BZ #11724]
29048         * elf/Makefile: Add rules to build and run new test.
29049         * elf/tst-initorder.c: New file.
29050         * elf/tst-initorder.exp: New file.
29051         * elf/tst-initordera1.c: New file.
29052         * elf/tst-initordera2.c: New file.
29053         * elf/tst-initordera3.c: New file.
29054         * elf/tst-initordera4.c: New file.
29055         * elf/tst-initorderb1.c: New file.
29056         * elf/tst-initorderb2.c: New file.
29057         * elf/tst-order-a1.c: New file.
29058         * elf/tst-order-a2.c: New file.
29059         * elf/tst-order-a3.c: New file.
29060         * elf/tst-order-a4.c: New file.
29061         * elf/tst-order-b1.c: New file.
29062         * elf/tst-order-b2.c: New file.
29063         * elf/tst-order-main.c: New file.
29064         New test case by George Gensure <werkt0@gmail.com>.
29066 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29069         decoding ACE if AI_CANONIDN.
29071 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29073         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29075 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29077         * version.h (RELEASE): Bump for 2.13 release.
29078         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29080         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29082         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29083         MADV_NOHUGEPAGE.
29084         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29085         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29086         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29087         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29088         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29091         * posix/getconf.c: Update copyright year.
29092         * catgets/gencat.c: Likewise.
29093         * csu/version.c: Likewise.
29094         * debug/catchsegv.sh: Likewise.
29095         * debug/xtrace.sh: Likewise.
29096         * elf/ldconfig.c: Likewise.
29097         * elf/ldd.bash.in: Likewise.
29098         * elf/sprof.c (print_version): Likewise.
29099         * iconv/iconv_prog.c: Likewise.
29100         * iconv/iconvconfig.c: Likewise.
29101         * locale/programs/locale.c: Likewise.
29102         * locale/programs/localedef.c: Likewise.
29103         * malloc/memusage.sh: Likewise.
29104         * malloc/mtrace.pl: Likewise.
29105         * nscd/nscd.c (print_version): Likewise.
29106         * nss/getent.c: Likewise.
29108         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29109         PF_CAIF, and PF_ALG.
29110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29112 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
29114         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29115         (modules-names): Use them.
29116         (ifunc-test-modules, ifunc-pie-tests): Define.
29117         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29118         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29119         (test-extras): Likewise.
29120         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29121         $(compile-command.c).
29122         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29123         (all-built-dso): Define.
29124         (check-textrel.out, check-execstack.out): Depend on it.
29126         * configure.in: Don't override --enable-multi-arch.
29128 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
29130         [BZ #6812]
29131         * nscd/hstcache.c (tryagain): Define.
29132         (cache_addhst): Return tryagain not notfound for temporary errors.
29133         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29134         failed.
29136 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
29138         [BZ #10563]
29139         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29140         to make the syscall.
29141         * sysdeps/unix/sysv/linux/setgroups.c: New file.
29143         [BZ #12378]
29144         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29145         and fall back to matching as normal character if the string ends before
29146         the matching ']' is found.  This is what POSIX requires.
29147         * posix/testfnm.c: Adjust test result.
29148         * posix/globtest.sh: Adjust test result.  Add new test.
29149         * posix/tst-fnmatch.input: Likewise.
29150         * posix/tst-fnmatch2.c: Add new test.
29152 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
29154         * elf/Makefile (check-execstack): Revert last change.  Depend on
29155         check-execstack.h.
29156         (check-execstack.h): New target.
29157         (generated): Add check-execstack.h.
29158         * elf/check-execstack.c: Include "check-execstack.h".
29159         (main): Revert last change.
29160         (handle_file): Return zero if GNU_STACK is absent and
29161         DEFAULT_STACK_PERMS doesn't include PF_X.
29163 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
29165         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29166         in child fails because the descriptor is already closed.
29167         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29168         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29169         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29171         [BZ #12397]
29172         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29173         syscall.
29175         [BZ #10484]
29176         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29177         temporary buffer used to handle multi lookups locally.
29178         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29180 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29182         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29183         loader is ld.so.
29185 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
29187         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29188         alignment for SSE2.
29190 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29192         [BZ #12394]
29193         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29194         characters.  When rounding increased number of integer digits recompute
29195         number of groups.
29196         * stdio-common/tst-grouping.c: New file.
29197         * stdio-common/Makefile: Add rules to build and run tst-grouping.
29199 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
29201         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29202         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
29204         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29205         void.
29206         * bits/select.h: Likewise.
29208 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
29210         * po/ja.po: Update from translation team.
29212 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
29214         [BZ #11155]
29215         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29216         implementation just like for lxstat, fxstatat, et al.
29218 2010-12-27  Jim Meyering  <meyering@redhat.com>
29220         [BZ #12348]
29221         * posix/regexec.c (build_trtable): Return failure indication upon
29222         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
29224 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
29226         [BZ #12201]
29227         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29228         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29229         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29230         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29232         [BZ #12207]
29233         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29235         [BZ #12204]
29236         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29237         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29239 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
29241         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29242         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29243         script has SORT_BY_INIT_PRIORITY.
29244         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29245         NO_CTORS_DTORS_SECTIONS is defined.
29246         * elf/soinit.c: Likewise.
29247         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29248         NO_CTORS_DTORS_SECTIONS is defined.
29249         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29250         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29251         * sysdeps/sh/init-first.c: Likewise.
29252         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29254 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
29256         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29257         always use the slow path.
29259 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
29261         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29262         similar rule which adds the sysdep directories to the header search in
29263         order to pick up the correct platform stackinfo.h.
29264         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29265         perform test if it is, otherwise return successfully without testing.
29266         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29267         DEFAULT_STACK_PERMS define in stackinfo.h.
29268         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29269         defined in stackinfo.h.
29270         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29271         DEFAULT_STACK_PERMS defined in stackinfo.h.
29272         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29273         * sysdeps/ia64/stackinfo.h: Likewise.
29274         * sysdeps/s390/stackinfo.h: Likewise.
29275         * sysdeps/sh/stackinfo.h: Likewise.
29276         * sysdeps/sparc/stackinfo.h: Likewise.
29277         * sysdeps/x86_64/stackinfo.h: Likewise.
29278         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29279         PF_X for powerpc64.  Retain PF_X for powerpc32.
29281 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
29283         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29284         accurately.
29285         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29286         GETDENTS_64BIT_ALIGNED.
29288 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
29290         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29292 2010-12-10  Andreas Schwab  <schwab@redhat.com>
29294         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29295         _GNU_SOURCE.
29297         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29298         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29299         Remove __restrict.
29300         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29301         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29303 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
29305         [BZ #11655]
29306         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29307         are initialized.
29309 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
29311         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29313 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
29315         * po/it.po: Update from translation team.
29317 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
29319         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29320         unused codes.
29322 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
29324         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29326 2010-11-24  Andreas Schwab  <schwab@redhat.com>
29328         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29329         specially.
29330         (gaih_getanswer_slice): Likewise.
29332 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
29334         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29336 2010-05-31  Petr Baudis  <pasky@suse.cz>
29338         [BZ #11149]
29339         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29340         silently even in the chroot mode.
29342 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
29344         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29345         last patch a bit.  Pretty printing
29347 2010-05-31  Petr Baudis <pasky@suse.cz>
29349         [BZ #10085]
29350         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29351         initialization of skip_initgroups_dyn.
29353 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
29355         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29356         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29358 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
29360         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29362 2010-11-11  Andreas Schwab  <schwab@redhat.com>
29364         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29365         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29366         (tst-fnmatch-ENV): Set MALLOC_TRACE.
29367         ($(objpfx)tst-fnmatch-mem): New rule.
29368         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29369         * posix/tst-fnmatch.c (main): Call mtrace.
29371 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
29373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29374         Support Intel processor model 6 and model 0x2c.
29376 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
29378         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29379           signed comparison.
29381 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
29383         [BZ #12205]
29384         * string/test-strncasecmp.c (check_result): New function.
29385         (do_one_test): Use it.
29386         (check1): New function.
29387         (test_main): Use it.
29388         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29389         Support strcasecmp and strncasecmp.
29391 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
29393         [BZ #12194]
29394         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29395         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29397 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29399         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29400         IFUNC support.
29401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29402         memset-x86-64.
29403         * sysdeps/x86_64/multiarch/bzero.S: New file.
29404         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29405         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29406         * sysdeps/x86_64/multiarch/memset.S: New file.
29407         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29409         Set bit_Prefer_SSE_for_memop for Intel processors.
29410         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29411         Define.
29412         (index_Prefer_SSE_for_memop): Define.
29413         (HAS_PREFER_SSE_FOR_MEMOP): Define.
29415 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
29417         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29418         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29420 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
29422         [BZ #12191]
29423         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29424         (__x86_64_raw_data_cache_size_half): Likewise.
29425         (__x86_64_raw_shared_cache_size): Likewise.
29426         (__x86_64_raw_shared_cache_size_half): Likewise.
29428         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29429         (__x86_64_raw_data_cache_size_half): Likewise.
29430         (__x86_64_raw_shared_cache_size): Likewise.
29431         (__x86_64_raw_shared_cache_size_half): Likewise.
29432         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29433         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29434         and __x86_64_raw_shared_cache_size_half.  Round
29435         __x86_64_data_cache_size_half, __x86_64_data_cache_size
29436         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29437         to multiple of 256 bytes.
29439 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
29441         [BZ #12167]
29442         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29443         of inacessible symlinks.  Verify result of symlink before returning it.
29444         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29445         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29447 2010-10-28  Erich Ritz  <erichritz@gmail.com>
29449         * math/math.h (isinf): Fix typo in comment.
29451 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
29453         * po/da.po: Update from translation team.
29455 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
29457         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29458         is added to the list.
29460 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29461             Ulrich Drepper  <drepper@gmail.com>
29463         * elf/dl-object.c (_dl_new_object): Don't append the new object to
29464         the global list here.  Move code to...
29465         (_dl_add_to_namespace_list): ...here.  New function.
29466         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29467         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29468         * elf/dl-load.c (lose): Don't remove the element from the list.
29469         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29470         (_dl_map_object): Likewise.
29472 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
29474         [BZ #12159]
29475         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29476         into all bytes of SSE register.
29477         Patch by Richard Li <richardpku@gmail.com>.
29479 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
29481         [BZ #12140]
29482         * malloc/malloc.c (_int_free): Fill correct number of bytes when
29483         perturbing.
29485 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
29487         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29488         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29489         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29490         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29492         submachine.
29493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29495 2010-10-22  Andreas Schwab  <schwab@redhat.com>
29497         * include/dlfcn.h (__RTLD_SECURE): Define.
29498         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
29499         mode & __RTLD_SECURE instead.
29500         (open_path): Rename preloaded parameter to secure.
29501         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29502         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29503         * elf/dl-deps.c (openaux): Likewise.
29504         * elf/rtld.c (struct map_args): Remove is_preloaded.
29505         (map_doit): Don't use it.
29506         (dl_main): Likewise.
29507         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29508         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29510 2010-09-09  Andreas Schwab  <schwab@redhat.com>
29512         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29513         (sysd-rules-targets): Remove duplicates.
29514         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29515         rtld-%.$o dependency.
29517 2010-10-18  Andreas Schwab  <schwab@redhat.com>
29519         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29520         _dl_map_object do it.
29522 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
29524         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29525         fast fma builtins, define the macros in the C99 standard.
29526         (FP_FAST_FMAF): Likewise.
29527         (FP_FAST_FMAL): Likewise.
29528         * sysdeps/x86_64/bits/mathdef.h: Likewise.
29530         * bits/mathdef.h: Update copyright year.
29531         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29533 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
29535         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29536         builtins, define the macros in the C99 standard.
29537         (FP_FAST_FMAF): Likewise.
29538         (FP_FAST_FMAL): Likewise.
29539         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29540         multiply/add.
29541         (FP_FAST_FMAF): Likewise.
29543 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
29545         [BZ #3268]
29546         * math/libm-test.inc (fma_test): Some new testcases.
29547         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29548         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29549         y and infinite z.  Do multiplication by C already in long double.
29550         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29552         y and infinite z.  Do bitwise or of inexact bit into u.d.
29553         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29554         * sysdeps/i386/fpu/s_fmaf.S: Removed.
29555         * sysdeps/i386/fpu/s_fma.S: Removed.
29556         * sysdeps/i386/fpu/s_fmal.S: Removed.
29558 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
29560         [BZ #3268]
29561         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29563         computation is not scheduled after fetestexcept.  Fix value
29564         of minimum denormal long double.
29566 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
29568         [BZ #3268]
29569         * math/libm-test.inc (fma_test): Add some more tests.
29570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29571         correctly.
29573 2010-10-15  Andreas Schwab  <schwab@redhat.com>
29575         * scripts/data/localplt-s390-linux-gnu.data: New file.
29576         * scripts/data/localplt-s390x-linux-gnu.data: New file.
29578 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
29580         [BZ #3268]
29581         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29582         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29583         instead of dbl-64.
29584         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29585         inlines.
29586         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29588         if one of x and y is very large and the other is subnormal.
29589         * sysdeps/s390/fpu/s_fmaf.c: New file.
29590         * sysdeps/s390/fpu/s_fma.c: New file.
29591         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29592         * sysdeps/powerpc/fpu/s_fma.S: New file.
29593         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29594         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29595         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29597 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
29599         [BZ #3268]
29600         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29601         fma tests.
29602         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29603         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29604         * sysdeps/i386/i686/multiarch/s_fma.c: Include
29605         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29606         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29607         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29608         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29610 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
29612         [BZ #12078]
29613         * posix/regcomp.c (parse_branch): One more memory leak plugged.
29614         * posix/bug-regex31.input: Add test case.
29616 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29618         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29619         * posix/bug-regex31.input: New file.
29621         [BZ #12078]
29622         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29623         (parse_sub_exp): Fix last change, use postorder.
29625         * posix/bug-regex31.c: New file.
29626         * posix/Makefile: Add rules to build and run bug-regex31.
29628         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29630         [BZ #12078]
29631         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29633         [BZ #12108]
29634         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29635         to have entries in sys_siglist.
29637         [BZ #12093]
29638         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29639         be NULL.
29641 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
29643         [BZ #3268]
29644         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29645         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29646         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29647         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29648         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29649         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29650         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29651         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29652         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29653         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29654         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29655         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29656         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29657         * math/ftestexcept.c (fetestexcept): Likewise.
29658         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29659         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29660         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29661         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29662         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29663         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29664         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29666 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29668         [BZ #12107]
29669         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29670         newline.
29672 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
29674         * string/bug-strstr1.c: New file.
29675         * string/Makefile: Add rules to build and run bug-strstr1.
29677 2010-10-05  Eric Blake  <eblake@redhat.com>
29679         [BZ #12092]
29680         * string/str-two-way.h (two_way_long_needle): Always clear memory
29681         when skipping input due to the shift table.
29683 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
29685         [BZ #12005]
29686         * malloc/mcheck.c: Handle large requests.
29688         [BZ #12077]
29689         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29690         for strncmp and strncasecmp.
29691         * string/stratcliff.c: Add tests for strcmp and strncmp.
29692         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29694 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29696         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29697         __set_fpscr.
29699 2010-09-30  Andreas Jaeger  <aj@suse.de>
29701         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29702         (CGROUP_SUPER_MAGIC): Define.
29703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29704         Handle btrfs and cgroup file systems.
29705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29706         Likewise.
29708 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
29710         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29711         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29713 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29715         [BZ #12067]
29716         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29717         trying to locate the ELF header.
29719 2010-09-27  Andreas Schwab  <schwab@redhat.com>
29721         [BZ #11611]
29722         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29723         Mask out sign-bit copies when constructing f_fsid.
29725 2010-09-24  Petr Baudis <pasky@suse.cz>
29727         * debug/stack_chk_fail_local.c: Add missing licence exception.
29728         * debug/warning-nop.c: Likewise.
29730 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
29732         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29733         implementing getdents64 using getdents syscall, set d_type if
29734         __ASSUME_GETDENTS32_D_TYPE.
29736 2010-09-16  Andreas Schwab  <schwab@redhat.com>
29738         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29739         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29741 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
29743         [BZ #12037]
29744         * posix/unistd.h: Undo change of feature selection for ftruncate from
29745         2010-01-11.
29747 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
29749         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29750         detection.
29752 2010-09-20  Andreas Schwab  <schwab@redhat.com>
29754         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29755         fanotify_mark.
29756         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29758 2010-09-14  Andreas Schwab  <schwab@redhat.com>
29760         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29761         variables after CHECK_SP call.
29762         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29764 2010-09-13  Andreas Schwab  <schwab@redhat.com>
29765             Ulrich Drepper  <drepper@redhat.com>
29767         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29768         re-relocationg ld.so.
29769         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29770         _dl_init_paths call.
29771         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
29772         here anymore.
29774 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
29776         * resolv/res_init.c (__res_vinit): Count the default server we added.
29778 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
29779             Ulrich Drepper  <drepper@redhat.com>
29781         [BZ #11968]
29782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29783         (____longjmp_chk): Use %ebx for saving value across system call.
29784         Add unwind info.
29786 2010-09-06  Andreas Schwab  <schwab@redhat.com>
29788         * manual/Makefile: Don't mix pattern rules with normal rules.
29790 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29792         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29793         operation.
29794         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29795         * libio/iofopncook.c (_IO_cookie_init): Likewise.
29796         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29797         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29799         Likewise.
29801 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
29803         [BZ #11979]
29804         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29805         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29807 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
29809         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29810         * sysdeps/x86_64/addmul_1.S: Likewise.
29811         * sysdeps/x86_64/lshift.S: Likewise.
29812         * sysdeps/x86_64/mul_1.S: Likewise.
29813         * sysdeps/x86_64/rshift.S: Likewise.
29814         * sysdeps/x86_64/sub_n.S: Likewise.
29815         * sysdeps/x86_64/submul_1.S: Likewise.
29817 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29819         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29820         Define __sched_param instead of SCHED_* and sched_param when
29821         <bits/sched.h> is included with __need_schedparam defined.
29822         * bits/sched.h [__need_schedparam]
29823         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29824         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29825         (__defined_schedparam): Define to 1.
29826         (__sched_param): New structure, identical to sched_param.
29827         (__need_schedparam): Undefine.
29829 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
29831         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29832         (epoll_create1): Declare.
29834         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29836 2010-08-31  Andreas Schwab  <schwab@redhat.com>
29838         [BZ #7066]
29839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29840         shifting retval into place.
29842 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
29844         * nis/rpcsvc/nis.h: Update copyright notice.
29845         * nis/rpcsvc/nis.x: Likewise.
29846         * nis/rpcsvc/nis_callback.h: Likewise.
29847         * nis/rpcsvc/nis_callback.x: Likewise.
29848         * nis/rpcsvc/nis_object.x: Likewise.
29849         * nis/rpcsvc/nis_tags.h: Likewise.
29850         * nis/rpcsvc/yp.h: Likewise.
29851         * nis/rpcsvc/yp.x: Likewise.
29852         * nis/rpcsvc/ypupd.h: Likewise.
29853         * nis/yp_xdr.c: Likewise.
29854         * nis/ypupdate_xdr.c: Likewise.
29856         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
29857         mainly the body of pmap_getport.  Add parameters to specify timeouts.
29858         (pmap_getport): Use __libc_rpc_getport.
29859         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29860         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29861         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29863 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
29865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29866         fanotify_mark.
29868 2010-08-27  Roland McGrath  <roland@redhat.com>
29870         * sysdeps/i386/i686/multiarch/Makefile
29871         (CFLAGS-varshift.c): New variable.
29873 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
29875         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29876         * sysdeps/i386/i686/multiarch/varshift.c: New file.
29878         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29880         * sysdeps/x86_64/strlen.S: Minimal code improvement.
29882 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29884         * sysdeps/x86_64/strlen.S: Unroll the loop.
29885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29886         strlen-sse2 strlen-sse2-bsf.
29887         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29888         __strlen_no_bsf if bit_Slow_BSF is set.
29889         (__strlen_sse42): Removed.
29890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29891         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29893 2010-08-25  Roland McGrath  <roland@redhat.com>
29895         * sysdeps/x86_64/multiarch/varshift.S: File removed.
29896         * sysdeps/x86_64/multiarch/varshift.c: New file.
29897         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29898         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29899         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29900         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29902 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29904         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29905         strlen-sse2 strlen-sse2-bsf.
29906         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29907         __strlen_sse2_bsf if bit_Slow_BSF is unset.
29908         (__strlen_sse2): Removed.
29909         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29910         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29912         bit_Slow_BSF for Atom.
29913         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29914         (index_Slow_BSF): Define.
29915         (HAS_SLOW_BSF): Define.
29917 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
29919         [BZ #10851]
29920         * resolv/res_init.c (__res_vinit): When no server address at all
29921         is given default to loopback.
29923 2010-08-24  Roland McGrath  <roland@redhat.com>
29925         * configure.in: Remove config-name.h generation.
29926         * configure: Regenerated.
29927         * config-name.in: File removed.
29928         * scripts/config-uname.sh: New file.
29929         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29930         ($(objdir)config-name.h): New target.
29932         * sunrpc/rpc_parse.h: Avoid nested comment.
29934 2010-08-24  Richard Henderson  <rth@redhat.com>
29935             Ulrich Drepper  <drepper@redhat.com>
29936             H.J. Lu  <hongjiu.lu@intel.com>
29938         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29940         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29941         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
29942         _mm_alignr_epi8 with _mm_loadu_si128.
29943         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29944         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29945         (__m128i_shift_right): Removed.
29946         * sysdeps/i386/i686/multiarch/varshift.h: New file.
29947         * sysdeps/i386/i686/multiarch/varshift.S: New file.
29948         * sysdeps/x86_64/multiarch/varshift.h: New file.
29949         * sysdeps/x86_64/multiarch/varshift.S: New file.
29951 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
29953         * configure.in: Move assembler checks to before sysdep dir checking.
29955 2010-08-20  Petr Baudis  <pasky@suse.cz>
29957         * LICENSES: Sync the sunrpc license.
29959 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
29961         * sunrpc/auth_des.c: Update copyright notice once again.
29962         * sunrpc/auth_none.c: Likewise.
29963         * sunrpc/auth_unix.c: Likewise.
29964         * sunrpc/authdes_prot.c: Likewise.
29965         * sunrpc/authuxprot.c: Likewise.
29966         * sunrpc/bindrsvprt.c: Likewise.
29967         * sunrpc/clnt_gen.c: Likewise.
29968         * sunrpc/clnt_perr.c: Likewise.
29969         * sunrpc/clnt_raw.c: Likewise.
29970         * sunrpc/clnt_simp.c: Likewise.
29971         * sunrpc/clnt_tcp.c: Likewise.
29972         * sunrpc/clnt_udp.c: Likewise.
29973         * sunrpc/clnt_unix.c: Likewise.
29974         * sunrpc/des_crypt.c: Likewise.
29975         * sunrpc/des_soft.c: Likewise.
29976         * sunrpc/get_myaddr.c: Likewise.
29977         * sunrpc/getrpcport.c: Likewise.
29978         * sunrpc/key_call.c: Likewise.
29979         * sunrpc/key_prot.c: Likewise.
29980         * sunrpc/openchild.c: Likewise.
29981         * sunrpc/pm_getmaps.c: Likewise.
29982         * sunrpc/pm_getport.c: Likewise.
29983         * sunrpc/pmap_clnt.c: Likewise.
29984         * sunrpc/pmap_prot.c: Likewise.
29985         * sunrpc/pmap_prot2.c: Likewise.
29986         * sunrpc/pmap_rmt.c: Likewise.
29987         * sunrpc/rpc/auth.h: Likewise.
29988         * sunrpc/rpc/auth_unix.h: Likewise.
29989         * sunrpc/rpc/clnt.h: Likewise.
29990         * sunrpc/rpc/des_crypt.h: Likewise.
29991         * sunrpc/rpc/key_prot.h: Likewise.
29992         * sunrpc/rpc/netdb.h: Likewise.
29993         * sunrpc/rpc/pmap_clnt.h: Likewise.
29994         * sunrpc/rpc/pmap_prot.h: Likewise.
29995         * sunrpc/rpc/pmap_rmt.h: Likewise.
29996         * sunrpc/rpc/rpc.h: Likewise.
29997         * sunrpc/rpc/rpc_des.h: Likewise.
29998         * sunrpc/rpc/rpc_msg.h: Likewise.
29999         * sunrpc/rpc/svc.h: Likewise.
30000         * sunrpc/rpc/svc_auth.h: Likewise.
30001         * sunrpc/rpc/types.h: Likewise.
30002         * sunrpc/rpc/xdr.h: Likewise.
30003         * sunrpc/rpc_clntout.c: Likewise.
30004         * sunrpc/rpc_cmsg.c: Likewise.
30005         * sunrpc/rpc_common.c: Likewise.
30006         * sunrpc/rpc_cout.c: Likewise.
30007         * sunrpc/rpc_dtable.c: Likewise.
30008         * sunrpc/rpc_hout.c: Likewise.
30009         * sunrpc/rpc_main.c: Likewise.
30010         * sunrpc/rpc_parse.c: Likewise.
30011         * sunrpc/rpc_parse.h: Likewise.
30012         * sunrpc/rpc_prot.c: Likewise.
30013         * sunrpc/rpc_sample.c: Likewise.
30014         * sunrpc/rpc_scan.c: Likewise.
30015         * sunrpc/rpc_scan.h: Likewise.
30016         * sunrpc/rpc_svcout.c: Likewise.
30017         * sunrpc/rpc_tblout.c: Likewise.
30018         * sunrpc/rpc_util.c: Likewise.
30019         * sunrpc/rpc_util.h: Likewise.
30020         * sunrpc/rpcinfo.c: Likewise.
30021         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30022         * sunrpc/rpcsvc/key_prot.x: Likewise.
30023         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30024         * sunrpc/rpcsvc/mount.x: Likewise.
30025         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30026         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30027         * sunrpc/rpcsvc/rex.x: Likewise.
30028         * sunrpc/rpcsvc/rstat.x: Likewise.
30029         * sunrpc/rpcsvc/rusers.x: Likewise.
30030         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30031         * sunrpc/rpcsvc/spray.x: Likewise.
30032         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30033         * sunrpc/rtime.c: Likewise.
30034         * sunrpc/svc.c: Likewise.
30035         * sunrpc/svc_auth.c: Likewise.
30036         * sunrpc/svc_authux.c: Likewise.
30037         * sunrpc/svc_raw.c: Likewise.
30038         * sunrpc/svc_run.c: Likewise.
30039         * sunrpc/svc_simple.c: Likewise.
30040         * sunrpc/svc_tcp.c: Likewise.
30041         * sunrpc/svc_udp.c: Likewise.
30042         * sunrpc/svc_unix.c: Likewise.
30043         * sunrpc/svcauth_des.c: Likewise.
30044         * sunrpc/xcrypt.c: Likewise.
30045         * sunrpc/xdr.c: Likewise.
30046         * sunrpc/xdr_array.c: Likewise.
30047         * sunrpc/xdr_float.c: Likewise.
30048         * sunrpc/xdr_mem.c: Likewise.
30049         * sunrpc/xdr_rec.c: Likewise.
30050         * sunrpc/xdr_ref.c: Likewise.
30051         * sunrpc/xdr_sizeof.c: Likewise.
30052         * sunrpc/xdr_stdio.c: Likewise.
30054         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30055         handling.
30057 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30059         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30061 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30063         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30064         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30065         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30066         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30067         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30068         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30069         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30070         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30071         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30072         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30073         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30074         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30075         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30076         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30078 2010-07-26  Anton Blanchard  <anton@samba.org>
30080         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30081         * malloc/arena.c (heap_trim): Likewise.
30083 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30085         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30086         here.  Not...
30087         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30088         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30090 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30092         * sysdeps/i386/elf/Makefile: New file.
30094 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30096         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30097         from fanotify_init.
30098         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30099         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30101 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
30103         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30104         of strncasecmp_l.
30105         * sysdeps/multiarch/strcmp.S: Likewise.
30107 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
30109         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30110         strncase_l-nonascii.
30111         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30112         Add strncase_l-ssse3.
30113         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30114         * sysdeps/x86_64/strcmp.S: Likewise.
30115         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30116         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30117         * sysdeps/x86_64/strncase.S: New file.
30118         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30119         * sysdeps/x86_64/strncase_l.S: New file.
30120         * string/Makefile (strop-tests): Add strncasecmp.
30121         * string/test-strncasecmp.c: New file.
30123         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30124         warning.
30126         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30127         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30129 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30131         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30133 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
30135         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30136         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30137         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30139 2010-05-01  Alan Modra  <amodra@gmail.com>
30141         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30142         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30143         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30144         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30145         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30146         tidying.  Don't tail-call __sigjmp_save for static lib.
30147         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30148         save location.
30149         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30150         (CALL_MCOUNT): Add eh info, and nop after bl.
30151         (TAIL_CALL_SYSCALL_ERROR): New macro.
30152         (PSEUDO_RET): Use it.
30153         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30154         Correct save location of integer regs and cr.
30155         (_dl_profile_resolve): Correct cr save location.  Delete nops
30156         after bl when SHARED.  Reduce cfi size a little by better
30157         placement of cfi directives.
30158         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30159         make a stack frame.  Instead use parm save area as a temp.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30161         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30163         Don't make a stack frame for parent, use parm save area.
30164         Increase child stack frame to 112 bytes.  Don't save unused reg,
30165         and adjust reg usage.  Set up cfi on error recovery and
30166         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30168         (__makecontext): Add dummy nop after jump to exit.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30170         Use correct parm save area and cr save, reduce stack frame.
30171         Correct cfi for possible PSEUDO_RET frame setup.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30173         Branch to local label emitted by PSEUDO_RET rather than
30174         __syscall_error.
30176 2010-08-12  Andreas Schwab  <schwab@redhat.com>
30178         [BZ #11904]
30179         * locale/programs/locale.c (print_assignment): New function.
30180         (show_locale_vars): Use it.
30182 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
30184         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30185         field.
30186         (struct statfs64): Likewise.
30187         (_STATFS_F_FLAGS): Define.
30188         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30189         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30190         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30191         (ST_VALID): Define locally.
30192         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30193         __statvfs_getflags, use the provided value.
30194         * sysdeps/unix/sysv/linux/kernel-features.h: Define
30195         __ASSUME_STATFS_F_FLAGS.
30197         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30199         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30200         Add sys/fanotify.h.
30201         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30202         fanotify_mask for GLIBC_2.13.
30203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30204         fanotify_init and fanotify_mark.
30205         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30206         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30208         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30209         Add prlimit.
30210         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30211         prlimit64 for GLIBC_2.13.
30212         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30213         prlimit64.
30214         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30215         syscall.
30216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30217         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30218         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30219         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30220         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
30221         add prlimit alias.
30222         * sysdeps/unix/sysv/linux/prlimit.c: New file.
30224         [BZ #11903]
30225         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30226         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30228         * nss/Makefile: Add rules to build and run tst-nss-test1.
30229         * shlib-versions: Add entry for libnss_test1.
30230         * nss/nss_test1.c: New file.
30231         * nss/tst-nss-test1.c: New file.
30233         * nss/nsswitch.c (__nss_database_custom): Define new variable.
30234         (__nss_configure_lookup): Set appropriate entry in
30235         __nss_configure_lookup to true.
30236         * nss/nsswitch.h: Define enum with indeces of databases in
30237         databases and __nss_database_custom arrays.  Declare
30238         __nss_database_custom.
30239         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30240         to avoid using nscd when custom rules are installed.
30241         * nss/getXXbyYY_r.c: Likewise.
30242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30244         * nss/nss_files/files-parse.c: Whitespace fixes.
30246 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
30248         [BZ #11883]
30249         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30250         * posix/fnmatch_loop.c: Likewise.
30252 2010-07-17  Andi Kleen  <ak@linux.intel.com>
30254         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30255         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30256         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30257         * Versions.def [GLIBC_2.13]: Add.
30259 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
30261         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30262         Also fail if tpwd after pwuid call is NULL.
30264 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30266         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30267         when converting to ms.
30269 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30271         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30272         EOPNOTSUPP errors with ENOTTY.
30273         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30274         EOPNOTSUPP errors with ENOTTY.
30276 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
30278         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30279         Add strcasecmp_l-ssse3.
30280         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30281         strcasecmp.
30282         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30283         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30284         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30286 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
30288         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30290         * string/Makefile (strop-tests): Add strcasecmp.
30291         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30292         strcasecmp_l-nonascii.
30293         (gen-as-const-headers): Add locale-defines.sym.
30294         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30295         * sysdeps/x86_64/strcasecmp.S: New file.
30296         * sysdeps/x86_64/strcasecmp_l.S: New file.
30297         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30298         * sysdeps/x86_64/locale-defines.sym: New file.
30299         * string/test-strcasecmp.c: New file.
30301         * string/test-strcasestr.c: Test both ends of the range of characters.
30302         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30304 2010-07-29  Roland McGrath  <roland@redhat.com>
30306         [BZ #11856]
30307         * manual/locale.texi (Yes-or-No Questions): Fix example code.
30309 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
30311         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30312         for ld.so.
30314 2010-07-27  Andreas Schwab  <schwab@redhat.com>
30316         * manual/memory.texi (Malloc Tunable Parameters): Document
30317         M_PERTURB.
30319 2010-07-26  Roland McGrath  <roland@redhat.com>
30321         [BZ #11840]
30322         * configure.in (-fgnu89-inline check): Set and substitute
30323         gnu89_inline, not libc_cv_gnu89_inline.
30324         * configure: Regenerated.
30325         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30327 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
30329         * string/test-strnlen.c: New file.
30330         * string/Makefile (strop-tests): Add strnlen.
30331         * string/tester.c (test_strnlen): Add a few more test cases.
30332         * string/tst-strlen.c: Better error reporting.
30334         * sysdeps/x86_64/strnlen.S: New file.
30336 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30338         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30339         lower-latency instructions.
30341 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
30343         * string/test-strcasestr.c: New file.
30344         * string/test-strstr.c: New file.
30345         * string/Makefile (strop-tests): Add strstr and strcasestr.
30346         * string/str-two-way.h: Don't undefine MAX.
30347         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30349 2010-07-21  Andreas Schwab  <schwab@redhat.com>
30351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30352         strcasestr-nonascii.
30353         (CFLAGS-strcasestr-nonascii.c): Define.
30354         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30355         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30356         Remove unused attribute.
30358 2010-07-20  Roland McGrath  <roland@redhat.com>
30360         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30361         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
30362         ld.so.cache was broken.  With it, there is no way to disable dsocaps
30363         like LD_HWCAP_MASK can disable hwcaps.
30365 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30367         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30369 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
30371         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30372         call in strcasestr.
30373         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30374         __strcasestr_sse42_nonascii.
30375         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30376         strcasestr-nonascii.c.
30377         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30379 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
30381         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30382         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30383         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30384         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30386 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
30388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30389         fcntl.
30391 2010-07-06  Andreas Schwab  <schwab@redhat.com>
30393         [BZ #11577]
30394         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30395         dl_signal_cerror.
30397 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
30399         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30400         _PC_PIPE_BUF using F_GETPIPE_SZ.
30402 2010-07-05  Roland McGrath  <roland@redhat.com>
30404         * manual/arith.texi (Rounding Functions): Fix rint description
30405         implicit in round description.
30407 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
30409         * elf/Makefile: Fix linking for a few tests to make recent linker
30410         happy.
30412 2010-06-30  Andreas Schwab  <schwab@redhat.com>
30414         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30415         $(common-objpfx)libc_nonshared.a.
30417 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
30419         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30420         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30421         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30422         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30423         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30424         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30425         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30426         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30441         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30442         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30443         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30444         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30445         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30446         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30447         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30448         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30449         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30450         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30451         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30452         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30468 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30470         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30471         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
30472         * string/memmove.c (memmove): Renamed to ...
30473         (MEMMOVE): ...this.  Default to memmove.
30474         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30475         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30476         (END_CHK): Define.
30477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30478         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30479         mempcpy-ssse3-back memmove-ssse3-back.
30480         * sysdeps/x86_64/multiarch/bcopy.S: New file .
30481         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30482         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30483         * sysdeps/x86_64/multiarch/memcpy.S: New file.
30484         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30485         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30486         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30487         * sysdeps/x86_64/multiarch/memmove.c: New file.
30488         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30489         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30490         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30491         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30492         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30493         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30494         Define.
30495         (index_Fast_Copy_Backward): Define.
30496         (HAS_ARCH_FEATURE): Define.
30497         (HAS_FAST_REP_STRING): Define.
30498         (HAS_FAST_COPY_BACKWARD): Define.
30500 2010-06-21  Andreas Schwab  <schwab@redhat.com>
30502         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30503         Restore proper fallback handling.
30505 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
30507         [BZ #11701]
30508         * posix/group_member.c (__group_member): Correct checking loop.
30510         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30511         OOM in getpwuid_r correctly.  Return error number when the caller
30512         should return, otherwise -1.
30513         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30514         call returning > 0 value.
30515         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30517 2010-06-07  Andreas Schwab  <schwab@redhat.com>
30519         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30520         libc_nonshared.a from targets in modules-names.
30522 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
30524         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30525         requires it.
30527 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
30529         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30530         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30531         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30534 2010-06-02  Andreas Schwab  <schwab@redhat.com>
30536         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30538 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
30540         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30541         and F_GETPIPE_SZ.
30542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30546         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30547         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30549 2010-06-14  Roland McGrath  <roland@redhat.com>
30551         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30553 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
30555         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30556         __REDIRECT followed by __THROW.
30557         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30558         * posix/getopt.h (getopt): Likewise.
30560 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30562         * hurd/lookup-at.c (__file_name_lookup_at): Accept
30563         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
30564         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30565         in AT_FLAGS.
30566         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30567         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30569 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
30571         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30573 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
30575         [BZ #11640]
30576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30577         Properly check family and model.
30579 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
30581         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30583 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
30585         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30587 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
30589         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30590         symbol reference.
30592 2010-05-19  Andreas Schwab  <schwab@redhat.com>
30594         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30595         symbol reference.
30597 2010-05-21  Andreas Schwab  <schwab@redhat.com>
30599         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30600         and internal_recvmmsg.
30601         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30602         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30603         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30604         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30606         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30607         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30608         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30610 2010-05-20  Andreas Schwab  <schwab@redhat.com>
30612         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30614 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
30616         POWER7 optimizations.
30617         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30618         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30620 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
30622         * version.h: Update for 2.13 development version.
30624 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
30626         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30627         exceptions.  Return 0.
30629 2010-05-07  Roland McGrath  <roland@redhat.com>
30631         * elf/ldconfig.c (main): Add a const.
30633 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
30635         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30636         (args_options): Add no-idn option.
30637         (ahosts_keys_int): Add idn_flags to ai_flags.
30638         (parse_option): Handle 'i' option to clear idn_flags.
30640         * malloc/malloc.c (_int_free): Possible race in the most recently
30641         added check.  Only act on the data if no current modification
30642         happened.
30644 See ChangeLog.17 for earlier changes.